/* NECSEN Employee Portal - Enterprise Corporate Design V3 */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ========== 1. VARIABLES & CUSTOM PROPERTIES ========== */
:root {
    /* Sidebar / Primary Surface */
    --sidebar-bg: #0f1419;
    --sidebar-bg-subtle: #161b22;
    --sidebar-border: rgba(255,255,255,0.06);

    /* Primary Brand */
    --primary: #0f1419;
    --primary-light: #1c2128;
    --primary-dark: #090d11;

    /* Accent */
    --accent: #2563eb;
    --accent-light: #3b82f6;
    --accent-dark: #1d4ed8;
    --accent-muted: rgba(37, 99, 235, 0.10);
    --accent-glow: rgba(37, 99, 235, 0.12);

    /* Semantic Colors */
    --success: #16a34a;
    --success-light: #f0fdf4;
    --success-dark: #15803d;
    --warning: #ea580c;
    --warning-light: #fff7ed;
    --warning-dark: #c2410c;
    --danger: #dc2626;
    --danger-light: #fef2f2;
    --danger-dark: #b91c1c;
    --info: #0891b2;
    --info-light: #ecfeff;

    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);

    /* Border Radius */
    --radius-sm: 6px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition: 200ms ease;
    --transition-slow: 300ms ease;

    /* Sidebar */
    --sidebar-width: 260px;
}

/* ========== 2. RESET & BASE TYPOGRAPHY ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--gray-100);
    color: var(--gray-700);
    line-height: 1.6;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--gray-800);
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

/* Color overrides for elements inside dark backgrounds */
.profile-header h1, .profile-header h2, .profile-header h3, .profile-header h4,
.welcome-banner h1, .welcome-banner h2, .welcome-banner h3, .welcome-banner h4,
.welcome-info h1, .welcome-info h2, .welcome-info h3, .welcome-info h4,
.profile-info h1, .profile-info h2, .profile-info h3, .profile-info h4,
.slip-header h1, .slip-header h2, .slip-header h3, .slip-header h4,
.year-summary h1, .year-summary h2, .year-summary h3, .year-summary h4,
.salary-preview h1, .salary-preview h2, .salary-preview h3, .salary-preview h4,
.settings-header h2, .date-display h3, .date-display h4 {
    color: #fff !important;
}

.profile-header p, .profile-info p,
.welcome-banner p, .welcome-info p,
.slip-header p, .year-summary p, .salary-preview p,
.settings-header p, .date-display p {
    color: rgba(255,255,255,0.9);
}

/* ========== 3. UTILITY CLASSES ========== */
.text-muted { color: var(--gray-500); }
.text-sm { font-size: 13px; }
.text-xs { font-size: 12px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-accent { color: var(--accent); }
.font-semibold { font-weight: 600; }
.font-mono { font-family: 'SF Mono', 'Fira Code', monospace; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-5 { margin-bottom: 20px; }
.mb-6 { margin-bottom: 24px; }
.mr-2 { margin-right: 8px; }
.mr-3 { margin-right: 12px; }
.p-4 { padding: 16px; }
.p-5 { padding: 20px; }
.p-6 { padding: 24px; }
.gap-4 { gap: 16px; }
.d-flex { display: flex; }
.d-grid { display: grid; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.overflow-x-auto { overflow-x: auto; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }
.w-full { width: 100%; }

.form-group-narrow { max-width: 300px; }
.form-input-disabled { background: var(--gray-100) !important; cursor: not-allowed; color: var(--gray-500) !important; }

.card-header-icon { margin-right: 10px; color: var(--gray-400); }

.stat-card-icon {
    font-size: 20px;
    color: var(--gray-400);
    margin-bottom: 8px;
    opacity: 0.7;
}

.help-text {
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 5px;
}

.section-divider {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

/* ========== 4. LOGIN PAGE ========== */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 24px;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, var(--accent-glow), transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

.login-container::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -30%;
    width: 70%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(8, 145, 178, 0.08), transparent 70%);
    animation: pulse 10s ease-in-out infinite reverse;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.login-box {
    background: var(--white);
    padding: 40px 36px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
}

.login-box h1 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.login-box .subtitle {
    text-align: center;
    color: var(--gray-500);
    margin-bottom: 32px;
    font-size: 14px;
    font-weight: 500;
}

.login-type {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
    gap: 0;
    background: var(--gray-100);
    padding: 4px;
    border-radius: var(--radius);
}

.login-type a {
    padding: 10px 28px;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-weight: 600;
    font-size: 13px;
    flex: 1;
    text-align: center;
}

.login-type a.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.login-type a:not(.active) {
    background: transparent;
    color: var(--gray-500);
}

.login-type a:hover:not(.active) {
    color: var(--gray-700);
}

/* ========== 5. FORM ELEMENTS ========== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: var(--gray-600);
    font-weight: 500;
    font-size: 13px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
    color: var(--gray-800);
    font-weight: 400;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--gray-400);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-muted);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
    font-weight: 400;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

.form-group small {
    display: block;
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 4px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

/* ========== 6. BUTTONS ========== */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1;
}

.btn i {
    font-size: 14px;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-dark);
    color: var(--white);
}

.btn-success {
    background: var(--success);
    color: var(--white);
}

.btn-success:hover {
    background: var(--success-dark);
    color: var(--white);
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
}

.btn-danger:hover {
    background: var(--danger-dark);
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn-secondary:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
}

.btn-info {
    background: var(--info);
    color: var(--white);
}

.btn-info:hover {
    background: #0e7490;
    color: var(--white);
}

.btn-warning {
    background: var(--warning);
    color: var(--white);
}

.btn-sm {
    padding: 7px 14px;
    font-size: 12px;
    border-radius: var(--radius-sm);
}

.btn-sm i {
    font-size: 12px;
}

/* ========== 7. DASHBOARD LAYOUT ========== */
.dashboard {
    display: flex;
    min-height: 100vh;
}

/* ========== 8. SIDEBAR ========== */
.sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    color: var(--white);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 100;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--sidebar-border);
}

