/* Enterprise Dark Blue Admin Theme CSS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-blue: #0b1e36;
    --primary-blue-hover: #162f52;
    --primary-blue-light: #eef3fb;
    --sidebar-bg: #0d2137;
    --sidebar-hover: #163252;
    --sidebar-text: #94a3b8;
    --sidebar-text-active: #ffffff;
    --accent-blue: #2563eb;
    --bg-body: #f4f6f9;
    --card-border: #e2e8f0;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --header-height: 64px;
    --sidebar-width: 260px;
    --sidebar-collapsed-width: 70px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-dark);
    font-size: 0.875rem;
    line-height: 1.5;
    overflow-x: hidden;
}

/* Layout Wrapper */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* Sidebar Styling */
.admin-sidebar {
    width: var(--sidebar-width);
    background-color: var(--sidebar-bg);
    color: var(--sidebar-text);
    transition: transform 0.25s ease-in-out, visibility 0.25s ease-in-out;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    height: 100vh;
    z-index: 1040;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.15);
    visibility: visible;
    transform: translateX(0);
    overflow: hidden;
}

/* DESKTOP COLLAPSED STATE: Sidebar COMPLETELY DISAPPEARS */
.admin-sidebar.collapsed {
    transform: translateX(-100%);
    visibility: hidden;
    pointer-events: none;
}

.admin-sidebar .sidebar-brand {
    height: var(--header-height);
    display: flex;
    align-items: center;
    padding: 0 1.25rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

.admin-sidebar .brand-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.admin-sidebar .sidebar-menu {
    padding: 1rem 0.75rem 2.5rem 0.75rem;
    height: calc(100vh - var(--header-height));
    max-height: calc(100vh - var(--header-height));
    overflow-y: scroll !important;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #3b82f6 rgba(0, 0, 0, 0.25);
}

/* Always Visible Blue Slim Scrollbar */
.admin-sidebar .sidebar-menu::-webkit-scrollbar {
    width: 6px !important;
    display: block !important;
}

.admin-sidebar .sidebar-menu::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.25) !important;
    border-radius: 3px;
}

.admin-sidebar .sidebar-menu::-webkit-scrollbar-thumb {
    background: #3b82f6 !important;
    border-radius: 3px;
}

.admin-sidebar .sidebar-menu::-webkit-scrollbar-thumb:hover {
    background: #60a5fa !important;
}

.sidebar-heading {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    padding: 1rem 0.75rem 0.4rem;
}

.nav-link-item {
    display: flex;
    align-items: center;
    padding: 0.65rem 0.85rem;
    color: var(--sidebar-text);
    text-decoration: none;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-bottom: 0.15rem;
}

.nav-link-item:hover,
.nav-link-item.active {
    color: var(--sidebar-text-active);
    background-color: var(--sidebar-hover);
}

.nav-link-item i {
    width: 22px;
    font-size: 1rem;
    margin-right: 0.75rem;
    text-align: center;
    color: #94a3b8;
}

.nav-link-item:hover i,
.nav-link-item.active i {
    color: #60a5fa;
}

.nav-submenu {
    list-style: none;
    padding-left: 2rem;
    display: none;
}

.nav-submenu.show {
    display: block;
}

.nav-submenu .sub-link {
    display: block;
    padding: 0.45rem 0.75rem;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.825rem;
    border-radius: 0.25rem;
}

.nav-submenu .sub-link:hover,
.nav-submenu .sub-link.active {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
}

/* Main Content Section */
.admin-main {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: margin-left 0.25s ease-in-out, width 0.25s ease-in-out;
}

/* DESKTOP EXPANDED MAIN: Content EXPANDS to 100% width */
.admin-main.expanded {
    margin-left: 0 !important;
    width: 100% !important;
}

/* Mobile & Tablet Backdrop Overlay */
.sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(7, 20, 38, 0.65);
    backdrop-filter: blur(3px);
    z-index: 1045;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.sidebar-backdrop.show {
    opacity: 1;
    visibility: visible;
}

/* Header Topbar */
.admin-header {
    height: var(--header-height);
    background-color: #ffffff;
    border-bottom: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.toggle-sidebar-btn {
    background: transparent;
    border: none;
    font-size: 1.25rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0.35rem 0.6rem;
    border-radius: 0.375rem;
}

.toggle-sidebar-btn:hover {
    background-color: var(--primary-blue-light);
    color: var(--primary-blue);
}

/* Header Notification Bell Styling - No Circle Background */
.notification-btn {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0.35rem 0.5rem;
    color: #64748b;
    cursor: pointer;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 !important;
}

.notification-btn:hover {
    color: #0b1e36;
    background: transparent !important;
    box-shadow: none !important;
}

.notification-btn:focus,
.notification-btn:active {
    box-shadow: none !important;
    background: transparent !important;
    outline: none !important;
}

.header-user-dropdown img {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
}

/* Card Styling */
.card-enterprise {
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.card-enterprise .card-header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--card-border);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-enterprise .card-header .card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin: 0;
}

