/* ============================================
   PAYROLL APP - PT. SAN -N- GARMINDO
   Premium Design v3.0 - Elegant & Responsive
   ============================================ */

:root {
    --primary: #1a6b3c;
    --primary-dark: #0e4025;
    --primary-mid: #1d7d45;
    --primary-light: #e6f5ec;
    --primary-50: #f0faf4;
    --primary-glow: rgba(26,107,60,0.15);
    --accent: #d4a017;
    --accent-light: #fef8e1;
    --accent-dark: #b8860b;
    --danger: #dc3545;
    --danger-light: #fce4e6;
    --info: #0d87c9;
    --info-light: #e0f2fe;
    --success: #1a9e4a;
    --success-light: #d4f5e0;
    --warning: #e6a200;
    --warning-light: #fef5d4;
    --purple: #6f42c1;
    --purple-light: #f0e8fa;
    --gray-50: #fafbfc;
    --gray-100: #f1f3f5;
    --gray-200: #e2e6ea;
    --gray-300: #ced4da;
    --gray-400: #adb5bd;
    --gray-500: #6c757d;
    --gray-600: #495057;
    --gray-700: #343a40;
    --gray-800: #212529;
    --white: #ffffff;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-xs: 6px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 2px 8px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.1), 0 16px 48px rgba(0,0,0,0.08);
    --shadow-glow: 0 0 20px rgba(26,107,60,0.12);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font);
    background: var(--gray-100);
    color: var(--gray-800);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========== CUSTOM CSS ICONS ========== */
.icon-css { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; position: relative; flex-shrink: 0; }

/* Dashboard icon */
.icon-dashboard::before {
    content: '';
    width: 16px; height: 16px;
    background: linear-gradient(135deg, currentColor 30%, transparent 30%) no-repeat 0 0/7px 7px,
                linear-gradient(135deg, currentColor 30%, transparent 30%) no-repeat 9px 0/7px 7px,
                linear-gradient(135deg, currentColor 30%, transparent 30%) no-repeat 0 9px/7px 7px,
                linear-gradient(135deg, currentColor 30%, transparent 30%) no-repeat 9px 9px/7px 7px;
    border-radius: 2px;
}
.icon-dashboard { position: relative; }
.icon-dashboard::after {
    content: '';
    position: absolute;
    width: 6px; height: 6px;
    border: 2px solid currentColor;
    border-radius: 2px;
    top: 2px; left: 2px;
}

/* Users icon */
.icon-users::before {
    content: '';
    width: 8px; height: 8px;
    border: 2px solid currentColor;
    border-radius: 50%;
    position: absolute;
    top: 1px;
}
.icon-users::after {
    content: '';
    width: 14px; height: 7px;
    border: 2px solid currentColor;
    border-top: none;
    border-radius: 0 0 7px 7px;
    position: absolute;
    bottom: 2px;
}

/* Gift/THR icon */
.icon-gift { position: relative; }
.icon-gift::before {
    content: '';
    width: 14px; height: 10px;
    border: 2px solid currentColor;
    border-radius: 0 0 3px 3px;
    position: absolute;
    bottom: 1px;
}
.icon-gift::after {
    content: '';
    width: 16px; height: 5px;
    border: 2px solid currentColor;
    border-radius: 3px 3px 0 0;
    position: absolute;
    top: 4px;
}

/* Money/Gaji icon */
.icon-money { position: relative; }
.icon-money::before {
    content: '';
    width: 16px; height: 10px;
    border: 2px solid currentColor;
    border-radius: 3px;
    position: absolute;
}
.icon-money::after {
    content: '';
    width: 6px; height: 6px;
    border: 2px solid currentColor;
    border-radius: 50%;
    position: absolute;
}

/* Profile icon */
.icon-profile::before {
    content: '';
    width: 8px; height: 8px;
    border: 2px solid currentColor;
    border-radius: 50%;
    position: absolute;
    top: 0;
}
.icon-profile::after {
    content: '';
    width: 12px; height: 6px;
    border: 2px solid currentColor;
    border-top: none;
    border-radius: 0 0 6px 6px;
    position: absolute;
    bottom: 1px;
}

/* Home icon */
.icon-home::before {
    content: '';
    width: 0; height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 8px solid currentColor;
    position: absolute;
    top: 0;
}
.icon-home::after {
    content: '';
    width: 12px; height: 8px;
    border: 2px solid currentColor;
    border-top: none;
    border-radius: 0 0 2px 2px;
    position: absolute;
    bottom: 2px;
}