.sidebar::-webkit-scrollbar {
    width: 4px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}

.sidebar-header {
    padding: 20px 20px 16px;
    border-bottom: 1px solid var(--sidebar-border);
}

.sidebar-header h2 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-bottom: 2px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-header h2::before {
    content: '';
    width: 6px;
    height: 22px;
    background: var(--accent);
    border-radius: 3px;
}

.sidebar-header p {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 500;
    margin-left: 16px;
}

.sidebar-menu {
    padding: 12px 0;
    flex: 1;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    color: var(--gray-400);
    text-decoration: none;
    transition: all var(--transition-fast);
    font-size: 13px;
    font-weight: 500;
    margin: 1px 8px;
    border-radius: var(--radius-sm);
    gap: 12px;
}

.sidebar-menu a i {
    font-size: 15px;
    width: 20px;
    text-align: center;
    opacity: 0.6;
    transition: var(--transition-fast);
}

.sidebar-menu a:hover {
    background: var(--sidebar-bg-subtle);
    color: var(--gray-200);
}

.sidebar-menu a:hover i {
    opacity: 0.9;
}

.sidebar-menu a.active {
    background: var(--accent-muted);
    color: var(--accent-light);
    font-weight: 600;
}

.sidebar-menu a.active i {
    opacity: 1;
    color: var(--accent-light);
}

/* ========== 9. MAIN CONTENT ========== */
.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    background: var(--gray-100);
    min-height: 100vh;
}

/* ========== 10. TOP BAR ========== */
.top-bar {
    background: var(--white);
    padding: 16px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--gray-200);
}

.top-bar h1 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    letter-spacing: -0.3px;
}

.top-bar h1::before {
    display: none;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-info span {
    color: var(--gray-500);
    font-size: 13px;
    font-weight: 500;
}

.content {
    padding: 28px;
    max-width: 1400px;
}

/* ========== 11. STATS CARDS ========== */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.stat-card {
    background: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    transition: border-color var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
}

.stat-card::before {
    display: none;
}

.stat-card:hover {
    border-color: var(--gray-300);
}

.stat-card h3 {
    color: var(--gray-500);
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card .value {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1;
}

/* Stat card color variants - left accent border */
.stat-card.green { border-left: 3px solid var(--success); }
.stat-card.orange { border-left: 3px solid var(--warning); }
.stat-card.red { border-left: 3px solid var(--danger); }
.stat-card.purple { border-left: 3px solid #7c3aed; }
.stat-card.blue { border-left: 3px solid var(--accent); }

/* ========== 12. CARDS ========== */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.card-header {
    padding: 16px 24px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
}

.card-header h2 {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
}

.card-header h2 i {
    margin-right: 10px;
    color: var(--gray-400);
}

.card-body {
    padding: 24px;
}

/* ========== 13. TABLES ========== */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

table th,
table td {
    padding: 12px 16px;
    text-align: left;
}

table th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-500);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--gray-200);
}

table td {
    color: var(--gray-700);
    font-size: 13px;
    border-bottom: 1px solid var(--gray-100);
    font-weight: 400;
}

table tbody tr {
    transition: background var(--transition-fast);
}

table tbody tr:hover {
    background: var(--gray-50);
}

table tbody tr:last-child td {
    border-bottom: none;
}

/* ========== 14. ALERTS ========== */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid;
}

.alert-success {
    background: var(--success-light);
    color: var(--success-dark);
    border-color: #bbf7d0;
}

.alert-danger {
    background: var(--danger-light);
    color: var(--danger-dark);
    border-color: #fecaca;
}

.alert-info {
    background: var(--info-light);
    color: #0e7490;
    border-color: #a5f3fc;
}

.alert-warning {
    background: var(--warning-light);
    color: var(--warning-dark);
    border-color: #fed7aa;
}

/* ========== 15. BADGES ========== */
.badge {
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-success {
    background: var(--success-light);
    color: var(--success-dark);
}

.badge-danger {
    background: var(--danger-light);
    color: var(--danger-dark);
}

.badge-warning {
    background: var(--warning-light);
    color: var(--warning-dark);
}

.badge-info {
    background: var(--info-light);
    color: #0e7490;
}

/* ========== 16. STATUS BADGES ========== */
.status-pending {
    background: var(--warning-light);
    color: var(--warning-dark);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
}

.status-approved,
.status-completed,
.status-sent {
    background: var(--success-light);
    color: var(--success-dark);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
}

.status-rejected {
    background: var(--danger-light);
    color: var(--danger-dark);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
}

/* ========== 17. RATING BADGES ========== */
.rating-badge { padding: 4px 12px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 600; display: inline-block; }
.rating-excellent { background: #dcfce7; color: #166534; }
.rating-good { background: #e0f2fe; color: #075985; }
.rating-average { background: #fef9c3; color: #854d0e; }
.rating-bad { background: #fee2e2; color: #991b1b; }

/* ========== 18. INFO GRID ========== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.info-item {
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
}

.info-item label {
    display: block;
    font-size: 11px;
    color: var(--gray-500);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.info-item label i {
    margin-right: 4px;
}

.info-item span {
    font-size: 14px;
    color: var(--gray-800);
    font-weight: 500;
}

.info-item span.not-set {
    color: var(--gray-400);
    font-style: italic;
    font-weight: 400;
}

/* ========== 19. SALARY BREAKDOWN ========== */
.salary-breakdown {
    background: var(--gray-50);
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.salary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
}

.salary-item:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 18px;
    color: var(--accent);
    padding-top: 20px;
    margin-top: 8px;
    border-top: 2px dashed var(--gray-300);
}

.salary-item.deduction {
    color: var(--danger);
}

/* Salary Lines (release-salary page) */
.salary-line {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-200);
    font-size: 14px;
}

.salary-line.total {
    border-top: 2px solid var(--accent);
    border-bottom: none;
    font-weight: 700;
    font-size: 18px;
    color: var(--accent);
    margin-top: 10px;
    padding-top: 15px;
}

.salary-line.deduction span:last-child {
    color: var(--danger);
}

/* ========== 20. FILTER TABS ========== */
.filter-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.filter-tabs a {
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    font-size: 13px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.filter-tabs a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.filter-tabs a.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.filter-tabs a .count {
    background: rgba(0, 0, 0, 0.08);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 11px;
}

.filter-tabs a.active .count {
    background: rgba(255, 255, 255, 0.25);
}

/* ========== 21. FILTER BAR ========== */
.filter-bar {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    align-items: center;
}

.employee-select, .filter-bar select {
    padding: 10px 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    min-width: 200px;
    font-size: 14px;
    font-weight: 400;
    background: var(--white);
    cursor: pointer;
}

/* ========== 22. POLICY BOX ========== */
.policy-box {
    background: var(--warning-light);
    border: 1px solid #fed7aa;
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 28px;
}

.policy-box h3 {
    color: var(--warning-dark);
    margin-bottom: 14px;
    font-size: 15px;
    font-weight: 600;
}

.policy-box ul {
    margin: 0;
    padding-left: 20px;
    color: #9a3412;
}

.policy-box ul li {
    margin-bottom: 10px;
    line-height: 1.6;
    font-weight: 400;
}

/* ========== 23. URL BOX ========== */
.url-box {
    background: var(--success-light);
    border: 1px solid #86efac;
    border-radius: var(--radius-lg);
    padding: 24px;
    margin: 24px 0;
}

.url-box label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--success-dark);
}

.url-box .url-input {
    display: flex;
    gap: 12px;
}

.url-box input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #86efac;
    border-radius: var(--radius);
    font-size: 14px;
    background: var(--white);
}

.copy-btn {
    padding: 10px 20px;
    background: var(--success);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition);
}

