
/* Address Autocomplete Suggestions Styling */
.address-suggestions {
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
}

.suggestion-item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #333;
    transition: background-color 0.15s ease;
}

.suggestion-item:hover,
.suggestion-item.selected {
    background-color: #f0f0f0;
}

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

/* Ensure form group has relative positioning for dropdown */
.form-group {
    position: relative;
}

/* Reduce top spacing on thank you page */
.step[data-step="19"] .step-content {
    padding-top: 10px !important; /* Reduced from default */
}

.step[data-step="19"] .success-screen {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Target the success icon container directly */
.step[data-step="19"] .success-icon {
    margin-top: 10px !important; /* Minimal top margin */
    margin-bottom: 15px !important;
}

/* If the progress bar has bottom margin affecting this */
.progress-container {
    margin-bottom: 15px !important; /* Reduce if needed */
}

/* Ensure the first element after progress has no extra top margin */
.step[data-step="19"] .success-screen > *:first-child {
    margin-top: 0 !important;
}

/* Reduce space after progress bar specifically on step 19 */
.step[data-step="19"] .progress-container {
    margin-bottom: 10px;
}

/* If there's still too much space, also add */
.step[data-step="19"] .application-details {
    margin-top: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .step[data-step="19"] .success-icon iframe {
        width: 100px;
        height: 100px;
    }
}
/* Mobile responsive fixes for OTP verification */
@media (max-width: 768px) {
    /* Make OTP input boxes smaller on mobile */
    .otp-input {
        width: 50px !important;
        height: 50px !important;
        font-size: 18px !important;
        margin: 0 5px !important;
    }
    /* Fix spacing between OTP boxes */
    .otp-container {
        gap: 5px !important;
        justify-content: center;
        margin: 15px 0;
    }
    /* Fix the resend text and countdown that's cut off */
    .resend-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 20px 10px;
        font-size: 14px;
    }
    /* Make countdown timer text smaller and centered */
    #countdown-timer {
        font-size: 14px;
        text-align: center;
        word-wrap: break-word;
        max-width: 100%;
        padding: 0 10px;
        line-height: 1.4;
    }
    /* Make resend button text smaller */
    .resend-link,
    #resend-otp-btn {
        font-size: 14px;
        margin-bottom: 5px;
    }
    /* Add padding to prevent content from touching edges */
    .step[data-step="18"] .step-content {
        padding: 15px;
    }
    /* Ensure verify button is properly sized on mobile */
    #step-18 .submit-btn,
    .step[data-step="18"] .btn-primary {
        width: 80%;
        max-width: 250px;
        font-size: 16px;
    }
}
/* Center the Verify Phone button */
#step-18 .submit-btn,
.step[data-step="18"] .btn-primary {
    display: block !important;
    margin: 30px auto !important;
    width: 200px;
    text-align: center;
}

/* Also center the button container if it exists */
#step-18 .step-actions {
    text-align: center;
}
/* Remove step-specific error overrides for Step 6. Use .step-error for all steps. */

/* Hide any error that might be positioned inline in currency input */
.currency-input .error-message,
.currency-input .validation-error {
    display: none !important;
    position: static !important;
}
/* Unified error message styling for all steps */
.step-error {
    display: block;
    width: 100%;
    text-align: center;
    color: #e53935;
    background: none;
    font-size: 15px;
    font-weight: 500;
    margin: 16px 0 8px 0;
    padding: 0;
    border: none;
    border-radius: 0;
    letter-spacing: 0.01em;
    line-height: 1.4;
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transition: color 0.2s, background 0.2s;
    box-shadow: none;
    z-index: 2;
}

@media (max-width: 768px) {
  .step-error {
    font-size: 14px;
    margin: 12px 0 6px 0;
  }
}
/* Credit score option cards with comfortable vertical padding */
.step[data-step="4"] .option-card {
    padding: 10px 8px !important;
    min-height: 0 !important;
    line-height: 1.1 !important;
    justify-content: center !important;
    gap: 0 !important;
}
.step[data-step="4"] .option-card strong {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.step[data-step="4"] .option-card small {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
}
/* Center the Verify Phone button in OTP step */
.step[data-step="18"] .submit-btn {
    display: block;
    margin: 20px auto;
    text-align: center;
}
/* Center the 'Enter Verification Code' label in OTP step */
.step[data-step="18"] .form-group label {
    text-align: center;
    display: block;
    margin-bottom: 15px;
}
/* Center the OTP input container in OTP step */
.step[data-step="18"] .otp-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}
/* Hide daily attempts remaining in OTP step */
#attempts-remaining {
    display: none !important;
}
/* Countdown Timer Styles */
#countdown-timer {
    color: #333;
    font-size: 16px;
    min-width: 220px;
    display: inline-block;
    white-space: nowrap;
    vertical-align: middle;
    margin-left: 8px;
}
/* OTP Verification Styles */
.resend-section {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid #eee;
}

