@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --brand-700: #00334c;
    --brand-500: #00c6e0;
    --brand--600: #2583c5b3;
    --brand--700: #2583c5b3;
    --bg-right: #fbfbfb;
    --text-dark: #0b1b2b;
    --text-muted: #3c4a45;
    --muted-soft: #bbcac3;
    --line: #6b7280;
    --field-disabled: #dfe3e8;
    --white: #fff;
    --border-color: #d3d3d3;
}

a {
    color: var(--brand-500);
}

    a:hover,
    a:focus {
        color: var(--brand-700);
    }

body {
    margin: 0;
    font-family: "Figtree", sans-serif;
    color: var(--text-dark);
    background: var(--white);
    font-size: 14px;
}


/*.loaderWrap {
    position: fixed;
    inset: 0;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;*/
/*display: none;*/
/*}*/
.loaderWrap {
    position: fixed;
    inset: 0;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
    background: #04334d;
}

.loaderLogo {
    width: 240px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

    .loaderLogo img {
        max-width: 100%;
    }
        /* spinner */
        .loaderLogo img.img_1 {
            position: absolute;
            width: 100%;
            transform: rotate(0deg);
            animation: spin_12 2s infinite linear;
        }

        .loaderLogo img.img_2 {
            transform: rotate(360deg);
            animation: spin_2 1s infinite linear;
            /*   animation-duration: 1.1s;
    animation-name: twinkle; */
        }

@keyframes spin_1 {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

@keyframes spin_2 {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-180deg);
    }
}

