/* --- CUSTOM STYLES --- */
:root {
    --sidebar-width: 280px;
    --primary-orange: #f06543;
    --primary-blue: #3c8dbc;
    --primary-yellow: #f39c12;
    --primary-green: #769f39;
    --slide-speed: 0.35s;
    --slide-ease: cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f6f9;
    overflow-x: hidden;
}



/* Card Container */
.stat-card-new {
    border-radius: 12px;
    padding: 5px 10px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 100px;
    position: relative;
    overflow: hidden;
}

/* Background Colors */
.bg-orange {
    background: #ff7f45;
}

.bg-blue {
    background: #538bd4;
}

.bg-yellow {
    background: #ffb13b;
}

.bg-green {
    background: #91cc63;
}

/* Left Side Content */
.card-info h5 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.card-info p, .card-info small {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* The "Pill" Box on the Right */
.card-data-box {
    background: #f8f4d9; /* Creamy color from image */
    color: #333;
    border-radius: 8px;
    padding: 8px 12px;
    text-align: center;
    min-width: 65px;
}

    .card-data-box .month {
        display: block;
        font-size: 1rem;
        font-weight: bold;
        text-transform: uppercase;
        color: #444;
    }

    .card-data-box .count {
        display: block;
        font-size: 1.2rem;
        font-weight: 500;
        line-height: 1;
    }

    .card-data-box .unit {
        font-size: 0.7rem;
        font-weight: bold;
    }

/* Specifically for the Profile card which has an icon instead of a box */
.profile-icon-box {
    font-size: 2.5rem;
    opacity: 0.8;
}





/* --- SIDEBAR & ANIMATION --- */

#sidebar-wrapper {
    width: var(--sidebar-width);
    height: 100vh;
    margin-left: 0;
    position: fixed;
    z-index: 1000;
    border-right: 1px solid #dee2e6;
    background-color: var(--bs-body-bg);
    display: flex;
    flex-direction: column;
    transition: margin-left var(--slide-speed) var(--slide-ease);
}

#page-content-wrapper {
    width: 100%;
    margin-left: var(--sidebar-width);
    transition: margin-left var(--slide-speed) var(--slide-ease);
}

body.toggled #sidebar-wrapper {
    margin-left: calc(-1 * var(--sidebar-width));
}

body.toggled #page-content-wrapper {
    margin-left: 0;
}

@media (max-width: 768px) {
    #sidebar-wrapper {
        margin-left: calc(-1 * var(--sidebar-width));
    }

    #page-content-wrapper {
        margin-left: 0;
    }

    body.toggled #sidebar-wrapper {
        margin-left: 0;
        box-shadow: 5px 0 15px rgba(0,0,0,0.1);
    }
}

/* --- SIDEBAR ITEMS --- */

#sidebar-wrapper .sidebar-heading {
    padding: 1.5rem 1.25rem;
}

#sidebar-wrapper .list-group-item {
    border: none;
    padding: 10px 1.25rem;
    font-size: 0.95rem;
    color: var(--bs-body-color);
    background-color: transparent;
}

    /*  #sidebar-wrapper .list-group-item:hover {
        background-color: rgba(0,0,0,0.05);
        color: var(--primary-orange);
    }*/
    #sidebar-wrapper .list-group-item:hover {
        background-color: rgba(0, 0, 0, 0.05);
        color: var(--primary-orange) !important;
    }

.sub-menu .list-group-item {
    padding-left: 3rem;
    font-size: 0.9rem;
    color: #6c757d;
}

/* Custom Scrollbar */

.custom-scrollbar::-webkit-scrollbar {
    width: 5px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #dee2e6;
    border-radius: 10px;
}

/* --- NAVBAR & HEADER --- */




.profile-sub-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

    .profile-sub-link:hover {
        color: #ececec;
        text-decoration: underline;
    }

/* Dark mode support */
[data-bs-theme="dark"] .profile-sub-link {
    color: #ffffff;
}

    [data-bs-theme="dark"] .profile-sub-link:hover {
        color: #ffffff;
    }






.top-navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 10px 20px;
    background-color: var(--bs-body-bg);
}

.date-widget {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 50px;
    padding: 8px 20px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    font-size: 0.9rem;
}

    .date-widget .label {
        color: #6c757d;
        font-weight: 500;
    }

    .date-widget .value {
        font-weight: 600;
        color: #212529;
        display: flex;
        align-items: center;
        gap: 8px;
    }

/* --- DASHBOARD CARDS (COLORED) --- */

.stat-card {
    color: white;
    border-radius: 8px;
    padding: 20px;
    height: 100%;
    position: relative;
    transition: transform 0.2s;
}

    .stat-card:hover {
        transform: translateY(-3px);
    }

.bg-orange {
    background-color: var(--primary-orange);
}

.bg-blue {
    background-color: var(--primary-blue);
}

.bg-yellow {
    background-color: var(--primary-yellow);
}

.bg-green {
    background-color: var(--primary-green);
}

.stat-card .icon-bg {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    opacity: 0.4;
}

/* --- DASHBOARD CARDS (WHITE / DETAIL WIDGETS) --- */

.bg-birthday {
    background-color: #dde1e1 !important;
}

.white-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    height: 100%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
}
    /* Utility class for horizontal white cards (Row 3) */
    .white-card.horizontal {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .white-card h6 {
        font-weight: 600;
        color: #343a40;
        margin-bottom: 1rem;
        font-size: 1.2rem;
    }

/* Pure CSS Donut Chart */
.donut-chart {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto;
    border-radius: 50%;
    background: conic-gradient( var(--primary-blue) 0deg 240deg, var(--primary-green) 240deg 300deg, var(--primary-yellow) 300deg 360deg );
}

    .donut-chart::after {
        content: "";
        position: absolute;
        width: 110px;
        height: 110px;
        top: 15px;
        left: 15px;
        background-color: #fff;
        border-radius: 50%;
    }

.legend-item {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #6c757d;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 2px;
    display: inline-block;
}

/* List Styles inside cards */
.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

    .detail-row label {
        color: #6c757d;
    }

    .detail-row span {
        font-weight: 600;
    }

.active-badge {
    background-color: var(--primary-green);
    color: white;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 1rem;
}

.view-details-link {
    margin-top: auto;
    text-align: right;
    font-size: 0.85rem;
    text-decoration: underline;
    color: var(--primary-blue);
    cursor: pointer;
}


.white-card .legend-color {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 8px;
    border-radius: 50%;
}

/* --- SIMPLE STROKE ANIMATION --- */

.hover-stroke-card {
    border: 1px solid #e9ecef;
    transition: border-color 0.3s ease-in-out;
}

    .hover-stroke-card:hover {
        border-color: var(--primary-blue) !important;
    }

/* Dark Mode Support */
[data-bs-theme="dark"] .hover-stroke-card {
    border-color: #343a40;
}

    [data-bs-theme="dark"] .hover-stroke-card:hover {
        border-color: var(--primary-blue) !important;
    }




/* Announcement/Onboarding/Birthday Card specific styles (Row 4) */
.announcement-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.onboarding-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.birthday-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

    .birthday-item span.date {
        font-size: 0.8rem;
        color: #6c757d;
    }

/* --- DARK MODE OVERRIDES --- */
[data-bs-theme="dark"] body {
    background-color: #121212;
}

[data-bs-theme="dark"] #sidebar-wrapper {
    border-right: 1px solid #343a40;
}

[data-bs-theme="dark"] .list-group-item:hover {
    background-color: rgba(255,255,255,0.1);
}

[data-bs-theme="dark"] .date-widget {
    background-color: #212529;
    border-color: #495057;
}

    [data-bs-theme="dark"] .date-widget .value {
        color: #f8f9fa;
    }

/* Dark Mode White Cards */
[data-bs-theme="dark"] .white-card {
    background-color: #212529;
    border-color: #343a40;
    color: #fff;
}

    [data-bs-theme="dark"] .white-card h6 {
        color: #f8f9fa;
    }

[data-bs-theme="dark"] .donut-chart::after {
    background-color: #212529;
}

[data-bs-theme="dark"] .detail-row label {
    color: #adb5bd;
}

[data-bs-theme="dark"] .btn-link {
    color: #adb5bd !important;
}
/* For 3-dot menu in dark mode */
[data-bs-theme="dark"] .announcement-item {
    border-bottom: 1px solid #495057;
}