.resend-link {
    background: none;
    border: none;
    color: #007bff;
    cursor: pointer;
    font-size: 16px;
    text-decoration: underline;
    padding: 0;
    white-space: nowrap;
    min-width: 110px;
    flex-shrink: 0;
}
#countdown-timer {
    flex-shrink: 1;
}

.resend-link:disabled {
    color: #999;
    cursor: not-allowed;
    text-decoration: none;
}

.attempts-text {
    font-size: 14px;
    color: #666;
}

.form-content {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
}

/* Support Popup Styles */
.support-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.support-popup {
    background: white;
    padding: 40px;
    border-radius: 10px;
    max-width: 500px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.support-popup h3 {
    margin-bottom: 20px;
    color: #333;
}

.support-contact {
    margin: 20px 0;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 5px;
}

.support-contact p {
    margin: 10px 0;
    font-size: 16px;
}

.support-contact a {
    color: #007bff;
    text-decoration: none;
}
/* Fix application details layout */
.application-details .detail-item {
    display: block !important;
    margin-bottom: 20px !important;
    text-align: left !important;
}

.application-details .detail-item strong {
    display: block !important;
    font-weight: 600 !important;
    color: #374151 !important;
    font-size: 14px !important;
    margin-bottom: 6px !important;
}

.application-details .detail-item span {
    display: block !important;
    font-weight: 500 !important;
    color: #111827 !important;
    font-size: 16px !important;
    word-break: break-word !important;
    line-height: 1.4 !important;
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
    font-size: 16px; /* Minimum 16px for mobile */
    /* Prevent horizontal scrolling on mobile */
    overflow-x: hidden;
    /* Ensure proper touch behavior */
    -webkit-tap-highlight-color: transparent;
    /* Improve text rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Remove frame effect around form */
.app-container {
    max-width: 440px;
    margin: 30px auto 40px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    min-height: calc(100vh - 120px);
}

/* Progress Header */
.progress-header {
    background: white;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Hide/Show Classes */
.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* Initial State Header */
.initial-state {
    margin-bottom: 12px;
}

.app-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    text-align: center;
}

/* Vehicle Info Header */
.vehicle-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    position: relative;
}

.edit-vehicle-btn {
    margin-left: auto;
    background: #f3f4f6;
    color: #2563eb;
    border: none;
    border-radius: 6px;
    padding: 4px 14px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    outline: none;
    height: 28px;
    display: flex;
    align-items: center;
}
.edit-vehicle-btn:hover, .edit-vehicle-btn:focus {
    background: #2563eb;
    color: #fff;
}
}

.vehicle-info.hidden {
    display: none;
}

.vehicle-icon {
    width: 32px;
    height: 22px;
}

.vehicle-details h3 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.vehicle-details p {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.vehicle-details p.hidden {
    display: none;
}



.progress-container {
    position: relative;
}

/* Modern animated brand green progress bar */
.progress-bar {
    width: 100%;
    height: 8px; /* 50% thicker than current */
    border-radius: 4px;
    background: #e0e0e0;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--secondary-green);
    width: 5.26%; /* adjusts dynamically */
    transition: width 0.3s ease;
    box-shadow: 0 0 8px rgba(5, 169, 137, 0.6);
    position: relative;
    overflow: hidden;
}

.progress-fill::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(
        -45deg,
        rgba(255,255,255,0.2) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255,255,255,0.2) 50%,
        rgba(255,255,255,0.2) 75%,
        transparent 75%,
        transparent
    );
    background-size: 30px 30px;
    animation: progressMove 2s linear infinite;
}

@keyframes progressMove {
    0% { background-position: 0 0; }
    100% { background-position: 30px 30px; }
}

.progress-text {
    font-size: 11px;
    color: #666;
    margin-top: 6px;
    text-align: right;
}

/* Form Container */
.form-container {
    padding: 10px 12px;
    background: transparent;
    border: none;
}

.step {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    width: 100%;
    display: none;
}

.step.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
    display: block;
}

