/* =============================================
   VAV HRM — Global Design System
   ============================================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* =============================================
   CSS Variables (Design Tokens)
   ============================================= */
:root {
    /* Primary Colors */
    --primary: #22c55e;
    --primary-hover: #16a34a;
    --primary-light: #dcfce7;
    --primary-dark: #15803d;
    --primary-gradient: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);

    /* Neutral Colors */
    --bg: #f5f5f5;
    --bg-dark: #e5e5e5;
    --white: #ffffff;
    --card-bg: #ffffff;
    --text-primary: #1a1a2e;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --border-light: #f1f5f9;

    /* Status Colors */
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    --pending: #f59e0b;
    --approved: #22c55e;
    --rejected: #ef4444;

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

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

    /* Transitions */
    --transition: all 0.2s ease;
    --transition-slow: all 0.3s ease;

    /* Layout */
    --sidebar-width: 260px;
    --navbar-height: 64px;
}

/* =============================================
   Reset & Base
   ============================================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* =============================================
   Auth Page Layout
   ============================================= */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 50%, #f5f5f5 100%);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 70%, rgba(34, 197, 94, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(34, 197, 94, 0.06) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, -20px); }
}

.auth-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 440px;
    padding: 48px 40px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.5s ease;
}

.auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -1px;
}

.auth-logo h1 span {
    color: var(--text-primary);
}

.auth-logo p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 4px;
}

.auth-tabs {
    display: flex;
    gap: 4px;
    background: var(--bg);
    border-radius: var(--radius);
    padding: 4px;
    margin-bottom: 28px;
}

.auth-tab {
    flex: 1;
    padding: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    background: transparent;
    transition: var(--transition);
}

.auth-tab.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.auth-tab:hover:not(.active) {
    color: var(--text-primary);
}

/* =============================================
   App Layout (Sidebar + Navbar + Content)
   ============================================= */
.app-layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background: var(--white);
    border-right: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: var(--transition-slow);
    box-shadow: var(--shadow);
}

.sidebar-logo {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 12px;
    height: var(--navbar-height);
}

.sidebar-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 16px;
    flex-shrink: 0;
}

.sidebar-logo h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.sidebar-logo h2 span {
    color: var(--primary);
}

.sidebar-nav {
    flex: 1;
    padding: 16px 12px;
    overflow-y: auto;
}

.sidebar-section {
    margin-bottom: 8px;
}

.sidebar-section-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    padding: 8px 12px 4px;
    margin-bottom: 4px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    margin-bottom: 2px;
    cursor: pointer;
}

.nav-item:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.nav-item.active {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.nav-item.active i {
    color: white;
}

.nav-item i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.nav-item .badge {
    margin-left: auto;
    background: var(--danger);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    min-width: 20px;
    text-align: center;
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid var(--border-light);
}

.sidebar-footer .nav-item {
    color: var(--danger);
}

.sidebar-footer .nav-item:hover {
    background: #fef2f2;
    color: var(--danger);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: var(--sidebar-width);
    right: 0;
    height: var(--navbar-height);
    background: var(--white);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    z-index: 99;
    box-shadow: var(--shadow-sm);
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius);
}

.menu-toggle:hover {
    background: var(--bg);
}

.page-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.search-box {
    position: relative;
    width: 380px;
    max-width: 100%;
}

.search-box input {
    width: 100%;
    padding: 10px 16px 10px 42px;
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    background: var(--bg);
    font-size: 14px;
    transition: var(--transition);
    color: var(--text-primary);
    height: 42px;
}

.search-box input:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
    outline: none;
}

.search-box input::placeholder {
    color: var(--text-muted);
    font-size: 13px;
}

.search-box i,
.search-box svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    width: 18px;
    height: 18px;
    pointer-events: none;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

.nav-icon-btn:hover {
    background: var(--bg);
    color: var(--text-primary);
}

.nav-icon-btn .dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: var(--danger);
    border-radius: 50%;
    border: 2px solid var(--white);
}

.profile-dropdown {
    position: relative;
}