@media (max-width: 767px) {

    .date-widget {
        padding: 5px 10px;
    }


        .date-widget .value #liveDateTime {
            font-size: 0.9rem;
        }


        .date-widget .value i {
            font-size: 0.9rem;
        }


        .date-widget .label {
            font-size: 0.7rem;
        }

    #sidebar-wrapper .sidebar-heading {
        padding: 5rem 1.25rem 1.25rem 1.25rem;
    }
}



.date-highlight {
    /* Subtle background color to make the date stand out */
    background-color: var(--bs-light);
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
    white-space: nowrap;
}

/* Dark Mode Adjustment */
[data-bs-theme="dark"] .date-highlight {
    background-color: #343a40;
}

/* --- Responsiveness for Dates --- */

@media (max-width: 576px) {

    .date-highlight {
        font-size: 0.6rem;
        padding: 2px 5px;
    }
}


@media (min-width: 1200px) and (max-width: 1300px) {

    /* 1. HIDE THE IMAGE (from previous step) */
    .onboarding-item img {
        display: none;
    }


    .onboarding-item .small {
    }


    .onboarding-item .avatar-sm {
        display: none;
    }


    .date-highlight {
        background-color: var(--bs-light);
        padding: 3px 8px;
        border-radius: 4px;
        font-weight: 600;
        white-space: nowrap;
        flex-shrink: 0;
        min-width: fit-content;
    }
}




/*employee list view ------------------------------------------           */

.bg-new {
    background: linear-gradient( to bottom, #E1EFF1, /* Light blue/cyan at the top */
    #FFFFFF /* White at the bottom */
    );
    /* Ensure the gradient covers the entire viewport, even if content is short */
    min-height: 100vh;
    background-attachment: fixed;
}

.white-card-nostrok {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    height: 100%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
}




/* --- Core Table Styling --- */


.data-table-responsive {
    overflow-x: auto;
}

/* Ensure table content is visually neat and doesn't wrap unnecessarily */
.employee-list-table th,
.employee-list-table td {
    white-space: nowrap;
    vertical-align: middle;
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
}

/* Remove default table borders if using a bordered table */
.employee-list-table.table-bordered {
    border: none;
}

    .employee-list-table.table-bordered th,
    .employee-list-table.table-bordered td {
        border-color: var(--bs-border-color-translucent);
    }

/* Style for the table header */
.employee-list-table thead th {
    font-weight: 600;
    color: var(--bs-secondary);
    background-color: var(--bs-light);
    border-bottom: 2px solid var(--bs-border-color);
}

/* Dark Mode Overrides */
[data-bs-theme="dark"] .employee-list-table thead th {
    background-color: var(--bs-gray-dark);
}




/* --- BODY BACKGROUND (Gradient #E1EFF1 to #FFFFFF) --- */

/* --- WHITE CARD STYLES --- */
.white-card {
    background-color: var(--bs-body-bg);
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}

/* --- SEARCH BOX CONTAINER (Border Removed as requested) --- */
.search-box-container {
    border: none !important;
    box-shadow: none !important;
}

/* --- EMPLOYEE LIST STYLING --- */
.employee-list-card {
    overflow: hidden;
}

.employee-list-group .list-group-item {
    border-color: var(--bs-border-color-translucent);
    display: flex;
    align-items: center;
}

/* Detail spacing for desktop */
.employee-detail-id {
    min-width: 120px;
    text-align: left;
}

.employee-detail-title {
    min-width: 200px;
    text-align: left;
}

.employee-detail-email {
    min-width: 200px;
    text-align: left;
}


/* --- RESPONSIVENESS (Mobile View) --- */

@media (max-width: 768px) {

    .employee-list-group .list-group-item {
        flex-direction: column;
        align-items: flex-start !important;
    }

    /* Hide less critical details on small screens */
    .employee-detail-id,
    .employee-detail-title,
    .employee-detail-email {
        display: none !important;
    }

    /* Reposition the eye icon on mobile */
    .employee-list-group .bi-eye {
        position: absolute;
        top: 25px;
        right: 15px;
    }

    /* Adjust input group alignment for mobile */
    .input-group-text.d-none.d-sm-flex {
        display: block !important;
        width: 100%;
        border-radius: 0.375rem 0.375rem 0 0;
        border-bottom: none;
        text-align: center;
    }
}



.table-header {
    background-color: #0088CC !important;
    color: white;
}

/*login page of the cirtus informatics dasboard*/

.page-wrapper {
    background-color: #474747;
    background-image: url('imges/bg-effect.png') !important;
    background-repeat: no-repeat;
    background-position: right top;
    background-size: contain;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}


.login-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 40px;
    width: 100%;
    max-width: 450px;
    border: 1px solid #eef0f2;
}

.logo-placeholder {
    max-width: 200px;
    margin-bottom: 20px;
}

.page-title {
    color: #444;
    font-weight: 400;
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.input-group-text {
    background-color: white;
    border-right: none;
    color: #aaa;
}

.form-control {
    border-left: none;
    box-shadow: none !important;
    border-color: #dee2e6;
    padding-left: 0;
}


    .form-control:focus {
        border-color: #dee2e6;
    }


.input-group:focus-within .input-group-text,
.input-group:focus-within .form-control {
    border-color: #86b7fe;
}

.form-label {
    color: #555;
    font-weight: 500;
    font-size: 0.95rem;
}

.forgot-pass-link {
    text-decoration: none;
    font-size: 0.9rem;
    color: #2c71b6;
}

.btn-custom-blue {
    background-color: #2774b9 !important;
    border-color: #2774b9;
    color: white !important;
    padding: 10px;
    font-size: 1.1rem;
    border-radius: 6px;
}

    .btn-custom-blue:hover {
        background-color: #1e609a;
        color: white;
    }

.input-icon-right {
    border-left: none;
    border-right: 1px solid #dee2e6;
    background: white;
    cursor: pointer;
}


/* Internal styles to match the specific look of the Appraisal Image */

.appraisal-content-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 40px;
}

