/* Master Form Styles */

.master-form-section {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    margin-bottom: 32px;
}

.master-form-intro {
    text-align: center;
    margin-bottom: 32px;
}

.master-form-intro h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.master-form-intro p {
    font-size: 16px;
    color: var(--grey);
    line-height: 1.6;
}

.master-form {
    max-width: 900px;
    margin: 0 auto;
}

.form-section {
    background: #F9FAFB;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.form-section h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field label {
    font-size: 14px;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.form-field input,
.form-field select {
    padding: 12px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
    background: white;
}

.form-field input:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--bmw-blue);
    box-shadow: 0 0 0 3px rgba(28, 105, 212, 0.1);
}

.form-field small {
    font-size: 12px;
    color: var(--grey);
    margin-top: 4px;
}

.form-field-inline {
    margin-bottom: 0;
}

.form-field-inline label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--charcoal);
    cursor: pointer;
}

.form-field-inline input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.form-submit {
    text-align: center;
    margin-top: 32px;
}

.form-submit .cta-button {
    padding: 18px 48px;
    font-size: 18px;
    font-weight: 700;
}

.form-note {
    margin-top: 12px;
    font-size: 14px;
    color: var(--grey);
}

/* Results Section */
.results-section {
    margin-top: 32px;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.results-header h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--charcoal);
}

.edit-button {
    padding: 10px 20px;
    background: #F3F4F6;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--charcoal);
    cursor: pointer;
    transition: all 0.3s;
}

.edit-button:hover {
    background: #E5E7EB;
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .master-form-section {
        padding: 20px;
    }

    .form-section {
        padding: 16px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .master-form-intro h3 {
        font-size: 22px;
    }

    .results-header {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .edit-button {
        width: 100%;
    }
}
