﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ---------------- RESET ---------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ---------------- ROOT ---------------- */
:root {
    --bg-main: #f9f9f9;
    --bg-sidebar: #ffffff;
    --border-light: #e5e7eb;
    --text-dark: #1f2937;
    --text-grey: #6b7280;
    --accent: #5b7bd5;
    --accent-light: #eef2ff;
    --hover-bg: #f1f5ff;
    --shadow-soft: 0 6px 18px rgba(0,0,0,0.06);
    --expense-bg: #f7f8fa;
    --expense-card-bg: #ffffff;
    --expense-border: #e8eaed;
    --expense-text-primary: #1a1d23;
    --expense-text-secondary: #6b7280;
    --expense-text-meta: #9ca3af;
    --expense-approved-bg: #edfaf3;
    --expense-approved-text: #15803d;
    --expense-approved-border: #bbf7d0;
    --expense-accent: #10b981;
    --expense-hover-bg: #f9fafb;
    --expense-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --expense-shadow-hover: 0 4px 12px rgba(0,0,0,0.08);
    --expense-radius: 12px;
    --expense-font: 'DM Sans', sans-serif;
    --expense-mono: 'DM Mono', monospace;
}
/* ===============================
   LOGIN PAGE (Scoped Styles)
   =============================== */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top, #1e293b, #0f172a);
}

    .login-page * {
        box-sizing: border-box;
        font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    .login-page .login-container {
        width: 100%;
        max-width: 420px;
        padding: 2rem;
    }

    .login-page .login-card {
        background: linear-gradient(180deg, #111827, #0b1220);
        border: 1px solid #1f2933;
        border-radius: 16px;
        padding: 2.5rem;
        box-shadow: 0 20px 40px rgba(0,0,0,0.45);
        color: #e5e7eb;
    }

    .login-page h1 {
        margin-bottom: 0.5rem;
        font-size: 1.8rem;
        text-align: center;
    }

    .login-page p {
        text-align: center;
        color: #9ca3af;
        margin-bottom: 2rem;
    }

    .login-page .form-group {
        margin-bottom: 1.25rem;
    }

    .login-page label {
        display: block;
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
        color: #9ca3af;
    }

    .login-page input {
        width: 100%;
        padding: 0.75rem 0.9rem;
        border-radius: 10px;
        border: 1px solid #1f2933;
        background: #020617;
        color: #e5e7eb;
        outline: none;
    }

        .login-page input:focus {
            border-color: #6366f1;
            box-shadow: 0 0 0 3px rgba(99,102,241,0.25);
        }

    .login-page .login-btn {
        width: 100%;
        padding: 0.8rem;
        border-radius: 12px;
        border: none;
        background: linear-gradient(135deg, #6366f1, #4f46e5);
        color: #fff;
        font-size: 1rem;
        cursor: pointer;
    }

        .login-page .login-btn:hover {
            box-shadow: 0 10px 20px rgba(79,70,229,0.35);
        }

    .login-page .footer-text {
        margin-top: 1.5rem;
        text-align: center;
        font-size: 0.85rem;
        color: #9ca3af;
    }

/* Mobile */
@media (max-width: 480px) {
    .login-page .login-card {
        padding: 2rem;
    }
}
/* ---------------- BODY ---------------- */
body {
    font-family: "Inter", sans-serif;
    background-color: var(--bg-main);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ---------------- SIDEBAR ---------------- */
header.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 230px;
    height: 100vh;
    background-color: var(--bg-sidebar);
    border-right: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
    z-index: 1000;
    transition: width 0.3s ease;
}

    /* Collapsed sidebar */
    header.sidebar.collapsed {
        width: 70px;
    }

    /* ---------------- SIDEBAR TITLE ---------------- */
    header.sidebar #h4Dash {
        font-size: 18px;
        font-weight: 600;
        padding: 10px 12px;
        color: var(--text-dark);
        white-space: nowrap;
    }

    /* Hide title in collapsed mode */
    header.sidebar.collapsed #h4Dash {
        display: none;
    }

    /* ---------------- NAV ---------------- */
    header.sidebar nav {
        display: flex;
        flex-direction: column;
        height: 100%;
        justify-content: space-between;
    }

        /* ---------------- MENU LIST ---------------- */
        header.sidebar nav ul {
            list-style: none;
            padding: 12px 0;
        }

            /* Menu item */
            header.sidebar nav ul li {
                position: relative;
                margin-bottom: 6px;
                border-radius: 8px;
                transition: background-color 0.25s ease;
            }

                /* ---------------- LINKS ---------------- */
                header.sidebar nav ul li > a.nav-link,
                header.sidebar nav > div > a {
                    display: flex;
                    align-items: center;
                    gap: 14px;
                    padding: 10px 14px;
                    text-decoration: none;
                    color: var(--text-grey);
                    font-size: 14px;
                    font-weight: 500;
                    border-radius: 8px;
                    transition: all 0.25s ease;
                }

                /* Icon wrapper */
                header.sidebar nav ul li > a span:first-child {
                    width: 26px;
                    display: flex;
                    justify-content: center;
                }

                /* Icon */
                header.sidebar nav ul li i {
                    font-size: 18px;
                }

                /* ---------------- HOVER ---------------- */
                header.sidebar nav ul li:hover > a,
                header.sidebar nav > div > a:hover {
                    background-color: var(--hover-bg);
                    color: var(--accent);
                }

                header.sidebar nav ul li:hover i {
                    color: var(--accent);
                }

                /* ---------------- ACTIVE ---------------- */
                header.sidebar nav ul li:has(>a.nav-link.active) > a {
                    background-color: var(--accent-light);
                    color: var(--accent);
                    box-shadow: inset 4px 0 0 var(--accent);
                }

                header.sidebar nav ul li:has(>a.nav-link.active) i {
                    color: var(--accent);
                }

    /* ---------------- COLLAPSED MODE ---------------- */

    /* Hide text */
    header.sidebar.collapsed a span:last-child {
        display: none;
    }

    /* Center icons */
    header.sidebar.collapsed nav ul li > a {
        justify-content: center;
        padding: 12px;
    }

    /* ---------------- TOOLTIP ---------------- */
    header.sidebar nav ul li::after {
        content: attr(data-text);
        position: absolute;
        left: 100%;
        top: 50%;
        transform: translateY(-50%);
        opacity: 0;
        pointer-events: none;
        background-color: #ffffff;
        color: var(--text-dark);
        padding: 6px 10px;
        border-radius: 6px;
        white-space: nowrap;
        box-shadow: 0 6px 18px rgba(0,0,0,0.12);
        transition: opacity 0.25s ease;
        margin-left: 12px;
        font-size: 13px;
    }

    /* Show tooltip only when collapsed */
    header.sidebar.collapsed nav ul li:hover::after {
        opacity: 1;
    }

/* ---------------- TOGGLE BUTTON ---------------- */
.nav-toggle {
    position: absolute;
    top: 14px;
    right: -18px;
    width: 36px;
    height: 36px;
    background-color: var(--bg-sidebar);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
}

    .nav-toggle i {
        font-size: 16px;
        color: var(--text-grey);
    }

/* ---------------- MAIN CONTENT ---------------- */
.container {
    margin-left: 230px;
    transition: margin-left 0.3s ease;
}

/* Adjust when sidebar collapsed */
body.sidebar-collapsed .container {
    margin-left: 70px;
    padding-left: 60px;
    padding-right: 20px;
}


/* ---------------- FOOTER ---------------- */
footer.footer {
    background-color: #ffffff;
    border-top: 1px solid var(--border-light);
    font-size: 13px;
    color: var(--text-grey);
}

/* ---------------- TEXT HELPERS ---------------- */
h3, h4 {
    font-weight: 600;
}

p {
    font-size: 14px;
    color: var(--text-grey);
}
/* ---------------- Project Section ---------------- */
.project-dashboard {
    padding: 30px;
    max-width: 1400px;
    margin: auto;
}

/* Header */
.project-dashboard__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.project-dashboard__title h1 {
    font-size: 22px;
    font-weight: 700;
}

.project-dashboard__title p {
    color: #6b7280;
}

.project-dashboard__actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.project-dashboard__role {
    background: #e0ecff;
    color: #2563eb;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 500;
}

.project-dashboard__profile {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Container */
.project-dashboard__container {
    background: white;
    border-radius: 16px;
    padding: 25px;
    width:100%;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

/* Section Header */
.project-section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-action__create-btn {
    background: linear-gradient(135deg,#2563eb,#7c3aed);
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* KPI */
.project-kpi__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 20px;
    margin: 25px 0;
}

.project-kpi {
    padding: 20px;
    border-radius: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .project-kpi h4 {
        font-size: 18px;
    }

    .project-kpi i {
        font-size: 18px;
    }

.project-kpi--total {
    background: #eaf2ff;
    color: #2563eb;
}

.project-kpi--active {
    background: #eafff2;
    color: #16a34a;
}

.project-kpi--budget {
    background: #f5edff;
    color: #7c3aed;
}

.project-kpi--average {
    background: #fff9db;
    color: #ca8a04;
}

/* Projects */
.project-list__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 20px;
}

.project-card {
    background: white;
    border-radius: 14px;
    padding: 20px;
    border: 1px solid #e5e7eb;
}

.project-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
    .project-card__header h4
    {
        font-size:18px;
    }
    .project-status {
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 12px;
    }

.project-status--active {
    background: #dcfce7;
    color: #16a34a;
}

.project-code {
    display: inline-block;
    background: #f3f4f6;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 9px;
    margin: 10px 0;
}

.project-description {
    color: #6b7280;
    font-size:12px;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
}

/* Responsive */
@media (max-width: 768px) {
    .project-dashboard__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}
/* ===== Expense Form ===== */
.expense-form {
    max-width: 720px;
    background: #ffffff;
    padding: 28px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Header */
.expense-form__header h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.expense-form__header p {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 20px;
}

/* OCR Box */
.expense-form__ocr {
    background: #f1f7ff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

    .expense-form__ocr h4 {
        font-size: 15px;
        font-weight: 600;
        margin-bottom: 14px;
    }

.expense-form__ocr-actions {
    display: flex;
    gap: 12px;
}

/* Rows */
.expense-form__row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
}

/* Fields */
.expense-form__field {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

    .expense-form__field label {
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 6px;
    }

        .expense-form__field label span {
            color: #ef4444;
        }

/* Inputs */
.expense-form input,
.expense-form select,
.expense-form textarea {
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

    .expense-form input:focus,
    .expense-form select:focus,
    .expense-form textarea:focus {
        outline: none;
        border-color: #2563eb;
    }

/* Buttons (Bootstrap friendly) */
.expense-form .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .expense-form__row {
        grid-template-columns: 1fr;
    }
}

/* ===== Employee Profile ===== */
.employee-profile {
    max-width: 1000px;
    margin: auto;
}

/* Header */
.employee-profile__header {
    background: linear-gradient(135deg, #4f46e5, #9333ea);
    border-radius: 18px;
    padding: 28px;
    color: #fff;
    margin-bottom: 28px;
}

.employee-profile__header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Avatar */
.employee-profile__avatar {
    position: relative;
    width: 86px;
    height: 86px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
}

.employee-profile__camera {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #fff;
    color: #4f46e5;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* Meta */
.employee-profile__meta h2 {
    margin: 0;
    font-size: 22px;
}

.employee-profile__meta p {
    margin: 4px 0 10px;
    opacity: 0.9;
}

/* Badges */
.employee-profile__badges {
    display: flex;
    gap: 10px;
}

.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge--role {
    background: #bbf7d0;
    color: #065f46;
}

.badge--id {
    background: rgba(255, 255, 255, 0.25);
}

/* Sections */
.profile-section {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 22px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.profile-section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.profile-section h3 {
    font-size: 18px;
    font-weight: 700;
}

/* Grid */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

/* Cards */
.profile-card {
    display: flex;
    gap: 14px;
    align-items: center;
    background: #f9fafb;
    padding: 16px;
    border-radius: 12px;
}

    .profile-card i {
        font-size: 18px;
        color: #4f46e5;
    }

    .profile-card span {
        font-size: 13px;
        color: #6b7280;
    }

    .profile-card strong {
        display: block;
        font-size: 14px;
        font-weight: 600;
    }

/* Security */
.security-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
}
.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #aaa;
    border-radius: 3px;
    padding: 5px;
    background-color: transparent;
    color: inherit;
    margin-left: 3px;
    margin-bottom: 10px;
}


/* APPROVALS */
/* Card */
.approvals-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
    font-family: "Inter", sans-serif;
}

/* Header */
.approvals-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.approvals-title-status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.approvals-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

/* Status */
.approvals-status {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
    text-transform: lowercase;
}

.approvals-pending {
    background: #fff3cd;
    color: #856404;
}

/* Amount */
.approvals-amount {
    font-size: 20px;
    font-weight: 600;
}

    .approvals-amount span {
        font-size: 14px;
        color: #6c757d;
    }

/* Meta Info */
.approvals-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin: 15px 0;
    color: #495057;
    font-size: 14px;
}

/* Approval Flow */
.approvals-flow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.approvals-label {
    font-weight: 600;
    font-size: 14px;
}

.approvals-approver {
    background: #e7f1ff;
    color: #0d6efd;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Actions */
.approvals-actions {
    display: flex;
    gap: 12px;
}

.approvals-btn {
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.approvals-approve {
    background: #198754;
    color: #fff;
}

.approvals-reject {
    background: #dc3545;
    color: #fff;
}

.approvals-btn:hover {
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    .approvals-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .approvals-actions {
        flex-direction: column;
    }
}

/*Approval Rules*/

.approvalRuleCSS-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 16px;
    font-family: system-ui, sans-serif;
    background: #fff;
}

.approvalRuleCSS-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.approvalRuleCSS-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .approvalRuleCSS-title h3 {
        margin: 0;
        font-size: 1.1rem;
    }

.approvalRuleCSS-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 16px;
    white-space: nowrap;
}

.approvalRuleCSS-badge-specific {
    background: #f3e8ff;
    color: #7c3aed;
}

.approvalRuleCSS-badge-active {
    background: #dcfce7;
    color: #16a34a;
}

.approvalRuleCSS-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.approvalRuleCSS-btn {
    border: none;
    border-radius: 8px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 0.85rem;
}

.approvalRuleCSS-btn-danger {
    background: #fee2e2;
    color: #dc2626;
}

.approvalRuleCSS-icon {
    cursor: pointer;
    font-size: 1rem;
}

.approvalRuleCSS-body {
    margin-top: 16px;
}

.approvalRuleCSS-row {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.approvalRuleCSS-approvers {
    margin-top: 4px;
}

.approvalRuleCSS-chip {
    display: inline-block;
    background: #e0ecff;
    color: #2563eb;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
}

/*Employees */
.employees-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.05);
    overflow: hidden;
    font-family: Inter, sans-serif;
}

/* Table */
.employees-table {
    width: 100%;
}

/* Rows */
.employees-row {
    display: grid;
    grid-template-columns: 2.5fr 1.2fr 1.5fr 1fr 1fr;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

    .employees-row:last-child {
        border-bottom: none;
    }

/* Header */
.employees-header {
    font-size: 12px;
    font-weight: 600;
    color: #777;
    background: #fafafa;
}

/* User */
.employees-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.employees-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

/* Text */
.employees-name {
    font-weight: 600;
}

.employees-email {
    font-size: 12px;
    color: #777;
}

/* Role badges */
.employees-role {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.employees-role-admin {
    background: #fdeaea;
    color: #d32f2f;
}

.employees-role-manager {
    background: #e3f2fd;
    color: #1565c0;
}

.employees-role-employee {
    background: #e8f5e9;
    color: #2e7d32;
}

/* Actions */
.employees-actions {
    display: flex;
    gap: 10px;
}

.employees-action {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 15px;
}

.employees-edit {
    color: #2563eb;
}

.employees-delete {
    color: #dc2626;
}

.employees-action:hover {
    opacity: 0.75;
}

/*Expense Management*/
.expense-container {
    font-family: system-ui, sans-serif;
}

.expense-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #e5e7eb;
}

.expense-main {
    flex: 1;
}

.expense-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.expense-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
}

.expense-meta {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 40px;
    margin-top: 8px;
    font-size: 0.9rem;
}

.meta-label {
    font-weight: 600;
    margin-right: 4px;
}

.expense-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    font-size: 0.75rem;
    border-radius: 20px;
}

.badge-approved {
    background: #dcfce7;
    color: #15803d;
}

.badge-pending {
    background: #fef9c3;
    color: #a16207;
}

.badge-rejected {
    background: #fee2e2;
    color: #b91c1c;
}

.expense-badge-icon {
    width: 14px;
    height: 14px;
}

.expense-view {
    color: #6b7280;
    text-decoration: none;
    padding: 6px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

    .expense-view:hover {
        background: #f3f4f6;
    }

    /*JS DataTables*/
.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 6px 10px;
}

.dataTables_wrapper .dataTables_length select {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
}
.table-actions i {
    width: 30px;
    height: 30px;
    background: #f1f3f7;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
    cursor: pointer;
    transition: 0.2s;
}

    .table-actions i:hover {
        background: #0d6efd;
        color: white;
    }
table.dataTable td:last-child {
    font-weight: 600;
    color: #333;
}
table.dataTable {
    border-collapse: separate;
    border-spacing: 0 8px; /* space between rows */
}

    table.dataTable tbody tr {
        background: #ffffff;
        box-shadow: 0 1px 3px rgba(0,0,0,0.04);
        border-radius: 8px;
    }

    table.dataTable tbody td {
        border: none;
        padding: 14px 12px;
    }
    table.dataTable thead {
        background: #f8f9fb;
    }

        table.dataTable thead th {
            border-bottom: none;
            color: #6c757d;
            font-weight: 600;
            font-size: 13px;
            text-transform: uppercase;
        }
    table.dataTable tbody tr:hover {
        background: #f1f3f7;
    }

    /*Expense Approval TimeLine*/

.workflow-timeline {
    position: relative;
    padding-left: 30px;
    border-left: 2px solid #e5e7eb;
}

.workflow-step {
    position: relative;
    margin-bottom: 30px;
}

.workflow-marker {
    position: absolute;
    left: -11px;
    top: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
}

.marker-done {
    background: #8b5cf6; /* purple */
}

.marker-pending {
    background: #d1d5db;
}

.workflow-content {
    padding-left: 15px;
}

.workflow-title {
    font-weight: 600;
}

.workflow-sub {
    font-size: 0.85rem;
    color: #6b7280;
}

.step-final {
    background: rgba(139, 92, 246, 0.08);
    padding: 10px;
    border-radius: 6px;
}   