.section-header {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.guidelines-section {
    margin-bottom: 2.5rem;
}

    .guidelines-section h4 {
        font-size: 1.25rem;
        font-weight: 700;
        color: #2c3e50;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

    .guidelines-section p, .guidelines-section li {
        color: #555;
        line-height: 1.6;
    }

.table-rating thead th {
    background-color: #f8f9fa;
    color: #495057;
    font-weight: 600;
}

/* Custom scrollbar for sidebar (optional if not in custom-style.css) */
.custom-scrollbar::-webkit-scrollbar {
    width: 5px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}


/* Custom Tab Styling */
.custom-tabs {
    border-bottom: 1px solid #e0e0e0; /* The thin grey line running across */
    gap: 1.5rem; /* Space between tab items */
}

    .custom-tabs .nav-link {
        color: #8c9097; /* Grey text for inactive tabs */
        font-weight: 500;
        border: none;
        border-bottom: 3px solid transparent; /* Invisible border for spacing */
        padding: 0.5rem 0.5rem 0.8rem 0.5rem;
        margin-bottom: -2px; /* Pulls the link down to sit on the grey line */
        background: transparent;
    }

        .custom-tabs .nav-link:hover {
            color: #0d6efd; /* Blue on hover */
            border-bottom-color: #e9ecef;
        }

        .custom-tabs .nav-link.active {
            color: #0088cc; /* The specific Blue from your image */
            font-weight: 700; /* Bolder text for active */
            background-color: transparent;
            border-bottom: 3px solid #0088cc; /* Thick blue active underline */
        }


/* Custom Tab Styling */
.custom-tabs {
    border-bottom: 1px solid #e0e0e0;
    gap: 1.5rem;
}

    .custom-tabs .nav-link {
        color: #8c9097;
        font-weight: 500;
        border: none;
        border-bottom: 3px solid transparent;
        padding: 0.5rem 0.5rem 0.8rem 0.5rem;
        margin-bottom: -2px;
        background: transparent;
    }

        .custom-tabs .nav-link:hover {
            color: #0d6efd;
            border-bottom-color: #e9ecef;
        }

        .custom-tabs .nav-link.active {
            color: #0088cc;
            font-weight: 700;
            background-color: transparent;
            border-bottom: 3px solid #0088cc;
        }

/* Leave Card Styles */
.leave-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

    .leave-header h2 {
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 0.25rem;
    }

    .leave-header .total-balance {
        font-size: 1.5rem;
        font-weight: 700;
        color: #333;
    }

.btn-apply-leave {
    background-color: #2196f3;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .btn-apply-leave:hover {
        background-color: #1976d2;
        color: white;
    }

.leave-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 992px) {
    .leave-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.leave-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 1.5rem;
}

.leave-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.leave-type {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.leave-count {
    font-size: 1.25rem;
    font-weight: 700;
}

/* Circular Progress Bar */
.progress-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.circular-progress {
    width: 120px;
    height: 120px;
}

    .circular-progress circle {
        fill: none;
        stroke-width: 10;
        transform: rotate(-90deg);
        transform-origin: 50% 50%;
    }

.progress-bg {
    stroke: #f0f0f0;
}

.progress-bar {
    stroke-dasharray: 314; /* 2 * pi * r (r=50) */
    stroke-linecap: round;
}
/* Specific Colors & Progress */
.casual-leave .progress-bar {
    stroke: #8bc34a;
    stroke-dashoffset: 31.4;
}
/* 90% */
.sick-leave .progress-bar {
    stroke: #f44336;
    stroke-dashoffset: 62.8;
}
/* 80% */
.earned-leave .progress-bar {
    stroke: #2196f3;
    stroke-dashoffset: 0;
}
/* 100% */
.c-off-leave .progress-bar {
    stroke: #9c27b0;
    stroke-dashoffset: 0;
}
/* 100% */
.lop-leave .progress-bar {
    stroke: #9e9e9e;
    stroke-dashoffset: 0;
}
/* 100% */

/* Text Colors */
.text-casual {
    color: #333;
}

.text-sick {
    color: #f44336;
}

.text-earned {
    color: #2196f3;
}

.text-c-off {
    color: #333;
}

.text-lop {
    color: #f44336;
}

.leave-period {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    font-weight: 500;
}

/* Leave Details List */
.leave-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .leave-details li {
        display: flex;
        justify-content: space-between;
        padding: 0.6rem 0.75rem;
        font-size: 0.85rem;
        color: #555;
        border-radius: 5px;
    }

        .leave-details li:nth-child(odd) {
            background-color: #f9f9f9;
        }

    .leave-details .value {
        font-weight: 600;
        color: #333;
    }

[data-bs-theme="dark"] .leave-card {
    background-color: #1e1e1e;
    border-color: #333;
}

[data-bs-theme="dark"] .leave-header .total-balance, [data-bs-theme="dark"] .leave-type, [data-bs-theme="dark"] .leave-details .value, [data-bs-theme="dark"] .text-casual, [data-bs-theme="dark"] .text-c-off {
    color: #e0e0e0;
}

[data-bs-theme="dark"] .leave-period, [data-bs-theme="dark"] .leave-details li {
    color: #b0b0b0;
}

    [data-bs-theme="dark"] .leave-details li:nth-child(odd) {
        background-color: #2a2a2a;
    }

[data-bs-theme="dark"] .progress-bg {
    stroke: #333;
}





/* Custom Styles for Leave Dashboard */

/* 1. Custom Tabs (Underline Style) */
.custom-tabs {
    border-bottom: 1px solid #e0e0e0;
}

    .custom-tabs .nav-link {
        color: #6c757d;
        font-weight: 500;
        border: none;
        background: transparent;
        padding: 0.75rem 1.5rem;
        position: relative;
    }

        .custom-tabs .nav-link.active {
            color: #2473bd !important; /* Primary Blue */
            font-weight: 600;
        }

            /* The blue underline bar */
            .custom-tabs .nav-link.active::after {
                content: '';
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 3px;
                background-color: #2473bd;
                border-top-left-radius: 3px;
                border-top-right-radius: 3px;
            }

/* 2. Form Inputs (Year/Category) */
.filter-label {
    margin-right: 10px;
    font-weight: 500;
    color: #555;
}

.custom-select-wrapper {
    position: relative;
    width: 180px;
}

    .custom-select-wrapper .form-control {
        padding-left: 2.5rem; /* Space for icon */
        background-color: #fff;
        border: 1px solid #dee2e6;
    }

    .custom-select-wrapper .bi-calendar4 {
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        color: #6c757d;
        pointer-events: none;
    }

/* 3. Custom Table Styling */
.leaves-table-card {
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden; /* Ensures corners clip content */
    background-color: #fff;
}

.leaves-table thead th {
    background-color: #2473bd !important; /* Matches image header blue */
    color: #ffffff !important;
    font-weight: 500;
    padding: 15px;
    border: none;
    white-space: nowrap;
}

.leaves-table tbody td {
    padding: 15px;
    vertical-align: middle;
    color: #333;
    border-bottom: 1px solid #f2f2f2;
}

/* Zebra striping specific to design (optional, standard table-striped works too) */
.leaves-table tbody tr:nth-of-type(even) {
    background-color: #f8f9fa;
}

.status-approved {
    color: #28a745; /* Green */
    font-weight: 500;
}

.action-btn {
    color: #2473bd;
    font-size: 1.2rem;
    transition: opacity 0.2s;
}

    .action-btn:hover {
        opacity: 0.7;
        color: #1a5c99;
    }

/* 4. Apply Button */
.btn-apply {
    background-color: #2473bd;
    border-color: #2473bd;
    padding: 10px 30px;
    font-weight: 500;
}

    .btn-apply:hover {
        background-color: #1a5c99;
        border-color: #1a5c99;
    }

/* Dark Mode Overrides (Optional - based on your existing logic) */

[data-bs-theme="dark"] .custom-tabs .nav-link {
    color: #aaa;
}

    [data-bs-theme="dark"] .custom-tabs .nav-link.active {
        color: #6ea8fe;
    }

        [data-bs-theme="dark"] .custom-tabs .nav-link.active::after {
            background-color: #6ea8fe;
        }

[data-bs-theme="dark"] .leaves-table-card {
    border-color: #444;
    background-color: #2c3034;
}

[data-bs-theme="dark"] .leaves-table tbody td {
    color: #eee;
    border-color: #444;
}

[data-bs-theme="dark"] .leaves-table tbody tr:nth-of-type(even) {
    background-color: #343a40;
}

[data-bs-theme="dark"] .filter-label {
    color: #ccc;
}


/* Existing sidebar styles... */
#sidebar-wrapper {
    /* ... width, background color, transition ... */
}

.sidebar-heading {
    /* ... padding, alignment ... */
}

#wrapper.toggled #sidebar-wrapper {
    /* ... transform/position for toggled state ... */
}

.list-group-item-action {
    /* ... hover/active styles ... */
}

.sub-menu a.list-group-item {
    padding-left: 3rem; /* Indentation for sub-menu items */
}

/* --- New Custom Table Styles --- */

/* Define custom background colors */
:root {
    --light-blue-bg: #e6f0ff; /* Office Hours column color */
    --light-green-bg: #e6ffec; /* House Hours column color */
    --border-color: #dee2e6;
}

/* Base table styling for padding and borders */
.time-data-table th,
.time-data-table td {
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0.75rem;
}

/* 1. Office Hours Column (Sky Blue) */
.office-hours-column {
    background-color: var(--light-blue-bg) !important;
    border-left: 1px solid #cce0ff; /* Light border matching card color */
    border-right: 1px solid #cce0ff;
}

/* 2. House Hours Column (Light Green) */
.house-hours-column {
    background-color: var(--light-green-bg) !important;
    border-right: 1px solid #ccebcc; /* Light border matching card color */
}

/* 3. Total Hours Column (White/Default) */
.total-hours-column {
    background-color: #fff !important; /* Ensure white background, overriding striped if necessary */
}

/* Override default Bootstrap table-striped coloring for these custom columns */
.time-data-table > tbody > tr:nth-of-type(odd) > td.office-hours-column,
.time-data-table > tbody > tr:nth-of-type(odd) > td.house-hours-column,
.time-data-table > tbody > tr:nth-of-type(odd) > td.total-hours-column {
    background-color: var(--light-blue-bg); /* Use base custom color for odd rows */
    background-color: var(--light-green-bg); /* Use base custom color for odd rows */
    background-color: #fff; /* Use base custom color for odd rows */
}

/* General fixes */
.time-data-table thead tr {
    /* Ensure header background is light gray as per the image */
    background-color: var(--bs-light);
}

.time-data-table tbody tr:last-child td {
    border-bottom: none;
}



/* Chage password form style  */