.step.exit {
    opacity: 0;
    transform: translateX(-100px);
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-content > * {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-content {
    margin-bottom: 24px;
}

.step-content h1 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 12px;
    line-height: 1.3;
}

.step-content h2 {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    text-align: center;
    margin-bottom: 16px;
}

.step-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.step-content p {
    text-align: center;
    color: #666;
    margin-bottom: 24px;
}

.step-content small {
    display: block;
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 8px;
}

/* Vehicle Grid */
.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
    max-width: 420px;
    margin: 0 auto;
}

.vehicle-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    padding: 8px 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    min-height: 130px;
    aspect-ratio: 1.1/1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.vehicle-card:hover {
    border-color: #00BFFF;
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 191, 255, 0.15);
}

.vehicle-card.selected {
    border-color: #00BFFF;
    /* background: #E6F7FF; removed to avoid extra frame */
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 191, 255, 0.2);
}

.vehicle-card img {
    width: 90px;
    height: 67px;
    margin-bottom: 10px;
}

.vehicle-card span {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #333;
    text-align: center;
    line-height: 1.2;
}

/* FIXED: Vehicle Toggle Links - Desktop and Mobile Centering */
.vehicle-toggle {
    display: block !important;
    text-align: center !important;
    width: 100% !important;
    margin: 20px auto !important;
    color: #0f50ba !important;
    text-decoration: underline !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: color 0.2s ease !important;
}

.vehicle-toggle:hover {
    color: #05a989 !important;
}

/* Ensure hidden class works properly for toggle links */
.vehicle-toggle.hidden,
#toggle-to-powersports.hidden,
#toggle-to-cars.hidden {
    display: none !important;
}

/* Budget Options */
.budget-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 360px;
    margin: 0 auto;
}

.budget-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.budget-card:hover {
    border-color: #00BFFF;
}

.budget-card.selected {
    border-color: #00BFFF;
    /* background-color: #E6F7FF; removed to avoid extra frame */
}

.budget-card input[type="radio"] {
    margin: 0;
}

.budget-card label {
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    flex: 1;
}

/* Options Grid (for radio button style selections) */
.options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 16px;
}

.option-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.option-card:hover {
    border-color: #00BFFF;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,191,255,0.15);
}

.option-card.selected {
    border-color: #00BFFF;
    background: #E6F7FF;
}

.option-card span {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.option-card strong {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.option-card small {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Form Fields */
.form-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

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

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

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    padding: 8px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.2s;
    background: white;
    min-height: 40px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #00BFFF;
    box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.1);
}

/* Input Container */
.input-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.input-container input {
    width: 100%;
    max-width: 400px;
    padding: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    text-align: center;
    min-height: 48px;
}

.input-container input:focus {
    outline: none;
    border-color: #00BFFF;
    box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.1);
}

/* Currency Input */
.currency-input {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 400px;
}

.currency-symbol {
    position: absolute;
    left: 16px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    z-index: 1;
}

.currency-input input {
    padding-left: 40px;
    padding-right: 16px;
    width: 100%;
}

.currency-label {
    position: absolute;
    right: 16px;
    font-size: 14px;
    color: #666;
    pointer-events: none;
}

/* Duration Inputs */
.duration-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 400px;
    margin: 0 auto 16px;
}

.duration-inputs .form-group {
    text-align: center;
}

.duration-inputs label {
    margin-top: 8px;
    font-size: 14px;
    color: #666;
}

/* Phone Input */
.phone-input {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 400px;
}

.flag-icon {
    position: absolute;
    left: 16px;
    width: 20px;
    height: auto;
    z-index: 1;
}

.phone-input input {
    padding-left: 48px;
    width: 100%;
}

/* Phone Verification */
.phone-verification {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.phone-display {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 400px;
    text-align: left;
    margin-bottom: 16px;
}

.terms-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    flex-shrink: 0;
}

.terms-checkbox label {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.terms-checkbox a {
    color: #00BFFF;
    text-decoration: none;
}

.terms-checkbox a:hover {
    text-decoration: underline;
}

/* OTP Input */
.otp-container {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin: 16px 0;
}

.otp-input {
    width: 56px;
    height: 56px;
    text-align: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 24px;
    font-weight: 600;
    transition: all 0.2s;
}

.otp-input:focus {
    outline: none;
    border-color: #00BFFF;
    box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.1);
}

.otp-input.filled {
    border-color: #00BFFF;
    /* background: #E6F7FF; removed to avoid extra frame */
}

.otp-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    gap: 16px;
}

.otp-actions a {
    color: #00BFFF;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.otp-actions a:hover {
    text-decoration: underline;
}

/* Success Screen */
.success-screen {
    text-align: center;
    padding: 20px;
}