.profile-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 6px 6px;
    border-radius: var(--radius-full);
    background: none;
    transition: var(--transition);
    cursor: pointer;
}

.profile-btn:hover {
    background: var(--bg);
}

.profile-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
    overflow: hidden;
}

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

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.profile-info {
    text-align: left;
}

.profile-info .name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.profile-info .role {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: capitalize;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    min-width: 200px;
    padding: 8px;
    display: none;
    animation: fadeInDown 0.2s ease;
    border: 1px solid var(--border);
    z-index: 200;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius);
    font-size: 13px;
    color: var(--text-secondary);
    transition: var(--transition);
    cursor: pointer;
}

.dropdown-item:hover {
    background: var(--bg);
    color: var(--text-primary);
}

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

.dropdown-item.danger:hover {
    background: #fef2f2;
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 4px 0;
}

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    margin-top: var(--navbar-height);
    padding: 28px 32px;
    min-height: calc(100vh - var(--navbar-height));
    width: calc(100% - var(--sidebar-width));
    max-width: 100%;
}

/* =============================================
   Cards
   ============================================= */
.card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 24px;
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.card-subtitle {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Stat Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

@media (max-width: 1400px) {
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

.stats-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 0 4px 4px 0;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon.green {
    background: var(--primary-light);
    color: var(--primary);
}

.stat-icon.blue {
    background: #dbeafe;
    color: var(--info);
}

.stat-icon.orange {
    background: #fef3c7;
    color: var(--warning);
}

.stat-icon.red {
    background: #fef2f2;
    color: var(--danger);
}

.stat-icon.purple {
    background: #f3e8ff;
    color: #a855f7;
}

.stat-details h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

.stat-details p {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 4px;
}

.stat-change {
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.stat-change.up {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.stat-change.down {
    background: #fef2f2;
    color: var(--danger);
}

/* =============================================
   Tables
   ============================================= */
.table-container {
    overflow-x: auto;
    border-radius: var(--radius-lg);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

thead {
    background: var(--bg);
}

th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    border-bottom: 1px solid var(--border);
}

td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-primary);
    vertical-align: middle;
}

tbody tr {
    transition: var(--transition);
}

tbody tr:nth-child(even) {
    background: #fafafa;
}

tbody tr:hover {
    background: var(--primary-light);
}

.table-avatar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.table-avatar img,
.table-avatar .avatar-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-placeholder {
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 13px;
}

.table-avatar .info .name {
    font-weight: 600;
    color: var(--text-primary);
}

.table-avatar .info .email {
    font-size: 12px;
    color: var(--text-muted);
}

/* =============================================
   Badges
   ============================================= */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.badge-success, .badge-active, .badge-approved, .badge-paid {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.badge-warning, .badge-pending {
    background: #fef3c7;
    color: #92400e;
}

.badge-danger, .badge-inactive, .badge-rejected, .badge-unpaid {
    background: #fef2f2;
    color: #b91c1c;
}

.badge-info {
    background: #dbeafe;
    color: #1e40af;
}

/* =============================================
   Buttons
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--bg);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-dark);
}

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

.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

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

.btn-sm {
    padding: 6px 14px;
    font-size: 12px;
}

.btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btns {
    display: flex;
    gap: 6px;
}

.btn-edit {
    background: #dbeafe;
    color: var(--info);
}

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

.btn-delete {
    background: #fef2f2;
    color: var(--danger);
}

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

.btn-approve {
    background: var(--primary-light);
    color: var(--primary-dark);
}

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

.btn-reject {
    background: #fef2f2;
    color: var(--danger);
}

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

/* =============================================
   Forms
   ============================================= */
.form-group {
    margin-bottom: 20px;
}

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

.form-group label .required {
    color: var(--danger);
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    font-size: 14px;
    transition: var(--transition);
    color: var(--text-primary);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-muted);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-text {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.form-error {
    font-size: 12px;
    color: var(--danger);
    margin-top: 4px;
    display: none;
}

.form-control.error {
    border-color: var(--danger);
}

.form-control.error + .form-error {
    display: block;
}

/* File Upload */
.file-upload {
    position: relative;
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg);
}

.file-upload:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.file-upload input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.file-upload i {
    color: var(--text-muted);
    margin-bottom: 8px;
}

.file-upload p {
    font-size: 13px;
    color: var(--text-secondary);
}

.file-upload .hint {
    font-size: 11px;
    color: var(--text-muted);
}

/* =============================================
   Modals
   ============================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 20px;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95) translateY(20px);
    transition: var(--transition-slow);
}

.modal-overlay.show .modal {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 1;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    color: var(--text-secondary);
    transition: var(--transition);
}

.modal-close:hover {
    background: #fef2f2;
    color: var(--danger);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    position: sticky;
    bottom: 0;
    background: var(--white);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

/* =============================================
   Pagination
   ============================================= */
.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    margin-top: 16px;
}

.pagination-info {
    font-size: 13px;
    color: var(--text-secondary);
}

.pagination-btns {
    display: flex;
    gap: 4px;
}

.page-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 500;
    background: var(--white);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.page-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary);
}

