/* ================================
   Extras Page Styles - Matching Main Site
   OPTIMIZED FOR MOBILE & DESKTOP
   ================================ */

/* Using CSS Variables from main styles.css */
:root {
    --primary-color: #b5121b;
    --primary-dark: #8a0e15;
    --primary-light: #d42833;
    --accent-color: #b5121b;
    --accent-light: #d42833;
    --accent-dark: #8a0e15;
    --success-color: #10b981;
    --text-dark: #212121;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --white: #ffffff;
    --background-light: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, #b5121b 0%, #d42833 100%);
    --gradient-accent: linear-gradient(135deg, #b5121b 0%, #d42833 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    /* Touch-friendly minimum sizes */
    --touch-target-min: 44px;
    --touch-target-comfortable: 48px;
    /* Safe area for notched devices */
    --safe-area-top: env(safe-area-inset-top, 0px);
    --safe-area-bottom: env(safe-area-inset-bottom, 0px);
    --safe-area-left: env(safe-area-inset-left, 0px);
    --safe-area-right: env(safe-area-inset-right, 0px);
}

/* Global Link Colors - Override Bootstrap Blue */
a {
    color: #b5121b;
    text-decoration: none;
    transition: color 0.3s ease;
    -webkit-tap-highlight-color: rgba(181, 18, 27, 0.1);
}

a:hover {
    color: #8a0e15;
    text-decoration: underline;
}

/* ================================
   FORM LABELS - Matching Main Site
   ================================ */

.form-label {
    font-weight: 600;
    color: #212121;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    display: block;
}

/* ================================
   QUESTIONS/HEADINGS - Matching Main Site Bold Style
   ================================ */

.extras-form-steps legend.questions,
.extras-form-steps h3 {
    color: #212121;
    margin-bottom: 1.5rem;
    font-size: clamp(1.25rem, 4vw, 1.75rem);
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
}

/* ================================
   SELECT BOXES - Matching Main Site
   ================================ */

.select-box {
    cursor: pointer;
    transition: all var(--transition-base);
    height: 100%;
    margin-bottom: 1rem;
}

.select-label-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 0.875rem;
    border: 3px solid #e0e0e0;
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-base);
    cursor: pointer;
    height: 100%;
    min-height: 110px;
    position: relative;
    overflow: hidden;
    /* Enhanced touch feedback */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Override Bootstrap for select boxes */
.select-label-option.form-label {
    font-weight: 600;
    color: #212121;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.select-label-option::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 0;
}

.select-label-option::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

/* Desktop hover states */
@media (hover: hover) and (pointer: fine) {
    .select-box:hover .select-label-option,
    .select-label-option.clickable:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
        border-color: var(--primary-color);
    }

    .select-box:hover .select-label-option::before {
        opacity: 0.06;
    }

    .select-box:hover .select-label-option::after {
        transform: scaleX(1);
    }
    
    .select-box:hover .select-img {
        filter: grayscale(0%) brightness(100%);
        opacity: 1;
        transform: scale(1.15);
    }
    
    .select-box:hover .box-option-title {
        color: var(--primary-color);
    }
}

/* Touch device active states */
@media (hover: none) and (pointer: coarse) {
    .select-box:active .select-label-option,
    .select-label-option.clickable:active {
        transform: scale(0.98);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
        border-color: var(--primary-color);
        background: rgba(181, 18, 27, 0.05);
    }

    .select-box:active .select-label-option::before {
        opacity: 0.1;
    }

    .select-box:active .select-label-option::after {
        transform: scaleX(1);
    }
}

.select-box input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.select-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-bottom: 0.5rem;
    margin-left: auto !important;
    margin-right: auto !important;
    filter: grayscale(0%) brightness(0) saturate(100%);
    opacity: 0.85;
    transition: all var(--transition-base);
    position: relative;
    z-index: 1;
}

.box-option-title {
    font-size: 1rem;
    font-weight: 800;
    color: #b5121b;
    text-align: center !important;
    width: 100% !important;
    position: relative;
    z-index: 1;
    transition: color var(--transition-base);
    letter-spacing: -0.01em;
}