.success-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    overflow: hidden;
}

.application-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 24px 0;
}


.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
}

.detail-item strong {
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.detail-item span {
    font-weight: 500;
    color: #111827;
    font-size: 16px;
    word-break: break-all; /* Ensures long references break properly */
}

/* Desktop specific adjustments */
@media (min-width: 768px) {
    .detail-item {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
    }
    
    .detail-item strong {
        min-width: 140px;
        flex-shrink: 0;
    }
    
    .detail-item span {
        text-align: right;
        word-break: normal;
    }
}

.next-steps {
    text-align: left;
    margin: 32px 0;
}

.next-steps ul {
    padding-left: 20px;
    margin-top: 16px;
}

.next-steps li {
    margin-bottom: 8px;
    color: #666;
}

.contact-info {
    /* background: #E6F7FF; removed to avoid extra frame */
    border-radius: 8px;
    padding: 20px;
    margin: 24px 0;
}

/* Action Buttons */
.step-actions {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: 16px;
    flex-wrap: wrap;
}

/* Center button only for the first step */
.step[data-step="1"] .step-actions {
    justify-content: center;
}

.step[data-step="1"] .btn-continue {
    margin: 0 auto;
    display: block;
}

/* Center Print Application button on final confirmation step */
.step[data-step="19"] .step-actions {
    justify-content: center;
}
.step[data-step="19"] .btn-primary {
    margin: 0 auto;
    display: block;
}

.btn-back {
    background: white;
    border: 2px solid #e0e0e0;
    color: #666;
    padding: 10px 24px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 40px;
    min-width: 80px;
}

.btn-back:hover {
    border-color: #ccc;
    background: #f8f9fa;
    transform: translateY(-1px);
}

.btn-continue,
.btn-submit,
.btn-primary {
    background: var(--primary-blue);
    border: none;
    color: white;
    padding: 10px 24px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 40px;
    min-width: 100px;
    position: relative;
    overflow: hidden;
}

.btn-continue:hover,
.btn-submit:hover,
.btn-primary:hover {
    background: #073580; /* darker primary */
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(15, 80, 186, 0.3);
}

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

.btn-continue:disabled,
.btn-submit:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
    box-shadow: none;
}

.btn-continue:enabled,
.btn-submit:enabled {
    background-color: #00BFFF;
    cursor: pointer;
    opacity: 1;
}

/* Mobile Responsive - Comprehensive Mobile-First Design */
@media (max-width: 768px) {
    /* Base container adjustments */
    .app-container {
        max-width: 100%;
        margin: 0;
        padding: 0;
        min-height: 100vh;
    }
    
    .form-container {
        padding: 12px 8px;
        width: 100%;
        max-width: 100%;
    }
    
    /* Header adjustments */
    .progress-header {
        padding: 12px 8px;
        margin-bottom: 8px;
    }
    
    .vehicle-info {
        gap: 6px;
        margin-bottom: 8px;
    }
    
    .vehicle-icon {
        width: 32px;
        height: 20px;
    }
    
    .vehicle-details h3 {
        font-size: 13px;
        margin: 0;
    }
    
    .vehicle-details p {
        font-size: 11px;
        margin: 0;
    }
    
    /* Typography adjustments */
    .step-content h1 {
        font-size: 18px;
        line-height: 1.3;
        margin-bottom: 8px;
        padding: 0 4px;
    }
    
    .step-content h2 {
        font-size: 16px;
        line-height: 1.3;
        margin-bottom: 12px;
        padding: 0 4px;
    }
    
    .step-content h3 {
        font-size: 14px;
        line-height: 1.3;
    }
    
    .step-content p {
        font-size: 14px;
        line-height: 1.4;
        padding: 0 4px;
    }
    
    .step-content small {
        font-size: 12px;
        line-height: 1.3;
        padding: 0 4px;
    }
    
    /* Vehicle grid adjustments */
    .vehicle-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        max-width: 100%;
        margin: 0 auto 12px;
        padding: 0 4px;
    }
    
    .vehicle-card {
        padding: 8px 6px;
        min-height: 300px;
        aspect-ratio: 1.2/1;
    }
    
    .vehicle-card img {
        width: 123px;
        height: 123px;
        margin-bottom: 16px;
    }
    
    .vehicle-card span {
        font-size: 11px;
        line-height: 1.2;
    }
    
    /* Vehicle toggle mobile adjustments */
    .vehicle-toggle,
    #toggle-to-powersports,
    #toggle-to-cars {
        font-size: 13px !important;
        margin: 12px auto !important;
        padding: 0 4px !important;
    }
    
    /* Budget options adjustments */
    .budget-options {
        gap: 8px;
        padding: 0 4px;
    }
    
    .budget-card {
        padding: 10px 12px;
        min-height: 44px;
    }
    
    .budget-card label {
        font-size: 13px;
        line-height: 1.3;
    }
    
    /* Options grid adjustments */
    .options-grid {
        gap: 8px;
        margin-bottom: 12px;
        padding: 0 4px;
    }
    
    .option-card {
        padding: 12px 10px;
        min-height: 44px;
    }
    
    .option-card span {
        font-size: 13px;
        line-height: 1.3;
    }
    
    .option-card strong {
        font-size: 13px;
    }
    
    .option-card small {
        font-size: 11px;
    }
    
    /* Form fields adjustments */
    .form-fields {
        gap: 12px;
        margin-bottom: 12px;
        padding: 0 4px;
        width: 100%;
        max-width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .form-group {
        width: 100%;
        max-width: 100%;
    }
    
    .form-group input,
    .form-group select,
    .input-container input {
        padding: 12px;
        min-height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        border-radius: 8px;
    }
    
    .input-container {
        gap: 8px;
        margin-bottom: 12px;
        padding: 0 4px;
        width: 100%;
    }
    
    .input-container input {
        max-width: 100%;
        width: 100%;
    }
    
    /* Currency input adjustments */
    .currency-input {
        width: 100%;
        max-width: 100%;
    }
    
    .currency-input input {
        padding-left: 36px;
        width: 100%;
    }
    
    .currency-symbol {
        left: 12px;
        font-size: 16px;
    }
    
    .currency-label {
        right: 12px;
        font-size: 12px;
    }
    
    /* Duration inputs adjustments */
    .duration-inputs {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 0 auto 12px;
        padding: 0 4px;
        width: 100%;
    }
    
    .duration-inputs .form-group {
        width: 100%;
    }
    
    .duration-inputs label {
        font-size: 12px;
        margin-top: 4px;
    }
    
    /* Date Input Styling */
.date-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 400px;
}