.datacover {
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.change-password-card {
    background: #ffffff;
    width: 100%;
    max-width: 440px;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    /* Soft blue gradient at the top as per image */
    background: linear-gradient(180deg, #f3f9fb 0%, #ffffff 100px);
}

.page-title {
    font-weight: 700;
    color: #332d2d;
    margin-bottom: 25px;
    font-size: 28px;
}

.form-label {
    color: #555;
    font-size: 15px;
    margin-bottom: 8px;
}

/* Container for input and icon */
.input-group {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    transition: border-color 0.2s;
}

    /* Remove default Bootstrap borders and shadows from children */
    .input-group .form-control,
    .input-group .input-group-text {
        border: none !important;
        background-color: transparent !important;
        box-shadow: none !important;
    }

/* Placeholder styling */
.form-control::placeholder {
    color: #adb5bd;
    font-size: 14px;
}

/* Icon styling */
.input-group-text {
    color: #6c757d;
    cursor: pointer;
    padding-right: 15px;
}

/* Highlight the whole group on focus */
.input-group:focus-within {
    border-color: #2c75bc;
    box-shadow: 0 0 0 0.2rem rgba(44, 117, 188, 0.1);
}

.error-box {
    background-color: #fff5f5;
    color: #cb444a;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 20px;
}

.btn-custom-blue {
    background-color: #2c75bc;
    color: white;
    padding: 12px;
    font-weight: 500;
    border-radius: 6px;
    border: none;
    margin-top: 10px;
}

    .btn-custom-blue:hover {
        background-color: #2463a1;
        color: white;
    }

/* Update the form-control padding */
.input-group .form-control {
    border: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    padding-left: 20px; /* This adds the space you need before the text */
    height: 50px; /* Optional: makes the input taller like the image */
}

/* Ensure the icon has enough space on the right too */
.input-group-text {
    border: none !important;
    background-color: transparent !important;
    color: #6c757d;
    cursor: pointer;
    padding-right: 18px;
}

/* Chage password form end style  */



/* Success Popup Styling */
.success-popup {
    border-radius: 20px !important;
    border: none !important;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    background: linear-gradient(180deg, #f3f9fb 0%, #ffffff 80px);
}

.success-icon-circle {
    width: 80px;
    height: 80px;
    background-color: #f8fff9;
    border: 2px solid #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

    .success-icon-circle i {
        font-size: 45px;
        color: #28a745;
    }

.modal-title-custom {
    font-weight: 700;
    color: #332d2d;
    font-size: 28px;
    margin-bottom: 10px;
}

.modal-text-custom {
    color: #777;
    font-size: 18px;
}

/* Ensure the close button is subtle */
.btn-close {
    background-size: 12px;
    opacity: 0.5;
}





/* Corner Notification Slider */
.corner-notification {
    position: fixed;
    top: 90px;
    right: -420px;
    width: 550px;
    background: #b02a37;
    color: #fff;
    border-radius: 10px 0 0 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    z-index: 1055;
    animation: slideInFromRight 1s ease forwards;
}

.corner-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 500;
}

    .corner-content i {
        font-size: 20px;
    }

.close-btn {
    margin-left: auto;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
}





/* Logout Modal   Professional Styling */
.logout-modal {
    border-radius: 14px;
    border: none;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

    .logout-modal .modal-body {
        padding: 32px 28px;
    }

/* Icon circle */
.logout-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

    .logout-icon i {
        font-size: 24px;
        color: #dc3545;
    }

/* Buttons */
.logout-modal .btn {
    border-radius: 8px;
    font-weight: 500;
}

.logout-modal .btn-danger {
    box-shadow: 0 6px 16px rgba(220, 53, 69, 0.35);
}

/* Smooth animation */
.modal.fade .modal-dialog {
    transform: scale(0.96);
    transition: transform 0.25s ease-out;
}

.modal.fade.show .modal-dialog {
    transform: scale(1);
}

/* Dark mode support */
[data-bs-theme="dark"] .logout-modal {
    background: #1f1f1f;
}

[data-bs-theme="dark"] .logout-icon {
    background: rgba(220, 53, 69, 0.2);
}

[data-bs-theme="dark"] .text-muted {
    color: #adb5bd !important;
}


.bi-power {
    transition: color 0.2s ease, transform 0.15s ease;
}

    .bi-power:hover {
        color: #dc3545 !important;
        transform: scale(1.1);
        cursor: pointer;
    }

/* Slide In Animation */
@keyframes slideInFromRight {
    0% {
        right: -420px;
        opacity: 0;
    }

    100% {
        right: 0;
        opacity: 1;
    }
}



/* Slide Out */
.corner-notification.hide {
    animation: slideOutToRight 0.6s ease forwards;
}

@keyframes slideOutToRight {
    0% {
        right: 0;
        opacity: 1;
    }

    100% {
        right: -420px;
        opacity: 0;
    }
}

/* Dark mode support */
[data-bs-theme="dark"] .corner-notification {
    background: #dc3545;
}



@media (min-width: 1200px) and (max-width: 1390px) {


    .stat-card-new {
        min-height: 120px;
    }

    .card-info h5 {
        font-size: 1rem;
    }
}



.widget-body {
    background: rgba(255,0,0,0.05); /* TEMP debug */
}


/* Parent card should not grow */
.white-card {
    overflow: hidden;
}

/* Scroll container */
.data-wraper {
    max-height: 300px;
    min-height: 300px; /* REQUIRED */
    overflow-y: auto; /* enable vertical scroll */
    overflow-x: hidden;
    padding-right: 6px; /* space for scrollbar */
}

    /* Optional: smooth, clean scrollbar */
    .data-wraper::-webkit-scrollbar {
        width: 6px;
    }

    .data-wraper::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.3);
        border-radius: 6px;
    }

    .data-wraper::-webkit-scrollbar-track {
        background: transparent;
    }

#sidebar-wrapper {
    font-family: "Inter", "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif !important;
}

.profile-tabs {
    background: #fff;
    padding: 10px;
    text-align: center;
    font-size: 14px; /* consistent size */
}

body {
    /*background-color: #e6e6e6;*/
    background-color: #f4f6f9 !important;
}
/* ===== FILTER BAR CONTAINER ===== */
.team-filter-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    background: #ffffff;
    padding: 16px 22px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    width: 95%;
    max-width: 1200px;
    margin: 25px auto;
    box-sizing: border-box;
    border: solid .5px #6EAA1F;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    overflow-x: auto !important;
    display: block !important;
    width: 100% !important;
    // max-width: 1134px;
}

.team-filter-bar-md {
    width: 80% !important;
}

.team-filter-bar-lg.team-filter-bar-md {
    width: 80% !important;
}

.team-filter-bar-lg {
    width: 90% !important;
}
/* ===== SELECT + DATE INPUT ===== */
.team-filter-bar select,
.team-filter-bar input[type="text"] {
    height: 36px;
    padding: 6px 10px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    font-size: 13px;
    min-width: 160px;
    background-color: #fff;
    transition: all .2s ease;
}

    /* focus effect */
    .team-filter-bar select:focus,
    .team-filter-bar input:focus {
        outline: none;
        border-color: #0596d2;
        box-shadow: 0 0 0 2px rgba(5,150,210,0.15);
    }

/* ===== calendar icon ===== */
.datefield {
    background: #fff url(../images/icon-calendar.png) right 10px center no-repeat;
    background-size: 16px;
    padding-right: 32px;
}

/* ===== BUTTON ===== */
.btnStyleNew {
    height: 36px !important;
    padding: 0 20px;
    border: none;
    border-radius: 6px;
    background: #0596d2;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
}

    /* hover effect */
    .btnStyleNew:hover {
        background: #047fb4;
        transform: translateY(-1px);
    }

/* ===== MOBILE RESPONSIVE ===== */
@media(max-width:600px) {
    .team-filter-bar {
        flex-direction: column;
        align-items: stretch;
        width: 95%;
    }

        .team-filter-bar select,
        .team-filter-bar input,
        .btnStyleNew {
            width: 100%;
        }
}

.legend-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 per row */
    gap: 4px 8px;
    margin-top: 8px;
    font-size: 11px;
    line-height: 1.2;
}

legend-grid div {
    display: flex;
    align-items: center;
    white-space: nowrap; /* force single line */
    overflow: hidden; /* clip overflow */
    text-overflow: ellipsis; /* Appraisee Initi  */
}

#div_bannerA {
    top: 16.5% !important;
}

#div_bannerR {
    top: 23% !important
}

#div_bannerS {
    top: 10% !important
}

.bannerlink {
    color: #fff !important;
    gap: 12px;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer !important;
}

