/* ========================================
   RESPONSIVE AUTH CSS - Bootstrap 5 Grid & Spacing Fixes
   
   TABLE OF CONTENTS:
   1. GLOBAL & BASE SETUP (Lines 15-30)
   2. TOPBAR & HEADER STYLES (Lines 32-50)
   3. NAVBAR & LANGUAGE DROPDOWN (Lines 52-100)
   4. SELECT2 DROPDOWN STYLES (Lines 102-130)
   5. AUTH WRAPPER STYLES (Lines 132-140)
   6. FEATURES LIST LAYOUT (Lines 142-150)
   7. RESPONSIVE BREAKPOINTS (Lines 152-550):
      - Desktop: 1920px+ (xxl)
      - Desktop: 1200-1919px (xl)
      - Tablet: 992-1199px (lg)
      - Tablet: 768-991px (md)
      - Mobile: <768px (sm)
   8. GAP UTILITY SCALING (Lines 552-590)
   9. FORM CONTROLS - OTP & INPUTS (Lines 592-650)
   10. SPACING UTILITIES - MARGIN (Lines 652-700)
   11. TAB NAVIGATION (Lines 702-730)
   12. RTL SUPPORT (Lines 732-800)
   13. INPUT FIELDS - FORCE LTR (Lines 802-825)
   14. ACCESSIBILITY (Lines 827-850)
   15. PRINT STYLES (Lines 852-End)

   For: admin/login, client/login, admin/verify_otp, client/verify_otp
   Standards: Controlled responsive grid + RTL support
   Guidelines: Never modify app-* and ui-* prefixed classes
   ======================================== */

/* ======================== 1. GLOBAL & BASE SETUP ======================== */

* {
    /* Global base styles if needed */
}

/* ======================== 2. TOPBAR & HEADER STYLES ======================== */

.topbar {
    padding: 1rem 0;
    position: relative;
    z-index: 1000;
    overflow: visible;
}

.topbar .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
    overflow: visible;
    width: 100%;
}

.header_logo {
    display: flex;
    align-items: center;
    max-width: 100px;
    height: auto;
}

.header_logo img {
    max-width: 100%;
    height: auto;
}

/* Auth header navbar - keep flex layout */
.auth_header_navbar {
    display: flex !important;
    margin: 0 !important;
    overflow: visible !important;
    position: relative;
}

.auth_header_navbar .navbar-collapse {
    /* Let Bootstrap handle display based on navbar-expand-lg */
    margin: 0 !important;
}

.auth_header_navbar .navbar-nav {
    margin: 0;
    /* Don't force flex here - let Bootstrap control it */
}

/* Language selector - keep compact */
.language_select {
    min-width: 100px;
    font-size: 16px;
    overflow: visible !important;
}

/* Ensure parent div allows overflow */
.topbar [class*="col-"] > div {
    overflow: visible !important;
}
.select2-container {
    z-index: 1050 !important;
    overflow: visible !important;
    font-size: 14px !important;
}

.select2-container .select2-selection {
    font-size: 14px !important;
}

.select2-container .select2-selection__rendered {
    font-size: 14px !important;
    overflow: visible !important;
}

.select2-container.select2-container--open {
    z-index: 1050 !important;
}

.select2-container--open .select2-dropdown {
    z-index: 1050 !important;
    overflow: visible !important;
    position: relative !important;
}

.select2-dropdown {
    font-size: 14px !important;
    overflow: visible !important;
    z-index: 1050 !important;
}

/* Ensure topbar and wrapper allow dropdown overflow */
.topbar .row {
    overflow: visible !important;
}

.topbar [class*="col-"] {
    overflow: visible !important;
}

/* Auth wrapper - ensure dropdown can overflow */
.auth_wrapper {
    overflow: visible;
}

.wrapper {
    overflow: visible;
}

/* ======================== 3. NAVBAR & LANGUAGE DROPDOWN ======================== */

.features_list_auth .col-md-4 {
    /* Fallback for general col-md-4 in features lists */
    flex: 0 0 auto;
    width: auto;
}