.loaderBar {
    height: 4px;
    width: 130px;
    --c: no-repeat linear-gradient(#009cb1 0 0);
    background: var(--c), var(--c), #062231;
    background-size: 60% 100%;
    animation: l16 3s infinite;
}

@keyframes l16 {
    0% {
        background-position: -150% 0,-150% 0
    }

    66% {
        background-position: 250% 0,-150% 0
    }

    100% {
        background-position: 250% 0, 250% 0
    }
}

/*  @keyframes twinkle {
    20% {
      transform: scale(0.5);
      opacity: 0.2;
    }
  } */





div.dt-container .dt-length,
div.dt-container .dt-search,
div.dt-container .dt-info,
div.dt-container .dt-processing,
div.dt-container .dt-paging {
    color: var(--text-muted);
}

.page-wrap {
    min-height: 100vh;
}

.left-panel {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 2.5vw 3vw;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.left-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

    .left-bg img {
        position: absolute;
        inset: 0;
        width: 160%;
        left: -30%;
        height: 100%;
        object-fit: cover;
    }

    .left-bg .overlay {
        position: absolute;
        inset: 0;
        /* background: #2583c570; */
    }

    .left-bg .gradient {
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, #004058de 0%, #00bad4a3 50%, #004058de 100%);
    }

.left-content {
    position: relative;
    z-index: 1;
}

.brand-logo {
    width: clamp(140px, 25vw, 165px);
    height: auto;
    margin-bottom: 30px;
}

.hero-title {
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.25;
    letter-spacing: -1.2px;
    font-weight: 800;
    max-width: 560px;
    margin: 0;
}

.hero-subtitle {
    margin-top: 24px;
    max-width: 448px;
    font-size: 30px;
    line-height: 1;
    letter-spacing: -0.6px;
    font-weight: 800;
    margin-bottom: 18px;
}

.hero-desc {
    max-width: 450px;
    font-size: clamp(16px, 1vw, 18px);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    margin: 15px 0 25px;
}

.stats {
    display: flex;
    gap: 32px;
    padding-top: 6px;
}

.stat-value {
    font-size: clamp(28px, 4vw, 36px);
    line-height: 1.2;
    font-weight: 700;
    margin: 0;
}

.stat-label {
    margin: 0;
    font-size: clamp(14px, 1vw, 18px);
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 700;
}

.right-panel {
    min-height: 100vh;
    background: #e3f4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 32px;
}

.form-shell {
    width: 100%;
    max-width: 448px;
}

.form-title {
    font-size: clamp(28px, 3.5vw, 42px);
    line-height: 1.2;
    letter-spacing: -0.6px;
    font-weight: 700;
    margin: 0 0 8px;
}

.form-desc {
    color: var(--text-muted);
    font-size: clamp(16px, 1vw, 18px);
    line-height: 1.43;
    margin-bottom: 28px;
}

.field-label {
    font-size: clamp(14px, 1vw, 16px);
    letter-spacing: 0;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 5px;
    display: block;
}

.form-group {
    margin-bottom: 15px;
}

.custom-input-wrap {
    position: relative;
}

.icon-right {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    object-fit: contain;
    opacity: 0.7;
    pointer-events: none;
}

.help-text {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(0, 107, 88, 0.7);
}

.strength {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    margin-top: 6px;
}

    .strength span {
        height: 4px;
        border-radius: 12px;
        background: var(--field-disabled);
        display: block;
    }

        .strength span.active {
            background: var(--brand-700);
        }

.terms {
    display: flex;
    gap: 12px;
    padding: 8px 0;
    align-items: flex-start;
}

    .terms .form-check-input {
        margin-top: 2px;
        width: 16px;
        height: 16px;
        border-radius: 2px;
        border-color: var(--muted-soft);
    }

.terms-text {
    font-size: clamp(14px, 1vw, 16px);
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0;
}

    .terms-text a {
        color: var(--brand-700);
        text-decoration: none;
        font-weight: 600;
    }

.btn {
    border-radius: 30px;
}

.btn-secondary,
.btn-primary {
    margin-top: 0;
    border: 0;
    border-radius: 30px;
    width: 100%;
    height: 48px;
    color: var(--white);
    font-size: clamp(14px, 1vw, 18px);
    font-weight: 700;
    letter-spacing: -0.2px;
    background: linear-gradient(135deg, var(--brand-700) 0%, var(--brand-500) 100%);
    box-shadow: 0 10px 15px -3px #2583c530, 0 4px 6px -4px #2583c542;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 30px;
}

.btn-secondary {
    border-color: #6c757d;
    background: #6c757d;
    width: auto;
    box-shadow: 0 10px 15px -3px #6b757d2e, 0 4px 6px -4px #6b757d2b;
}

    .btn-secondary:hover,
    .btn-secondary:focus,
    .btn-primary:hover,
    .btn-primary:focus {
        background: linear-gradient(-20deg, var(--brand-700) 0%, var(--brand-500) 100%);
    }

.form-footer {
    border-top: 1px solid #e5e8ee;
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: clamp(16px, 1vw, 18px);
}

    .form-footer a {
        color: var(--brand-700);
        text-decoration: none;
        font-weight: 700;
        margin-left: 4px;
    }

/* Dashbaord CSS */


.wrapper {
    display: flex;
    /*min-height: 100vh;*/
}

/* Sidebar Styling */
.sidebar {
    width: 280px;
    background: #f4fbff;
    color: var(--brand-500);
    padding: 30px 0;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    box-shadow: none;
    border-right: 1px solid var(--brand-500);
    transition: transform 0.3s ease;
    z-index: 999;
}

    .sidebar.sidebar-hidden {
        transform: translateX(-100%);
    }

.sidebar-logo {
    padding: 0 25px 40px;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

    .sidebar-logo i {
        color: var(--brand--700);
        font-size: 24px;
    }

.nav-menu {
    list-style: none;
    padding-left: 25px;
    padding-right: 25px;
}

    .nav-menu li {
        margin: 0;
    }

    .nav-menu a {
        display: flex;
        align-items: center;
        padding: 15px 20px;
        color: var(--brand--700);
        text-decoration: none;
        font-size: 14px;
        transition: all 0.3s ease;
        gap: 12px;
    }

        .nav-menu a:hover,
        .nav-menu a:focus,
        .nav-menu a.active {
            color: var(--brand--700);
            font-weight: 600;
            background: var(--white);
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
            border-radius: 8px;
            border: 0 !important;
        }

    .nav-menu i {
        width: 20px;
        text-align: center;
        color: inherit;
        font-size: 16px;
    }

/* Main Content */
.main-content {
    margin-left: 280px;
    flex-grow: 1;
    padding: 0px 35px 35px;
    background-color: #ffffff;
    position: fixed;
    overflow: auto;
    height: 100vh;
    width: calc(100% - 280px);
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    gap: 30px;
    position: relative;
    z-index: 50;
    flex-direction: column;
}

.header-top,
.header-bottom {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.header-left {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex: 1;
}

.header-title h1 {
    font-size: clamp(20px, 2vw, 30px);
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    letter-spacing: 0;
}

.header-title h2,
h2.modal-title,
h1.modal-title {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    letter-spacing: 0;
}

.header-title p {
    color: var(--text-muted);
    font-size: clamp(12px, 1vw, 14px);
    margin: 8px 0 0 0;
    font-weight: 400;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--white);
    padding: 15px 0;
    border-radius: 10px;
    box-shadow: 0;
    white-space: nowrap;
}

.deadline-badge {
    background-color: #ffe8e8;
    color: #d32f2f;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: clamp(12px, 1vw, 14px);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #ffcccc;
}

    .deadline-badge i {
        font-size: 14px;
    }

.hamburger-menu {
    display: flex;
    flex-direction: column;
    width: 28px;
    height: 24px;
    gap: 5px;
    cursor: pointer;
    margin-right: 15px;
    background: none;
    border: none;
    padding: 0;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .hamburger-menu:hover span {
        background-color: var(--brand--700);
    }

    .hamburger-menu span {
        width: 100%;
        height: 3px;
        background-color: var(--text-dark);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translateY(10px);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-10px);
    }

.user-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    position: relative;
    z-index: 999;
}

.user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2583c5 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
}

.user-name {
    font-size: clamp(10px, 0.85vw, 12px);
    font-weight: 600;
    color: var(--text-dark);
}

.user-role {
    font-size: clamp(8px, 0.85vw, 12px);
    color: var(--text-muted);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    z-index: 10000;
    border: 1px solid #e8e8e8;
}

    .dropdown-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 13px;
    transition: background-color 0.2s ease;
    gap: 12px;
}

    .dropdown-item:hover {
        background-color: #f8f8f8;
        color: #17a2b8;
    }

    .dropdown-item i {
        width: 18px;
        text-align: center;
        color: inherit;
    }