.copy-btn:hover {
    background: var(--success-dark);
}

/* ========== 24. INFO NOTE / INFO BOX ========== */
.info-note {
    background: var(--info-light);
    border: 1px solid #a5f3fc;
    border-radius: var(--radius);
    padding: 14px 18px;
    margin-bottom: 24px;
    color: #0e7490;
    font-size: 13px;
    font-weight: 500;
}

.info-box {
    background: var(--info-light);
    border: 1px solid #a5f3fc;
    border-radius: var(--radius);
    padding: 14px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box i {
    color: var(--info);
}

.info-box p {
    margin: 0;
    color: #0e7490;
    font-size: 13px;
}

.info-box.warning {
    background: var(--warning-light);
    border-color: #fed7aa;
}

.info-box.warning i {
    color: var(--warning-dark);
}

.info-box.warning p {
    color: var(--warning-dark);
}

/* ========== 25. ACTION FORM ========== */
.action-form {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.action-form textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    margin-bottom: 10px;
    font-size: 13px;
    resize: vertical;
    font-family: inherit;
}

.reason-text {
    max-width: 200px;
    word-wrap: break-word;
}

/* ========== 26. FEEDBACK DETAIL ========== */
.feedback-detail {
    background: var(--gray-50);
    padding: 24px;
    border-radius: var(--radius-lg);
    margin-top: 20px;
    border: 1px solid var(--gray-200);
}

.ratings-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 20px;
}

.rating-item {
    min-width: 140px;
}