.bi-chevron-right {
    transition: transform 0.25s ease;
}

.rotate-90 {
    transform: rotate(90deg);
    transform: rotate(90deg);
}

.rotate-0 {
    transform: rotate(0deg);
}

.list-group-item.active {
    background-color: #f8f9fa;
    font-weight: 600;
}

#sidebar-accordion a.list-group-item-action.active {
    background-color: #6EAA1F !important;
    color: white !important;
    font-weight: 600;
}

a[data-bs-toggle="collapse"] .toggle-icon {
    transition: transform 0.25s ease;
    transform: rotate(0deg);
}

/* Expanded state */
a[data-bs-toggle="collapse"][aria-expanded="true"] .toggle-icon {
    transform: rotate(90deg);
}

a[data-bs-toggle="collapse"]:has(+ .collapse.show) .toggle-icon {
    transform: rotate(90deg);
}

input, textarea, select, .uneditable-input {
    color: #333;
    font-size: 14px !important;
}

.tabprofilelinks {
    width: auto;
    text-align: center;
    padding: 2%;
    margin-left: 10%;
    margin-right: 10%;
}
/* Container styling for the table */
.btext {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    border-collapse: collapse;
    background-color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden; /* Ensures the rounded corners apply to images */
    margin: 40px auto;
    border: none !important;
}

    /* Row and Cell styling */
    .btext td {
        padding: 12px 20px;
        color: #444;
        font-size: 14px;
        border: none !important; /* Removes default table borders */
    }

        /* Clean up the background colors set in HTML */
        .btext td[bgcolor="#f7f7f7"] {
            background-color: #fcfcfc !important;
        }

    /* Input Field Styling */
    .btext input[type="text"],
    .btext input[type="password"] {
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 14px;
        transition: border-color 0.3s, box-shadow 0.3s;
        outline: none;
    }

        .btext input[type="text"]:focus,
        .btext input[type="password"]:focus {
            border-color: #007bff;
            box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
        }

/* Submit Button Styling */
.btnStyle {
    //background-color: #0596d2;
    font-size: 13px;
    width: 150px;
    height: 40px;
    font-weight: bold;
    color: White;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

    .btnStyle:hover {
        background-color: #0056b3;
    }

/* Message Span Styling */
#ctl00_ContentPlaceHolder1_lblMsg {
    font-size: 13px;
    color: #d9534f; /* Error red by default */
    font-weight: 500;
}

/* Handling the top/bottom images */
.btext img {
    display: block;
    max-width: 100%;
    object-fit: cover;
}

.btext tr:first-child td {
    height: 30px;
    background-color: #ffffff !important;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.btext tr:last-child td {
    height: 30px;
    background-color: #ffffff !important;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.btext {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    border-collapse: collapse;
    background-color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    margin: 20px auto;
    border: none !important;
}
/* Change password When dark mode is active */
[data-bs-theme="dark"] table.btext,
[data-bs-theme="dark"] table.btext td {
    background-color: #2b3035 !important;
    color: #ffffff !important;
    border-color: #495057;
}


    [data-bs-theme="dark"] table.btext input[type="text"],
    [data-bs-theme="dark"] table.btext input[type="password"] {
        background-color: #121212;
        color: white;
        border: 1px solid #495057;
    }
/* Dark Mode Override */
[data-bs-theme="dark"] body {
    background-color: #121212 !important;
    color: #e9ecef !important;
}
/* View and edit profile the table when the dark theme is active */
[data-bs-theme="dark"] .table-class,
[data-bs-theme="dark"] .table-class td,
[data-bs-theme="dark"] .table-class tr {
    background-color: #212529 !important;
    color: #f8f9fa !important;
    border-color: #444 !important;
}

    [data-bs-theme="dark"] .table-class td b, [data-bs-theme="dark"] .table-class td span {
        color: #ffffff !important;
    }
    /*[data-bs-theme="dark"] .table-class textarea,
[data-bs-theme="dark"] .table-class input,
[data-bs-theme="dark"] .profileTextbox {
    background-color: #2b3035 !important;
    color: #ffffff !important;
    border: 1px solid #495057 !important;
}*/
    [data-bs-theme="dark"] .table-class textarea,
    [data-bs-theme="dark"] .table-class input:not([type="submit"]),
    [data-bs-theme="dark"] .profileTextbox {
        background-color: #2b3035 !important;
        color: #ffffff !important;
        // border: 1px solid #495057 !important;
    }
/* profile tab background */
[data-bs-theme="dark"] .profile-tabs {
    background-color: #212529 !important;
    border-bottom: 1px solid #333;
}

    [data-bs-theme="dark"] .profile-tabs .btn-info {
        background-color: #007c89;
        border-color: #007c89;
        color: #fff;
    }

.profile-pic .btn-upload input {
    position: absolute;
    bottom: 20px;
    left: 26px;
    border: none;
    font-size: 0px;
    width: 32px;
    height: 30px;
    background: #6eaa1f url(../images/edit-icon.png) no-repeat !important;
    cursor: pointer;
}

.Onboard {
    font-size: 12px !important;
    min-width: 70px;
}

.toast-container {
    position: fixed !important;
    top: 20px;
    left: 40%;
    z-index: 9999;
    min-width: 500px;
    display: none; /* Hidden by default */
    text-align: center;
}

.toast-box {
    background-color: forestgreen !important;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    font-family: 'Verdana', sans-serif;
    font-size: 14px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    animation: fadeIn 0.5s;
}

.toast-box-failure {
    background-color: #f44336 !important;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    font-family: 'Verdana', sans-serif;
    font-size: 14px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.margin5 {
    margin-left: 5% !important;
    margin-right: 5% !important;
}

[data-bs-theme="dark"] .table-class .table-head {
    background-color: #dcedc8 !important;
    color: #000000 !important;
}

    /* Fix for the "- Hide" text if it's a link or span */
    [data-bs-theme="dark"] .table-class .table-head a,
    [data-bs-theme="dark"] .table-class .table-head span {
        color: #000000 !important;
    }


/* Ensure the "+ Show" or "- Hide" text is also white */

[data-bs-theme="dark"] .table-class .table-head,
[data-bs-theme="dark"] .table-class .head1,
[data-bs-theme="dark"] .PersonalDetailsHeader {
    background-color: transparent !important;
    background: transparent !important;
    color: #ffffff !important;
}


    [data-bs-theme="dark"] .table-class .table-head a,
    [data-bs-theme="dark"] .head1 span,
    [data-bs-theme="dark"] .head1 a {
        color: #ffffff !important;
    }

    [data-bs-theme="dark"] .table-class .table-head a,
    [data-bs-theme="dark"] .table-class .table-head span,
    [data-bs-theme="dark"] .table-class .table-head b {
        color: #ffffff !important;
    }


[data-bs-theme="dark"] #ctl00_ContentPlaceHolder1_lblName {
    color: #ffffff !important; /* */
}

[data-bs-theme="dark"] .tab-menu td.head1 {
    background-color: #363b3e !important;
    color: #ffffff !important;
}

[data-bs-theme="dark"] table.new-table tr:nth-child(even) td {
    background-color: #363b3e !important; /* Replaces #F2F7EE */
    color: #ffffff !important;
}

[data-bs-theme="dark"] table.new-table tr:nth-child(odd) td {
    background-color: #212529 !important;
}

[data-bs-theme="dark"] .team-filter-bar {
    background-color: #212529 !important;
    color: #ffffff !important;
    border-color: #555 !important;
}

.team-filter-bar table {
    min-width: 600px;
    width: 100%;
}

@media (max-width: 600px) {

    .team-filter-bar select, .team-filter-bar input[type="text"] {
        max-width: 160px;
    }
}

[data-bs-theme="dark"] .address label {
    color: #ffffff !important;
}

[data-bs-theme="dark"] .address,
[data-bs-theme="dark"] .address span {
    color: #ffffff !important;
}

@media screen and (max-width: 1500px) {
    .Calender-icon {
        position: absolute;
        right: 22px;
        top: 16px;
    }
}

@media screen and (min-width: 1501px) {
    .Calender-icon {
        position: absolute;
        right: 40px;
        top: 16px;
    }
}

.enter-wte,
.timeentrygrid {
    width: 850px !important;
    max-width: none !important;
}