/* PDF icon */
.icon-pdf { position: relative; }
.icon-pdf::before {
    content: '';
    width: 12px; height: 15px;
    border: 2px solid currentColor;
    border-radius: 2px;
    position: absolute;
}
.icon-pdf::after {
    content: '';
    width: 5px; height: 5px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    position: absolute;
    top: 0; right: 3px;
}

/* Publish icon */
.icon-publish::before {
    content: '';
    width: 12px; height: 12px;
    border: 2px solid currentColor;
    border-radius: 50%;
    position: absolute;
}
.icon-publish::after {
    content: '';
    width: 0; height: 0;
    border-left: 5px solid currentColor;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    position: absolute;
    left: 6px;
}

/* Lock icon */
.icon-lock::before {
    content: '';
    width: 10px; height: 7px;
    border: 2px solid currentColor;
    border-radius: 0 0 3px 3px;
    position: absolute;
    bottom: 2px;
}
.icon-lock::after {
    content: '';
    width: 6px; height: 5px;
    border: 2px solid currentColor;
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    position: absolute;
    top: 3px;
}

/* Gear/Settings icon */
.icon-gear::before {
    content: '';
    width: 10px; height: 10px;
    border: 2.5px solid currentColor;
    border-radius: 50%;
    position: absolute;
}
.icon-gear::after {
    content: '';
    width: 16px; height: 16px;
    background:
        linear-gradient(currentColor, currentColor) no-repeat center top/3px 4px,
        linear-gradient(currentColor, currentColor) no-repeat center bottom/3px 4px,
        linear-gradient(currentColor, currentColor) no-repeat left center/4px 3px,
        linear-gradient(currentColor, currentColor) no-repeat right center/4px 3px;
    position: absolute;
}

/* Search icon */
.icon-search::before {
    content: '';
    width: 10px; height: 10px;
    border: 2px solid currentColor;
    border-radius: 50%;
    position: absolute;
    top: 1px; left: 1px;
}
.icon-search::after {
    content: '';
    width: 6px; height: 2px;
    background: currentColor;
    transform: rotate(45deg);
    position: absolute;
    bottom: 3px; right: 2px;
    border-radius: 1px;
}

/* Logout icon */
.icon-logout::before {
    content: '';
    width: 10px; height: 12px;
    border: 2px solid currentColor;
    border-right: none;
    border-radius: 3px 0 0 3px;
    position: absolute;
    left: 1px;
}
.icon-logout::after {
    content: '';
    width: 8px; height: 2px;
    background: currentColor;
    position: absolute;
    right: 2px;
    box-shadow: 3px -3px 0 0 currentColor, 3px 3px 0 0 currentColor;
}

/* Print icon */
.icon-print::before {
    content: '';
    width: 14px; height: 8px;
    border: 2px solid currentColor;
    border-radius: 3px 3px 0 0;
    position: absolute;
    top: 5px;
}
.icon-print::after {
    content: '';
    width: 10px; height: 6px;
    border: 2px solid currentColor;
    border-radius: 0 0 2px 2px;
    position: absolute;
    bottom: 1px;
}

/* Edit icon */
.icon-edit::before {
    content: '';
    width: 12px; height: 3px;
    background: currentColor;
    transform: rotate(-45deg);
    position: absolute;
    border-radius: 1px;
}
.icon-edit::after {
    content: '';
    width: 0; height: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 5px solid currentColor;
    transform: rotate(-45deg);
    position: absolute;
    bottom: 3px; left: 2px;
}

/* Trash icon */
.icon-trash::before {
    content: '';
    width: 10px; height: 10px;
    border: 2px solid currentColor;
    border-top: none;
    border-radius: 0 0 3px 3px;
    position: absolute;
    bottom: 2px;
}
.icon-trash::after {
    content: '';
    width: 14px; height: 2px;
    background: currentColor;
    position: absolute;
    top: 4px;
    border-radius: 1px;
}

/* Bell/Announcement icon */
.icon-bell::before {
    content: '';
    width: 12px; height: 10px;
    border: 2px solid currentColor;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    position: absolute;
    top: 2px;
}
.icon-bell::after {
    content: '';
    width: 16px; height: 2px;
    background: currentColor;
    position: absolute;
    bottom: 4px;
    border-radius: 1px;
}

/* Arrow/Back icon */
.icon-back::before {
    content: '';
    width: 10px; height: 2px;
    background: currentColor;
    position: absolute;
    border-radius: 1px;
}
.icon-back::after {
    content: '';
    width: 0; height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 6px solid currentColor;
    position: absolute;
    left: 0;
}

/* Plus icon */
.icon-plus::before {
    content: '';
    width: 12px; height: 2.5px;
    background: currentColor;
    position: absolute;
    border-radius: 2px;
}
.icon-plus::after {
    content: '';
    width: 2.5px; height: 12px;
    background: currentColor;
    position: absolute;
    border-radius: 2px;
}

