/* ============================================================
    Inventory Count Management System - Professional Classic Theme
    ============================================================ */

/* --- CSS Variables --- */
:root {
    --primary: #1e3a5f;
    --primary-dark: #152a45;
    --primary-light: #e8eef4;
    --accent: #8b2635;
    --accent-light: #f4e8e9;
    --gold: #b8860b;
    --gold-light: #fbf5e6;
    
    --success: #2d5a3d;
    --success-light: #e6f0ea;
    --warning: #936c19;
    --warning-light: #faf5e6;
    --danger: #9b1c1c;
    --danger-light: #f9e8e8;
    --info: #1e5a6b;
    --info-light: #e6f0f2;
    
    --secondary: #5a5a5a;
    --secondary-light: #f0efee;
    
    --bg: #f7f5f2;
    --surface: #ffffff;
    --text: #2d2d2d;
    --text-light: #5a5a5a;
    --text-muted: #8a8a8a;
    --border: #d4d0cc;
    --border-light: #e8e5e2;
    
    --sidebar-width: 260px;
    --topbar-height: 60px;
    --radius: 4px;
    --radius-sm: 2px;
    --shadow: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 4px 12px rgba(0,0,0,0.08);
    --transition: 0.25s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
    font-family: Georgia, 'Times New Roman', serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
}
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; }

/* --- Layout --- */
.app-layout {
    display: flex;
    min-height: 100vh;
}
.main-wrapper {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    transition: margin-left var(--transition);
}
.sidebar-collapsed .main-wrapper {
    margin-left: 0;
}
.main-content {
    padding: 28px;
    max-width: 1400px;
    margin: 0 auto;
}

/* --- Sidebar --- */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--sidebar-width);
    background: linear-gradient(180deg, #1e3a5f 0%, #152840 100%);
    color: #e0dcd8;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: transform var(--transition);
    overflow-y: auto;
    border-right: 3px solid var(--gold);
}
.sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #f5f0e8;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.brand-icon { 
    font-size: 1.4rem;
    color: var(--gold);
}
.sidebar-menu { 
    flex: 1; 
    padding: 20px 0; 
}
.menu-section { margin-bottom: 8px; }
.menu-section-title {
    padding: 10px 20px;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #8b8b8b;
    font-weight: 600;
    font-family: 'Segoe UI', system-ui, sans-serif;
}
.menu-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    color: #c4c0bc;
    font-size: 0.9rem;
    font-family: 'Segoe UI', system-ui, sans-serif;
    transition: all var(--transition);
    border-left: 3px solid transparent;
}
.menu-item:hover {
    background: rgba(255,255,255,0.08);
    color: #f5f0e8;
    border-left-color: var(--gold);
}
.menu-item.active {
    background: rgba(184, 134, 11, 0.15);
    color: #f5f0e8;
    border-left-color: var(--gold);
}
.menu-icon { 
    font-size: 1rem; 
    width: 20px; 
    text-align: center;
    color: var(--gold);
}
.sidebar-footer {
    padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.7rem;
    color: #6b6b6b;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

/* --- Topbar --- */
.topbar {
    background: var(--surface);
    border-bottom: 2px solid var(--border-light);
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    padding: 0 28px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}
.sidebar-toggle {
    background: none;
    border: 1px solid var(--border);
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text);
    padding: 8px;
    margin-right: 16px;
    border-radius: var(--radius-sm);
    display: none;
}
.sidebar-toggle:hover { background: var(--secondary-light); border-color: var(--primary); }
.topbar-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.3px;
}
.topbar-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 20px;
}
.user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
}
.user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid var(--gold);
}
.user-info {
    display: flex;
    flex-direction: column;
}
.user-name { 
    font-size: 0.85rem; 
    font-weight: 600; 
    color: var(--text);
    font-family: 'Segoe UI', system-ui, sans-serif;
}
.user-role { 
    font-size: 0.7rem; 
    color: var(--text-muted);
    font-family: 'Segoe UI', system-ui, sans-serif;
}
.btn-logout {
    color: var(--text-muted);
    font-size: 1.1rem;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    border: 1px solid transparent;
}
.btn-logout:hover { 
    color: var(--danger); 
    background: var(--danger-light);
    border-color: var(--danger);
}

/* --- Cards --- */
.card {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    overflow: hidden;
}
.card-header {
    padding: 18px 22px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(180deg, #faf9f7 0%, #f5f4f2 100%);
}
.card-header h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.3px;
}
.card-body { 
    padding: 22px; 
}
.card-footer {
    padding: 14px 22px;
    border-top: 1px solid var(--border-light);
    background: var(--secondary-light);
    font-size: 0.85rem;
    color: var(--text-light);
}