.dropdown-divider {
    height: 1px;
    background-color: #f0f0f0;
    margin: 8px 0;
}

/* Cards Section */
.cards-container {
    /* display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px; */
    margin-bottom: 35px;
}

.card-item {
    background: #f4fbff;
    border-radius: 8px;
    padding: 25px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* align-items: flex-start; */
    position: relative;
    justify-content: space-between;
    gap: 10px;
    height: 100%;
    box-shadow: 0rem 0.3125rem 0.3125rem #e6e6e6;
    border: 1px solid #e6e6e6;
}

    .card-item.primary {
        color: var(--white);
        /* Main KPI Card */
        /* Auto layout */
        gap: 16px;
        isolation: isolate;
        background: linear-gradient(135deg, #16B798 0%, #0089C7 100%);
    }

        .card-item.primary:before {
            content: "";
            position: absolute;
            right: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: url(../images/primary-card-imaeg.png) no-repeat top right;
            /* background-size: 220px; */
            background-position: 90% 25px;
        }

.card-label {
    font-size: clamp(10px, 1vw, 12px);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1.2px;
    opacity: 0.85;
    margin-bottom: 0;
}

.card-value {
    font-size: clamp(28px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin: 0;
}

.card-change {
    font-size: clamp(10px, 1vw, 12px);
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0.9;
    font-weight: 500;
}

.badge-pending {
    background-color: var(--badge-pending-bg);
    color: var(--badge-pending-color);
}

.badge-approved {
    background-color: var(--badge-approved-bg);
    color: var(--badge-approved-color);
}

.icon-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    opacity: 0.5;
}

.icon-pending {
    background-color: #ff6b00;
    color: white;
}

.icon-approved {
    background-color: #00a64d;
    color: white;
}

.approved-users {
    display: flex;
    align-items: center;
    gap: 8px;
}

.avatar-group {
    display: flex;
    margin-right: 10px;
}

.avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -8px;
    background: linear-gradient(135deg, #2583c5 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
}

    .avatar-small:first-child {
        margin-left: 0;
    }

/* Table Section */
.table-section {
    background: var(--white);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0px 25px 50px -12px rgb(213 219 219);
    margin-bottom: 35px;
}

.table-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 15px;
}

.control-group {
    display: flex;
    gap: 15px;
    align-items: center;
}

.control-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.form-select,
.form-control,
.custom-input,
.custom-select,
div.dt-container .dt-search input,
div.dt-container select.dt-input {
    width: 100%;
    border-radius: 6px;
    font-size: 13px;
    padding: 9px 12px;
    color: var(--text-dark);
    border-radius: 30px;
    border: 0;
    border-bottom: 1px solid #00748c;
    height: 48px;
    padding: 10px 16px;
    color: var(--text-muted);
    font-size: clamp(16px, 1vw, 18px);
    background: #ffffff;
    width: 100%;
    outline: none;
    box-shadow: none;
}