.card-enterprise .card-body {
    padding: 1.25rem;
}

/* Stats Metric Cards - Fixed Equal Dimensions Across All Cards */
.stat-card {
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 0.5rem;
    padding: 1.15rem 1.25rem;
    display: flex;
    align-items: center;
    height: 120px !important;
    min-height: 120px !important;
    max-height: 120px !important;
    box-sizing: border-box;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(11, 30, 54, 0.08);
    border-color: rgba(37, 99, 235, 0.3);
}

.stat-icon {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-right: 1rem;
    flex-shrink: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.stat-icon.primary {
    background-color: #e0e7ff;
    color: #3730a3;
}

.stat-icon.success {
    background-color: #dcfce7;
    color: #166534;
}

.stat-icon.warning {
    background-color: #fef9c3;
    color: #854d0e;
}

.stat-icon.danger {
    background-color: #fee2e2;
    color: #991b1b;
}

.stat-icon.info {
    background-color: #e0f2fe;
    color: #075985;
}

/* Dynamic Contextual Icon Animations */

/* 1. Low Stock Warning Alert Pulse */
.stat-icon.warning {
    animation: alert-glow 2.5s infinite ease-in-out;
}

@keyframes alert-glow {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(234, 179, 8, 0);
    }

    50% {
        transform: scale(1.04);
        box-shadow: 0 0 10px rgba(234, 179, 8, 0.35);
    }
}

.stat-card:hover .stat-icon.warning i {
    animation: gentle-shake 0.5s ease-in-out;
}

@keyframes gentle-shake {

    0%,
    100% {
        transform: rotate(0deg);
    }

    20% {
        transform: rotate(-10deg);
    }

    40% {
        transform: rotate(10deg);
    }

    60% {
        transform: rotate(-6deg);
    }

    80% {
        transform: rotate(6deg);
    }
}

/* 2. Workforce Gear Rotation on Hover */
.stat-card:hover .fa-users-gear {
    animation: gear-spin 2s linear infinite;
}

@keyframes gear-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* 3. Deployment People Arrows - Horizontal Sway */
.stat-card:hover .fa-people-arrows {
    animation: sway-arrows 1s ease-in-out infinite alternate;
}

@keyframes sway-arrows {
    0% {
        transform: translateX(-3px);
    }

    100% {
        transform: translateX(3px);
    }
}

/* 4. Attendance Checkmark Pop */
.stat-card:hover .fa-calendar-check {
    animation: check-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes check-pop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.25);
    }

    100% {
        transform: scale(1);
    }
}

/* 5. Fleet Truck Drive Hover */
.stat-card:hover .fa-truck-front {
    animation: truck-drive 0.8s ease-in-out infinite alternate;
}

@keyframes truck-drive {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-3px);
    }
}

/* 6. Active Contractors Handshake Pulse */
.stat-card:hover .fa-handshake {
    animation: handshake-pulse 0.7s ease-in-out;
}

@keyframes handshake-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2) rotate(-6deg);
    }

    100% {
        transform: scale(1) rotate(0);
    }
}

/* 7. Pending Requisitions Soft Float */
.stat-card:hover .fa-file-invoice-dollar {
    animation: float-note 0.9s ease-in-out infinite alternate;
}

@keyframes float-note {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-3px);
    }
}

/* 8. Monthly Payroll Bounce */
.stat-card:hover .fa-money-check-dollar {
    animation: money-bounce 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes money-bounce {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.25);
    }

    100% {
        transform: scale(1);
    }
}

.stat-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.stat-details .stat-value {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-details .stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
    margin-bottom: 2px;
}

.stat-details .stat-subtext {
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    display: block;
}

/* Buttons */
.btn-primary-blue {
    background-color: var(--primary-blue);
    color: #ffffff;
    border: 1px solid var(--primary-blue);
    font-weight: 500;
}

.btn-primary-blue:hover,
.btn-primary-blue:focus {
    background-color: var(--primary-blue-hover);
    color: #ffffff;
    border-color: var(--primary-blue-hover);
}