[data-bs-theme="dark"] .table-class td.WFHcolor, [data-bs-theme="dark"] .WFHcolor, [data-bs-theme="dark"] .WFHcolor label, [data-bs-theme="dark"] .WFHcolor span, [data-bs-theme="dark"] .WFHcolor .time-field {
  background-color: #EFD8F4 !important;
    //background-color: #f2c7c7 !important;
    color: #000000 !important;
}

[data-bs-theme="dark"] .table-class td.WFOcolor,
[data-bs-theme="dark"] .WFOcolor,
[data-bs-theme="dark"] .WFOcolor label,
[data-bs-theme="dark"] .WFOcolor span,
[data-bs-theme="dark"] .WFOcolor .time-field {
    background-color: #c4f0c4 !important;
    color: #000000 !important;
}

.grid_scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    display: block;
    z-index: 0;
    width: 100% !important;
    //max-width: 1200px !important;
    font-family: Arial;
    font-size: small;
    overflow-x: auto;
    display: block;
    -webkit-overflow-scrolling: touch;
    position: relative;
    height: auto !important;
    max-height: calc(100vh - 340px);
    font-weight: normal;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media screen and (min-width: 1200px) {
    .grid_scroll {
        width: 1050px !important;
    }
}

@media screen and (max-width: 850px) {
    .grid_scroll {
        width: 100%;
        overflow-x: auto; /* Scroll appears only when screen < 850px */
        display: block;
        -webkit-overflow-scrolling: touch;
    }
}

table.title-request {
    font-size: large;
    color: #636466;
    text-align: center;
    font-weight: bold;
    max-width: 800px;
    text-align: center;
}





.pc-tab ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}



    .pc-tab ul li {
        flex: 1;
        min-width: 120px;
    }



        .pc-tab ul li label {
            display: block;
            font-family: Verdana, Helvetica, Arial, sans-serif;
            font-weight: normal;
            border: 1px solid #ddd;
            border-bottom: 0;
            background: #0596d2;
            color: #ffffff;
            font-size: 14px;
            padding: 10px 5px;
            text-align: center;
            cursor: pointer;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }





@media (max-width: 600px) {

    .pc-tab ul {
        flex-direction: column;
    }



        .pc-tab ul li label {
            border-bottom: 1px solid #ddd;
            padding: 15px 10px;
        }
}

.help-box table td {
    padding: 10px !important;
}

.help-box {
    position: fixed;
    border-style: ridge;
    background-color: #6EAA1F;
    padding: 3px;
    border: none;
    z-index: 25;
    text-align: left;
    right: 30px !important;
    margin: 0px;
    top: 79px !important;
    width: 345px !important;
    left: inherit !important;
    border-radius: 5px;
}

a.help-text {
    position: fixed;
    right: 0px;
    top: 79px;
    background: #6eaa1f url(/images/question.png) no-repeat center center !important;
    padding: 10px;
    border-radius: 10px 0px 0px 10px;
    width: 28px;
    height: 28px;
    cursor: pointer;
}

[data-bs-theme="dark"] .table-class, [data-bs-theme="dark"] .table-class td, [data-bs-theme="dark"] .table-newdesign tr {
    background-color: #212529 !important;
    color: #f8f9fa !important;
    border-color: #ae9a9b !important;
}

label.opton-style {
    padding: 0px 5px;
}

[data-bs-theme="dark"] .table-newdesign td.head {
    background-color: #212529 !important;
    color: #ffffff !important;
    border-color: #444 !important;
}

.modalWindow.modal-style {
    width: 520px;
    min-height: 550px !important;
    max-height: 650px;
    margin-top: 120px;
    padding-top: 5px;
    padding-left: 0px;
    padding-top: 30px;
    background-color: #DDE7D0 !important;
}

.n-style {
    background: #636466 !important;
}

.data-info {
    width: 90%;
    margin: 0 auto;
    border: solid 1px #6EAA1F;
}

#ctl00_ContentPlaceHolder1_DetViewEmployee td:first-child {
    font-weight: 600;
    color: #555;
}

#ctl00_ContentPlaceHolder1_DetViewEmployee td:last-child {
    font-weight: 600;
}

#ctl00_ContentPlaceHolder1_DetViewEmployee tr:nth-child(even) {
    background-color: #f5f7fa !important;
}

#ctl00_ContentPlaceHolder1_DetViewEmployee tr:nth-child(odd) {
    background-color: #ffffff !important;
}

/* remove borders (optional modern look) */
#ctl00_ContentPlaceHolder1_DetViewEmployee td {
    border: solid 1px #6EAA1F;
    padding: 5px;
}

.themecolor tr {
    background: #F1F4EE;
}

.score-wrp {
    padding: 0px;
    border: 1px solid #dddddd;
    border-top: none;
    border-right: none;
    width: 80% !important;
    margin: 0 auto !important;
}

.policy-wrap {
    padding: 0px;
    border-top: none;
    border-right: none;
    width: 80% !important;
    margin: 0 auto !important;
    background: #ffffff;
}

.leave-expiry {
    background: #F3DDDD !important;
}

.apparaslbackground {
    background-color: #dae8ee !important;
}

.Calender-icon {
    position: relative;
    right: 62%;
    padding: 0px;
    margin-top: -9px;
}

.Calender-icon1 {
    position: absolute;
    right: 25px;
    top: 17px;
}

@media screen and (max-width: 1500px) {
    .Calender-icon1 {
        position: absolute;
        right: 41px;
        top: 16px;
    }
}

.edit-wrap {
    width: 80% !important;
    margin: 0 auto;
}

@media screen and (min-width: 1500px) {
    .Calender-icon1 {
        position: absolute;
        right: 21px;
        top: 17px;
    }
}

@media screen and (max-width: 1500px) {
    .Calender-icon1 {
        position: absolute;
        right: 19px;
        top: 16px;
    }
}

