/* ============================================================
   QUOTE REQUEST FORM STYLES
   ============================================================ */

.quote-container {
    width: 100%;
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

.quote-card,
.quote-success-card {
    background-color: var(--hero-background-color);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px var(--shadow-color);
    box-sizing: border-box;
}

.quote-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.quote-title {
    font-family: var(--main-font-family2);
    font-size: 3.15rem;
    color: var(--text-color2);
    margin: 0 0 0.5rem 0;
    text-shadow: 2px 2px 4px var(--shadow-color);
}

.quote-subtitle {
    font-size: 1.4175rem;
    color: var(--text-color3);
    margin: 0;
}

.registration-prompt {
    background-color: var(--background-color3);
    border: 2px solid var(--highlight-color);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.prompt-text {
    margin: 0;
    color: var(--text-color2);
    font-size: 1.18125rem;
    line-height: 1.6;
}

.quote-form {
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
}

.form-section {
    margin-bottom: 1.25rem;
}

.section-title {
    font-family: var(--main-font-family2);
    font-size: 1.7325rem;
    color: var(--text-color2);
    margin: 0 0 0.875rem 0;
    padding-bottom: 0.375rem;
    border-bottom: 1px solid var(--border-color);
}

.section-description {
    font-size: 1.1025rem;
    color: var(--text-color3);
    margin: -0.75rem 0 1rem 0;
    font-style: italic;
}

.form-group {
    margin-bottom: 0.875rem;
}

.form-group:has(.radio-group) {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-color2);
    margin-bottom: 0.375rem;
    font-size: 1.18125rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1.26rem;
    font-family: inherit;
    background-color: var(--background-color4);
    color: var(--text-color2);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--highlight-color);
    box-shadow: 0 0 0 3px var(--glow-color);
}

.form-input-uppercase {
    text-transform: uppercase;
}

.form-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
}

/* Two-column form row (50/50 split) */
.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Three-column form row (equal split) */
.form-row-3col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

/* Four-column form row (custom widths: 40% city, 20% state, 25% zip, 15% country) */
.form-row-4col {
    display: grid;
    grid-template-columns: 2fr 1fr 1.25fr 0.75fr;
    gap: 1rem;
}

/* Description and files row (60/40 split) */
.form-row-description {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1rem;
}

@media (max-width: 768px) {
    .form-row,
    .form-row-2col,
    .form-row-3col,
    .form-row-4col,
    .form-row-description {
        grid-template-columns: 1fr;
    }
}

.radio-group-label {
    display: block;
    font-weight: 600;
    color: var(--text-color2);
    margin-bottom: 0.75rem;
    font-size: 1.18125rem;
}

.radio-group {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    align-items: stretch;
    margin: 0 auto;
}

.radio-option {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0.5rem;
    background-color: var(--background-color4);
    border: 2px solid var(--border-color);
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 20%;
    flex: 0 0 20%;
    box-sizing: border-box;
    margin: 0;
}

.radio-option:hover {
    background-color: var(--background-color3);
    border-color: var(--highlight-color);
}

.radio-option input[type="radio"] {
    margin-right: 0.5rem;
    cursor: pointer;
    flex-shrink: 0;
}

.radio-label {
    cursor: pointer;
    color: var(--text-color2);
    font-size: 1.1025rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-upload-wrapper {
    position: relative;
}

.file-upload-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--background-color4);
    color: var(--text-color2);
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.file-upload-input:focus {
    outline: none;
    border-color: var(--highlight-color);
    box-shadow: 0 0 0 3px var(--glow-color);
}

.help-text {
    display: block;
    margin-top: 0.375rem;
    font-size: 1.02375rem;
    color: var(--text-color3);
}

.field-errors {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background-color: rgba(184, 92, 92, 0.1);
    border: 1px solid var(--error-color);
    border-radius: 4px;
}

.field-errors li {
    color: var(--error-color);
    font-size: 1.1025rem;
    list-style: none;
}

.form-errors {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: rgba(184, 92, 92, 0.1);
    border: 2px solid var(--error-color);
    border-radius: 8px;
}

.form-error-list {
    margin: 0;
    padding-left: 1.5rem;
}

.form-error-list li {
    color: var(--error-color);
    font-size: 1.18125rem;
}

.form-actions {
    margin-top: 1.25rem;
    text-align: center;
}