/* ======================== 4. RESPONSIVE BREAKPOINTS SECTION ======================== */

/* -------- BREAKPOINT: 1920px+ (XXL - DESKTOP LARGE) -------- */
@media (min-width: 1920px) {
    .p-xxl-0 { padding: 0 !important; }
    .p-xxl-1 { padding: 0.25rem !important; }
    .p-xxl-2 { padding: 0.5rem !important; }
    .p-xxl-3 { padding: 1rem !important; }
    .p-xxl-4 { padding: 1.5rem !important; }
    .g-xxl-2 { gap: 0.5rem !important; }
    .g-xxl-3 { gap: 1rem !important; }
    
    /* Font sizing for 1920px desktop (xxl) */
    .heading { font-size: 24px; }
    .form-control, .form-select, input, select { font-size: 14px; }
    .gridjs-th-content, .gridjs-input, .gridjs-search-input { font-size: 14px; }
    .select2-container, .select2-container .select2-selection, .select2-container .select2-selection__rendered { font-size: 14px !important; }
    .auth_header_navbar .navbar-nav .nav-link { font-size: 14px; }
    .btn, button, input[type="button"], input[type="submit"] { font-size: 14px; }
    
    /* At xxl+, navbar is always expanded */
    .auth_header_navbar .navbar-collapse {
        display: flex !important;
        flex-direction: row !important;
        position: static !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        z-index: auto !important;
    }
    
    .auth_header_navbar .navbar-nav {
        flex-direction: row !important;
    }
}

/* -------- BREAKPOINT: 1200-1919px (XL - DESKTOP) -------- */
@media (min-width: 1200px) {
    .p-xl-0 { padding: 0 !important; }
    .p-xl-1 { padding: 0.25rem !important; }
    .p-xl-2 { padding: 0.5rem !important; }
    .p-xl-3 { padding: 1rem !important; }
    .p-xl-4 { padding: 1.5rem !important; }
    .g-xl-2 { gap: 0.5rem !important; }
    .g-xl-3 { gap: 1rem !important; }
    
    /* Font sizing for 1200px+ desktop (xl) */
    .heading { font-size: 24px; }
    .form-control, .form-select, input, select { font-size: 14px; }
    .gridjs-th-content, .gridjs-input, .gridjs-search-input { font-size: 14px; }
    .select2-container, .select2-container .select2-selection, .select2-container .select2-selection__rendered { font-size: 14px !important; }
    .auth_header_navbar .navbar-nav .nav-link { font-size: 14px; }
    .btn, button, input[type="button"], input[type="submit"] { font-size: 14px; }
    
    /* At xl+, navbar is always expanded */
    .auth_header_navbar .navbar-collapse {
        display: flex !important;
        flex-direction: row !important;
        position: static !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        z-index: auto !important;
    }
    
    .auth_header_navbar .navbar-nav {
        flex-direction: row !important;
    }
}

/* -------- BREAKPOINT: 992-1199px (LG - TABLET LARGE) -------- */
@media (min-width: 992px) and (max-width: 1199px) {
    .p-lg-0 { padding: 0 !important; }
    .p-lg-1 { padding: 0.25rem !important; }
    .p-lg-2 { padding: 0.5rem !important; }
    .p-lg-3 { padding: 1rem !important; }
    .p-lg-4 { padding: 1rem !important; }
    .g-lg-2 { gap: 0.5rem !important; }
    .g-lg-3 { gap: 0.75rem !important; }
    
    /* Font sizing for 1024px tablet large (lg) */
    .heading { font-size: 20px; }
    .form-control, .form-select, input, select { font-size: 12px; }
    .gridjs-th-content, .gridjs-input, .gridjs-search-input { font-size: 12px; }
    .select2-container, .select2-container .select2-selection, .select2-container .select2-selection__rendered { font-size: 12px !important; }
    .auth_header_navbar .navbar-nav .nav-link { font-size: 12px; }
    .btn, button, input[type="button"], input[type="submit"] { font-size: 13px; }
    
    .topbar {
        padding: 0.75rem 0;
    }
    
    /* At lg+, navbar automatically expands horizontally - no dropdown */
    .auth_header_navbar .navbar-collapse {
        display: flex !important;
        flex-direction: row !important;
        position: static !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        z-index: auto !important;
    }
    
    .auth_header_navbar .navbar-nav {
        flex-direction: row !important;
    }
}

