﻿/* Set padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/* --- Modern QuoteFlow Styles --- */
.quoteflow-container {
    max-width: 480px; /* reduced from 540px */
    margin: 24px auto; /* reduced margin */
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(42,122,226,0.12), 0 1.5px 6px rgba(0,0,0,0.08);
    padding: 32px 18px 24px 18px; /* reduced padding */
    animation: fadeIn 0.7s;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.quoteflow-form-row {
    display: flex;
    align-items: center;
    margin-bottom: 28px;
}
.quoteflow-label {
    flex: 0 0 160px;
    text-align: left;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0;
    color: #1761b6;
    letter-spacing: 0.5px;
}
.quoteflow-input {
    flex: 1;
    padding: 16px 16px;
    border: 2px solid #cfd8dc;
    border-radius: 10px;
    font-size: 1.25rem;
    background: #f5f7fa;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 2px rgba(42,122,226,0.04);
    margin-left: 12px;
}
.quoteflow-input:focus {
    border-color: #2a7ae2;
    box-shadow: 0 0 2px #e3f2fd;
    outline: none;
}
.quoteflow-actions {
    display: flex;
    justify-content: flex-end;
    gap: 18px;
    margin-top: 32px;
}
.quoteflow-btn {
    min-width: 140px;
    background: linear-gradient(90deg, #2a7ae2 60%, #42e695 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 18px 0;
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(42,122,226,0.08);
    transition: background 0.2s, transform 0.2s;
    margin-right: 0;
}
.quoteflow-btn:hover:not(:disabled) {
    background: linear-gradient(90deg, #1761b6 60%, #42e695 100%);
    transform: translateY(-2px) scale(1.04);
}
.quoteflow-btn.back {
    background: #b0bec5;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    min-height: 48px;
}
.quoteflow-btn.back:hover:not(:disabled) {
    background: #78909c;
}
.quoteflow-btn[disabled] {
    background: #cfd8dc;
    cursor: not-allowed;
}
.quoteflow-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 22px;
    background: #f7f9fa;
    border-radius: 7px;
    overflow: hidden;
}
.quoteflow-table th, .quoteflow-table td {
    padding: 14px 10px;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
    font-size: 1.15rem;
}
.quoteflow-table th {
    background: #e3f2fd;
    color: #2a7ae2;
    font-weight: 700;
    font-size: 1.18rem;
}
.quoteflow-table tr:last-child td {
    border-bottom: none;
}
.quoteflow-info {
    text-align: center;
    margin-top: 22px;
    font-size: 1.18rem;
    color: #1761b6;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.quoteflow-policy-info {
    text-align: center;
    margin-top: 22px;
    font-size: 1.18rem;
    color: #388e3c;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.quoteflow-alert {
    background: #ffebee;
    color: #c62828;
    border-radius: 7px;
    padding: 14px 20px;
    margin-bottom: 22px;
    border: 1.5px solid #ffcdd2;
    font-size: 1.15rem;
}
@media (max-width: 700px) {
    .quoteflow-container {
        padding: 18px 8px 12px 8px;
        max-width: 98vw;
    }
    .quoteflow-label, .quoteflow-input {
        font-size: 1rem;
    }
}
@media (max-width: 1400px) {
    .quoteflow-container {
        max-width: 98vw;
        padding: 16px 4vw 16px 4vw;
        margin: 12px auto;
    }
    .quoteflow-label, .quoteflow-input {
        font-size: 1.05rem;
    }
    .quoteflow-btn {
        min-width: 110px;
        font-size: 1.05rem;
        padding: 12px 0;
    }
}