/* Table Enterprise */
.table-enterprise {
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

/* Sticky Table Container & Headers */
.table-responsive,
.table-responsive-sticky {
    position: relative;
    max-height: calc(100vh - 240px);
    overflow-x: auto !important;
    overflow-y: auto !important;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

.table-responsive::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.table-enterprise thead th,
.table-sticky thead th,
.table-responsive table thead th {
    position: sticky !important;
    top: 0 !important;
    z-index: 15 !important;
    background-color: #f8fafc !important;
    box-shadow: inset 0 -1px 0 var(--card-border), 0 1px 2px rgba(0, 0, 0, 0.04) !important;
    white-space: nowrap !important;
}

.table-enterprise th {
    background-color: #f8fafc;
    color: #475569;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--card-border);
}

.table-enterprise td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #f1f5f9;
}

/* Action Column Alignment - Side by Side Horizontally */
.table th:last-child,
.table td:last-child,
.table-enterprise th:last-child,
.table-enterprise td:last-child,
.table td.text-end,
.table th.text-end {
    white-space: nowrap !important;
}

.table td.text-end .btn,
.table td:last-child .btn,
.table-enterprise td.text-end .btn,
.table-enterprise td:last-child .btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
    margin-right: 0.25rem !important;
    margin-left: 0.25rem !important;
}

.table td.text-end .btn:last-child,
.table td:last-child .btn:last-child {
    margin-right: 0 !important;
}

.table-enterprise td {
    vertical-align: middle;
    font-size: 0.85rem;
}

.table-enterprise tbody tr:hover {
    background-color: #f8fafc;
}

/* Form Controls */
.form-control,
.form-select {
    border: 1px solid #cbd5e1;
    border-radius: 0.375rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
}

.form-control:focus,
.form-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* ID Card Styles */
.id-card-container {
    width: 350px;
    background: #ffffff;
    border-radius: 12px;
    border: 2px solid #0b1e36;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    margin: 0 auto;
}

.id-card-header {
    background: linear-gradient(135deg, #0b1e36 0%, #1e3a5f 100%);
    color: #ffffff;
    padding: 1.25rem 1rem;
    text-align: center;
}

.id-card-body {
    padding: 1.25rem;
    text-align: center;
}

.id-card-photo {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    margin-top: -40px;
    background: #ffffff;
}

/* Responsive Rules */
@media (max-width: 991.98px) {
    .admin-sidebar {
        width: 280px;
        max-width: 85vw;
        transform: translateX(-100%);
        visibility: hidden;
        z-index: 1050;
    }

    .admin-sidebar.show-mobile {
        transform: translateX(0) !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .admin-main {
        margin-left: 0 !important;
        width: 100% !important;
    }

    .admin-header {
        padding: 0 1rem;
    }
}

/* Split-Screen Enterprise Login Page Styles */
.login-split-wrapper {
    min-height: 100vh;
    width: 100vw;
    display: flex;
    background-color: #ffffff;
    overflow: hidden;
}

.login-left-pane {
    width: 55%;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    overflow: hidden;
    background-color: #0b1e36;
    background-image: url('../images/login_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Left Section Overlay - Dark navy gradient allowing backdrop illustration to subtly show through */
.login-left-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(5, 14, 28, 0.78) 0%, rgba(8, 22, 42, 0.82) 50%, rgba(13, 33, 58, 0.78) 100%);
    z-index: 1;
}

/* Premium Frosted Glassmorphism Welcome Card */
.login-left-card {
    position: relative;
    z-index: 2;
    max-width: 480px;
    width: 100%;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.12) 0%,
            rgba(255, 255, 255, 0.03) 45%,
            rgba(11, 30, 54, 0.45) 100%), rgba(8, 30, 55, 0.50);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 4px solid #3b82f6;
    border-radius: 18px;
    padding: 2.75rem 2.5rem;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.20),
        inset 4px 0 12px rgba(59, 130, 246, 0.35);
    color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-left-card:hover {
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 4px 0 16px rgba(59, 130, 246, 0.45);
}