.date-input-wrapper input[type="text"] {
    width: 100%;
    padding: 16px 60px 16px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    text-align: center;
    min-height: 48px;
    transition: all 0.2s ease;
}

.date-input-wrapper input[type="text"]:focus {
    outline: none;
    border-color: #00BFFF;
    box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.1);
}

.calendar-btn {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    z-index: 2;
}

.calendar-btn:hover {
    background-color: rgba(0, 191, 255, 0.1);
}

.calendar-btn:active {
    transform: scale(0.95);
}

/* Validation styling */
.date-input-wrapper input[type="text"].error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.date-input-wrapper input[type="text"].valid {
    border-color: var(--secondary-green);
    box-shadow: 0 0 0 3px rgba(5, 169, 137, 0.1);
}

/* Mobile adjustments for date input */
@media (max-width: 768px) {
    .date-input-wrapper {
        max-width: 100%;
    }
    
    .date-input-wrapper input[type="text"] {
        padding: 12px 50px 12px 12px;
        min-height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .calendar-btn {
        right: 8px;
        font-size: 18px;
        padding: 6px;
    }
}
    .phone-input {
        width: 100%;
        max-width: 100%;
    }
    
    .phone-input input {
        padding-left: 44px;
        width: 100%;
    }
    
    .flag-icon {
        width: 18px;
        left: 12px;
    }
    
    /* Phone verification adjustments */
    .phone-verification {
        gap: 12px;
        padding: 0 4px;
    }
    
    .phone-display {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    /* OTP adjustments */
    .otp-container {
        gap: 8px;
        margin: 12px 0;
        padding: 0 4px;
    }
    
    .otp-input {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    
    .otp-actions {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        margin-top: 12px;
    }
    
    .otp-actions a {
        font-size: 13px;
    }
    
    /* Step actions adjustments */
    .step-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        margin-top: 12px;
        padding: 0 4px;
    }
    
    .btn-back,
    .btn-continue,
    .btn-submit,
    .btn-primary {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 12px 16px;
        font-size: 16px;
        min-height: 48px;
    }
    
    /* Terms checkbox adjustments */
    .terms-checkbox {
        padding: 0 4px;
        margin: 12px 0;
    }
    
    .terms-checkbox label {
        font-size: 13px;
        line-height: 1.4;
    }
    
    /* Success screen adjustments */
    .success-screen {
        padding: 20px 12px;
    }
    
    .success-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 16px;
        overflow: hidden;
    }
    
    .application-details {
        gap: 12px;
        margin: 16px 0;
    }
    
    .detail-item {
        flex-direction: column;
        text-align: center;
        gap: 4px;
        padding: 8px;
    }
    
    .detail-item strong {
        font-size: 13px;
    }
    
    .detail-item span {
        font-size: 12px;
    }
    
    /* Progress bar adjustments */
    .progress-bar {
        height: 6px;
    }
    
    .progress-text {
        font-size: 11px;
    }
    
    /* Header and footer adjustments */
    .site-header {
        background-color: #ffffff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        margin-bottom: 15px;
        /* reduced vertical padding by ~35% */
        padding: 0; /* removed vertical padding to match logo height */
    }
    
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0 24px;
        gap: 8px;
    }
    
    .header-container .logo img {
        height: 40px;
    }
    
    .header-container .contact-info {
        font-size: 16px;
        font-weight: 600;
    }
    
    .header-container .contact-info a {
        color: #0f50ba;
        text-decoration: none;
    }
    
    .header-container .contact-info a:hover {
        color: #05a989;
    }
    
    /* Mobile: center logo, hide phone number */
    .header-container {
        justify-content: center;
    }
    .header-container .contact-info {
        display: none;
    }
    
    .site-footer {
        padding: 16px 8px; /* increased by ~30% */
    }
    
    .footer-content {
        gap: 12px;  /* more spacious */
    }
    
    /* Footer paragraph text */
    .footer-content p {
    font-size: 13px;
    line-height: 1.4;
    color: #888;
    margin: 8px 0 0 0;
    }
    
    /* Footer navigation links and separators */
    .footer-links a,
    .footer-links span {
        margin: 0 8px;
        font-size: 8px;
    }
    
    .footer-links a:hover {
        color: #0f50ba;
    }
    
    .google-reviews {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }
    
    .google-reviews img {
        height: 24px;
        width: auto;
    }
    
    /* Google Reviews text */
    .google-reviews span {
        font-size: 8px;
    }
    
    /* Mobile footer adjustments */
    .footer-content {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
        width: 100%;
        padding: 0 4px;
    }
    .footer-left,
    .footer-center,
    .footer-right {
        text-align: center;
        flex: none;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    .footer-content p {
        font-size: 13px;
        line-height: 1.4;
        color: #888;
        margin: 8px 0 0 0;
    }
    .footer-links a,
    .footer-links span {
        font-size: 13px;
        margin: 0 6px;
        display: inline-block;
    }
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
        width: 100%;
        margin: 0 auto 6px auto;
    }
}