.box-option-title small {
    font-size: 0.8rem;
    font-weight: 500;
    display: block;
    margin-top: 0.25rem;
}

/* Row spacing */
.section-main .row.justify-content-center {
    row-gap: 1rem;
}

/* ================================
   EXTRAS FORM WRAPPER
   ================================ */

.extras-form-steps {
    display: none;
    position: relative;
    animation: fadeIn 0.5s ease-out;
}

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

.extras-form-wrapper {
    margin: 1rem auto 1.5rem auto;
    width: 100%;
    padding: 2rem 1.25rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(0, 0, 0, 0.08);
}

/* ================================
   EXTRA BOX ON TOP
   ================================ */

.extra-box-on-top {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1.5rem 1.5rem;
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    position: relative;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.5;
}

/* ================================
   ARROW ANIMATION
   ================================ */

.arrow-down {
    position: absolute;
    bottom: -70px;
    right: -75px;
    width: 90px;
    z-index: 999;
    -webkit-animation: downarrow 0.6s infinite alternate ease-in-out;
    animation: downarrow 0.6s infinite alternate ease-in-out;
}

@-webkit-keyframes downarrow {
    0% { 
        -webkit-transform: translateY(0); 
        transform: translateY(0);
        opacity: 1;
    }
    100% { 
        -webkit-transform: translateY(0.5em); 
        transform: translateY(0.5em);
        opacity: 1;
    }
}

@keyframes downarrow {
    0% { 
        transform: translateY(0);
        opacity: 1;
    }
    100% { 
        transform: translateY(0.5em);
        opacity: 1;
    }
}

.view-new-mortgage-top {
    color: #fbbf24;
    position: relative;
    font-weight: 800;
    text-decoration: none;
}

/* ================================
   TABLET STYLES
   ================================ */

@media (min-width: 768px) {
    .extras-form-wrapper {
        margin: 1rem auto 3rem auto;
        width: 100%;
        padding: 2.5rem 2rem;
        border-radius: var(--radius-lg);
        overflow: hidden;
        position: relative;
    }

    .aq-form-label {
        font-size: 18px;
    }

    .aq-select-label-option {
        padding: 1.5rem 1.25rem;
    }

    .aq-select-img {
        width: 80px;
        height: 80px;
        margin: 1rem auto;
    }

    .ant-logo img {
        max-width: 160px;
    }
}

/* ================================
   THANK YOU PAGE STYLES
   ================================ */

#chart-ty {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 2rem auto;
}

.ty-offer-container {
    border: 3px solid #b5121b;
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, rgba(181, 18, 27, 0.05) 0%, rgba(212, 40, 51, 0.05) 100%);
    transition: all 0.3s ease;
}

.ty-offer-container:hover {
    box-shadow: 0 8px 32px rgba(181, 18, 27, 0.2);
    transform: translateY(-2px);
    border-color: #161928;
}

.ty-offer-container ul {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

.ty-offer-container ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 0.5rem;
}

.ty-offer-container ul li::marker {
    color: #b5121b;
    font-weight: bold;
}

.ty-offer-button {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: var(--touch-target-comfortable);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    position: relative;
    overflow: hidden;
}

@media (hover: hover) and (pointer: fine) {
    .ty-offer-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(181, 18, 27, 0.3);
    }
    
    .ty-offer-button:hover::before {
        width: 300px;
        height: 300px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .ty-offer-button:active {
        transform: scale(0.98);
        box-shadow: 0 2px 10px rgba(181, 18, 27, 0.2);
    }
}

/* ================================
   CHAT BOX
   ================================ */

.chat-box {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    background: var(--white);
    padding-bottom: 3rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.chat-box-heading {
    padding: 1.5rem 2rem;
    background: var(--gradient-primary);
    color: var(--white);
}

.chat-box-title {
    font-size: clamp(1.25rem, 4vw, 1.5rem);
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.chat-box-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.95rem, 3vw, 1.125rem);
    line-height: 1.4;
    margin: 0;
    font-weight: 500;
}