.form-select {
    min-width: 180px;
}

    .form-select:focus,
    .form-control:focus {
        background: #f1f4fac7;
        border-color: var(--brand--700);
        box-shadow: 0 0 0 3px rgba(23, 162, 184, 0.1);
        outline: none;
    }

.custom-input,
.custom-select {
    padding: 16px 42px 16px 16px;
}

    .custom-input::placeholder {
        color: var(--muted-soft);
        opacity: 1;
    }

.custom-select {
    border-bottom: 2px solid transparent;
    color: var(--text-muted);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}


.btn-export {
    background: linear-gradient(135deg, var(--brand--600) 0%, var(--brand--700) 100%);
    color: var(--white);
    border: none;
    padding: 9px 20px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .btn-export:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 168, 216, 0.3);
        color: var(--white);
    }

/* Table Styling */
.table {
    margin-bottom: 0;
    font-size: 13px;
}

    .table thead th {
        border: none;
        background-color: #f8f9fa;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--text-muted);
        padding: 15px;
        font-size: 12px;
    }

    .table tbody td {
        border: none;
        padding: 15px;
        vertical-align: middle;
        border-bottom: 1px solid #f0f0f0;
    }

    .table tbody tr {
        transition: background-color 0.2s ease;
    }

        .table tbody tr:hover {
            background-color: #f9f9f9;
        }

