/* Form-specific shadows and styles using base.css colors */
:root {
    --form-shadow-teal: 0px 2px 8px rgba(30, 122, 124, 0.1);
    --form-shadow-blue: 0px 2px 8px rgba(8, 132, 193, 0.1);
    --form-shadow-mixed: 0px 4px 16px rgba(30, 122, 124, 0.15);
    --form-input-bg: #F6F8FE;
}

body {
    background-color: #FEFEFE;
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.biodata-form-container {
    min-height: 100vh;
    background-color: #FEFEFE;
    position: relative;
    overflow-x: hidden;
}

/* Header */
.biodata-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 24px 0;
    max-width: 380px;
    margin: 0 auto;
}

.header-back {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(17, 17, 17, 0.05);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.header-back:hover {
    background: var(--color-primary);
    color: white;
    transform: translateX(-1px);
    box-shadow: var(--form-shadow-teal);
}

.header-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin: 0;
}

.header-menu {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.header-menu:hover {
    background: rgba(8, 132, 193, 0.06);
    transform: scale(1.02);
}

/* Progress Steps */
.progress-section {
    padding: 36px 24px 32px;
    max-width: 380px;
    margin: 0 auto;
}

.progress-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin-bottom: 8px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    margin-bottom: 6px;
    transition: all 0.2s ease;
    background: white;
}

.step-circle.active {
    background-color: var(--color-primary);
    border: none;
}

.step-circle.inactive {
    background-color: white;
    border: 1px solid #E5E7EB;
}

.step-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0;
}

.step-circle.active .step-number {
    color: white;
}

.step-circle.inactive .step-number {
    color: #9CA4AB;
}

.step-circle.completed {
    background-color: var(--color-primary);
    border: none;
}

.step-circle.completed .step-number {
    color: white;
}

.step-label.completed {
    color: var(--color-primary);
    font-weight: 500;
}

/* Checkmark animation for completed steps */
.step-circle.completed::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 14px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -60%) rotate(45deg);
    animation: checkmarkDraw 0.5s ease-in-out;
}

.step-circle.completed .step-number {
    display: none;
}

@keyframes checkmarkDraw {
    0% {
        width: 0;
        height: 0;
        opacity: 0;
    }
    50% {
        width: 4px;
        height: 8px;
        opacity: 0.7;
    }
    100% {
        width: 8px;
        height: 14px;
        opacity: 1;
    }
}

.step-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    font-size: 11px;
    line-height: 16px;
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;
}

.step-label.active {
    color: var(--color-primary);
    font-weight: 500;
}

.step-label.inactive {
    color: #78828A;
}

/* Progress Lines */
.progress-lines {
    position: absolute;
    top: 18px;
    left: 54px;
    right: 54px;
    height: 1px;
    z-index: 1;
    pointer-events: none;
}

.progress-line {
    position: absolute;
    top: 0;
    height: 1px;
    width: calc((100% - 36px) / 2);
}

.progress-line:nth-child(1) {
    left: 0;
}

.progress-line:nth-child(2) {
    right: 0;
}

.progress-line.inactive {
    background: #E5E7EB;
}

.progress-line.completed {
    background: var(--color-primary);
}

/* Content Section */
.content-section {
    padding: 0 24px 32px;
    max-width: 380px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.08px;
    color: var(--text-primary);
    margin: 0 0 10px 0;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 1px;
}

.section-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 0.06px;
    color: #9CA4AB;
    margin: 0 0 32px 0;
}

/* Bootstrap Form Integration */
.biodata-form.row {
    margin-bottom: 40px;
    --bs-gutter-x: 80px; /* Much larger horizontal spacing between fields in same row */
}

/* Ensure proper spacing between col-md-6 fields */
.biodata-form .col-md-6 {
    padding-left: 8px;
    padding-right: 8px;
}

.biodata-form .col-md-6,
.biodata-form .col-md-12 {
    margin-bottom: 32px; /* Increase vertical spacing between rows */
}

/* Bootstrap form-label styling */
.biodata-form .form-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0;
    color: #111111;
    margin-bottom: 8px;
}

/* Bootstrap input-group styling */
.biodata-form .input-group {
    background: var(--form-input-bg);
    border: none;
    border-radius: 16px;
    height: 48px;
    min-height: 48px;
    transition: all 0.2s ease;
    box-shadow: none;
}

.biodata-form .input-group:focus-within {
    outline: none;
    box-shadow: 0 0 0 1px var(--color-primary);
}

.biodata-form .input-group:hover {
    box-shadow: var(--form-shadow-blue);
}

.biodata-form .input-group-text {
    background: transparent;
    border: none;
    padding: 0 16px;
    color: #78828A;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.biodata-form .input-group-text i {
    font-size: 18px;
}