.additional-wrp {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.tabprofilelinks1 {
    width: auto;
    text-align: center;
    padding: 2%;
    margin-left: 0% !important;
    margin-right: 0% !important;
}

td.white.head.grade {
    background-color: #becbae !important;
}

.score-head {
    background: #e8e8ba !important;
}

.time-space table tr td input:first-child {
    padding-left: 4px;
    min-width: 23px;
}

.time-space table tr td input:last-child {
    padding-right: 3px;
    min-width: 28px;
}

totalbalance {
    font-size: 20px;
    font-weight: bold;
    margin-right: 10px;
    margin-top: 24px;
    color: #313131 !important;
    float: left;
    margin-left: 15px;
    padding: 0px 0px 10px;
    font-family: "Inter", "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif !important;
}

.highlight {
    /* background-color: #858f45 !important;*/
    background-color: #6eaa1f !important;
    color: #ffffff;
    padding: 5px 5px;
    border-radius: 80px !important;
    font-weight: bold;
}

.databox span {
    font-size: 14px !important;
    font-family: "Inter", "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif !important;
}

.box-header img {
    width: 54%;
}

.box-header h3 {
    font-size: 16px;
    font-family: Helvetica, Arial, sans-serif;
    width: 100%;
    text-align: center;
    display: block;
    margin: 10px 0 20px;
    color: #636466 !important;
    font-weight: normal;
}


.box footer {
    background: none !important;
    border-top: 1px solid #fff;
    padding: 22px 26px;
    overflow: hidden;
    min-height: 100px !important;
    margin-top: 20px;
}

.newbox-wrp {
    border: none !important;
}

.fadeScreenContent {
    font-family: Verdana !important;
    font-size: 13px !important;
}

.title-comments {
    /*    margin: 10px 0px;

    font-family: Verdana;

    font-size: 13px;

    font-family: Arial, Helvetica, sans-serif;*/

    margin: 10px 0px !important;
    // font-family: Verdana !important;
    font-size: 14px !important;
    font-family: Arial, Helvetica, sans-serif !important;
    color: #636466 !important;
    // font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: left !important;
    margin-left: 25px !important;
}

.team-filter-bar.mx-space {
    width: 100% !important;
    max-width: 1450px !important;
    margin: 20px auto !important;
    box-sizing: border-box !important;
}


.mx-space table {
    width: 100% !important;
    table-layout: auto;
}

.whitespace {
    white-space: nowrap;
}



.databox hr {
    margin: 0.5rem 0 !important;
}

[data-bs-theme="dark"] .foot-wrap {
    background: #121212 !important;
    color: #b5b5b5 !important;
}

.birthday-item p {
    color: #636466;
}

.announcement-item p {
    color: #636466;
}

/*.data-wraper p {
    color: #636466;
}*/
.data-wraper p {
    color: #343a40;
}

[data-bs-theme="dark"] .birthday-item p,
[data-bs-theme="dark"] .announcement-item p,
[data-bs-theme="dark"] .data-wraper p {
    color: #fff !important;
}

[data-bs-theme="dark"] table.table-class td select,
[data-bs-theme="dark"] .table-class td select {
    color: #ffffff !important;
    background-color: #212529;
    border: 1px solid #495057;
}

[data-bs-theme="dark"] .wfh-table tr th {
    border: 1px solid #666666 !important;
}

.no-data-txt {
    position: relative;
    margin-top: -200px;
}

label {
    user-select: none !important;
}

.pc-tab ul li label:active {
    //background: #ffffff;
    font-weight: bold;
    color: #ffffff !important;
}

[data-bs-theme="dark"] .table-class textarea, [data-bs-theme="dark"] .table-class input:not([type="submit"]), [data-bs-theme="dark"] .profileTextbox {
    background-color: #2b3035 !important;
    color: #ffffff !important;
    border-color: #495057 !important;
}

[data-bs-theme="dark"] .btn-lg {
    background-color: #6EAA1F !important;
}

.fontcolors {
    color: #6EAA1F !important;
}

input[type="checkbox"] {
    accent-color: #558911 !important;
}

.hiddenBtn {
    display: none;
}

table.table-class.new-table tr:first-child td {
    background: #80a191;
    padding: 5px 0px !important;
    color: #fff;
}

@media (prefers-color-scheme: dark) {
    table.table-class.new-table tr:first-child td {
        background: #80a191 !important;
        color: #ffffff !important;
    }
}

[data-bs-theme="dark"] .tabdiv {
    background-color: #2b3035 !important;
    color: #ffffff !important;
    border-color: #495057 !important;
}

[data-bs-theme="dark"] .tab2 label {
    // background-color: #2b3035 !important;
    border-color: #495057 !important;
}

/*Last edited*/
/* ===== DARK MODE   POPUP BACKGROUND ===== */
[data-bs-theme="dark"] .fadeScreenContent {
    background-color: rgba(0, 0, 0, 0.75) !important; /* overlay */
}

/* ===== DARK MODE   MODAL WINDOW ===== */
[data-bs-theme="dark"] .modalWindow {
    background-color: #2b3035 !important;
    color: #ffffff !important;
    border: 1px solid #495057 !important;
}

/* ===== DARK MODE   DETAILS VIEW TABLE ===== */
[data-bs-theme="dark"] .data-info {
    background-color: #343a40 !important;
    color: #ffffff !important;
}

    [data-bs-theme="dark"] .data-info td {
        background-color: #343a40 !important;
        color: #ffffff !important;
        border-color: #495057 !important;
    }

/* ===== DARK MODE   GRIDVIEW ===== */
[data-bs-theme="dark"] .leavedaysgrid {
    background-color: #343a40 !important;
    color: #ffffff !important;
    border-color: #495057 !important;
}

    [data-bs-theme="dark"] .leavedaysgrid th {
        background-color: #6EAA1F !important;
        color: #ffffff !important;
    }

    [data-bs-theme="dark"] .leavedaysgrid td {
        background-color: #343a40 !important;
        color: #ffffff !important;
        border-color: #495057 !important;
    }

/* ===== DARK MODE   TEXTAREA ===== */
[data-bs-theme="dark"] .txtareastyle {
    background-color: #212529 !important;
    color: #ffffff !important;
    border: 1px solid #495057 !important;
}

/* ===== DARK MODE   CLOSE BUTTON ===== */
[data-bs-theme="dark"] .modelbtnclose {
    background-color: #495057 !important;
    color: #ffffff !important;
    border: none !important;
}

.enter-wte {
    width: 90% !important;
}

.tickleft {
    margin-left: 5px;
}

    .tickleft input {
        margin-left: 5px;
    }

/*.holidaylist {
    display: flex;
}*/

span.h-date {
    margin-left: 25%;
}
/*
.holidaylist {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    padding: 4px 0;
}*/
.holidaylist {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    padding: 8px 0;
}

    .holidaylist .h-date {
        text-align: left;
        font-size: 14px;
    }

    .holidaylist .small {
        min-width: 100px;
        flex-shrink: 0;
    }

 /*   .holidaylist .h-date {
        text-align: left;
    }*/

span.h-date {
    margin-left: 5%;
}
body.toggled .foot-wrap {
    left: 0!important;
    width: 100%!important;
}

/* ===== DARK MODE – LEAVE ENTITLEMENT CARDS ===== */
[data-bs-theme="dark"] .leave-box {
    background-color: #343a40 !important;
    color: #ffffff !important;
    border-color: #495057 !important;
}

    /* All labels & text inside leave box */
    [data-bs-theme="dark"] .leave-box span,
    [data-bs-theme="dark"] .leave-box div,
    [data-bs-theme="dark"] .leave-box h4,
    [data-bs-theme="dark"] .leave-box b {
        color: #ffffff !important;
    }

/* Total Leave Balance text */
[data-bs-theme="dark"] .totalbalance {
    color: #ffffff !important;
}
/* ===== Textbox style only in DARK theme ===== */
[data-bs-theme="dark"] input[type="text"],
[data-bs-theme="dark"] input[type="password"],
[data-bs-theme="dark"] textarea,
[data-bs-theme="dark"] select,
[data-bs-theme="dark"] .form-control {
    background-color: #2b3035 !important;
    color: #ffffff !important;
    border: 1px solid #495057 !important;
}

   /* Focus state*/
    [data-bs-theme="dark"] input[type="text"]:focus,
    [data-bs-theme="dark"] input[type="password"]:focus,
    [data-bs-theme="dark"] textarea:focus,
    [data-bs-theme="dark"] select:focus,
    [data-bs-theme="dark"] .form-control:focus {
        background-color: #2b3035 !important;
        color: #ffffff !important;
        //border-color: #0596d2 !important;
        box-shadow: 0 0 5px rgba(5,150,210,0.4) !important;
        outline: none !important;
    }
#page-content-wrapper {
    width: calc(100% - var(--sidebar-width));
    margin-left: var(--sidebar-width);
    transition: margin-left var(--slide-speed) var(--slide-ease), width var(--slide-speed) var(--slide-ease);
}

body.toggled #page-content-wrapper {
    margin-left: 0;
    width: 100%;
}

@media (max-width: 768px) {
    #page-content-wrapper {
        width: 100%;
        margin-left: 0;
    }

    body {
        overflow-x: hidden;
    }
}
announcement-item {
    padding: 0px 0px 15px 0px;
}

.announcement-item ul.small {
    list-style: none;
    padding-left: 0 !important;
    margin: 0;
}

.announcement-item ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    line-height: 1.5;
    color: #555;
    font-size: 0.9rem;
}


    .announcement-item ul li::before {
        content: "";
        position: absolute;
        left: 0;
        top: 8px;
        width: 8px;
        height: 8px;
        background-color: #84ba3f;
        border-radius: 50%;
    }

    .announcement-item ul li:hover {
        color: #000;
    }
[data-bs-theme="dark"] .announcement-item ul li {
    color: #fff;
}
[data-bs-theme="dark"] .table-class .table-head {
    background-color: #6EAA1F !important;
    color: #fff !important;
}
[data-bs-theme="dark"] input[type="radio"] {
    accent-color: #558911 !important; /* optional - green selected circle */
}
    /* Make radio button text white */
    [data-bs-theme="dark"] input[type="radio"] + label,
    [data-bs-theme="dark"] .form-check-label,
    [data-bs-theme="dark"] label {
        color: #ffffff !important;
    }
/* Optional: If radio buttons are inside a container like tabdiv */
[data-bs-theme="dark"] .tabdiv label {
    color: #ffffff !important;
}
.app-icon-img {
    width: 40px;
    height: 40px;
}

/* =========================================
   DARK MODE - FILE UPLOAD FIX
   ========================================= */

/* Only change text color in dark mode */
[data-bs-theme="dark"] input[type="file"] {
    color: #ffffff !important;
}
/*[data-bs-theme="dark"] .leavedaysgrid tr {
    border-color: #495057 !important;
}*/
.leavedaysgrid tr {
    border-bottom: none !important;
}

    .leavedaysgrid tr:last-child {
        border-bottom: solid 1px #6EAA1F !important;
    }
.leavedaysgrid tr {
    border-bottom: solid 1px #495057!important;
}
.notific {
   // background-color: #F0D3F7 !important;
}