/* --- Stats Cards --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}
.stat-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all var(--transition);
}
.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    border: 1px solid var(--border);
}
.stat-icon.primary { background: var(--primary-light); color: var(--primary); }
.stat-icon.success { background: var(--success-light); color: var(--success); }
.stat-icon.warning { background: var(--warning-light); color: var(--warning); }
.stat-icon.danger { background: var(--danger-light); color: var(--danger); }
.stat-icon.info { background: var(--info-light); color: var(--info); }
.stat-icon.secondary { background: var(--secondary-light); color: var(--secondary); }
.stat-content { flex: 1; }
.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
    font-family: Georgia, serif;
}
.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    justify-content: center;
    white-space: nowrap;
    font-family: 'Segoe UI', system-ui, sans-serif;
}
.btn-sm { padding: 6px 12px; font-size: 0.8rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-success { background: var(--success); color: #fff; border-color: var(--success); }
.btn-success:hover { background: #234a31; border-color: #234a31; color: #fff; }
.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-danger:hover { background: #7a1818; border-color: #7a1818; color: #fff; }
.btn-warning { background: var(--warning); color: #fff; border-color: var(--warning); }
.btn-warning:hover { background: #785815; border-color: #785815; color: #fff; }
.btn-secondary { background: var(--secondary); color: #fff; border-color: var(--secondary); }
.btn-secondary:hover { background: #4a4a4a; border-color: #4a4a4a; color: #fff; }
.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}
.btn-outline:hover { background: var(--secondary-light); border-color: var(--text-light); color: var(--text); }
.btn-outline-primary {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}
.btn-outline-primary:hover { background: var(--primary); color: #fff; }
.btn-block { width: 100%; }
.btn-group { display: flex; gap: 10px; }

/* --- Forms --- */
.form-group {
    margin-bottom: 18px;
}
.form-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    font-family: 'Segoe UI', system-ui, sans-serif;
}
.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text);
    background: var(--surface);
    transition: border-color var(--transition), box-shadow var(--transition);
    font-family: 'Segoe UI', system-ui, sans-serif;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(30, 58, 95, 0.1);
}
.form-control::placeholder { color: var(--text-muted); }
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235a5a5a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
}
textarea.form-control { resize: vertical; min-height: 90px; }
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
}
.form-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 5px;
    font-family: 'Segoe UI', system-ui, sans-serif;
}
.form-error {
    font-size: 0.8rem;
    color: var(--danger);
    margin-top: 5px;
}
.is-invalid { border-color: var(--danger) !important; }