/* -------- BREAKPOINT: 768-991px (MD - TABLET) -------- */
@media (min-width: 768px) and (max-width: 991px) {
    .p-md-0 { padding: 0 !important; }
    .p-md-1 { padding: 0.25rem !important; }
    .p-md-2 { padding: 0.5rem !important; }
    .p-md-3 { padding: 1rem !important; }
    .p-md-4 { padding: 1rem !important; }
    .g-md-2 { gap: 0.5rem !important; }
    .g-md-3 { gap: 0.75rem !important; }
    
    /* Font sizing for 768px tablet (md) */
    .heading { font-size: 20px; }
    .form-control, .form-select, input, select { font-size: 12px; }
    .gridjs-th-content, .gridjs-input, .gridjs-search-input { font-size: 12px; }
    .select2-container, .select2-container .select2-selection, .select2-container .select2-selection__rendered { font-size: 12px !important; }
    .auth_header_navbar .navbar-nav .nav-link { font-size: 12px; }
    .btn, button, input[type="button"], input[type="submit"] { font-size: 13px; }
    
    .topbar {
        padding: 0.75rem 0;
    }
    
    .topbar .container-fluid {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    /* Collapse menu - dropdown style */
    .auth_header_navbar .navbar-collapse {
        display: none !important;
        position: absolute;
        right: 0;
        top: 100%;
        width: auto;
        background: white;
        border: 1px solid #ddd;
        border-radius: 1rem;
        min-width: 180px;
        padding: 0;
        z-index: 1050;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    /* Show when toggled */
    .auth_header_navbar .navbar-collapse.show {
        display: flex !important;
        flex-direction: column;
    }
    
    .auth_header_navbar .navbar-nav {
        flex-direction: column;
    }
    
    .auth_header_navbar .navbar-nav .nav-link {
        padding: 0.5rem 1rem !important;
        color: #333 !important;
        border: none;
        white-space: nowrap;
    }
}

/* -------- BREAKPOINT: < 768px (SM - MOBILE) -------- */
@media (max-width: 767px) {
    .p-0 { padding: 0 !important; }
    .p-1 { padding: 0.25rem !important; }
    .p-2 { padding: 0.5rem !important; }
    .p-3 { padding: 0.75rem !important; }
    .g-0 { gap: 0 !important; }
    .g-2 { gap: 0.5rem !important; }
    
    /* Font sizing for mobile (<768px) — progressive scale down */
    .heading { font-size: 17px; }
    .form-control, .form-select, input, select { font-size: 11px; }
    .gridjs-th-content, .gridjs-input, .gridjs-search-input { font-size: 11px; }
    .select2-container, .select2-container .select2-selection, .select2-container .select2-selection__rendered { font-size: 11px !important; }
    .auth_header_navbar .navbar-nav .nav-link { font-size: 12px; }
    .btn, button, input[type="button"], input[type="submit"] { font-size: 12px; }
    
    .topbar {
        padding: 0.5rem 0;
    }
    
    .topbar .container-fluid {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    /* Navbar toggle button */
    .navbar-toggler {
        padding: 0.25rem 0.5rem !important;
        font-size: 1rem;
        border: none !important;
    }
    
    /* Collapse menu - dropdown style */
    .auth_header_navbar .navbar-collapse {
        display: none !important;
        position: absolute;
        right: 0.5rem;
        top: 100%;
        width: auto;
        max-width: 140px;
        background: white;
        border: 1px solid #ddd;
        border-radius: 1rem;
        padding: 0;
        z-index: 1050;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    /* Show when toggled */
    .auth_header_navbar .navbar-collapse.show {
        display: flex !important;
        flex-direction: column;
    }
    
    .auth_header_navbar .navbar-nav {
        flex-direction: column;
    }
    
    .auth_header_navbar .navbar-nav .nav-link {
        padding: 0.5rem 1rem !important;
        color: #333 !important;
        border: none;
        white-space: nowrap;
    }
    
    .language_select {
        max-width: 100px;
        min-width: 90px;
        font-size: 16px;
        padding: 0.375rem 0.5rem;
    }
}

/* ======================== 5. GAP UTILITY RESPONSIVE SCALING ======================== */

@media (min-width: 1200px) {
    .g-4 { gap: 1.5rem !important; }
    .gx-4 { column-gap: 1.5rem !important; }
    .gy-4 { row-gap: 1.5rem !important; }
    .gap-4 { gap: 1.5rem !important; }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .g-4 { gap: 1rem !important; }  /* Step down from 4 to 3 */
    .gx-4 { column-gap: 1rem !important; }
    .gy-4 { row-gap: 1rem !important; }
    .gap-4 { gap: 1rem !important; }
}

@media (min-width: 768px) and (max-width: 991px) {
    .g-4 { gap: 1rem !important; }  /* Step down from 4 to 3 */
    .gx-4 { column-gap: 1rem !important; }
    .gy-4 { row-gap: 1rem !important; }
    .gap-4 { gap: 1rem !important; }
}

@media (max-width: 767px) {
    .g-4 { gap: 0.5rem !important; }  /* Step down from 4 to 2 (minimum) */
    .gx-4 { column-gap: 0.5rem !important; }
    .gy-4 { row-gap: 0.5rem !important; }
    .gap-4 { gap: 0.5rem !important; }
}

/* ======================== 6. FEATURES LIST - RESPONSIVE COLUMNS ======================== */

@media (min-width: 1200px) {
    /* 4 columns on xl/xxl */
    .features_list_auth {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    /* 3 columns on lg */
    .features_list_auth {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    /* 2 columns on md */
    .features_list_auth {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
}

@media (max-width: 767px) {
    /* Stack on mobile */
    .features_list_auth {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ======================== 7. FORM CONTROLS - OTP & INPUTS ======================== */

/* All screen sizes: input fills parent column */
.otp-input {
    width: 100%;
    max-width: 100%;
    flex: 1 1 auto;
    padding: 0.5rem !important;
    font-size: 1rem !important;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 0.5rem !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 1) !important;
    caret-color: rgba(255, 255, 255, 1);
}

.otp-input:focus {
    outline: none !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1) !important;
}

.otp-input::placeholder {
    color: rgba(255, 255, 255, 0.3) !important;
}

/* Tablets (768px - 991px): 2 per row - adjust column in HTML to col-6 */
@media (min-width: 768px) and (max-width: 991px) {
    .otp-input {
        padding: 0.75rem !important;
        font-size: 1rem !important;
    }
}

/* Mobile (<768px): Full width - adjust column in HTML to col-12 */
@media (max-width: 767px) {
    .otp-input {
        padding: 0.5rem !important;
        font-size: 1rem !important;
    }
}

/* ======================== 8. MARGIN UTILITIES - RESPONSIVE SPACING ======================== */

/* Stats Box - Reduce top margin */
.feature_box.p-0 {
    margin-top: 0 !important;
}

.feature_box.p-0 .heading {
    margin: 0 !important;
    padding: 0 !important;
}

.feature_box.p-0 h2 {
    margin: 0 !important;
    line-height: 1.2;
}

.feature_box.p-0 .small {
    margin-top: 0.25rem !important;
}

/* Parent container mt-3 override for stats */
.auth_box > .mt-3,
.auth_main_wrapper_box > .mt-3 {
    margin-top: 1rem !important;
}

@media (min-width: 1200px) {
    .mt-3 { margin-top: 1rem !important; }
    .mt-4 { margin-top: 1.5rem !important; }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .mt-3 { margin-top: 0.75rem !important; }
    .mt-4 { margin-top: 1rem !important; }  /* Step down */
}

@media (min-width: 768px) and (max-width: 991px) {
    .mt-3 { margin-top: 0.75rem !important; }
    .mt-4 { margin-top: 1rem !important; }
}

@media (max-width: 767px) {
    .mt-3 { margin-top: 0.5rem !important; }
    .mt-4 { margin-top: 0.75rem !important; }  /* Further reduction on mobile */
}

/* Margin-Bottom Responsive Scaling */

@media (min-width: 1200px) {
    .mb-4 { margin-bottom: 1.5rem !important; }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .mb-4 { margin-bottom: 1rem !important; }
}

@media (min-width: 768px) and (max-width: 991px) {
    .mb-4 { margin-bottom: 1rem !important; }
}

@media (max-width: 767px) {
    .mb-4 { margin-bottom: 0.75rem !important; }
    .mb-2 { margin-bottom: 0.5rem !important; }
}

/* ======================== 9. TAB NAVIGATION - RESPONSIVE ADJUSTMENTS ======================== */

@media (max-width: 767px) {
    .horizontal_tabs_left .nav-link {
        font-size: 0.875rem;
        padding: 0.5rem 0.25rem !important;
    }

    .horizontal_tabs_left .nav-link i {
        font-size: 0.875rem;
        margin-right: 0.25rem;
    }
}

@media (max-width: 429px) {
    .horizontal_tabs_left {
        margin-bottom: 0.75rem;
    }

    .horizontal_tabs_left .nav-link {
        font-size: 0.75rem;
        padding: 0.375rem 0.125rem !important;
    }

    .horizontal_tabs_left .nav-link i {
        font-size: 0.75rem;
    }
}

/* ======================== EXTRA SMALL SCREENS - Below 500px FIX ======================== */

@media (max-width: 499px) {
    /* Fix col-4 breaking on extra small screens */
    .col-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    /* Stats box col-4 divs - reduce padding and manage borders */
    .feature_box.p-0 .col-4 {
        padding: 0.5rem 0.25rem !important;
        margin: 0 !important;
    }
    
    .feature_box.p-0 .col-4 > div {
        padding: 0.25rem !important;
        margin: 0 !important;
    }
    
    /* Remove or reduce borders on col-4 to prevent overflow */
    .col-4.border-start,
    .col-4.border-end {
        border-width: 0.5px !important;
    }
    
    /* Ensure flex centering works properly */
    .col-4.d-flex {
        flex-direction: column;
        justify-content: center !important;
        align-items: center !important;
    }
}

/* ======================== 10. RTL SUPPORT - ARABIC/HEBREW LANGUAGES ======================== */

html[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .form-control,
html[dir="rtl"] .input-group {
    text-align: right;
    direction: rtl;
}

html[dir="rtl"] .input-group-text {
    border-inline-end: 1px solid var(--bs-border-color, #dee2e6);
    border-inline-start: 0;
}

html[dir="rtl"] .ps-1 {
    padding-inline-start: 0.25rem !important;
    padding-inline-end: 0 !important;
}

html[dir="rtl"] .order-xl-1 {
    order: 1;
}

html[dir="rtl"] .order-2 {
    order: 2;
}

html[dir="rtl"] .nav-item {
    margin-inline-end: 0.5rem;
    margin-inline-start: 0;
}

/* html[dir="rtl"] .feature_box {
    flex-direction: row-reverse;
}

html[dir="rtl"] .otp-container {
    flex-direction: row-reverse;
} */

html[dir="rtl"] .form-label {
    text-align: right;
}

/* ========================================
   RTL DROPDOWN POSITIONING - Mobile Navbar Collapse
   In RTL, dropdown should come from left side, not right
   ======================================== */

@media (max-width: 767px) {
    html[dir="rtl"] .auth_header_navbar .navbar-collapse {
        right: auto;
        left: 0.5rem;
        max-width: 140px;
    }
}

/* ========================================
   HEADING STYLES - RTL SUPPORT
   Main title headings should be RTL in Arabic
   ======================================== */

/* Main page headings - allow natural RTL flow */
html[dir="rtl"] .auth_main_wrapper_box .heading {
    direction: rtl;
    text-align: right;
    unicode-bidi: bidi-override;
}

html[dir="rtl"] .auth_main_wrapper_box .heading span {
    display: block;
    unicode-bidi: bidi-override;
}

/* h2 headings in main wrapper - RTL support */
html[dir="rtl"] .auth_main_wrapper_box h2 {
    direction: rtl;
    text-align: right;
    unicode-bidi: bidi-override;
}

html[dir="rtl"] .auth_main_wrapper_box h2 span {
    display: block;
    unicode-bidi: bidi-override;
}

/* App name - follow text direction based on page language */
.app_name_taskaty {
    direction: ltr;
    text-align: left;
}

html[dir="rtl"] .app_name_taskaty {
    direction: ltr !important;
    text-align: right;
}

/* Stats numbers - force LTR */
html[dir="rtl"] .feature_box.p-0 .heading {
    direction: ltr !important;
    text-align: center !important;
    unicode-bidi: bidi-override;
    white-space: nowrap;
}

/* Keep sign/symbol on same line as number */
html[dir="rtl"] .feature_box.p-0 .heading span,
.feature_box.p-0 .heading span {
    display: inline !important;
    unicode-bidi: bidi-override;
}

/* RTL Stats Box - Remove extra spacing */
html[dir="rtl"] .feature_box.p-0 {
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
}

html[dir="rtl"] .feature_box.p-0 h2,
html[dir="rtl"] .feature_box.p-0 .heading {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    white-space: nowrap;
}

/* Keep signs/symbols on same line in stats */
.feature_box.p-0 h2 span,
.feature_box.p-0 h2 span {
    display: inline !important;
}

html[dir="rtl"] .feature_box.p-0 .small {
    margin: 0 !important;
    padding: 0 !important;
    margin-top: 0.1rem !important;
    line-height: 1.2 !important;
}

html[dir="rtl"] .feature_box.p-0 .col-4 > div {
    padding: 0.25rem 0.5rem !important;
    margin: 0 !important;
}

/* RTL - Extra small screens below 500px */
@media (max-width: 499px) {
    html[dir="rtl"] .col-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    html[dir="rtl"] .feature_box.p-0 .col-4 {
        padding: 0.5rem 0.25rem !important;
        margin: 0 !important;
    }
    
    html[dir="rtl"] .feature_box.p-0 .col-4 > div {
        padding: 0.25rem !important;
        margin: 0 !important;
    }
    
    html[dir="rtl"] .col-4.d-flex {
        flex-direction: column;
        justify-content: center !important;
        align-items: center !important;
    }
}

/* ======================== 11. INPUT FIELDS - FORCE LTR IN RTL ======================== */


.otp-input {
    direction: ltr !important;
}

/* Override RTL for input groups - all screens */
html[dir="rtl"] #mobileGroup,
html[dir="rtl"] #emailGroupError,
html[dir="rtl"] #mobile,
html[dir="rtl"] #email,
html[dir="rtl"] #country_code {
    direction: ltr !important;
    text-align: left !important;
}

/* ======================== 12. SPACING BETWEEN SECTIONS ======================== */

/* Margin between left column (form) and right column (everything to grow) */
@media (max-width: 1199px) {
    .ac_column {
        margin-top: 2rem !important;
    }
}

/* ======================== 13. ACCESSIBILITY - TOUCH & FOCUS STATES ======================== */

/* Apply min-height only to form controls and buttons in main auth content */
.auth_container .btn,
.auth_container .form-control {
    min-height: 44px;  /* Recommended touch target size */
}

/* Keep header nav-link at natural height */
.topbar .nav-link {
    min-height: auto;
}

/* Focus States */

@media (prefers-reduced-motion: no-preference) {
    .form-control:focus,
    .form-select:focus,
    .btn:focus,
    .nav-link:focus {
        transition: all 0.15s ease-in-out;
    }
}

/* ======================== 14. PRINT STYLES ======================== */

@media print {
    .auth_wrapper {
        padding: 0;
        background: transparent;
    }

    .auth_container {
        padding: 0;
    }
}

/* ======================== END OF RESPONSIVE AUTH CSS ======================== */
/* Find specific sections using the table of contents at the top of this file */