/* Currency symbol styling */
.biodata-form .input-group-text {
    font-weight: 600;
}

.biodata-form .form-control {
    background: transparent;
    border: none;
    padding: 0 16px 0 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #111111;
    box-shadow: none;
}

.biodata-form .form-control::placeholder {
    font-size: 14px;
    color: #78828A;
    opacity: 1;
}

.biodata-form .form-control:focus {
    background: transparent;
    border: none;
    box-shadow: none;
    outline: none;
}

.biodata-form .form-control::placeholder {
    color: #78828A;
    opacity: 1;
}

/* Remove number input arrows */
.biodata-form .form-control::-webkit-outer-spin-button,
.biodata-form .form-control::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.biodata-form .form-control[type=number] {
    -moz-appearance: textfield;
}

/* Custom Flag Container — decorative, MX-only (not interactive).
   MOB-005: do NOT use cursor:pointer here. Users tap the flag
   expecting a country picker; nothing happens; looks broken. */
.custom-flag-container {
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-right: 1px solid #e5e7eb;
    cursor: default;
    background: #f9fafb;
    border-radius: 16px 0 0 16px;
    min-width: 80px;
}

.custom-flag {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    margin-right: 8px;
    flex-shrink: 0;
}

.custom-dial-code {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #111111;
}

/* Currency field specific styling */
.biodata-form .currency-input {
    text-align: right;
    font-weight: 600;
}

.field-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #78828A;
}

.field-icon i {
    font-size: 18px;
}

.biodata-form-container .input-field {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    font-size: 16px; /* Critical: prevents zoom on iOS */
    line-height: 20px;
    letter-spacing: 0;
    color: #111111 !important;
    width: 100%;
    min-width: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
}

/* Override base.css placeholder styles */
.biodata-form-container .input-field::placeholder {
    font-size: 14px !important;
    color: #78828A !important;
    opacity: 1 !important;
}

.biodata-form-container .input-field::-webkit-input-placeholder {
    font-size: 14px !important;
    color: #78828A !important;
    opacity: 1 !important;
}

.biodata-form-container .input-field::-moz-placeholder {
    font-size: 14px !important;
    color: #78828A !important;
    opacity: 1 !important;
}

.biodata-form-container .input-field:-ms-input-placeholder {
    font-size: 14px !important;
    color: #78828A !important;
    opacity: 1 !important;
}

/* Phone Field Special Styling */
.phone-field-input {
    padding: 0 20px;
    gap: 12px;
}

.country-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    cursor: pointer;
    padding: 2px 0;
}

.country-flag {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    overflow: hidden;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAyNCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPCEtLSBNZXhpY2FuIEZsYWcgLS0+CjxyZWN0IHdpZHRoPSI4IiBoZWlnaHQ9IjE4IiBmaWxsPSIjMDA2ODQ3Ii8+CjxyZWN0IHg9IjgiIHdpZHRoPSI4IiBoZWlnaHQ9IjE4IiBmaWxsPSIjRkZGRkZGIi8+CjxyZWN0IHg9IjE2IiB3aWR0aD0iOCIgaGVpZ2h0PSIxOCIgZmlsbD0iI0NFMTEyNiIvPgo8IS0tIEVhZ2xlIGVtYmxlbSAtLT4KPHN2ZyB4PSIxMC41IiB5PSI2IiB3aWR0aD0iMyIgaGVpZ2h0PSI2Ij4KICA8cGF0aCBkPSJNMS41IDNDMS41IDEuNSAyIDAgMyAwUzQuNSAxLjUgNC41IDNDNCAzIDMgNSAzIDVTMiAzIDEuNSAzWiIgZmlsbD0iIzg5NEYzRCIvPgo8L3N2Zz4KPC9zdmc+') center/cover;
}

.dropdown-arrow {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* Input field containers - all have consistent padding */
.simple-input,
.amount-input {
    padding: 0 20px;
}

.currency-symbol {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #78828A;
    flex-shrink: 0;
    user-select: none;
}

.phone-divider {
    width: 1px;
    height: 24px;
    background: #E5E7EB;
    flex-shrink: 0;
}

/* Submit Button */
.submit-section {
    padding: 0 24px 40px;
    max-width: 380px;
    margin: 0 auto;
}

.btn-submit {
    width: 100%;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 16px;
    padding: 12px 24px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--form-shadow-teal);
}

.btn-submit:hover {
    background: var(--color-info);
    transform: translateY(-1px);
    box-shadow: var(--form-shadow-blue);
}

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