/* Extra small devices (phones, 375px and down) */
@media (max-width: 375px) {
    .form-container {
        padding: 8px 6px;
    }
    
    .step-content h1 {
        font-size: 16px;
    }
    
    .step-content h2 {
        font-size: 14px;
    }
    
    .vehicle-card {
        padding: 6px 4px;
        min-height: 56px;
    }
    
    .vehicle-card span {
        font-size: 10px;
    }
    
    .budget-card {
        padding: 8px 10px;
    }
    
    .budget-card label {
        font-size: 12px;
    }
    
    .option-card {
        padding: 10px 8px;
    }
    
    .option-card span {
        font-size: 12px;
    }
    
    .form-group input,
    .form-group select,
    .input-container input {
        padding: 10px;
        min-height: 40px;
    }
    
    .btn-back,
    .btn-continue,
    .btn-submit,
    .btn-primary {
        padding: 10px 14px;
        min-height: 44px;
    }
}

/* Touch-friendly improvements for all mobile devices */
@media (max-width: 768px) {
    /* Ensure all clickable elements are touch-friendly */
    .vehicle-card,
    .budget-card,
    .option-card,
    .btn-back,
    .btn-continue,
    .btn-submit,
    .btn-primary,
    .vehicle-toggle {
        min-height: 44px; /* Apple's recommended minimum touch target */
        cursor: pointer;
    }
    
    /* Improve form input accessibility */
    .form-group input,
    .form-group select,
    .input-container input,
    .currency-input input,
    .phone-input input {
        /* Prevent zoom on iOS when focusing inputs */
        font-size: 16px;
        /* Ensure proper touch behavior */
        -webkit-appearance: none;
        border-radius: 8px;
    }
    
    /* Improve select dropdowns on mobile */
    .form-group select {
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 16px;
        padding-right: 40px;
    }
    
    /* Ensure proper spacing for touch targets */
    .step-actions {
        gap: 12px;
    }
    
    /* Improve checkbox and radio button touch targets */
    .budget-card input[type="radio"],
    .terms-checkbox input[type="checkbox"] {
        min-width: 20px;
        min-height: 20px;
    }
    
    /* Ensure proper text selection */
    .step-content h1,
    .step-content h2,
    .step-content p,
    .step-content small {
        -webkit-user-select: none;
        user-select: none;
    }
    
    /* Improve scrolling performance */
    .app-container {
        -webkit-overflow-scrolling: touch;
    }
}

    /* Address form alignment fix (desktop) */