/* Check icon */
.icon-check::before {
    content: '';
    width: 6px; height: 10px;
    border-bottom: 2.5px solid currentColor;
    border-right: 2.5px solid currentColor;
    transform: rotate(45deg);
    position: absolute;
    top: 2px;
}

/* ========== LOGIN ========== */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #091f13 0%, #0e3b22 30%, #1a6b3c 60%, #1d7d45 100%);
    position: relative;
    overflow: hidden;
}
.login-wrapper::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,160,23,0.08) 0%, transparent 70%);
    top: -200px; right: -200px;
}
.login-wrapper::after {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    bottom: -100px; left: -100px;
}
.login-box {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 48px 42px;
    width: 440px;
    max-width: 92%;
    box-shadow: 0 30px 80px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.1);
    position: relative;
    z-index: 1;
}
.login-box .company-logo {
    width: 64px; height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(26,107,60,0.3);
}
.login-box .company-logo .icon-css { color: white; width: 28px; height: 28px; }
.login-box h2 {
    text-align: center;
    color: var(--primary-dark);
    margin-bottom: 4px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.3px;
}
.login-box .subtitle {
    text-align: center;
    color: var(--gray-500);
    margin-bottom: 30px;
    font-size: 13px;
    font-weight: 500;
}

/* ========== FORM ========== */
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 13px;
    color: var(--gray-600);
    letter-spacing: 0.1px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font);
    transition: var(--transition);
    outline: none;
    background: var(--white);
    color: var(--gray-800);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}
.form-group input[readonly] {
    background: var(--gray-100);
    color: var(--gray-500);
    cursor: default;
}
.form-group input::placeholder { color: var(--gray-400); }
.form-group .input-hint { font-size: 11px; color: var(--gray-400); margin-top: 4px; }

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 22px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
    line-height: 1.4;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 100%);
    pointer-events: none;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }

.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-mid)); color: var(--white); }
.btn-primary:hover { box-shadow: 0 4px 16px rgba(26,107,60,0.35); }
.btn-success { background: linear-gradient(135deg, #198754, #1ea960); color: var(--white); }
.btn-danger { background: linear-gradient(135deg, #c92a2a, #e03131); color: var(--white); }
.btn-danger:hover { box-shadow: 0 4px 16px rgba(220,53,69,0.35); }
.btn-warning { background: linear-gradient(135deg, #e6a200, #f0b429); color: var(--white); }
.btn-info { background: linear-gradient(135deg, #0d87c9, #1098e0); color: var(--white); }
.btn-secondary { background: linear-gradient(135deg, #5a6268, #6c757d); color: var(--white); }
.btn-outline {
    background: var(--white);
    border: 2px solid var(--gray-300);
    color: var(--gray-600);
}
.btn-outline::after { display: none; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-50); }
.btn-block { display: flex; width: 100%; }
.btn-sm { padding: 7px 16px; font-size: 12px; border-radius: var(--radius-xs); }
.btn-xs { padding: 5px 11px; font-size: 11px; border-radius: 5px; }
.btn-publish { background: linear-gradient(135deg, #6f42c1, #8854d0); color: var(--white); }
.btn-publish:hover { box-shadow: 0 4px 16px rgba(111,66,193,0.35); }
.btn-unpublish { background: linear-gradient(135deg, #868e96, #adb5bd); color: var(--white); }
.btn-ghost {
    background: transparent;
    color: var(--gray-500);
    padding: 6px 10px;
}
.btn-ghost::after { display: none; }
.btn-ghost:hover { background: var(--gray-100); color: var(--gray-700); }
.btn-logout {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 16px;
    font-size: 12px;
    backdrop-filter: blur(4px);
}
.btn-logout::after { display: none; }
.btn-logout:hover { background: rgba(255,255,255,0.2); color: #fff; }

/* ========== NAVBAR ========== */
.navbar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-mid) 100%);
    color: var(--white);
    box-shadow: 0 2px 16px rgba(0,0,0,0.18);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 58px;
}
.nav-left { display: flex; align-items: center; gap: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand-logo {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    flex-shrink: 0;
}
.brand-logo .icon-css { color: #fff; width: 18px; height: 18px; }
.brand-text { font-size: 15px; font-weight: 700; letter-spacing: 0.2px; white-space: nowrap; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.mobile-toggle {
    display: none;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: var(--radius-xs);
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
}
.mobile-toggle:hover { background: rgba(255,255,255,0.2); }
.mobile-toggle .hamburger {
    display: block;
    width: 20px; height: 2px;
    background: #fff; border-radius: 2px;
    position: relative;
    transition: var(--transition);
}
.mobile-toggle .hamburger::before,
.mobile-toggle .hamburger::after {
    content: '';
    position: absolute;
    width: 20px; height: 2px;
    background: #fff; border-radius: 2px;
    left: 0;
    transition: var(--transition);
}
.mobile-toggle .hamburger::before { top: -6px; }
.mobile-toggle .hamburger::after { top: 6px; }
.mobile-toggle.active .hamburger { background: transparent; }
.mobile-toggle.active .hamburger::before { top: 0; transform: rotate(45deg); }
.mobile-toggle.active .hamburger::after { top: 0; transform: rotate(-45deg); }
.nav-links {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 0 16px;
    background: rgba(0,0,0,0.08);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    -webkit-tap-highlight-color: transparent;
}
.nav-links a .icon-css { width: 16px; height: 16px; }
.nav-links a:hover, .nav-links a.active {
    background: rgba(255,255,255,0.08);
    color: #fff;
}
.nav-links a.active { border-bottom-color: rgba(255,255,255,0.7); }
.user-info { display: flex; align-items: center; gap: 10px; }
.user-badge { display: flex; align-items: center; gap: 8px; }
.user-avatar {
    width: 34px; height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.15);
    flex-shrink: 0;
}
.user-name {
    font-size: 13px; font-weight: 500;
    opacity: 0.9;
    max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.desktop-only { display: inline-flex; }
.mobile-only { display: none; }

/* ========== CONTAINER ========== */
.container { max-width: 1300px; margin: 0 auto; padding: 24px 20px; }

/* ========== CARDS ========== */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 22px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); }
.card-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 15px 22px;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.card-header .header-actions { display: flex; gap: 8px; align-items: center; }
.card-body { padding: 22px; }

/* ========== STATS ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.stat-card {
    padding: 22px 18px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    border-radius: var(--radius) var(--radius) 0 0;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.stat-card.green { background: var(--primary-light); border-color: #b7e4c7; }
.stat-card.green::before { background: linear-gradient(90deg, var(--primary-dark), var(--primary-mid)); }
.stat-card.orange { background: var(--accent-light); border-color: #f5e6a3; }
.stat-card.orange::before { background: linear-gradient(90deg, var(--accent-dark), var(--accent)); }
.stat-card.blue { background: var(--info-light); border-color: #a3d9f5; }
.stat-card.blue::before { background: linear-gradient(90deg, #0a6da8, var(--info)); }
.stat-card.purple { background: var(--purple-light); border-color: #d0bfff; }
.stat-card.purple::before { background: linear-gradient(90deg, #5a32a3, var(--purple)); }
.stat-value { font-size: 32px; font-weight: 800; line-height: 1.1; margin-top: 6px; }
.stat-card.green .stat-value { color: var(--primary-dark); }
.stat-card.orange .stat-value { color: var(--accent-dark); }
.stat-card.blue .stat-value { color: #0a6da8; }
.stat-card.purple .stat-value { color: #5a32a3; }
.stat-label {
    font-size: 11px; color: var(--gray-500); margin-top: 4px;
    font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px;
}

/* ========== DASHBOARD MENU ========== */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
    margin-top: 20px;
}
.dash-card {
    background: var(--white);
    border-radius: 14px;
    padding: 32px 22px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: var(--gray-800);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}
.dash-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-mid));
    opacity: 0;
    transition: var(--transition);
}
.dash-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}
.dash-card:hover::before { opacity: 1; }
.dash-card .dash-icon {
    width: 56px; height: 56px;
    margin: 0 auto 14px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-50));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}
.dash-card .dash-icon .icon-css { width: 24px; height: 24px; }
.dash-card:hover .dash-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-mid));
    color: white;
    box-shadow: 0 6px 20px rgba(26,107,60,0.25);
}
.dash-card h3 { font-size: 15px; margin-bottom: 6px; color: var(--primary-dark); font-weight: 700; }
.dash-card p { font-size: 13px; color: var(--gray-500); line-height: 1.4; }

/* ========== TABLE ========== */
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
table.data-table thead th {
    background: var(--gray-50);
    color: var(--gray-600);
    padding: 12px;
    text-align: left;
    font-weight: 700;
    white-space: nowrap;
    border-bottom: 2px solid var(--gray-200);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
table.data-table tbody td {
    padding: 11px 12px;
    border-bottom: 1px solid var(--gray-100);
    vertical-align: middle;
}
table.data-table tbody tr { transition: var(--transition); }
table.data-table tbody tr:hover { background: var(--primary-50); }
table.data-table tfoot td {
    padding: 12px;
    font-weight: 700;
    background: var(--primary-light);
    border-top: 2px solid var(--primary);
}
table.data-table .actions { display: flex; gap: 4px; flex-wrap: wrap; }

/* ========== PAGINATION ========== */
.pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    flex-wrap: wrap;
    gap: 10px;
}
.pagination-info { font-size: 13px; color: var(--gray-500); }
.pagination { display: flex; gap: 4px; align-items: center; }
.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px; height: 36px;
    padding: 0 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-600);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}