.login-card-welcome {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #60a5fa;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.login-card-title {
    font-size: 2.15rem;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

.login-card-crm {
    font-size: 2.15rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

.login-card-desc {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #e2e8f0;
    margin-bottom: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

/* Right Section */
.login-right-pane {
    width: 45%;
    height: 100vh;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3.5rem 4.5rem;
    overflow-y: auto;
}

.login-form-container {
    max-width: 400px;
    width: 100%;
    margin: auto 0;
    align-self: center;
}

.login-logo-wrapper {
    margin-bottom: 2.25rem;
}

.login-logo-icon {
    width: 48px;
    height: 48px;
    background: #0b1e36;
    color: #3b82f6;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 6px 12px rgba(11, 30, 54, 0.15);
}

.login-header-title {
    font-size: 1.65rem;
    font-weight: 700;
    color: #0b1e36;
    margin-bottom: 2rem;
}

.login-field-group {
    margin-bottom: 1.35rem;
}

.login-field-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.4rem;
    display: block;
}

.login-input-group .input-group-text {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    color: #64748b;
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 1rem;
}

.login-input-group .form-control,
.login-input-group .form-select {
    border-color: #cbd5e1;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: #0f172a;
    height: 46px;
    background-color: #ffffff;
}

.login-input-group .form-control:focus,
.login-input-group .form-select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.password-toggle-btn {
    cursor: pointer;
    background-color: #f8fafc;
    border-color: #cbd5e1;
    color: #64748b;
    transition: color 0.2s;
}

.password-toggle-btn:hover {
    color: #0b1e36;
}

.btn-login-submit {
    background: #0b1e36;
    color: #ffffff;
    height: 46px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(11, 30, 54, 0.2);
}

.btn-login-submit:hover {
    background: #152e4d;
    color: #ffffff;
}

.login-footer-text {
    font-size: 0.8rem;
    color: #94a3b8;
    text-align: center;
    margin-top: 2rem;
}

/* Responsive Split-Screen */
@media (max-width: 991.98px) {
    .login-split-wrapper {
        flex-direction: column;
        height: auto;
        overflow-y: auto;
    }

    .login-left-pane {
        width: 100%;
        height: auto;
        padding: 3rem 1.5rem;
    }

    .login-right-pane {
        width: 100%;
        height: auto;
        padding: 3rem 1.5rem;
    }
}

/* SweetAlert2 Modern Enterprise Custom Styling */
.swal2-popup {
    font-family: 'Inter', system-ui, sans-serif !important;
    border-radius: 16px !important;
    padding: 2rem !important;
    background: #ffffff !important;
    box-shadow: 0 20px 60px rgba(11, 30, 54, 0.25) !important;
}

.swal2-title {
    color: #0b1e36 !important;
    font-weight: 700 !important;
    font-size: 1.35rem !important;
}

.swal2-html-container {
    color: #475569 !important;
    font-size: 0.95rem !important;
}

.swal2-actions {
    margin-top: 1.5rem !important;
}

/* Contact Info Alignment */
.contact-info {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.contact-info i {
    flex-shrink: 0;
}

/* Global Back Button Styling */
.btn-back-global {
    background-color: #ffffff;
    color: #0b1e36;
    border: 1px solid #cbd5e1;
    font-weight: 600;
    font-size: 0.825rem;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.btn-back-global:hover,
.btn-back-global:focus {
    background-color: #0b1e36;
    color: #ffffff;
    border-color: #0b1e36;
    box-shadow: 0 3px 8px rgba(11, 30, 54, 0.15);
    transform: translateX(-2px);
}

/* Mandatory Form Field Asterisk in Red */
.text-danger,
label .text-danger,
.form-label .text-danger,
th .text-danger {
    color: #dc2626 !important;
    font-weight: 700 !important;
}

/* Excel-Style Column Filters Styling */
.excel-filter-trigger {
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 2px 4px !important;
    border-radius: 4px;
}

.excel-filter-trigger:hover {
    background-color: rgba(37, 99, 235, 0.1);
    color: #2563eb !important;
}

.excel-filter-trigger:hover i {
    opacity: 1 !important;
    color: #2563eb !important;
}

.excel-filter-popover {
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
    animation: fadeInPopover 0.15s ease-out;
}

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

/* Custom Meter Badges */
.badge-meter-km {
    background-color: #dbeafe !important;
    color: #1e40af !important;
    border: 1px solid #bfdbfe !important;
    font-weight: 600;
}

.badge-meter-hr {
    background-color: #fef3c7 !important;
    color: #92400e !important;
    border: 1px solid #fde68a !important;
    font-weight: 600;
}

.badge-meter-both {
    background-color: #f3e8ff !important;
    color: #6b21a8 !important;
    border: 1px solid #e9d5ff !important;
    font-weight: 600;
}

/* Form Control Polish */
.form-control:focus, .form-select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.15);
}

.table-enterprise th {
    white-space: nowrap !important;
}

/* Form Row Baseline Alignment Polish */
.row.g-2.align-items-end,
.row.g-3.align-items-end {
    align-items: flex-end !important;
}

.form-label {
    display: block;
    margin-bottom: 0.35rem;
}