[data-bs-theme="dark"] .notific {
    background-color: #fff1b9 !important;
    color: #000000 !important;
}
    [data-bs-theme="dark"] .notific td, [data-bs-theme="dark"] .notific td span {
      
        color: red !important;
    }
/*#spanoldlink a {
    color: #063d5c !important;
    font-weight: bold;
    text-decoration: underline;
    font-size: 13px;
}
*/
    #spanoldlink a:hover {
        color: #6EAA1F !important;
        text-decoration: none;
    }
#spanoldlink a {
    color: #0596D2 !important;
    font-weight: bold;
    text-decoration: underline;
    font-size: 14px;
}
[data-bs-theme="dark"] #ctl00_ContentPlaceHolder1_Grid_dynamicTable,
[data-bs-theme="dark"] #ctl00_ContentPlaceHolder1_Grid_dynamicTable td,
[data-bs-theme="dark"] #ctl00_ContentPlaceHolder1_Grid_dynamicTable th {
    background-color: #2b3035 !important;
   
}
    [data-bs-theme="dark"] #ctl00_ContentPlaceHolder1_Grid_dynamicTable span {
        color:white!important;
    }
[data-bs-theme="dark"] #ctl00_ContentPlaceHolder1_GridView1 td.WFOcolor, [data-bs-theme="dark"] #ctl00_ContentPlaceHolder1_GridView1 td.WFOcolor span,
[data-bs-theme="dark"] #ctl00_ContentPlaceHolder1_GridView1 td.WFHcolor, [data-bs-theme="dark"] #ctl00_ContentPlaceHolder1_GridView1 td.WFHcolor span {
    color: #000000 !important;
}
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    border: 1px solid #6EAA1F !important;
    background: #6EAA1F !important;
    font-weight: bold;
    color: #ffffff;
}
.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
    border: 1px solid #6EAA1F !important;
    background: #fff;
    color: #df840e;
}
.ui-widget-header {
    border: 1px solid #6EAA1F !important;
}
.ui-widget-header .ui-state-focus, .ui-button:hover, .ui-button:focus {
        border: 1px solid #6EAA1F !important;
        background: green !important;
        font-weight: bold;
        color: #c77405;
    }

 .ui-state-hover .ui-icon, .ui-state-focus .ui-icon, .ui-button:hover .ui-icon, .ui-button:focus .ui-icon {
            background-color: green!important;
    }
/* Custom Scrollbar */

.data-wraper::-webkit-scrollbar {
    width: 10px;
}

.data-wraper::-webkit-scrollbar-track {
    background: #BEBEBE;
    border-radius: 10px;
}

.data-wraper::-webkit-scrollbar-thumb {
    background: #7E7E7E;
    border-radius: 10px;
}

    .data-wraper::-webkit-scrollbar-thumb:hover {
        background: #999797;
    }
[data-bs-theme="dark"] #leavepolicy td .head1 {
    background: green !important;
}
#ctl00_ContentPlaceHolder1_rbnfiltercondition td {
    padding: 8px;
}
.WFHcolor {
  background-color: #EFD8F4 !important;
   
}
.legend-color.wfh {
  background-color: #EFD8F4 !important;

}
.mtcolor {
    background-color: #f2c7c7 !important;

}

.legend-color.mtcolor {
    /* background-color: green; */
    background-color: #f2c7c7 !important;
}
[data-bs-theme="dark"] .table-newdesign td.head1 {
    background-color: #becbae !important;
    color: #212529 !important;
}
.contentpagebackround {
    margin-bottom: 20px;
}
.table-newdesign {
    border: 1px solid #dddddd !important;
}
[data-bs-theme="dark"] .table-class td.mtcolor,
[data-bs-theme="dark"] .mtcolor,
[data-bs-theme="dark"] .mtcolor label,
[data-bs-theme="dark"] .mtcolor span,
[data-bs-theme="dark"] .mtcolor .time-field {
    background-color: #f2c7c7 !important;
    color: #000 !important;
}
.filter-label-align {
    line-height: 34px !important;
}
@media (max-width: 767px) {
    .foot-wrap {
        width: 100% !important;
        left: 0 !important;
    }
}

#sidebar-wrapper a span {
    line-height: 18px;
}
.h-pic {
    display: none !important;
}

@media (min-width: 768px) {
    .h-pic {
        display: block !important;
    }
}
[data-bs-theme="dark"] .table-class td mtcolor span {
    color: #2a2929 !important;
    border: none !important;
}
.table-class td.mtcolor span {
    color: #000 !important;
}
table.table-class.new-table tr:first-child td,
table.table-class.new-table thead tr td {
    background-color: #80a191 !important;
    color: #ffffff !important;
    padding: 5px 0px !important;
}
table.wrap-cover {
    margin-left: 20%;
}


.wrapper-box {
    overflow-x: hidden;
    //width: 100vw;
}
.wfh-outerbox {
    max-width: 550px;
}
#ctl00_ContentPlaceHolder1_rbWeekOptions td label {
    padding-right: 10px !important;
}
.tabdiv {
    overflow: auto !important;
}
@media screen and (max-width: 1100px) {
    .pc-tab ul {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        padding: 0;
        margin: 0;
        list-style: none;
    }

        .pc-tab ul li {
            flex: 0 0 50%;
            min-width: 0 !important;
            box-sizing: border-box;
            border: 1px solid #fff;
        }

            .pc-tab ul li label,
            .pc-tab ul li a {
                display: block;
                width: 100%;
                text-align: center;
                padding: 10px 5px;
                box-sizing: border-box;
            }
}
@media screen and (max-width: 1100px) {


    .wrapper-box1 {
        overflow-x: hidden;
    }

    .pc-tab.wrapper-box1 ul {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        padding: 0;
        margin: 0;
        list-style: none;
    }

        .pc-tab.wrapper-box1 ul li {
            flex: 0 0 100%;
            min-width: 0 !important;
            box-sizing: border-box;
            border: 1px solid #fff;
        }

            .pc-tab.wrapper-box1 ul li label,
            .pc-tab.wrapper-box1 ul li a {
                display: block;
                width: 100%;
                text-align: center;
                padding: 12px 5px;
                box-sizing: border-box;
            }
}
.pc-tab.wrapper-box {
    max-width: 100%;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}
.pc-tab.wrapper-box1 {
    max-width: 100%;
}

.grid_scroll {
    width: 100% !important
}

.pc-tab.wrapper-box {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
}

.pc-tab section,
.tabdiv,
.table-responsive {
    width: 100% !important;
}

table.employeelist {
    width: 100% !important;
    table-layout: auto;
}

.pc-tab.wrapper-box section .tabdiv {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

center {
    display: block;
    width: 100%;
}
/*html, body {
    height: 100%;
    overflow: hidden;
}

 */
[data-bs-theme="dark"] #tblSftSkl td {
    background-color: #212529 !important;
    color: #f8f9fa !important;
    border-color: #ae9a9b !important;
}
[data-bs-theme="dark"] .ddl-label-style {
    background-color: #2b3035 !important;
    color: #ffffff !important;
    border: 1px solid #495057 !important;
}
.leave-class .textItem {
    font-size: 13px;
    font-weight: bold;
    text-align: right;
    white-space: nowrap;
    display: inline-block;
    width: 200px !important;
}
 

.leave-class {
    width: 90%;
    max-width: 850px;
    min-width: 0;
    margin: 0 auto;
}

@media (max-width: 1300px) {
    .leave-class {
        min-width: 850px;
    }
}

td.textItem.txtend-date {
    width: 90px !important;
}

label[for="ctl00_ContentPlaceHolder1_EmergencyCheck"] {
    padding: 5px;
}
.ajax__calendar_body {
    width: 175px!important;
    height: 152px!important;
}

.ajax__calendar_container{
    width:182px!important;
}

table.table-class.new-table .ajax__calendar_container table tr:first-child td {
    background: #ffffff !important;
    color: #2d3135 !important
}
.profile-pic {
    padding: 0px !important;
}
.empleavetype {
    font-weight: normal;
    color: green;
}
.highlight-today {
    background-color: #e7f1e7;
    padding: 2px 6px;
    border-radius: 4px;
}
[data-bs-theme="dark"].highlight-today {
   color:black!important;
}
.grid_scroll .table-class tbody tr:last-child td {
    border-bottom: 1px solid #dddddd;
}
.grid_scroll .table-class tbody tr td {
    border-left: 1px solid #dddddd;
}