.btn-submit:disabled {
    background-color: #9CA4AB;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Django validation states */
.biodata-form .col-md-6:has(.django-error-feedback) .input-group,
.biodata-form .col-md-12:has(.django-error-feedback) .input-group {
    box-shadow: 0 0 0 1px #EF4444;
    border-color: #EF4444;
    background: #FEF2F2;
}

.biodata-form .django-error-feedback {
    position: relative;
    margin-top: 6px;
    padding-left: 4px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px;
    line-height: 16px;
    color: #EF4444;
    display: block;
    animation: fadeIn 0.2s ease-in;
    font-weight: 500;
}

/* Reserve space for validation messages */
.biodata-form .col-md-6,
.biodata-form .col-md-12 {
    position: relative;
    min-height: 80px;
}

.error-message {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px;
    color: #EF4444;
    margin-top: 4px;
}

/* Django form errors */
.errorlist {
    list-style: none;
    padding: 0;
    margin: 4px 0 0 0;
}

.errorlist li {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px;
    color: #EF4444;
    margin-bottom: 2px;
}

/* Django messages */
.messages {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    list-style: none;
    padding: 0;
    margin: 0;
}

.messages .alert {
    margin-bottom: 10px;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: slideIn 0.3s ease-out;
}

.messages .alert-success {
    background: var(--gradient-accent);
    color: white;
}

.messages .alert-error {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: white;
}

/* Loading state */
.btn-submit.loading {
    position: relative;
    color: transparent;
}

.btn-submit.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid transparent;
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Desktop Enhancements - Mobile First Approach */
@media (min-width: 1024px) {
    .biodata-form-container {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 40px;
    }

    .biodata-header,
    .progress-section,
    .content-section,
    .submit-section {
        max-width: 520px;
        width: 100%;
    }

    .biodata-header {
        padding: 40px 0 0 0;
        margin-bottom: 20px;
    }

    .header-title {
        font-size: 20px;
        font-weight: 600;
    }

    .progress-section {
        padding: 40px 0 32px;
    }

    .step-circle {
        width: 44px;
        height: 44px;
    }

    .step-number {
        font-size: 16px;
    }

    .step-label {
        font-size: 13px;
        font-weight: 500;
    }

    .content-section {
        padding: 0 0 40px;
    }

    .section-title {
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 12px;
    }

    .section-subtitle {
        font-size: 14px;
        line-height: 22px;
        margin-bottom: 40px;
    }

    .biodata-form.row {
        --bs-gutter-x: 96px; /* Very large horizontal spacing on desktop */
    }

    .biodata-form .col-md-6,
    .biodata-form .col-md-12 {
        margin-bottom: 40px; /* Increase desktop vertical spacing */
        min-height: 88px;
    }

    .biodata-form .form-label {
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 8px;
    }

    .biodata-form .input-group {
        height: 56px;
        min-height: 56px;
        border-radius: 12px;
    }

    .biodata-form .input-group-text {
        padding: 0 20px;
    }

    .biodata-form .form-control {
        padding: 0 20px 0 0;
        font-size: 16px;
        line-height: 24px;
    }

    .biodata-form .form-control::placeholder {
        font-size: 13px;
    }

    .field-icon {
        width: 20px;
        height: 20px;
    }

    .field-icon i {
        font-size: 20px;
    }

    .biodata-form-container .input-field {
        font-size: 16px;
        line-height: 24px;
    }

    .phone-field-input {
        padding: 0 24px;
        gap: 16px;
    }

    .simple-input,
    .amount-input {
        padding: 0 24px;
    }

    .currency-symbol {
        font-size: 16px;
        font-weight: 600;
    }

    .submit-section {
        padding: 0 0 60px;
    }

    .btn-submit {
        height: 56px;
        padding: 16px 32px;
        font-size: 16px;
        font-weight: 600;
        border-radius: 12px;
        transition: all 0.3s ease;
    }

    .btn-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(30, 122, 124, 0.25);
    }

    /* Enhanced focus states for desktop */
    .biodata-form .input-group:focus-within {
        box-shadow: 0 0 0 3px rgba(30, 122, 124, 0.1);
        transform: translateY(-1px);
    }

    /* Better error state visibility */
    .biodata-form .col-md-6:has(.django-error-feedback) .input-group,
    .biodata-form .col-md-12:has(.django-error-feedback) .input-group {
        box-shadow: 0 0 0 2px #EF4444;
        background: #FEF2F2;
    }

    .biodata-form .django-error-feedback {
        margin-top: 8px;
        font-size: 13px;
        line-height: 18px;
        padding-left: 6px;
    }

    .errorlist li {
        font-size: 13px;
        margin-top: 6px;
    }

    /* Improved messages for desktop */
    .messages {
        top: 40px;
        right: 40px;
    }

    .messages .alert {
        padding: 16px 20px;
        font-size: 15px;
        min-width: 300px;
    }
}