.page-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* =============================================
   Filter Tabs
   ============================================= */
.filter-tabs {
    display: flex;
    gap: 4px;
    background: var(--bg);
    border-radius: var(--radius);
    padding: 4px;
    margin-bottom: 20px;
    width: fit-content;
}

.filter-tab {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.filter-tab.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
}

.filter-tab:hover:not(.active) {
    color: var(--text-primary);
}

/* =============================================
   Toolbar
   ============================================= */
.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* =============================================
   Profile Card
   ============================================= */
.profile-card {
    display: flex;
    gap: 32px;
    padding: 32px;
}

.profile-picture-lg {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 4px solid var(--primary-light);
}

.profile-picture-lg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-picture-lg .avatar-placeholder {
    width: 100%;
    height: 100%;
    font-size: 40px;
}

.profile-details h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.profile-details .profile-email {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 16px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-item label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-item span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

/* =============================================
   Attendance Check-in/out
   ============================================= */
.attendance-clock {
    text-align: center;
    padding: 40px;
}

.clock-display {
    font-size: 56px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}

.clock-date {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.clock-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.clock-btn {
    padding: 14px 40px;
    border-radius: var(--radius-lg);
    font-size: 16px;
    font-weight: 700;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.clock-btn.checkin {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
}

.clock-btn.checkin:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4);
}

.clock-btn.checkout {
    background: linear-gradient(135deg, var(--danger) 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3);
}

.clock-btn.checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.4);
}

.clock-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.session-info {
    margin-top: 24px;
    padding: 16px 24px;
    background: var(--primary-light);
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-dark);
    font-weight: 600;
}

/* =============================================
   Payslip
   ============================================= */
.payslip-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 16px;
    transition: var(--transition);
}

.payslip-card:hover {
    box-shadow: var(--shadow-md);
}