.page-btn:hover { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 2px 8px rgba(26,107,60,0.25); }
.page-dots { color: var(--gray-400); padding: 0 4px; }

/* ========== SLIP GAJI - PREMIUM ========== */
.slip-container {
    max-width: 840px;
    margin: 0 auto;
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.slip-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-mid) 100%);
    color: var(--white);
    padding: 18px 22px;
    text-align: center;
    position: relative;
}
.slip-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-dark));
}
.slip-header h3 { font-size: 17px; font-weight: 700; letter-spacing: 0.3px; margin-bottom: 3px; }
.slip-header p { font-size: 12px; opacity: 0.9; font-weight: 400; }
.slip-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 20px;
    padding: 14px 22px;
    background: var(--gray-50);
    border-bottom: 2px solid var(--gray-200);
    font-size: 13px;
}
.slip-info div { display: flex; gap: 4px; }
.slip-info .lbl {
    font-weight: 700;
    min-width: 80px;
    color: var(--gray-600);
}
.slip-body { display: grid; grid-template-columns: 1fr 1fr; }
.slip-col { padding: 14px 18px; }
.slip-col.right { border-left: 2px solid var(--gray-200); }
.slip-col-title {
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding-bottom: 6px;
    margin-bottom: 10px;
    border-bottom: 2px solid;
}
.slip-col-title.green { color: var(--primary); border-color: var(--primary); }
.slip-col-title.red { color: var(--danger); border-color: var(--danger); }
.slip-table { width: 100%; font-size: 11.5px; }
.slip-table td { padding: 3px 0; vertical-align: top; }
.slip-table td:last-child {
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    white-space: nowrap;
}
.slip-table .sub-title { font-weight: 700; padding-top: 8px; color: var(--gray-700); }
.slip-table .lem-formula { color: var(--gray-500); font-size: 10.5px; }
.slip-totals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 2px solid var(--primary);
    font-weight: 700;
    font-size: 13px;
}
.slip-totals > div {
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.slip-totals .total-penerimaan { background: var(--primary-light); color: var(--primary-dark); }
.slip-totals .total-potongan { background: var(--danger-light); color: #991b1b; border-left: 2px solid var(--gray-200); }
.slip-takehome {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-mid));
    color: var(--white);
    text-align: center;
    padding: 18px 20px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
    position: relative;
}
.slip-takehome::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-dark));
}
.slip-takehome .label { font-size: 11px; font-weight: 600; letter-spacing: 1px; opacity: 0.8; display: block; margin-bottom: 4px; text-transform: uppercase; }

/* ========== THR SLIP - PREMIUM ========== */
.thr-slip {
    max-width: 740px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary);
    position: relative;
}
.thr-slip::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231a6b3c' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}
.thr-slip > * { position: relative; z-index: 1; }
.thr-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--primary-mid) 100%);
    color: var(--white);
    padding: 28px 28px 22px;
    text-align: center;
    position: relative;
}
.thr-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-dark));
}
.thr-header .thr-logo {
    width: 52px; height: 52px;
    margin: 0 auto 12px;
    background: rgba(255,255,255,0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
}
.thr-header .thr-logo .icon-css { color: #fff; width: 24px; height: 24px; }
.thr-header h2 { font-size: 20px; font-weight: 800; letter-spacing: 0.5px; margin-bottom: 4px; }
.thr-header p { font-size: 13px; opacity: 0.85; }
.thr-body { padding: 24px 28px; }
.thr-info-grid {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px 0;
    font-size: 14px;
    padding: 18px 22px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
}
.thr-info-grid .thr-lbl { font-weight: 700; color: var(--gray-600); }
.thr-info-grid .thr-val { color: var(--gray-800); }
.thr-nominal {
    text-align: center;
    padding: 28px 20px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-50));
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    margin-bottom: 20px;
}
.thr-nominal .thr-nom-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray-500);
    margin-bottom: 10px;
}
.thr-nominal .thr-nom-amount {
    font-size: 34px;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
}
.thr-footer {
    text-align: center;
    padding: 14px 28px;
    background: var(--gray-50);
    font-size: 11px;
    color: var(--gray-400);
    border-top: 1px solid var(--gray-200);
}