/* Large Desktop Enhancements */
@media (min-width: 1440px) {
    .biodata-header,
    .progress-section,
    .content-section,
    .submit-section {
        max-width: 600px;
    }

    .section-title {
        font-size: 24px;
        line-height: 32px;
    }

    .section-subtitle {
        font-size: 16px;
        line-height: 24px;
    }

    .biodata-form.row {
        --bs-gutter-x: 112px; /* Maximum horizontal spacing on large screens */
    }

    .biodata-form .col-md-6,
    .biodata-form .col-md-12 {
        margin-bottom: 48px;
        min-height: 92px;
    }

    .biodata-form .input-group {
        height: 60px;
        min-height: 60px;
    }

    .biodata-form-container .input-field {
        font-size: 17px;
    }

    .biodata-form-container .input-field::placeholder {
        font-size: 14px !important;
    }

    .btn-submit {
        height: 60px;
        font-size: 17px;
    }
}

/* Tablet Responsive Design */
@media (max-width: 1023px) and (min-width: 769px) {
    .biodata-header,
    .progress-section,
    .content-section,
    .submit-section {
        max-width: 480px;
        margin: 0 auto;
    }

    .biodata-form .input-group {
        height: 52px;
        min-height: 52px;
    }

    .btn-submit {
        height: 52px;
        font-size: 15px;
    }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .biodata-form.row {
        --bs-gutter-x: 16px; /* Add horizontal spacing between fields on mobile */
    }

    .biodata-form .col-md-6 {
        padding-left: 8px;
        padding-right: 8px;
    }

    .biodata-form .col-md-6,
    .biodata-form .col-md-12 {
        margin-bottom: 28px; /* Maintain good vertical spacing on mobile */
    }
}

@media (max-width: 480px) {
    .biodata-header,
    .progress-section,
    .content-section,
    .submit-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .progress-steps {
        gap: 8px;
    }

    .step-label {
        font-size: 11px;
        max-width: 70px;
    }

    .biodata-form .input-group-text {
        padding: 0 12px;
    }

    .biodata-form .form-control {
        padding: 0 12px 0 0;
    }

    .custom-flag-container {
        padding: 0 8px;
        min-width: 70px;
    }

    .custom-flag {
        width: 18px;
        height: 13px;
        margin-right: 6px;
    }

    .custom-dial-code {
        font-size: 13px;
    }
}

/* Accessibility */
.btn-submit:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--color-primary);
}

/* Focus states for form elements */
.biodata-form .form-control:focus {
    outline: none !important;
    box-shadow: none !important;
}

.biodata-form .input-group:focus-within {
    outline: none !important;
}

.country-selector:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--color-primary);
    border-radius: 4px;
}

/* Universal override for any input focus states */
.biodata-form-container input:focus,
.biodata-form-container input:focus-visible,
.biodata-form-container input:active {
    outline: none !important;
    box-shadow: none !important;
}

/* Contact Preference Styles */
.contact-preference-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
}

.contact-preference-option {
    position: relative;
}

.contact-preference-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.contact-preference-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--form-input-bg);
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 100%;
    min-height: 72px;
}

.contact-preference-label:hover {
    background: #EEF2FF;
    box-shadow: var(--form-shadow-blue);
}

.contact-preference-option input[type="radio"]:checked + .contact-preference-label {
    background: white;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(30, 122, 124, 0.1);
}

.preference-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.contact-preference-option input[type="radio"]:checked + .contact-preference-label .preference-icon {
    background: var(--color-primary);
    color: white;
}

.preference-icon i {
    font-size: 20px;
    color: var(--color-primary);
}

.contact-preference-option input[type="radio"]:checked + .contact-preference-label .preference-icon i {
    color: white;
}

.preference-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.preference-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: #111111;
}

.preference-description {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    font-size: 11px;
    line-height: 16px;
    color: #78828A;
}

/* Mobile adjustments for contact preference */
@media (max-width: 480px) {
    .contact-preference-container {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .contact-preference-label {
        padding: 14px;
        min-height: 68px;
    }

    .preference-icon {
        width: 36px;
        height: 36px;
    }

    .preference-icon i {
        font-size: 18px;
    }

    .preference-title {
        font-size: 13px;
    }

    .preference-description {
        font-size: 10px;
    }
}

/* Desktop enhancements for contact preference */
@media (min-width: 1024px) {
    .contact-preference-container {
        gap: 16px;
    }

    .contact-preference-label {
        padding: 20px;
        min-height: 80px;
    }

    .preference-icon {
        width: 44px;
        height: 44px;
    }

    .preference-icon i {
        font-size: 22px;
    }

    .preference-title {
        font-size: 15px;
    }

    .preference-description {
        font-size: 12px;
    }
}