.btn-submit {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--highlight-color) 0%, var(--highlight-color2) 100%);
    color: var(--text-color4);
    border: 2px solid var(--highlight-color);
    border-radius: 8px;
    font-size: 1.4175rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--main-font-family2);
}

.btn-submit:hover {
    background: linear-gradient(135deg, var(--highlight-color2) 0%, var(--highlight-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--glow-color);
}

.btn-submit:active {
    transform: translateY(0);
}

/* ============================================================
   QUOTE SUCCESS PAGE STYLES
   ============================================================ */

.quote-success-card {
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--success-color) 0%, var(--highlight-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.78rem;
    color: var(--text-color4);
    font-weight: bold;
    box-shadow: 0 4px 12px var(--shadow-color);
}

.success-title {
    font-family: var(--main-font-family2);
    font-size: 2.52rem;
    color: var(--text-color2);
    margin: 0 0 1rem 0;
}

.success-message {
    font-size: 1.4175rem;
    color: var(--text-color3);
    margin: 0 0 2rem 0;
    line-height: 1.6;
}

.quote-summary {
    background-color: var(--background-color3);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: left;
}

.summary-title {
    font-family: var(--main-font-family2);
    font-size: 1.575rem;
    color: var(--text-color2);
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color2);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    font-weight: 600;
    color: var(--text-color2);
}

.summary-value {
    color: var(--text-color3);
    text-align: right;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-home,
.btn-new-quote {
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, var(--background-color3) 0%, var(--background-color4) 100%);
    color: var(--text-color2);
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-home:hover,
.btn-new-quote:hover {
    background: linear-gradient(135deg, var(--highlight-color) 0%, var(--highlight-color2) 100%);
    color: var(--text-color4);
    border-color: var(--highlight-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--glow-color);
}

@media (max-width: 480px) {
    .quote-container {
        width: calc(100% - 1.5rem);
        padding: 0 0.75rem;
        margin: 1rem auto;
    }
    
    .quote-card,
    .quote-success-card {
        padding: 1rem;
        border-radius: 8px;
    }
    
    .quote-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
    
    .quote-title {
        font-size: 1.89rem; /* Reduced from 2.5rem desktop */
    }
    
    .quote-subtitle {
        font-size: 1.1025rem;
    }
    
    .section-title {
        font-size: 1.575rem; /* Reduced from 1.5rem desktop */
    }
    
    .form-group label {
        font-size: 1.1025rem;
    }
}

@media (max-width: 768px) and (min-width: 481px) {
    .quote-container {
        padding: 0 0.75rem;
        margin: 1rem auto;
    }
    
    .quote-card,
    .quote-success-card {
        padding: 1.25rem;
        border-radius: 8px;
    }
    
    .quote-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
    
    .quote-title {
        font-size: 2.205rem;
    }
    
    .quote-subtitle {
        font-size: 1.1025rem;
    }
    
    .section-title {
        font-size: 1.575rem;
    }
    
    .form-input,
    .form-textarea,
    .form-select {
        font-size: 20.16px; /* Prevents zoom on iOS */
        padding: 0.75rem;
        min-height: 44px;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-section {
        margin-bottom: 2rem;
    }
    
    .success-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-home,
    .btn-new-quote,
    .btn-submit {
        width: 100%;
        min-height: 44px;
        font-size: 1.26rem;
        padding: 0.875rem 1.5rem;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .radio-option {
        width: 100%;
        flex: 1 1 100%;
    }
}

/* ============================================================
   QUOTE SUCCESS PAGE - DOCUMENTS
   ============================================================ */

.quote-documents-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color2);
}

.quote-documents-section .summary-title {
    margin-bottom: 1rem;
}

.customer-documents-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.customer-document-item {
    background: linear-gradient(135deg, var(--background-color4) 0%, var(--hero-background-color) 100%);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.customer-document-item:hover {
    border-color: var(--highlight-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateX(4px);
}

.document-download-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-color2);
    font-weight: 600;
    transition: color 0.3s ease;
}

.document-download-link:hover {
    color: var(--highlight-color);
}

.document-icon {
    font-size: 1.89rem;
}

.document-name {
    flex: 1;
}

.document-description {
    margin: 0.5rem 0 0 2.25rem;
    color: var(--text-color3);
    font-size: 1.1025rem;
    font-style: italic;
}