.employee-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.employee-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2583c5 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.employee-info h6 {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

.employee-info p {
    margin: 3px 0 0 0;
    font-size: 12px;
    color: var(--text-muted);
}

.badge {
    font-size: 11px;
    padding: 6px 15px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success {
    background-color: #e2f5ff;
    color: var(--brand-500);
}

.badge-warning {
    background-color: #fff3cd;
    color: #856404;
}

.badge-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.badge-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

.amount {
    font-weight: 600;
    color: var(--text-dark);
}

    .amount.approved {
        color: #28a745;
    }

    .amount.rejected {
        color: #dc3545;
    }

/* Pagination */
.pagination-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.pagination-info {
    font-size: 12px;
    color: var(--text-muted);
}

.pagination {
    display: flex;
    gap: 5px;
}

    .pagination a,
    .pagination span {
        display: flex;
        align-items: center;
        justify-content: center;
        width: auto;
        height: 32px;
        border: 1px solid #ddd;
        border-radius: 30px !important;
        font-size: 12px;
        color: var(--text-muted);
        text-decoration: none;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .pagination a:hover {
            background-color: #8ab7d6;
            border-color: var(--brand--700);
        }

    .pagination .active {
        /* background-color: var(--brand--600); */
        /* color: var(--white); */
        /* border-color: var(--brand--700); */
    }

/* Rejection Audit Log */
.audit-section {
    background: #ffe8e8;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0px 25px 50px -12px rgb(213 219 219);
    border: 1px solid #d32f2f38;
}

.audit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.audit-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.audit-icon {
    width: 40px;
    height: 40px;
    background-color: #ffe8e8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d32f2f;
    font-size: 18px;
    border: 1px solid #ffcccc;
}

.audit-subtitle {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
}

.review-link {
    color: #d32f2f;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .review-link:hover {
        text-decoration: underline;
    }

.dropdown-menu.show {
    display: block;
    opacity: 1;
    visibility: visible;
}

button.dropdown-toggle {
    display: flex;
    gap: 15px;
    border: 0;
    background: transparent;
    align-items: center;
}

    button.dropdown-toggle::after {
        display: none;
    }

div.dt-container select.dt-input {
    padding: 0px;
    width: 60px;
    margin-right: 10px;
    text-align: center;
}

div.dt-container .dt-paging .dt-paging-button {
    border: 1px solid #ddd !important;
    border-radius: 12px;
    padding: 5px 10px;
    margin: 0 2px;
    color: var(--text-muted) !important;
    transition: all 0.3s ease;
    min-width: 36px;
    min-height: 36px;
}

    div.dt-container .dt-paging .dt-paging-button.current,
    div.dt-container .dt-paging .dt-paging-button.current:hover,
    div.dt-container .dt-paging .dt-paging-button:hover {
        background: #0089C7 !important;
        color: #fff !important;
        border-radius: 12px;
        border: 1px solid #0089C7 !important;
    }

    div.dt-container .dt-paging .dt-paging-button.disabled,
    div.dt-container .dt-paging .dt-paging-button.disabled:hover,
    div.dt-container .dt-paging .dt-paging-button.disabled:active {
        background: #f8d7da;
        border-color: #f8d7da !important;
    }

        div.dt-container .dt-paging .dt-paging-button.disabled,
        div.dt-container .dt-paging .dt-paging-button.disabled:hover,
        div.dt-container .dt-paging .dt-paging-button.disabled:active,
        div.dt-container .dt-paging .dt-paging-button.disabled:focus {
            background: #f8d7da !important;
            border-color: #f8d7da !important;
        }

div.dt-container .dt-length,
div.dt-container .dt-search,
div.dt-container .dt-info,
div.dt-container .dt-processing,
div.dt-container .dt-paging {
    font-size: clamp(12px, 1vw, 14px);
}

table.dataTable > thead > tr > th,
table.dataTable > thead > tr > td {
    padding: 10px;
    background: #fff;
    font-size: clamp(12px, 1vw, 14px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

table tr td {
    font-size: clamp(12px, 1vw, 14px);
}

div.dt-container div.dt-layout-row {
    margin-top: 0;
}

.kpis {
    width: 100%;
}

.kpi-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.kpi-title {
    font-size: clamp(12px, 0.75vw, 16px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: .8px;
    color: var(--text-muted);
    text-transform: uppercase;
    position: relative;
    z-index: 12;
}

.kpi-value {
    margin-top: 6px;
    display: flex;
    align-items: baseline;
    gap: 8px;
    position: relative;
    z-index: 12;
}

    .kpi-value .big {
        font-size: clamp(22px, 3vw, 50px);
        line-height: 40px;
        font-weight: 900;
        letter-spacing: -1.8px;
        color: var(--text-dark);
    }

    .kpi-value .unit {
        font-size: 14px;
        font-weight: 700;
    }

.kpi-foot {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(10px, 0.75vw, 12px);
    font-weight: 600;
}

    .kpi-foot img {
        width: 11.67px;
        height: 11.67px;
    }

.kpi-orb {
    position: absolute;
    right: -16px;
    top: -16px;
    width: 96px;
    height: 96px;
    border-radius: 12px;
    opacity: .5;
}

.deadline-banner {
    background: linear-gradient(90deg, #20c997, #0d6efd);
    color: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    gap: 30px;
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.countdown {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 2px;
}

.count-label {
    font-size: 12px;
    opacity: 0.8;
}

.action-btn {
    background: #e9ecef;
    color: #0f5132;
    font-weight: 600;
    border-radius: 10px;
    padding: 10px 20px;
}

#timer {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

    #timer div {
        display: flex;
        line-height: 1;
        font-size: clamp(24px, 1vw, 32px);
        font-weight: 700;
        text-align: center;
        flex-direction: column;
        gap: 5px;
    }

    #timer span {
        display: flex;
        align-items: center;
        justify-self: center;
        font-size: clamp(14px, 1vw, 16px);
        color: white;
        height: 20px;
        text-transform: uppercase;
    }

    #timer #days {
        font-size: clamp(24px, 1vw, 32px);
    }

    #timer #hours {
        font-size: clamp(24px, 1vw, 32px);
    }

    #timer #minutes {
        font-size: clamp(24px, 1vw, 32px);
    }

    #timer #seconds {
        font-size: clamp(18px, 1vw, 22px);
    }

.timer-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-with-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.D_Open .main-content {
    margin-left: 0 !important;
    width: 100%;
}


.D_Open .sidebar {
    margin-left: -100% !important;
    width: 0;
}

body * {
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}

body.D_Open * {
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}

.modal.fade.show {
    background: rgba(0, 0, 0, .6)
}

.active > .page-link,
.page-link.active {
    z-index: 3;
    color: var(--white) !important;
    background-color: var(--brand-500);
    border-color: var(--brand-500);
}

    .active > .page-link:hover,
    .page-link:hover {
        z-index: 3;
        color: var(--white);
        background-color: var(--brand-700);
        border-color: var(--brand-700);
    }

table tbody td {
    white-space: nowrap;
}

#waTable tr td .btn-xs {
    padding: 10px 15px;
    min-height: inherit;
    height: auto;
}

.tile-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}

/*.tile-title {
            font-weight: 500;
            font-size: 1rem;
            letter-spacing: 0.5px;
        }

        .tile-amount {
            font-weight: 700;
            font-size: 1.8rem;
            margin-top: 5px;
        }
    */
