/* Fix for FontAwesome fa-s conflict */
.fa-s:before {
    content: none !important;
}

/* Ensure fa-solid icons work correctly */
.fa-solid:before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

/* ===== LexPro UX Improvements ===== */

/* Skip Navigation - accessibility */
.visually-hidden.focusable:focus,
.visually-hidden.focusable:active {
    position: fixed !important;
    top: 0.5rem !important;
    inset-inline-start: 0.5rem !important;
    width: auto !important;
    height: auto !important;
    clip: auto !important;
    clip-path: none !important;
    overflow: visible !important;
    white-space: nowrap !important;
    background: #fff;
    border: 2px solid #0056b3;
    border-radius: 4px;
    padding: 8px 16px;
    z-index: 9999 !important;
    font-weight: 600;
}

/* Improved touch targets for mobile */
@media (max-width: 991.98px) {
    .app-navbar-item .btn-icon {
        min-width: 44px !important;
        min-height: 44px !important;
        width: 44px !important;
        height: 44px !important;
    }
    
    .menu-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .app-sidebar .menu-link {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
    
    /* Pagination touch targets */
    .dataTables_paginate .paginate_button {
        min-width: 44px;
        min-height: 44px;
        line-height: 44px;
        padding: 0 12px !important;
    }
}

/* DataTables Empty State styling */
.dataTables_empty {
    padding: 2rem !important;
    color: #a1a5b7 !important;
}

/* Notification badge - hide when zero */
#notification-count.d-none {
    display: none !important;
}

/* Back button consistency */
.btn-secondary {
    background-color: #f5f8fa;
    border-color: #e1e3ea;
    color: #7e8299;
}
.btn-secondary:hover {
    background-color: #e1e3ea;
    border-color: #d1d3e0;
    color: #3f4254;
}

/* Password toggle button in login */
#toggle_password {
    background: transparent;
    border-start-start-radius: 0;
    border-end-start-radius: 0;
}
[dir="rtl"] #toggle_password {
    border-radius: 0.475rem 0 0 0.475rem;
}

/* Hero section compact */
.card-header.h-150px {
    min-height: 150px;
}

/* Footer version badge */
.fs-8 {
    font-size: 0.7rem;
}