.chat-box-date {
    text-align: center;
    padding: 1rem;
    color: var(--text-medium);
    font-weight: 600;
    font-size: 0.9rem;
}

.chat-box-body {
    padding: 1.5rem 2rem;
}

/* ================================
   CHAT MESSAGES
   ================================ */

.agent-message {
    background: var(--background-light);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-lg);
    border-top-left-radius: 0;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    max-width: 620px;
    width: auto;
    line-height: 1.5;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.user-message {
    background: linear-gradient(135deg, rgba(181, 18, 27, 0.15) 0%, rgba(212, 40, 51, 0.15) 100%);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-lg);
    border-top-right-radius: 0;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    max-width: 620px;
    width: auto;
    display: block;
    line-height: 1.5;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(181, 18, 27, 0.15);
}

.chat-box-agent-reply {
    display: flex;
    align-items: flex-start;
}

.agent-profile {
    margin-right: 1rem;
    flex-shrink: 0;
}

.chat-box-user-reply {
    display: flex;
    justify-content: flex-end;
    display: none;
}

.user-reply {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* ================================
   TEXTAREA & FORM
   ================================ */

#user-textarea {
    width: 100%;
    padding: 1.5rem 3.5rem 1.5rem 1rem;
    height: 100%;
    border-radius: var(--radius-md);
    min-height: 78px;
    border: 2px solid #e0e0e0;
    font-family: inherit;
    font-size: 16px; /* Prevents iOS zoom */
    transition: all var(--transition-base);
    resize: vertical;
}

#user-textarea:focus {
    box-shadow: 0 0 0 4px rgba(181, 18, 27, 0.1);
    border-color: var(--accent-color);
    outline: none;
}

.textarea-wrapper {
    margin-top: 1.5rem;
    padding: 0;
}

.textbox-form {
    position: relative;
    width: 100%;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
}

.textbox-form:focus-within {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(181, 18, 27, 0.1);
}

#user-send {
    position: absolute;
    border: none;
    background-color: transparent;
    padding: 0 0 0 15px;
    top: 16px;
    right: 10px;
    transition: all var(--transition-base);
    cursor: pointer;
    min-width: var(--touch-target-min);
    min-height: var(--touch-target-min);
}

.send-btn-icon {
    color: var(--accent-color);
    transition: all var(--transition-base);
}

#user-textarea:focus::placeholder {
    color: transparent;
}

#user-send:hover .send-btn-icon {
    color: var(--primary-dark);
    transform: scale(1.1);
}

/* ================================
   SCROLLBAR STYLING
   ================================ */

#user-textarea::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-sm);
    background-color: var(--white);
}

#user-textarea::-webkit-scrollbar {
    width: 6px;
    background-color: var(--background-light);
}

#user-textarea::-webkit-scrollbar-thumb {
    border-radius: var(--radius-sm);
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
    background-color: #cacaca;
}

#user-textarea::-webkit-scrollbar-thumb:hover {
    background-color: var(--accent-color);
}

/* ================================
   DARK BACKGROUND
   ================================ */

.dark-bg {
    background: var(--gradient-primary);
    color: var(--white);
}

/* ================================
   RESPONSIVE STYLES - TABLET
   ================================ */

@media (max-width: 992px) {
    .extras-form-steps legend.questions,
    .extras-form-steps h3 {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }
    
    .extras-form-wrapper {
        padding: 1.75rem 1.25rem;
    }
    
    .select-box {
        min-height: 100px;
    }
    
    .select-label-option {
        min-height: 100px;
        padding: 1rem 0.75rem;
    }
}

/* ================================
   RESPONSIVE STYLES - MOBILE
   ================================ */