/* --- Tables --- */
.table-container {
    overflow-x: auto;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
}
table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
}
table th, table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.85rem;
    font-family: 'Segoe UI', system-ui, sans-serif;
}
table th {
    background: linear-gradient(180deg, #f5f4f2 0%, #eeedeb 100%);
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
    border-bottom: 2px solid var(--border);
}
table tbody tr { transition: background var(--transition); }
table tbody tr:hover { background: #faf9f7; }
table tbody tr:last-child td { border-bottom: none; }
.table-actions {
    display: flex;
    gap: 8px;
}

/* --- Badges --- */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'Segoe UI', system-ui, sans-serif;
}
.badge-success { background: var(--success-light); color: var(--success); border: 1px solid #c4dbc9; }
.badge-danger { background: var(--danger-light); color: var(--danger); border: 1px solid #ecc8c8; }
.badge-warning { background: var(--warning-light); color: var(--warning); border: 1px solid #e8dfb8; }
.badge-info { background: var(--info-light); color: var(--info); border: 1px solid #b8d4d9; }
.badge-secondary { background: var(--secondary-light); color: var(--secondary); border: 1px solid #d4d2cf; }
.badge-primary { background: var(--primary-light); color: var(--primary); border: 1px solid #ccd4df; }

/* --- Alerts --- */
.flash-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}
.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    cursor: pointer;
    transition: opacity 0.3s;
    border: 1px solid;
}
.alert-success { background: var(--success-light); color: var(--success); border-color: #a8d4b1; }
.alert-error { background: var(--danger-light); color: var(--danger); border-color: #e4b4b4; }
.alert-warning { background: var(--warning-light); color: var(--warning); border-color: #e8dfb8; }
.alert-info { background: var(--info-light); color: var(--info); border-color: #b8d4d9; }
.alert-close {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
}
.alert-close:hover { opacity: 1; }

/* --- Modal --- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}
.modal-overlay.show { display: flex; }
.modal {
    background: var(--surface);
    border-radius: var(--radius);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}
.modal-header {
    padding: 18px 22px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(180deg, #faf9f7 0%, #f5f4f2 100%);
}
.modal-header h3 { font-size: 1.15rem; font-weight: 600; color: var(--primary); }
.modal-close {
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--text-muted);
    line-height: 1;
}
.modal-close:hover { color: var(--text); }
.modal-body { padding: 22px; }
.modal-footer {
    padding: 14px 22px;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background: var(--secondary-light);
}

/* --- Pagination --- */
.pagination-nav {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}
.pagination {
    display: flex;
    list-style: none;
    gap: 6px;
}
.page-item .page-link {
    display: block;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text);
    background: var(--surface);
    transition: all var(--transition);
    font-family: 'Segoe UI', system-ui, sans-serif;
}
.page-item .page-link:hover { background: var(--secondary-light); border-color: var(--primary); }
.page-item.active .page-link {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.page-item.disabled .page-link {
    color: var(--text-muted);
    pointer-events: none;
    background: var(--secondary-light);
}

/* --- Auth Pages --- */
.auth-body {
    background: linear-gradient(135deg, #1e3a5f 0%, #152840 50%, #0f1a28 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.auth-container {
    width: 100%;
    max-width: 420px;
    padding: 20px;
}
.auth-card {
    background: var(--surface);
    border-radius: 8px;
    padding: 44px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}
.auth-header {
    text-align: center;
    margin-bottom: 32px;
}
.auth-header .brand {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}
.auth-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Empty State --- */
.empty-state {
    text-align: center;
    padding: 60px 24px;
    color: var(--text-muted);
}
.empty-state .icon {
    font-size: 3rem;
    margin-bottom: 16px;
    color: var(--border);
}
.empty-state h3 {
    font-size: 1.15rem;
    color: var(--text);
    margin-bottom: 10px;
}
.empty-state p {
    font-size: 0.9rem;
    margin-bottom: 22px;
}

/* --- Toolbar --- */
.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 22px;
}
.toolbar-left { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.toolbar-right { display: flex; align-items: center; gap: 12px; }
.search-box {
    position: relative;
}
.search-box input {
    padding-left: 40px;
    min-width: 260px;
}
.search-box::before {
    content: "\1F50D";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
}

/* --- Review Card --- */
.review-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 14px;
    transition: box-shadow var(--transition);
    background: var(--surface);
}
.review-card:hover { box-shadow: var(--shadow-md); }
.review-card-header {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-light);
    background: linear-gradient(180deg, #faf9f7 0%, #f5f4f2 100%);
}
.review-card-body { padding: 16px 20px; }
.review-card-footer {
    padding: 12px 20px;
    border-top: 1px solid var(--border-light);
    display: flex;
    gap: 10px;
    align-items: center;
    background: var(--secondary-light);
}
.review-detail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    margin-bottom: 14px;
}
.review-detail-item label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    display: block;
    font-family: 'Segoe UI', system-ui, sans-serif;
}
.review-detail-item span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}

/* --- Section --- */
.section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 22px;
    letter-spacing: 0.3px;
}
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 26px;
}
.page-header h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
}

/* --- Count Entry Form (Counter) --- */
.count-entry-card {
    background: var(--surface);
    border-radius: var(--radius);
    border: 2px solid var(--border);
    padding: 26px;
    margin-bottom: 18px;
    transition: border-color var(--transition);
}
.count-entry-card:hover { border-color: var(--primary); }
.count-entry-card .item-code {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    font-family: 'Segoe UI', system-ui, sans-serif;
}
.count-entry-card .item-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 6px 0;
}
.count-entry-card .item-location {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.count-entry-card .qty-input-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
}
.count-entry-card .qty-input-group .form-control {
    width: 130px;
    font-size: 1.15rem;
    text-align: center;
    font-weight: 600;
}
.system-qty {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Variance Indicator --- */
.variance { font-weight: 600; }
.variance.positive { color: var(--success); }
.variance.negative { color: var(--danger); }
.variance.zero { color: var(--secondary); }

/* --- Utility --- */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 18px; }
.mt-3 { margin-top: 28px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 18px; }
.mb-3 { margin-bottom: 28px; }
.ml-auto { margin-left: auto; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 18px; }

/* --- Variance Report Styles --- */
#varianceTable th {
    background-color: #f5f4f2 !important;
    color: var(--primary) !important;
    font-weight: 600 !important;
    font-size: 0.7rem !important;
    text-transform: uppercase !important;
    padding: 6px 10px !important;
    border: 1px solid var(--border) !important;
    font-family: 'Segoe UI', system-ui, sans-serif;
}
#varianceTable td {
    font-size: 0.8rem !important;
    padding: 8px 10px !important;
    border-right: 1px solid var(--border-light) !important;
    font-family: 'Segoe UI', system-ui, sans-serif;
}
#varianceTable tr.high-risk {
    background-color: var(--danger-light) !important;
}
#varianceTable tr:hover {
    background-color: #faf9f7 !important;
}
.risk-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    font-family: 'Segoe UI', system-ui, sans-serif;
}
.risk-low { background: var(--success-light); color: var(--success); border: 1px solid #c4dbc9; }
.risk-medium { background: var(--warning-light); color: var(--warning); border: 1px solid #e8dfb8; }
.risk-high { background: #fce8d8; color: #8b4513; border: 1px solid #e8c8a8; }
.risk-critical { background: var(--danger-light); color: var(--danger); border: 1px solid #ecc8c8; }

/* --- DataTables refinements --- */
.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    font-family: 'Segoe UI', system-ui, sans-serif;
}
.dataTables_wrapper .dataTables_filter input {
    margin-left: 8px;
}
.dataTables_wrapper .dataTables_info {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 10px 0;
}
.dataTables_wrapper .dataTables_paginate {
    padding: 10px 0;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-sm) !important;
    margin: 0 2px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
}

/* --- Login Logo --- */
.login-logo {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 15px auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