.step[data-step="16"] .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
}
.step[data-step="16"] .form-group {
    margin: 0;
    padding: 0;
}
.step[data-step="16"] .form-group input,
.step[data-step="16"] .form-group select {
    width: 100%;
    box-sizing: border-box;
}
/* Address form specific mobile fixes */
    @media (max-width: 768px) {
        /* Ensure address form stays within bounds */
        .step[data-step="16"] .form-fields {
            width: 100%;
            max-width: 100%;
            padding: 0 2px;
        }
        
        .step[data-step="16"] .form-row {
            /* Stack province and postal code fields vertically on mobile */
            grid-template-columns: 1fr;
            gap: 12px;
            width: 100%;
            max-width: 100%;
            margin: 0;
            padding: 0;
        }
        
        .step[data-step="16"] .form-group {
            width: 100%;
            max-width: 100%;
            margin: 0;
            padding: 0;
        }
        
        .step[data-step="16"] .form-group input,
        .step[data-step="16"] .form-group select {
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            margin: 0;
        }
        
        /* Ensure postal code field doesn't overflow */
        .step[data-step="16"] input[name="postal_code"] {
            font-size: 14px;
            letter-spacing: 0.5px;
        }
    }
    
    /* Landscape orientation adjustments */
    @media (max-width: 768px) and (orientation: landscape) {
        .app-container {
            margin-top: 20px;
        }
        
        .form-container {
            padding: 8px 12px;
        }
        
        .vehicle-grid {
            grid-template-columns: repeat(3, 1fr);
            max-width: 400px;
        }
        
        .vehicle-card {
            min-height: 50px;
        }
        
        .step-content h1 {
            font-size: 16px;
            margin-bottom: 6px;
        }
        
        .step-content h2 {
            font-size: 14px;
            margin-bottom: 8px;
        }
    }

/* Step-level error message */
.step-error{
    background:#fff2f2;
    border:1px solid #e74c3c;
    color:#e74c3c;
    padding:12px;
    border-radius:6px;
    margin-top:16px;
    font-size:14px;
    text-align:center;
    display:none;
}

/* Error message styling for individual fields */
.error-message{
    color:#e74c3c;
    font-size:12px;
    margin-top:4px;
    display:none;
}
.error-message.show {
    display: block !important;
}

.form-group.error input,
.form-group.error select{
    border-color:#e74c3c!important;
    box-shadow:0 0 0 3px rgba(231,76,60,.1)!important;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .step,
    .vehicle-card,
    .option-card,
    .btn-continue,
    .btn-back,
    .progress-fill {
        transition: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .vehicle-card,
    .option-card {
        border-width: 3px;
    }
    
    .vehicle-card.selected,
    .option-card.selected {
        border-width: 4px;
    }
}

/* Loading States */
.btn-continue.loading,
.btn-submit.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-continue.loading::after,
.btn-submit.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes fadeInHighlight {
    0% { 
        opacity: 0.7;
        background-color: #fff3cd;
    }
    50% {
        background-color: #fff3cd;
    }
    100% { 
        opacity: 1;
        background-color: white;
    }
}

@keyframes slideInFromTop {
    0% {
        transform: translateX(-50%) translateY(-20px);
        opacity: 0;
    }
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

@keyframes slideOutToTop {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(-20px);
        opacity: 0;
    }
}

/* Progress Bar Animation */
.progress-fill {
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Header and Footer Styles */
.site-header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    padding: 0;
    min-height: 48px;
    border: none;
}

/* Desktop override: full-width header container */
@media (min-width: 769px) {
    .header-container {
        max-width: none;
        margin: 0;
        width: 100%;
    }
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 18px;
    gap: 8px;
    min-height: 48px;
    height: 56px;
    box-sizing: border-box;
    background: transparent;
    border: none;
}

.header-container .logo img {
    height: 40px;
    max-height: 40px;
    width: auto;
    object-fit: contain;
    image-rendering: auto; /* Let browser optimize high-res images */
    filter: contrast(1.02) saturate(1.05); /* Slight enhancement for crispness */
    /* Retina display optimization */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0); /* Force hardware acceleration for smooth rendering */
}