.payslip-header {
    background: var(--primary-gradient);
    color: white;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.payslip-header h4 {
    font-size: 16px;
    font-weight: 700;
}

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

.payslip-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.payslip-item label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payslip-item .amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.payslip-item .amount.net {
    color: var(--primary);
}

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

/* =============================================
   Welcome Card
   ============================================= */
.welcome-card {
    background: var(--primary-gradient);
    border-radius: var(--radius-xl);
    padding: 32px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
}

.welcome-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.welcome-card::after {
    content: '';
    position: absolute;
    bottom: -40%;
    right: 10%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.welcome-text h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.welcome-text p {
    font-size: 14px;
    opacity: 0.9;
}

/* =============================================
   Leave Balance Cards
   ============================================= */
.leave-balance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.leave-balance-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.leave-balance-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.leave-balance-card .leave-type {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.leave-balance-card .leave-count {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.leave-balance-card .leave-total {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* =============================================
   Empty State
   ============================================= */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state i {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 14px;
}

/* =============================================
   Toast Notifications
   ============================================= */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    background: var(--white);
    border-radius: var(--radius);
    padding: 14px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 420px;
    animation: slideInRight 0.3s ease;
    border-left: 4px solid var(--primary);
}

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

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

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

.toast p {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
}

.toast .toast-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
}

/* =============================================
   Loading Spinner
   ============================================= */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 40px auto;
}

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

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(2px);
}

/* =============================================
   Animations
   ============================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fadeInUp {
    animation: fadeInUp 0.4s ease forwards;
}

.animate-fadeIn {
    animation: fadeIn 0.3s ease forwards;
}

/* Staggered animation delays */
.stagger-1 { animation-delay: 0.05s; }
.stagger-2 { animation-delay: 0.1s; }
.stagger-3 { animation-delay: 0.15s; }
.stagger-4 { animation-delay: 0.2s; }
.stagger-5 { animation-delay: 0.25s; }

/* =============================================
   Responsive Design
   ============================================= */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .navbar {
        left: 0;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }

    .menu-toggle {
        display: flex;
    }

    .search-box {
        width: 200px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 16px;
    }

    .navbar {
        padding: 0 16px;
    }

    .search-box {
        display: none;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .toolbar-left,
    .toolbar-right {
        width: 100%;
    }

    table {
        font-size: 12px;
    }

    th, td {
        padding: 10px 12px;
    }

    .profile-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .clock-display {
        font-size: 40px;
    }

    .clock-actions {
        flex-direction: column;
    }

    .welcome-card {
        flex-direction: column;
        text-align: center;
    }

    .auth-card {
        padding: 32px 24px;
    }

    .payslip-body {
        grid-template-columns: repeat(2, 1fr);
    }

    .pagination {
        flex-direction: column;
        gap: 12px;
    }

    .leave-balance-grid {
        grid-template-columns: 1fr;
    }

    .profile-info {
        display: none;
    }
}

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

    .filter-tabs {
        width: 100%;
        overflow-x: auto;
    }

    .modal {
        margin: 10px;
        max-height: 95vh;
    }

    .payslip-body {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   Sidebar Overlay (Mobile)
   ============================================= */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.sidebar-overlay.show {
    display: block;
}

/* =============================================
   Scrollbar Styling
   ============================================= */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* =============================================
   Utility Classes
   ============================================= */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-primary { color: var(--primary) !important; }
.text-danger { color: var(--danger) !important; }
.text-muted { color: var(--text-muted) !important; }
.font-bold { font-weight: 700; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.w-full { width: 100%; }
.hidden { display: none !important; }

/* =============================================
   Payslips
   ============================================= */
#payslipContainer {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
}

.payslip-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.payslip-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.payslip-header {
    background: var(--primary-gradient);
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.payslip-header h4 {
    font-size: 16px;
    font-weight: 700;
}

.payslip-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.payslip-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border);
}

.payslip-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.payslip-item label {
    color: var(--text-secondary);
    font-weight: 500;
}

.payslip-item .amount {
    font-weight: 600;
    color: var(--text-primary);
}

.payslip-item .amount.net {
    font-size: 18px;
    color: var(--primary-dark);
    font-weight: 800;
}

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

.payslip-footer {
    padding: 16px 24px;
    text-align: right;
    border-top: 1px solid rgba(255,255,255,0.15);
}

/* =============================================
   Navigation Badge (Pending Leaves)
   ============================================= */
.nav-badge {
    margin-left: auto;
    background: var(--danger);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    min-width: 20px;
    text-align: center;
    line-height: 16px;
    animation: badgePulse 2s infinite;
}

.nav-item.active .nav-badge {
    background: rgba(255,255,255,0.3);
    color: white;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* =============================================
   Filter Tabs
   ============================================= */
.filter-tabs {
    display: flex;
    gap: 4px;
    background: var(--bg);
    border-radius: var(--radius);
    padding: 4px;
    margin-bottom: 20px;
    width: fit-content;
}

.filter-tab {
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 13px;
    color: var(--text-secondary);
    background: transparent;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.filter-tab.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.filter-tab:hover:not(.active) {
    color: var(--text-primary);
}

/* =============================================
   Document Thumbnails
   ============================================= */
.doc-thumbs {
    display: flex;
    gap: 6px;
    align-items: center;
}

.doc-thumb-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    border: 2px solid var(--border);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.doc-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doc-thumb-btn:hover {
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.25);
}

/* =============================================
   Activity Timeline
   ============================================= */
.activity-timeline {
    position: relative;
    padding: 8px 0;
}

.activity-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

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

.activity-item:hover {
    background: var(--bg);
    margin: 0 -24px;
    padding: 16px 24px;
    border-radius: var(--radius);
}

.activity-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.activity-content {
    flex: 1;
    min-width: 0;
}

.activity-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}

.activity-action {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

.activity-time {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
}

.activity-user {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.activity-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    line-height: 1.5;
}

/* =============================================
   Action Button Styles
   ============================================= */
.action-btn.approve {
    background: var(--primary-light);
    color: var(--primary-dark);
}
.action-btn.approve:hover {
    background: var(--primary);
    color: white;
}

/* =============================================
   Leave Balance Card Colors
   ============================================= */
.leave-color-1 { border-left: 4px solid var(--primary); }
.leave-color-2 { border-left: 4px solid var(--info); }
.leave-color-3 { border-left: 4px solid var(--warning); }
.leave-color-4 { border-left: 4px solid #a855f7; }
.leave-color-5 { border-left: 4px solid #ec4899; }

/* =============================================
   Mobile Bottom Navigation
   ============================================= */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
    z-index: 200;
    padding: 6px 0;
    padding-bottom: max(6px, env(safe-area-inset-bottom));
}

.mobile-bottom-nav {
    grid-template-columns: repeat(3, 1fr);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 4px;
    width: 100%;
    background: transparent;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border-radius: var(--radius);
}

.bottom-nav-item i,
.bottom-nav-item svg {
    width: 22px;
    height: 22px;
}

.bottom-nav-item.active {
    color: var(--primary);
}

.bottom-nav-item:active {
    transform: scale(0.95);
}

/* =============================================
   Badge Status Variants
   ============================================= */
.badge-pending {
    background: #fef3c7;
    color: #92400e;
}

/* =============================================
   Print Styles for Payslip
   ============================================= */
@media print {
    body * {
        visibility: hidden !important;
    }

    .payslip-print,
    .payslip-print * {
        visibility: visible !important;
    }

    .payslip-print {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: white;
        z-index: 99999;
        display: block !important;
    }

    .mobile-bottom-nav {
        display: none !important;
    }
}

.payslip-page {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    font-family: 'Inter', sans-serif;
}

.payslip-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 3px solid var(--primary);
}

.payslip-company {
    display: flex;
    align-items: center;
    gap: 16px;
}

.payslip-logo {
    width: 48px;
    height: 48px;
    background: var(--primary-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 20px;
}

.payslip-company h1 {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.payslip-company p {
    font-size: 12px;
    color: var(--text-muted);
}

.payslip-title h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: right;
}

.payslip-title p {
    font-size: 13px;
    color: var(--text-secondary);
    text-align: right;
}

.payslip-employee-info {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 24px;
}

.payslip-info-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid var(--border-light);
}

.payslip-info-row:last-child {
    border-bottom: none;
}

.payslip-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.payslip-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.payslip-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.payslip-table th {
    background: var(--primary);
    color: white;
    padding: 12px 16px;
    font-size: 13px;
}

.payslip-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
    font-size: 14px;
}

.payslip-table tfoot td {
    background: var(--primary-light);
    font-size: 16px;
    border: none;
}

.payslip-payment-info {
    background: #f0fdf4;
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 24px;
    border: 1px solid var(--primary-light);
}

.payslip-footer-print {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    margin-top: 32px;
}

.payslip-footer-print p {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

/* =============================================
   Responsive — Mobile Bottom Nav Show
   ============================================= */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .main-content {
        padding-bottom: 80px !important;
    }
}

@media (max-width: 768px) {
    .stats-grid.cols-3 {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   Payslip Card Equal Height Layout Fix
   ============================================= */
.payslip-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.payslip-body {
    flex: 1;
}
.payslip-footer {
    margin-top: auto;
}