.download-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    font-size: 1rem;
    transition: color 0.3s;
}

    .download-icon:hover {
        color: #ffd700;
    }

/* Tile type specific gradients */
.claimed {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
}

.card-item.claimed {
    gap: 16px;
    background: linear-gradient(to right, #16b7989e, #16b798) !important;
}

    .card-item.claimed:before {
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: url(../Assets/images/primary-card-imaeg.png) no-repeat top right;
        /* background-size: 220px; */
        background-position: 90% 25px;
    }

/* Blue */
.pending {
    background: linear-gradient(to right, #85b8e1, #047edf 99%) !important;
    color: #fff;
}

.stopped {
    background: linear-gradient(to right, #e81b34, #ff6d00 99%) !important;
    color: #fff;
}
/* Orange */
.success {
    background: linear-gradient(to right, #72c9c2, #0fc2a6) !important;
    color: #fff;
}
/* Green */
.failed {
    background: linear-gradient(to right, #ffbf96, #fe7096) !important;
    color: #fff;
}

.total {
    background: linear-gradient(to right, #d5b44b, #cd8604) !important;
    color: #fff;
}
/* Red */

/* Top-left icon */
.tile-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2.5rem;
    opacity: .5;
    color: #fff;
}

[v-cloak] {
    display: none;
}

.small, small {
    font-size: .5em;
}
/* Example: FontAwesome icons colors are inherited from tile */

.shake {
    animation: shaking 2s infinite;
}

@keyframes shaking {
    0%, 90%, 100% {
        transform: translateX(0);
    }

    92% {
        transform: translateX(5px);
    }

    94% {
        transform: translateX(-5px);
    }

    96% {
        transform: translateX(5px);
    }

    98% {
        transform: translateX(-5px);
    }
}

@media (max-width: 768px) {
    .countdown {
        font-size: 22px;
    }

    #uaeDigitalTime {
        font-size: 14px !important;
        font-weight: bold;
        min-width: 90px !important;
    }

    .uae-location {
        font-size: 10px;
        opacity: 0.8;
    }

    button.dropdown-toggle {
        gap: 5px
    }

    .header-top,
    .header-bottom {
        gap: 10px !important;
    }

    .header-right {
        gap: 5px !important;
    }

    .user-name {
        font-size: clamp(10px, 0.85vw, 12px);
        font-weight: 600;
        color: var(--text-dark);
        white-space: nowrap;
        text-overflow: ellipsis;
        /* width: 70px; */
        overflow: hidden;
        width: 10vh;
        min-width: 80px;
    }
}


/* Responsive Design */
@media (max-width: 1200px) {
    .cards-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 991.98px) {
    .card-item {
        padding: 20px;
    }

    .approved-users {
        flex-direction: column;
    }

    .left-panel,
    .right-panel {
        min-height: auto;
    }

    .left-panel {
        padding: 40px 24px;
    }

    .kpi-foot {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .timer-container {
        flex-direction: column;
        align-items: revert;
    }

    .timer-container {
        gap: 10px;
        margin-top: 15px;
    }

    #timer {
        gap: 10px
    }

    .sidebar {
        width: 70px;
        padding: 15px 0;
    }

    .hamburger-menu {
        display: flex;
    }

    .sidebar-logo {
        font-size: 16px;
        padding: 0 5px 20px;
        text-align: center;
    }

    .nav-menu a {
        padding: 15px 10px;
        justify-content: center;
    }

        .nav-menu a span {
            display: none;
        }

        .nav-menu a:hover,
        .nav-menu a.active {
            border-left: none;
            border-bottom: 3px solid var(--brand--700);
            padding-left: 10px;
        }

    .main-content {
        margin-left: 70px;
        padding: 15px;
        width: calc(100% - 70px);
    }

    .cards-container {
        grid-template-columns: 1fr;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .table-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .control-group {
        flex-direction: column;
    }

    .form-select {
        min-width: 100%;
    }

    .btn-export {
        width: 100%;
        justify-content: center;
    }

    .table {
        font-size: 12px;
    }

        .table thead th,
        .table tbody td {
            padding: 10px;
        }

    .nav-menu {
        padding-left: 10px;
        padding-right: 10px;
    }

    .sidebar-logo,
    .sidebar-logo img {
        width: 90%;
        margin: 0 auto;
    }

    .header-bottom {
        flex-direction: column;
        align-items: start !important;
    }

    /* .card-item {
        margin-bottom: 24px;
    }*/
}
