/* Patient Form styling matching dark luxury theme */

.form-hero {
    min-height: 50vh !important;
    padding-top: 12rem !important;
}

.form-section {
    padding-top: 4rem !important;
    background: linear-gradient(to bottom, #0b0c0e 0%, #0d0e11 100%) !important;
}

.form-instructions-subtitle {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    max-width: 600px;
    margin: -2rem auto 4rem;
    line-height: 1.5;
}

.form-card {
    max-width: 1000px !important;
}

.form-section-group {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 3.5rem;
    margin-bottom: 3.5rem;
}

.form-section-group:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 2rem;
}

.form-section-title {
    font-family: var(--font-sans);
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #d4af37; /* Gold */
    margin-bottom: 2.5rem;
    border-left: 3px solid #d4af37;
    padding-left: 1.2rem;
}

/* Checkboxes Grid Styling */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 2rem;
    margin-top: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    user-select: none;
    transition: color 0.3s ease;
}

.checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked {
    background: #d4af37;
    border-color: #d4af37;
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: "✓";
    font-size: 12px;
    color: #0b0c0e;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
}

.checkbox-label:hover {
    color: var(--color-white);
}

.checkbox-label:hover input[type="checkbox"] {
    border-color: rgba(255, 255, 255, 0.6);
}

.consent-checkbox {
    font-size: 1.3rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    padding: 1rem 0;
    align-items: flex-start;
}

.consent-checkbox input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .form-hero {
        min-height: 35vh !important;
        padding-top: 8rem !important;
    }
    
    .form-card {
        padding: 2.5rem !important;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
}