@media (max-width: 767px) {
    :root {
        --touch-target-min: 48px;
        --touch-target-comfortable: 52px;
    }
    
    .extras-form-steps legend.questions,
    .extras-form-steps h3 {
        font-size: 1.3rem;
        line-height: 1.35;
        margin-bottom: 1.25rem;
    }
    
    .extra-box-on-top {
        padding: 1.25rem 1rem;
        font-size: 0.95rem;
        border-radius: var(--radius-md);
    }
    
    .extras-form-wrapper {
        padding: 1.5rem 1rem;
        margin: 0.75rem auto 1.25rem auto;
        border-radius: var(--radius-md);
    }
    
    .select-box {
        padding: 0.875rem 0.75rem;
        min-height: 100px;
    }

    .select-label-option {
        min-height: 100px;
        padding: 1rem 0.75rem;
    }

    .select-img {
        width: 44px;
        height: 44px;
        max-width: 44px;
        max-height: 44px;
        margin-bottom: 0.4rem;
    }

    .box-option-title {
        font-size: 0.95rem;
    }

    .box-option-title small {
        font-size: 0.8rem;
    }
    
    .chat-box-heading {
        padding: 1.25rem 1rem;
    }
    
    .chat-box-body {
        padding: 1rem 0.875rem;
    }
    
    .agent-message,
    .user-message {
        padding: 1rem 1.25rem;
        max-width: 100%;
        font-size: 0.95rem;
    }
    
    #user-textarea {
        font-size: 16px;
        padding: 1rem 3rem 1rem 0.875rem;
        min-height: 70px;
    }
    
    .ty-offer-container {
        padding: 1.5rem 1rem;
        border-radius: var(--radius-md);
    }
    
    .ty-offer-button {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* ================================
   RESPONSIVE STYLES - SMALL MOBILE
   ================================ */

@media (max-width: 480px) {
    .extras-form-steps legend.questions,
    .extras-form-steps h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .extras-form-wrapper {
        padding: 1.25rem 0.875rem;
    }
    
    .select-box {
        min-height: 90px;
        padding: 0.75rem 0.5rem;
    }

    .select-label-option {
        min-height: 90px;
        padding: 0.875rem 0.5rem;
    }
    
    .select-img {
        width: 40px;
        height: 40px;
        max-width: 40px;
        max-height: 40px;
    }
    
    .box-option-title {
        font-size: 0.875rem;
    }
    
    .arrow-down {
        width: 70px;
        bottom: -60px;
        right: -60px;
    }
    
    .extra-box-on-top {
        padding: 1rem 0.875rem;
        font-size: 0.9rem;
    }
}

/* ================================
   FIX EXCESSIVE SCROLLING PAST FOOTER
   ================================ */

html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

main,
.section-main {
    flex: 1 0 auto;
    padding-bottom: 1rem;
}

footer {
    flex-shrink: 0;
    margin-top: auto;
}

.container,
.container-fluid {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.extras-form-wrapper {
    margin-bottom: 1.5rem !important;
}

.form-nav-buttons {
    margin-bottom: 1rem !important;
}

/* ================================
   MODAL BACKDROP FIX
   ================================ */

/* When modal opens, force header z-index to 1 so backdrop covers it */
body.modal-open header {
    z-index: 1 !important;
}

/* Dark backdrop overlay */
.modal-backdrop {
    background-color: #000000 !important;
}

.modal-backdrop.show {
    opacity: 0.7 !important;
}

/* Ensure modals are properly layered above backdrop */
.modal {
    z-index: 1050 !important;
}

/* Properly center the modal */
.modal-dialog {
    z-index: 1055 !important;
    margin: 1.75rem auto !important;
    max-width: 800px;
    max-height: calc(100vh - 3.5rem);
    max-height: calc(100dvh - 3.5rem);
}

.modal-dialog-centered {
    display: flex !important;
    align-items: center !important;
    min-height: calc(100% - 3.5rem);
}

.modal-content {
    z-index: 1060 !important;
    background-color: #ffffff !important;
    max-height: calc(100vh - 3.5rem);
    max-height: calc(100dvh - 3.5rem);
    overflow-y: auto;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Modal text colors - DARK text, not red */
.modal-body h3,
.modal-body .fw-bold,
.modal-content h3 {
    color: #212121 !important;
}

.modal-body label.form-label {
    color: #212121 !important;
}

.modal-body .form-check-label {
    color: #212121 !important;
}

/* Mobile modal adjustments */
@media (max-width: 767px) {
    .modal-dialog {
        margin: 0.5rem auto !important;
        max-width: calc(100% - 1rem);
        max-height: calc(100vh - 1rem);
        max-height: calc(100dvh - 1rem);
    }
    
    .modal-dialog-centered {
        min-height: calc(100% - 1rem);
    }
    
    .modal-content {
        max-height: calc(100vh - 1rem);
        max-height: calc(100dvh - 1rem);
        border-radius: 12px;
    }
    
    .modal-body {
        padding: 1.25rem 1rem;
    }
    
    .modal-body h3,
    .modal-content h3 {
        font-size: 1.25rem;
        color: #212121 !important;
    }
}

/* ================================
   TCPA TEXT - READABLE BUT SUBTLE
   ================================ */

.modal-body p.text-muted.small {
    font-size: 0.75rem !important;
    line-height: 1.5 !important;
    color: #6b7280 !important;
    opacity: 0.9 !important;
    margin-top: 1rem !important;
}

/* ================================
   CLEAN BUTTON STYLING - NO CHECKBOXES
   ================================ */

.modal-body .d-flex.gap-3 {
    display: flex !important;
    gap: 0.75rem !important;
    flex-wrap: wrap;
}

.modal-body .form-check {
    flex: 1;
    min-width: 120px;
    margin-bottom: 0 !important;
}

.modal-body .form-check-input {
    display: none !important;
}

.modal-body .form-check-label {
    display: block !important;
    width: 100% !important;
    padding: 0.875rem 1.25rem !important;
    background: #ffffff !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    color: #212121 !important;
    text-align: center !important;
    min-height: var(--touch-target-comfortable) !important;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

@media (hover: hover) and (pointer: fine) {
    .modal-body .form-check-label:hover {
        border-color: #212121 !important;
        background: rgba(181, 18, 27, 0.05) !important;
        transform: translateY(-2px) !important;
    }
}

@media (hover: none) and (pointer: coarse) {
    .modal-body .form-check-label:active {
        border-color: #212121 !important;
        background: rgba(181, 18, 27, 0.1) !important;
        transform: scale(0.98) !important;
    }
}

.modal-body .form-check-input:checked + .form-check-label {
    background: linear-gradient(135deg, #b5121b 0%, #d42833 100%) !important;
    border-color: #212121 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(181, 18, 27, 0.3) !important;
}

/* Modal form selects */
.modal-body .form-select {
    font-size: 16px !important; /* Prevents iOS zoom */
    min-height: var(--touch-target-comfortable);
    padding: 0.875rem 2.5rem 0.875rem 1rem;
}

/* Modal submit button */
.modal-body .next-btn,
.modal-body .btn-lg {
    width: 100%;
    min-height: var(--touch-target-comfortable);
    font-size: 1.05rem;
    padding: 1rem 2rem;
}

@media (max-width: 767px) {
    .modal-body .d-flex.gap-3 {
        flex-direction: column;
    }
    
    .modal-body .form-check {
        min-width: 100%;
    }
    
    .modal-body .form-check-label {
        padding: 1rem !important;
        font-size: 0.95rem !important;
    }
}

/* ================================
   REDUCE MOTION
   ================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .arrow-down {
        animation: none;
    }
}

/* ================================
   TOUCH TARGET ENFORCEMENT
   ================================ */

@media (max-width: 768px) {
    button, 
    .btn,
    .form-check-label,
    .form-select,
    input[type="text"],
    input[type="tel"],
    input[type="email"],
    input[type="date"],
    .select-label-option {
        min-height: 44px;
    }
}

/* Fix viewport units on iOS Safari */
@supports (-webkit-touch-callout: none) {
    body {
        min-height: -webkit-fill-available;
    }
}