.rating-item .label {
    font-size: 11px;
    color: var(--gray-500);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.rating-item .stars {
    font-size: 18px;
    color: #f59e0b;
}

.comment-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.comment-section h4 {
    color: var(--accent);
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.comment-section p {
    color: var(--gray-600);
    line-height: 1.7;
    background: var(--white);
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 12px;
    border: 1px solid var(--gray-200);
}

.avg-rating {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
}

/* ========== 27. WELCOME BANNER (Employee Dashboard) ========== */
.welcome-banner {
    background: var(--primary);
    border-radius: var(--radius-lg);
    padding: 28px;
    color: white;
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.welcome-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    border: 2px solid rgba(255,255,255,0.2);
    flex-shrink: 0;
    color: white;
}

.welcome-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.welcome-info h1 {
    margin: 0 0 4px 0;
    font-size: 22px;
}

.welcome-info h1 i {
    color: #fbbf24;
    margin-right: 10px;
}

.welcome-info p {
    margin: 0;
    opacity: 0.85;
    font-size: 13px;
}

.welcome-info .meta {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.welcome-info .meta span {
    background: rgba(255,255,255,0.12);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: rgba(255,255,255,0.9);
}

.welcome-actions {
    margin-left: auto;
}

.welcome-actions .btn {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    color: white;
}

.welcome-actions .btn:hover {
    background: rgba(255,255,255,0.25);
    color: white;
}

/* ========== 28. QUICK STATS (Employee Dashboard) ========== */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.quick-stat-link {
    text-decoration: none;
    display: block;
}

.quick-stat {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--gray-200);
    transition: border-color var(--transition);
}

.quick-stat-link:hover .quick-stat {
    border-color: var(--accent);
}

.quick-stat .icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.quick-stat .icon.blue { background: #dbeafe; color: #2563eb; }
.quick-stat .icon.green { background: #dcfce7; color: #16a34a; }
.quick-stat .icon.orange { background: var(--warning-light); color: var(--warning); }
.quick-stat .icon.purple { background: #f3e8ff; color: #7c3aed; }
.quick-stat .icon.teal { background: var(--info-light); color: var(--info); }
.quick-stat .icon.gold { background: #fef3c7; color: #d97706; }

.quick-stat .info h3 {
    margin: 0;
    font-size: 20px;
    color: var(--gray-900);
    font-weight: 700;
}

.quick-stat .info p {
    margin: 2px 0 0 0;
    color: var(--gray-500);
    font-size: 12px;
}

/* ========== 29. DASHBOARD GRID ========== */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 1200px) {
    .dashboard-grid { grid-template-columns: 1fr; }
}

/* ========== 30. ACTIVITY ITEMS ========== */
.activity-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-100);
}

.activity-item:last-child { border-bottom: none; }

.activity-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.activity-icon.salary { background: #dcfce7; color: #16a34a; }
.activity-icon.equipment { background: #dbeafe; color: #2563eb; }
.activity-icon.feedback { background: var(--warning-light); color: var(--warning); }

.activity-info { flex: 1; }
.activity-info h4 { margin: 0; font-size: 13px; color: var(--gray-800); font-weight: 500; }
.activity-info p { margin: 2px 0 0 0; font-size: 12px; color: var(--gray-400); }

.activity-status { font-size: 11px; padding: 4px 10px; border-radius: var(--radius-sm); }

/* ========== 31. QUICK LINKS ========== */
.quick-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--gray-700);
    transition: all var(--transition);
    border: 1px solid transparent;
}

.quick-link:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.quick-link i {
    font-size: 16px;
    width: 36px;
    height: 36px;
    background: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.quick-link:hover i { color: var(--accent); }
.quick-link strong { font-weight: 600; font-size: 13px; }
.quick-link .link-desc { margin: 0; font-size: 11px; opacity: 0.7; }

/* ========== 32. SALARY PREVIEW (Employee Dashboard) ========== */
.salary-preview {
    background: var(--success);
    border-radius: var(--radius-lg);
    padding: 24px;
    color: white;
    text-align: center;
}

.salary-preview h3 { margin: 0 0 4px 0; opacity: 0.85; font-size: 13px; }
.salary-preview .amount { font-size: 28px; font-weight: 700; margin: 8px 0; color: #fff; }
.salary-preview p { margin: 0; opacity: 0.75; font-size: 12px; }

/* ========== 33. RELEASE FORM ========== */
.release-form {
    display: grid;
    gap: 20px;
}

.release-salary-preview {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 20px;
    margin-top: 12px;
    border: 1px solid var(--gray-200);
}

.release-salary-preview h4 {
    margin-bottom: 14px;
    color: var(--accent);
    font-size: 14px;
}

.email-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    background: var(--info-light);
    border-radius: var(--radius);
    margin-top: 14px;
    border: 1px solid #a5f3fc;
}

.email-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

/* ========== 34. PROFILE PAGE ========== */
.profile-header {
    background: var(--primary);
    color: white;
    padding: 28px;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.profile-avatar {
    width: 90px;
    height: 90px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    border: 3px solid rgba(255,255,255,0.2);
    flex-shrink: 0;
    position: relative;
    color: white;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.profile-avatar .avatar-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
}

.avatar-edit {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    color: var(--accent);
    font-size: 12px;
}

.avatar-edit:hover { background: var(--gray-50); }
.avatar-edit input { display: none; }

.profile-info { flex: 1; }
.profile-info h2 { margin: 0 0 4px 0; font-size: 22px; }
.profile-info p { margin: 3px 0; opacity: 0.85; font-size: 13px; }

.profile-badges { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.profile-badge {
    background: rgba(255,255,255,0.15);
    padding: 4px 14px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: rgba(255,255,255,0.9);
}
.profile-badge.active { background: rgba(22, 163, 74, 0.4); }
.profile-badge.inactive { background: rgba(220, 38, 38, 0.4); }

.profile-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.profile-actions .btn {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    color: white;
}
.profile-actions .btn:hover { background: rgba(255,255,255,0.25); color: white; }

/* Read-only info section */
.read-only-info {
    background: var(--gray-50);
    padding: 16px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.read-only-info .info-row {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-200);
}

.read-only-info .info-row:last-child { border-bottom: none; }
.read-only-info .info-label { width: 150px; font-weight: 500; color: var(--gray-500); font-size: 13px; }
.read-only-info .info-value { flex: 1; color: var(--gray-800); font-size: 13px; }

/* Section title */
.section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    margin: 24px 0 14px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-200);
}

.section-title i {
    margin-right: 8px;
}

/* ========== 35. SETTINGS PAGE ========== */
.settings-header {
    background: var(--primary);
    color: white;
    padding: 28px;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.settings-header .icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.settings-header h2 { margin: 0 0 4px 0; }

.settings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 992px) {
    .settings-grid { grid-template-columns: 1fr; }
}

.notification-setting {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px;
    background: var(--gray-50);
    border-radius: var(--radius);
    margin-bottom: 8px;
    border: 1px solid var(--gray-200);
}

.notification-setting .info h4 { margin: 0 0 2px 0; font-size: 13px; color: var(--gray-800); }
.notification-setting .info p { margin: 0; font-size: 12px; color: var(--gray-500); }

.notification-setting .status {
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
}

.notification-setting .status.enabled { background: #dcfce7; color: #166534; }
.notification-setting .status.disabled { background: #fee2e2; color: #991b1b; }

/* ========== 36. SALARY SLIP ========== */
.salary-slip {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.slip-header {
    background: var(--primary);
    color: white;
    padding: 28px;
    text-align: center;
}

.slip-header h1 { margin: 0 0 4px 0; font-size: 28px; letter-spacing: 1px; }
.slip-header h3 { margin: 0; font-size: 16px; }
.slip-header p { margin: 0; opacity: 0.85; font-size: 14px; }

.slip-body { padding: 28px; }

.employee-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 28px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--radius);
}

.info-row { display: flex; }
.info-row label { font-weight: 600; width: 120px; color: var(--gray-500); font-size: 13px; }
.info-row span { color: var(--gray-800); font-size: 13px; }

.salary-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.salary-table th, .salary-table td { padding: 12px 16px; border: 1px solid var(--gray-200); }
.salary-table th { background: var(--primary); color: white; text-align: left; font-size: 13px; font-weight: 600; }
.salary-table td:last-child { text-align: right; font-family: 'SF Mono', monospace; font-size: 14px; font-weight: 500; }
.salary-table tr:nth-child(even) { background: var(--gray-50); }
.salary-table .total-row { background: var(--success-light) !important; font-weight: 700; font-size: 15px; }
.salary-table .total-row td { border-top: 2px solid var(--accent); }
.salary-table .deduction { color: var(--danger); }

.slip-footer {
    text-align: center;
    padding: 20px;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

.slip-footer p { margin: 4px 0; color: var(--gray-500); font-size: 12px; }
.slip-footer small { color: var(--gray-500); }

.action-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

/* Slip card (employee salary slips list) */
.slip-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    overflow: hidden;
    transition: border-color var(--transition);
}

.slip-card:hover { border-color: var(--accent); }

.slip-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
    padding: 20px;
}

.detail-item {
    text-align: center;
    padding: 10px;
    background: var(--gray-50);
    border-radius: var(--radius);
}

.detail-item label { display: block; font-size: 11px; color: var(--gray-500); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.3px; }
.detail-item span { font-weight: 600; color: var(--gray-800); font-size: 14px; }
.detail-item.net-salary { background: var(--success-light); }
.detail-item.net-salary span { color: var(--success-dark); font-size: 16px; }
.detail-item.deduction-item { background: var(--danger-light); }
.detail-item.deduction-item span { color: var(--danger-dark); }

.slip-card .slip-footer {
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

.year-summary {
    background: var(--primary);
    color: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.year-summary h4 { margin: 0 0 8px 0; opacity: 0.85; font-size: 13px; }
.year-summary .amount { font-size: 24px; font-weight: 700; color: #fff; }

/* Company stamp for printed slips */
.company-stamp { margin-top: 28px; padding-top: 20px; border-top: 1px dashed var(--gray-300); display: flex; justify-content: space-between; align-items: flex-end; }
.signature-box { text-align: center; width: 200px; }
.signature-box .line { border-top: 1px solid var(--gray-800); margin-bottom: 4px; }
.signature-box p { margin: 0; font-size: 12px; color: var(--gray-500); }

/* ========== 37. PERFORMANCE PAGE ========== */
.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.summary-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 18px;
    text-align: center;
    border: 1px solid var(--gray-200);
    border-top: 3px solid var(--gray-300);
}

.summary-card.excellent { border-top-color: var(--success); }
.summary-card.good { border-top-color: var(--info); }
.summary-card.average { border-top-color: #f59e0b; }
.summary-card.bad { border-top-color: var(--danger); }

.summary-card .count { font-size: 28px; font-weight: 700; color: var(--gray-900); }
.summary-card .label { font-size: 12px; color: var(--gray-500); margin-top: 4px; }

.performance-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 14px;
    transition: border-color var(--transition);
}

.performance-item:hover { border-color: var(--accent); }

.performance-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; flex-wrap: wrap; gap: 10px; }
.performance-project { font-size: 16px; font-weight: 600; color: var(--gray-800); margin: 0; }
.performance-employee { font-size: 13px; color: var(--gray-500); margin: 4px 0 0 0; }

.performance-comments {
    background: var(--gray-50);
    padding: 14px;
    border-radius: var(--radius);
    color: var(--gray-600);
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.6;
}

.performance-meta { display: flex; justify-content: space-between; margin-top: 14px; font-size: 12px; color: var(--gray-400); flex-wrap: wrap; gap: 8px; }

.timeline-indicator { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--gray-200); }
.timeline-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.timeline-date { font-size: 13px; color: var(--gray-600); font-weight: 500; }

/* ========== 38. ATTENDANCE PAGE ========== */
.calendar-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid var(--gray-200);
}

.calendar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.calendar-header h3 { margin: 0; color: var(--gray-800); font-size: 15px; }

.calendar-nav { display: flex; gap: 8px; }
.calendar-nav button {
    padding: 6px 14px;
    border: 1px solid var(--gray-300);
    background: var(--white);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 13px;
    transition: var(--transition);
}
.calendar-nav button:hover { background: var(--gray-50); border-color: var(--gray-400); }

.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.calendar-day-header { text-align: center; font-weight: 600; color: var(--gray-500); padding: 8px; font-size: 11px; text-transform: uppercase; }

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    cursor: pointer;
    position: relative;
    border: 1px solid transparent;
    transition: all var(--transition-fast);
    min-height: 44px;
}

.calendar-day:hover { background: var(--accent-muted); }
.calendar-day.today { border-color: var(--accent); }
.calendar-day.selected { background: var(--accent); color: white; }
.calendar-day.other-month { color: var(--gray-300); }
.calendar-day .day-number { font-weight: 600; font-size: 13px; }
.calendar-day .day-indicators { display: flex; gap: 2px; margin-top: 2px; }
.calendar-day .indicator { width: 5px; height: 5px; border-radius: 50%; }
.calendar-day .indicator.late { background: #f59e0b; }
.calendar-day .indicator.absent { background: var(--danger); }

.status-badge { padding: 4px 12px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 600; }
.status-late { background: #fef3c7; color: #92400e; }
.status-absent { background: var(--danger-light); color: var(--danger-dark); }

.stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.stat-cards .stat-card .count { font-size: 28px; font-weight: 700; }
.stat-cards .stat-card .label { font-size: 12px; color: var(--gray-500); margin-top: 4px; }
.stat-cards .stat-card.late .count { color: #d97706; }
.stat-cards .stat-card.absent .count { color: var(--danger); }

.two-column-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 24px;
}

@media (max-width: 992px) { .two-column-layout { grid-template-columns: 1fr; } }

.date-display {
    background: var(--primary);
    color: white;
    padding: 14px 18px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.date-display .day-name { font-size: 13px; opacity: 0.85; }
.date-display .date { font-size: 20px; font-weight: 700; }

/* Status select for attendance form */
.status-select { display: flex; gap: 14px; }
.status-option { flex: 1; }
.status-option input { display: none; }
.status-option label {
    display: block;
    padding: 14px;
    text-align: center;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}
.status-option label:hover { border-color: var(--accent); }
.status-option input:checked + label { border-color: var(--accent); background: var(--accent-muted); }
.status-option label i { display: block; font-size: 22px; margin-bottom: 6px; }
.status-option.late label i { color: #d97706; }
.status-option.absent label i { color: var(--danger); }

/* ========== 39. EXPERIENCE LETTER ========== */
.letter-preview {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-top: 20px;
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.8;
}

.letter-header { text-align: center; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 2px solid var(--accent); }
.letter-header h2 { color: var(--accent); margin: 0; font-size: 24px; letter-spacing: 1px; }
.letter-header p { color: var(--gray-500); margin: 4px 0 0 0; }

.letter-body { white-space: pre-wrap; color: var(--gray-700); font-size: 15px; }
.letter-footer { margin-top: 40px; }
.letter-signature { margin-top: 28px; }
.letter-signature p { margin: 3px 0; }

.letter-textarea {
    width: 100%;
    min-height: 300px;
    padding: 20px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 15px;
    line-height: 1.8;
    resize: vertical;
}

.letter-textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-muted); }

.employee-info-box {
    background: #dbeafe;
    border: 1px solid #93c5fd;
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
}

.employee-info-box h4 { margin: 0 0 14px 0; color: #1e40af; font-size: 14px; }
.employee-info-box .info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.employee-info-box .info-item { padding: 0; border: none; background: transparent; }
.employee-info-box .info-item label { font-size: 11px; color: #1e40af; }
.employee-info-box .info-item span { font-size: 13px; color: var(--gray-800); }

.pdf-badge { background: var(--danger); color: white; padding: 2px 8px; border-radius: 4px; font-size: 10px; margin-left: 4px; }

/* ========== 40. MODALS ========== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active { display: flex; }

.modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.modal-header {
    background: var(--accent);
    color: white;
    padding: 20px 24px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.modal-header h3 { margin: 0; font-size: 18px; }
.modal-header p { margin: 4px 0 0 0; opacity: 0.85; font-size: 13px; }

.modal-body { padding: 24px; }

.modal-footer {
    padding: 14px 24px;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

/* Rating select (performance checks form) */
.rating-select { display: flex; gap: 10px; flex-wrap: wrap; }
.rating-option { flex: 1; min-width: 100px; }
.rating-option input { display: none; }
.rating-option label {
    display: block;
    padding: 14px;
    text-align: center;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}
.rating-option label:hover { border-color: var(--accent); }
.rating-option input:checked + label { border-color: var(--accent); background: var(--accent-muted); }
.rating-option label i { display: block; font-size: 22px; margin-bottom: 6px; }
.rating-option.excellent label i { color: var(--success); }
.rating-option.good label i { color: var(--info); }
.rating-option.average label i { color: #f59e0b; }
.rating-option.bad label i { color: var(--danger); }

/* Employee card (performance checks, generate feedback) */
.employee-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 14px;
    margin-bottom: 14px;
    display: none;
}
.employee-card.show { display: block; }
.employee-card h4 { margin: 0 0 4px 0; color: var(--gray-800); font-size: 14px; }
.employee-card p { margin: 0; color: var(--gray-500); font-size: 12px; }

/* Recent feedback items */
.recent-item { border-bottom: 1px solid var(--gray-200); padding: 14px 0; }
.recent-item:last-child { border-bottom: none; }

/* Currency tabs (view-employee) */
.currency-tabs { display: flex; gap: 10px; margin-bottom: 20px; }
.currency-tab {
    flex: 1; padding: 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
}
.currency-tab:hover { border-color: var(--accent); }
.currency-tab.active { border-color: var(--accent); background: var(--accent-muted); }
.currency-tab i { font-size: 22px; margin-bottom: 4px; display: block; }
.currency-tab span { font-weight: 600; font-size: 13px; }

.usd-fields, .pkr-fields { display: none; }
.usd-fields.active, .pkr-fields.active { display: block; }

.calculated-amount {
    background: var(--success-light);
    border: 1px solid #86efac;
    border-radius: var(--radius);
    padding: 14px;
    margin-top: 14px;
    text-align: center;
}

.calculated-amount .label { font-size: 12px; color: var(--gray-500); }
.calculated-amount .value { font-size: 22px; font-weight: 700; color: var(--success-dark); }

/* View employee stats row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.mini-stat {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 18px;
    text-align: center;
    border: 1px solid var(--gray-200);
}

.mini-stat .icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-size: 18px;
}

.mini-stat .icon.green { background: #dcfce7; color: #16a34a; }
.mini-stat .icon.blue { background: #dbeafe; color: #2563eb; }
.mini-stat .icon.orange { background: var(--warning-light); color: var(--warning); }
.mini-stat .icon.purple { background: #f3e8ff; color: #7c3aed; }
.mini-stat .icon.teal { background: var(--info-light); color: var(--info); }
.mini-stat .icon.gold { background: #fef3c7; color: #d97706; }

.mini-stat h3 { margin: 0; font-size: 22px; color: var(--gray-900); font-weight: 700; }
.mini-stat p { margin: 4px 0 0 0; color: var(--gray-500); font-size: 12px; }

/* Two column layout */
.two-column { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 992px) { .two-column { grid-template-columns: 1fr; } }

/* Login info box */
.login-info { background: var(--gray-50); border-radius: var(--radius); padding: 14px; margin-top: 14px; border: 1px solid var(--gray-200); }
.login-info p { margin: 4px 0; font-size: 12px; color: var(--gray-500); }
.login-info strong { color: var(--gray-800); }

/* Rating stars */
.rating-stars { color: #f59e0b; font-size: 16px; }

/* ========== 41. PAYMENT DETAILS BOX ========== */
.payment-details {
    background: var(--success-light);
    border: 1px solid #86efac;
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-top: 20px;
}

.payment-details h4 { margin: 0 0 14px 0; color: var(--success-dark); font-size: 14px; }
.payment-details .info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

/* ========== 42. EMAIL NOTIFICATION BOX ========== */
.email-notification-box {
    background: #dbeafe;
    border: 1px solid #93c5fd;
    border-radius: var(--radius);
    padding: 14px;
    margin-top: 14px;
}

.email-notification-box strong { color: #1e40af; }
.email-notification-box .text-sm { font-size: 12px; color: var(--gray-500); }

/* ========== 43. EMPTY STATES ========== */
.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--gray-500);
}

.empty-state-icon {
    width: 64px;
    height: 64px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 26px;
    color: var(--gray-400);
}

.empty-state h3, .empty-state h4 {
    color: var(--gray-700);
    margin-bottom: 6px;
    font-size: 16px;
}

.empty-state p {
    color: var(--gray-500);
    margin-bottom: 16px;
    font-size: 13px;
}

/* ========== 44. NOTIFICATION BADGE ========== */
.nav-badge {
    background: var(--danger);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    margin-left: auto;
    min-width: 18px;
    text-align: center;
}

/* ========== 45. CLICKABLE STAT CARDS ========== */
.stat-card-link {
    text-decoration: none;
    display: block;
}

.stat-card-link .stat-card { cursor: pointer; }
.stat-card-link:hover .stat-card { border-color: var(--accent); }

/* ========== 46. LOADING SPINNER ========== */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========== 47. SKELETON LOADER ========== */
.skeleton {
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text { height: 14px; margin-bottom: 8px; }
.skeleton-title { height: 20px; width: 60%; margin-bottom: 12px; }
.skeleton-card { height: 100px; }

/* ========== 48. TOAST NOTIFICATIONS ========== */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    background: var(--white);
    padding: 14px 18px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 280px;
    animation: slideIn 0.3s ease;
    border-left: 3px solid var(--accent);
}

.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--danger); }
.toast.warning { border-left-color: var(--warning); }

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.toast-close {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: 4px;
}

/* ========== 49. SCROLLBAR ========== */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }

/* ========== 50. MOBILE MENU TOGGLE ========== */
.mobile-menu-toggle {
    display: none;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 8px 12px;
    font-size: 18px;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-menu-toggle:hover { background: var(--primary-light); }

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active { opacity: 1; }

/* ========== 51. RESPONSIVE ========== */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .sidebar {
        position: fixed;
        left: -100%;
        top: 0;
        width: 260px;
        height: 100vh;
        z-index: 100;
        transition: left 0.3s ease;
    }

    .sidebar.active { left: 0; }
    .sidebar-overlay { display: block; }
    .main-content { margin-left: 0; }
    .dashboard { flex-direction: column; }

    .top-bar {
        padding: 12px 16px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .top-bar h1 { font-size: 16px; order: 2; flex: 1; }
    .mobile-menu-toggle { order: 1; }
    .user-info { order: 3; width: 100%; justify-content: flex-end; }
    .content { padding: 16px; }
    .form-row { grid-template-columns: 1fr; }
    .stats-cards { grid-template-columns: 1fr; }

    .card-body {
        padding: 16px;
        overflow-x: auto;
    }

    .welcome-banner { flex-direction: column; text-align: center; }
    .welcome-info .meta { justify-content: center; }
    .welcome-actions { margin-left: 0; margin-top: 12px; }
    .dashboard-grid { grid-template-columns: 1fr !important; }
    .quick-links { grid-template-columns: 1fr !important; }
    .quick-stats { grid-template-columns: 1fr; }
    .info-grid { grid-template-columns: 1fr; }
    .settings-grid { grid-template-columns: 1fr; }
    .two-column { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .employee-info { grid-template-columns: 1fr; }
    .profile-header { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .stats-row { grid-template-columns: 1fr; }
    .summary-cards { grid-template-columns: repeat(2, 1fr); }
}

/* ========== 52. PROJECT & TASK MANAGEMENT ========== */

/* Priority Badges */
.priority-low { background: var(--gray-100); color: var(--gray-600); }
.priority-medium { background: #dbeafe; color: #1e40af; }
.priority-high { background: var(--warning-light); color: var(--warning-dark); font-weight: 600; }
.priority-urgent { background: var(--danger-light); color: var(--danger-dark); font-weight: 600; }
.priority-urgent::before { content: ''; display: inline-block; width: 6px; height: 6px; background: var(--danger); border-radius: 50%; margin-right: 5px; animation: urgentPulse 1.5s infinite; }
@keyframes urgentPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* Task Status Badges */
.status-pending { background: var(--gray-100); color: var(--gray-600); }
.status-in_progress { background: var(--info-light, #e0f2fe); color: #0e7490; }
.status-completed { background: var(--success-light); color: var(--success-dark); }
.status-revision { background: #fef3c7; color: #92400e; }
.status-active { background: var(--success-light); color: var(--success-dark); }
.status-on_hold { background: var(--warning-light); color: var(--warning-dark); }

/* Task Stats Grid */
.task-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}
.task-stat {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px 16px;
    text-align: center;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
}
.task-stat:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.task-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}
.task-stat.stat-total::before { background: var(--accent); }
.task-stat.stat-pending::before { background: var(--gray-400); }
.task-stat.stat-progress::before { background: var(--info, #0891b2); }
.task-stat.stat-completed::before { background: var(--success); }
.task-stat.stat-revision::before { background: #f59e0b; }
.task-stat .stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1;
    margin-bottom: 6px;
}
.task-stat.stat-total .stat-number { color: var(--accent); }
.task-stat.stat-progress .stat-number { color: var(--info, #0891b2); }
.task-stat.stat-completed .stat-number { color: var(--success); }
.task-stat.stat-revision .stat-number { color: #d97706; }
.task-stat .stat-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-500);
}
.task-stat .stat-icon {
    position: absolute;
    bottom: 8px;
    right: 10px;
    font-size: 32px;
    opacity: 0.06;
    color: var(--gray-900);
}

/* Task Card (employee view) */
.task-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 0;
    margin-bottom: 16px;
    transition: all 0.2s ease;
    overflow: hidden;
    display: flex;
}
.task-card:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

/* Left accent stripe */
.task-card-stripe {
    width: 4px;
    flex-shrink: 0;
}
.task-card-stripe.stripe-pending { background: var(--gray-400); }
.task-card-stripe.stripe-in_progress { background: var(--info, #0891b2); }
.task-card-stripe.stripe-completed { background: var(--success); }
.task-card-stripe.stripe-revision { background: #f59e0b; }

.task-card-content {
    flex: 1;
    padding: 20px 22px;
    min-width: 0;
}

.task-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0;
    flex-wrap: wrap;
    gap: 10px;
}
.task-card-header-left { flex: 1; min-width: 0; }

.task-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0;
    line-height: 1.4;
}
.task-badges { display: flex; gap: 6px; flex-wrap: wrap; flex-shrink: 0; }
.task-project {
    font-size: 12px;
    color: var(--accent);
    margin: 4px 0 0 0;
    font-weight: 500;
}
.task-project i { margin-right: 4px; font-size: 11px; }

.task-description {
    background: var(--gray-50);
    padding: 12px 14px;
    border-radius: var(--radius);
    color: var(--gray-600);
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.6;
    border-left: 3px solid var(--gray-200);
}

.task-meta {
    display: flex;
    gap: 16px;
    margin-top: 14px;
    font-size: 12px;
    color: var(--gray-400);
    flex-wrap: wrap;
}
.task-meta span { display: inline-flex; align-items: center; gap: 5px; }
.task-meta i { font-size: 11px; }

.task-actions {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--gray-100);
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.task-actions-left { display: flex; gap: 8px; flex-wrap: wrap; }
.task-actions-right { font-size: 12px; color: var(--gray-400); }

.task-due-overdue { color: var(--danger) !important; font-weight: 600; }

/* Task Rating Display */
.task-rating {
    margin-top: 14px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border-radius: var(--radius);
    border: 1px solid #fde68a;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.task-rating-icon {
    width: 36px;
    height: 36px;
    background: #fbbf24;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}
.task-rating-body { flex: 1; }
.task-rating .stars { color: #f59e0b; font-size: 16px; margin-bottom: 4px; letter-spacing: 2px; }
.task-rating .rating-label { font-size: 11px; font-weight: 600; color: #92400e; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.task-rating .feedback { font-size: 13px; color: #78350f; line-height: 1.6; margin-top: 6px; }

/* Revision Comments Display */
.task-revision {
    margin-top: 14px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    border-radius: var(--radius);
    border: 1px solid #fed7aa;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.task-revision-icon {
    width: 36px;
    height: 36px;
    background: var(--warning);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}
.task-revision-body { flex: 1; }
.task-revision h4 { color: var(--warning-dark); font-size: 13px; font-weight: 600; margin: 0 0 6px 0; }
.task-revision p { color: #9a3412; font-size: 13px; margin: 0; line-height: 1.6; }

/* Awaiting Review */
.task-awaiting {
    margin-top: 14px;
    padding: 10px 14px;
    background: var(--gray-50);
    border-radius: var(--radius);
    border: 1px dashed var(--gray-300);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--gray-500);
}
.task-awaiting i { font-size: 14px; }

/* Star Rating Input (admin form) */
.star-rating-input { display: flex; gap: 4px; direction: rtl; justify-content: flex-end; }
.star-rating-input input { display: none; }
.star-rating-input label {
    font-size: 28px;
    color: var(--gray-300);
    cursor: pointer;
    transition: color 0.15s;
}
.star-rating-input input:checked ~ label,
.star-rating-input label:hover,
.star-rating-input label:hover ~ label { color: #f59e0b; }

/* Project Progress Bar */
.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--gray-200);
    border-radius: var(--radius-full, 999px);
    overflow: hidden;
    margin-top: 4px;
}
.progress-bar-fill {
    height: 100%;
    background: var(--success);
    border-radius: var(--radius-full, 999px);
    transition: width 0.3s ease;
}
.progress-text { font-size: 12px; color: var(--gray-500); margin-top: 4px; }

/* Salary Hide/Show Toggle */
.salary-toggle-btn {
    background: none;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
    color: var(--gray-500);
    transition: var(--transition);
    margin-left: 8px;
    display: inline-flex;
    align-items: center;
}
.salary-toggle-btn:hover { border-color: var(--accent); color: var(--accent); }

/* Filter bar with selects */
.filter-bar-group {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    align-items: center;
}
.filter-bar-group select {
    padding: 8px 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 13px;
    background: var(--white);
    cursor: pointer;
    min-width: 180px;
}

/* Quick stat teal icon */
.quick-stat .icon.teal { background: var(--info-light, #e0f2fe); color: var(--info, #0891b2); }

/* Task list container */
.task-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.task-list-count {
    font-size: 13px;
    color: var(--gray-500);
}

@media (max-width: 900px) {
    .task-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .task-card { flex-direction: column; }
    .task-card-stripe { width: 100%; height: 4px; }
    .task-card-header { flex-direction: column; }
    .task-actions { flex-direction: column; }
    .task-actions-left { width: 100%; }
    .filter-bar-group select { min-width: 100%; }
}
@media (max-width: 480px) {
    .task-stats { grid-template-columns: repeat(2, 1fr); }
    .task-stats .task-stat:first-child { grid-column: 1 / -1; }
}

/* ========== 53. PRINT STYLES ========== */
@media print {
    .sidebar, .top-bar, .btn, .action-buttons, .filter-tabs, .filter-bar, .mobile-menu-toggle { display: none !important; }
    .main-content { margin-left: 0 !important; }
    .content { padding: 0 !important; }
    .salary-slip { border: none; box-shadow: none; }
    .card { border: none; box-shadow: none; }
    body { background: white; }
}