/* ========== ALERTS ========== */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 4px solid transparent;
    font-weight: 500;
}
.alert-success { background: var(--success-light); color: #166534; border-left-color: var(--success); }
.alert-danger { background: var(--danger-light); color: #991b1b; border-left-color: var(--danger); }
.alert-warning { background: var(--warning-light); color: #92400e; border-left-color: var(--warning); }
.alert-info { background: var(--info-light); color: #075985; border-left-color: var(--info); }

/* ========== ANNOUNCEMENT ========== */
.announcement {
    background: linear-gradient(135deg, #fef9c3, #fef3c7);
    border: 1px solid #f59e0b;
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-left: 5px solid #f59e0b;
}
.announcement .ann-icon {
    width: 38px; height: 38px;
    background: rgba(245,158,11,0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #92400e;
}
.announcement .ann-icon .icon-css { width: 18px; height: 18px; }
.announcement h4 { color: #92400e; margin-bottom: 2px; font-size: 14px; }
.announcement p { color: #78350f; font-size: 13px; }

/* ========== BADGES ========== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.badge-admin { background: #fecaca; color: #b91c1c; }
.badge-user { background: #d1fae5; color: #065f46; }
.badge-active { background: #d1fae5; color: #065f46; }
.badge-inactive { background: #fecaca; color: #b91c1c; }
.badge-published { background: #dbeafe; color: #1e40af; }
.badge-unpublished { background: var(--gray-200); color: var(--gray-600); }

/* ========== FILTER FORM ========== */
.filter-form {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 16px 18px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-200);
}
.filter-form .form-group { margin-bottom: 0; }

/* ========== PUBLISH BAR ========== */
.publish-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    gap: 12px;
    flex-wrap: wrap;
}
.publish-bar .pub-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-600);
}

/* ========== SECTION TITLE ========== */
.section-title {
    font-size: 14px;
    font-weight: 700;
    padding: 8px 0 5px;
    margin-top: 10px;
    border-bottom: 3px solid;
    display: inline-block;
}
.section-title.green { color: var(--primary); border-color: var(--primary); }
.section-title.red { color: var(--danger); border-color: var(--danger); }

/* ========== GRID LAYOUTS ========== */
.form-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.form-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.form-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.form-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }

/* ========== EMPTY STATE ========== */
.empty-state {
    text-align: center;
    padding: 50px 20px;
    color: var(--gray-400);
}
.empty-state .empty-icon {
    width: 64px; height: 64px;
    margin: 0 auto 16px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
}
.empty-state .empty-icon .icon-css { width: 28px; height: 28px; }
.empty-state p { font-size: 14px; }

/* ========== PROFILE GRID ========== */
.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
.profile-info-table { width: 100%; border-collapse: collapse; }
.profile-info-table tr { border-bottom: 1px solid var(--gray-100); }
.profile-info-table tr:last-child { border-bottom: none; }
.profile-info-table td { padding: 11px 4px; font-size: 14px; vertical-align: middle; }
.profile-info-table .plabel {
    color: var(--gray-500);
    font-weight: 600;
    width: 120px;
    font-size: 13px;
    white-space: nowrap;
}
.profile-info-table .pvalue { color: var(--gray-800); }

/* ========== UTILITIES ========== */
.text-right { text-align: right; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.fw-700 { font-weight: 700; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }

/* ========== FOOTER ========== */
.app-footer {
    text-align: center;
    padding: 24px 20px;
    color: var(--gray-400);
    font-size: 12px;
}

/* ========== PRINT ========== */
@media print {
    .navbar, .no-print, .app-footer, .filter-form, .publish-bar, .pagination-wrapper, .announcement { display: none !important; }
    .container { max-width: 100%; padding: 0; }
    .card { box-shadow: none; border: none; }
    .card-header, .slip-header, .slip-takehome, .slip-totals > div, .stat-card, .thr-header, .thr-nominal {
        print-color-adjust: exact; -webkit-print-color-adjust: exact;
    }
    body { background: #fff; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .form-grid-5 { grid-template-columns: repeat(3, 1fr); }
    .form-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    /* NAVBAR MOBILE */
    .mobile-toggle { display: flex; align-items: center; justify-content: center; }
    .desktop-only { display: none !important; }
    .mobile-only { display: inline-flex !important; }
    .nav-top { height: 52px; padding: 0 12px; }
    .brand-logo { width: 32px; height: 32px; border-radius: 8px; }
    .brand-text { font-size: 13px; }
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 6px 8px 10px;
        background: rgba(0,0,0,0.15);
        overflow-x: visible;
    }
    .nav-links.show { display: flex; }
    .nav-links a {
        padding: 12px 16px;
        border-radius: var(--radius-xs);
        border-bottom: none;
        font-size: 14px;
    }
    .nav-links a.active {
        background: rgba(255,255,255,0.15);
        border-bottom: none;
    }
    .user-info { gap: 6px; }
    .user-info .user-name { display: none; }
    .user-info .badge { display: none; }
    .user-avatar { width: 30px; height: 30px; font-size: 12px; border-radius: 8px; }
    .btn-logout { padding: 6px 10px; font-size: 11px; }
    .btn-logout .icon-css { width: 12px; height: 12px; }

    /* CONTAINER & SPACING */
    .container { padding: 14px 10px; }
    .card { margin-bottom: 14px; border-radius: 10px; }
    .card-header { padding: 12px 14px; font-size: 13px; flex-wrap: wrap; gap: 8px; }
    .card-body { padding: 14px; }

    /* GRIDS */
    .form-grid-2, .form-grid-3, .form-grid-4, .form-grid-5 { grid-template-columns: 1fr; gap: 10px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .dashboard-grid { grid-template-columns: 1fr; gap: 12px; }
    .profile-grid { grid-template-columns: 1fr; gap: 14px; }

    /* SLIP GAJI - STACK COLUMNS */
    .slip-body { grid-template-columns: 1fr; }
    .slip-totals { grid-template-columns: 1fr; }
    .slip-info { grid-template-columns: 1fr; gap: 4px 10px; padding: 12px 14px; font-size: 12px; }
    .slip-info .lbl { min-width: 65px; }
    .slip-col { padding: 14px; }
    .slip-col.right { border-left: none; border-top: 2px solid var(--gray-200); }
    .slip-totals .total-potongan { border-left: none; border-top: 2px solid var(--gray-200); }
    .slip-takehome { font-size: 16px; padding: 14px 10px; }
    .slip-takehome .label { font-size: 10px; }

    /* FILTER & PUBLISH */
    .filter-form { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px; }
    .filter-form .form-group { width: 100%; }
    .publish-bar { flex-direction: column; text-align: center; padding: 10px 12px; gap: 10px; }

    /* TABLE */
    table.data-table { font-size: 12px; }
    table.data-table thead th { padding: 8px 6px; font-size: 10px; }
    table.data-table tbody td { padding: 8px 6px; }

    /* STAT CARDS */
    .stat-card { padding: 14px 10px; }
    .stat-value { font-size: 24px; }
    .stat-label { font-size: 10px; }

    /* THR SLIP */
    .thr-nominal .thr-nom-amount { font-size: 24px; }
    .thr-info-grid { grid-template-columns: 90px 1fr; font-size: 13px; padding: 14px 16px; gap: 8px 0; }
    .thr-body { padding: 16px 14px; }
    .thr-header { padding: 20px 14px 18px; }
    .thr-header h2 { font-size: 17px; }
    .thr-nominal { padding: 20px 14px; }

    /* ANNOUNCEMENT */
    .announcement { padding: 12px 14px; gap: 10px; }
    .announcement .ann-icon { width: 32px; height: 32px; }
    .announcement h4 { font-size: 13px; }
    .announcement p { font-size: 12px; }

    /* DASH CARDS */
    .dash-card { padding: 22px 16px; }
    .dash-card .dash-icon { width: 48px; height: 48px; border-radius: 12px; }
    .dash-card h3 { font-size: 14px; }
    .dash-card p { font-size: 12px; }

    /* BUTTONS */
    .btn { padding: 9px 16px; font-size: 12px; }
    .btn-sm { padding: 7px 12px; }
    .btn-xs { padding: 5px 10px; font-size: 11px; }
    .data-table .actions { gap: 4px; }

    /* PROFILE TABLE */
    .profile-info-table td { padding: 9px 2px; font-size: 13px; }
    .profile-info-table .plabel { width: 100px; font-size: 12px; }

    /* PAGINATION */
    .pagination-wrapper { flex-direction: column; gap: 8px; text-align: center; }
    .page-btn { min-width: 34px; height: 34px; font-size: 12px; }

    /* FORMS */
    .form-group { margin-bottom: 12px; }
    .form-group input, .form-group select, .form-group textarea { padding: 10px 12px; font-size: 14px; }
    .form-group label { font-size: 12px; }

    /* ALERT */
    .alert { padding: 10px 14px; font-size: 12px; }

    /* SECTION TITLE */
    .section-title { font-size: 13px; }

    /* EMPTY STATE */
    .empty-state { padding: 30px 16px; }
    .empty-state .empty-icon { width: 52px; height: 52px; }
}

@media (max-width: 480px) {
    /* NAVBAR EXTRA SMALL */
    .nav-top { height: 48px; padding: 0 8px; }
    .brand-logo { width: 28px; height: 28px; border-radius: 7px; }
    .brand-logo .icon-css { width: 14px; height: 14px; }
    .brand-text { font-size: 11.5px; letter-spacing: 0; }
    .mobile-toggle { padding: 6px 8px; }
    .user-avatar { width: 28px; height: 28px; font-size: 11px; }
    .btn-logout { padding: 5px 8px; font-size: 10px; gap: 4px; }

    /* CONTAINER */
    .container { padding: 10px 8px; }

    /* STATS */
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .stat-card { padding: 12px 8px; }
    .stat-value { font-size: 20px; }

    /* CARD */
    .card { border-radius: 8px; margin-bottom: 10px; }
    .card-header { padding: 10px 12px; font-size: 12px; }
    .card-body { padding: 12px 10px; }

    /* TABLE */
    table.data-table { font-size: 11px; }
    table.data-table thead th { padding: 6px 4px; font-size: 9px; letter-spacing: 0.2px; }
    table.data-table tbody td { padding: 7px 4px; }
    .data-table .actions { gap: 3px; flex-wrap: nowrap; }
    .btn-xs { padding: 4px 7px; font-size: 10px; border-radius: 4px; }

    /* SLIP GAJI */
    .slip-container { border-radius: 8px; border-width: 1px; }
    .slip-header { padding: 12px 10px; }
    .slip-header h3 { font-size: 14px; }
    .slip-header p { font-size: 10px; }
    .slip-info { font-size: 11px; padding: 10px; gap: 3px 6px; }
    .slip-info .lbl { min-width: 55px; font-size: 11px; }
    .slip-col { padding: 10px; }
    .slip-table { font-size: 10.5px; }
    .slip-table td { padding: 2.5px 0; }
    .slip-table .lem-formula { font-size: 9.5px; }
    .slip-takehome { font-size: 15px; padding: 12px 8px; }

    /* THR */
    .thr-slip { border-radius: 10px; border-width: 1px; }
    .thr-header { padding: 16px 10px 14px; }
    .thr-header h2 { font-size: 15px; }
    .thr-header p { font-size: 11px; }
    .thr-header .thr-logo { width: 40px; height: 40px; border-radius: 10px; }
    .thr-info-grid { grid-template-columns: 80px 1fr; font-size: 12px; padding: 12px; gap: 6px 0; }
    .thr-nominal { padding: 16px 10px; margin-bottom: 14px; }
    .thr-nominal .thr-nom-amount { font-size: 20px; }
    .thr-nominal .thr-nom-label { font-size: 10px; letter-spacing: 1px; }
    .thr-body { padding: 14px 10px; }
    .thr-footer { padding: 10px; font-size: 10px; }

    /* LOGIN */
    .login-box { padding: 28px 18px; border-radius: 16px; }
    .login-box h2 { font-size: 18px; }
    .login-box .subtitle { font-size: 12px; margin-bottom: 22px; }
    .login-box .company-logo { width: 52px; height: 52px; border-radius: 12px; }

    /* PROFILE TABLE */
    .profile-info-table td { padding: 8px 2px; font-size: 12px; }
    .profile-info-table .plabel { width: 85px; font-size: 11px; }

    /* PAGINATION */
    .page-btn { min-width: 30px; height: 30px; font-size: 11px; padding: 0 6px; }
    .pagination-info { font-size: 11px; }

    /* FILTERS */
    .filter-form { padding: 10px; gap: 8px; }

    /* PUBLISH BAR */
    .publish-bar { padding: 8px 10px; }
    .publish-bar .pub-info { font-size: 12px; }

    /* ANNOUNCEMENT */
    .announcement { flex-direction: column; text-align: center; padding: 14px; gap: 8px; }

    /* FORMS */
    .form-group input, .form-group select, .form-group textarea { padding: 9px 10px; font-size: 13px; border-width: 1.5px; }

    /* BUTTONS */
    .btn { padding: 8px 14px; font-size: 12px; gap: 5px; }
    .btn-block { padding: 11px 14px; }
}

@media (max-width: 360px) {
    .brand-text { font-size: 10px; }
    .container { padding: 8px 6px; }
    .stat-value { font-size: 18px; }
    .stats-grid { gap: 6px; }
    .card-body { padding: 10px 8px; }
    .thr-nominal .thr-nom-amount { font-size: 18px; }
    .slip-takehome { font-size: 14px; }
    .profile-info-table .plabel { width: 75px; font-size: 10px; }
    .profile-info-table .pvalue { font-size: 11px; }
}