.header-container .contact-info {
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-container .contact-info a {
    color: #0f50ba;
    text-decoration: none;
    background: #e6f3ff;
    border-radius: 6px;
    padding: 2px 12px;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
    height: 32px;
    min-height: 0;
    line-height: 28px;
    display: flex;
    align-items: center;
    box-shadow: 0 1px 2px rgba(15,80,186,0.04);
    border: 1px solid #d0e6fa;
    margin: 0;
    position: relative;
}

.header-container .contact-info a:hover {
    background: #0f50ba;
    color: #fff;
    border-color: #0f50ba;
}

/* Mobile: center logo, hide phone number */
@media (max-width: 768px) {
    .header-container {
        justify-content: center;
        padding: 0 8px;
        min-height: 45px; /* increased by 25% from 36px (36*1.25=45) */
        height: 52px;    /* 25% more than 41px is ~51.25, rounded to 52px */
    }
    .header-container .logo img {
        height: 36px; /* Larger for mobile with high-res image */
        max-height: 36px;
    }
    .header-container .contact-info {
        display: none;
    }
}

/* Footer three-column layout */
.site-footer {
    background-color: #f8f9fa;
    padding: 16px 24px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
}
.footer-left,
.footer-center,
.footer-right {
    flex: 1;
}
.footer-left {
    text-align: left;
}
.footer-center {
    text-align: center;
}
.footer-right {
    text-align: right;
}
.footer-links a,
.footer-links span {
    margin: 0 8px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
}
.footer-links a:hover {
    color: #0f50ba;
}
.google-reviews {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.google-reviews img {
    height: 24px;
    width: auto;
}
.google-reviews span {
    font-size: 14px;
    color: #666;
}
/* Mobile footer adjustments */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 12px;
    }
    .footer-left,
    .footer-center,
    .footer-right {
        text-align: center;
        flex: none;
    }
}

/* Theme Colors Replacement */
:root {
    --primary-blue: #0f50ba;
    --secondary-green: #05a989;
}

/* Progress Fill */
.progress-fill {
    background: var(--secondary-green);
}

/* Vehicle and Option selected borders */
.vehicle-card.selected,
.budget-card.selected,
.option-card.selected {
    border-color: var(--primary-blue);
}

/* Button Primary */
.btn-continue,
.btn-submit,
.btn-primary {
    background: var(--primary-blue);
}

/* Button Hover Shadow */
.btn-continue:hover,
.btn-submit:hover,
.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(15, 80, 186, 0.3);
}

/* Button hover background (slightly darker) */
.btn-continue:hover,
.btn-submit:hover,
.btn-primary:hover {
    background: #073580; /* darker primary */
}

/* Selected Budget/Option background highlight */
.budget-card.selected,
.option-card.selected {
    background: rgba(15, 80, 186, 0.1);
}

/* Success Icon Accent */
.success-icon {
    color: var(--secondary-green);
}

/* Lottie animation success icon sizing */
.success-icon {
    width: 100px !important;
    height: 100px !important;
    margin: 0 auto 16px !important;
    overflow: hidden;
}

/* Footer links already set to primary, ensure contact accent */
.footer-links a,
.contact-info a {
    color: var(--primary-blue);
}

.footer-links a:hover,
.contact-info a:hover {
    color: var(--secondary-green);
}

/* Progress bar frame */
.progress-container {
    border: none !important;
    padding: 0 !important;
    position: relative;
}

/* ================= Province Dropdown Responsive Styles ================= */
/* Base styles for province select */
#province {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: white;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

/* Mobile-specific improvements */
@media (max-width: 768px) {
    #province {
        height: 56px; /* Larger touch target */
        font-size: 18px; /* Prevent zoom on iOS */
        padding: 16px;
        padding-right: 45px;
        border-width: 2px; /* More visible */
        background-size: 24px; /* Larger arrow */
    }
    /* Match style with other inputs */
    #province:focus {
        outline: none;
        border-color: #00BFFF;
        box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.1);
    }
    /* Ensure option text is readable */
    #province option {
        padding: 10px;
        font-size: 16px;
    }
}

/* Ensure consistent spacing with other form fields */
.form-group select {
    margin-bottom: 15px;
}

/* For better UX, add hover state on desktop */
@media (min-width: 769px) {
    #province:hover {
        border-color: #00BFFF;
        cursor: pointer;
    }
}