﻿
.event-scroll {
    max-height: 120px; /* controls visible rows */
    overflow-y: auto;
}

    .event-scroll::-webkit-scrollbar {
        width: 6px;
    }

    .event-scroll::-webkit-scrollbar-thumb {
        background-color: #c1c1c1;
        border-radius: 4px;
    }


#global-loader .loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background-color: rgba(255, 255, 255, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}


.step-badge {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #008080;
    color: white;
    text-align: center;
    font-size: 0.9rem;
    line-height: 24px;
    font-weight: bold;
    margin-right: 10px;
}



.org-node-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-bottom: 36px;
    background: #fff; /* white background */
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    width:100%;
}

/* Card */
.org-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    padding: 24px 28px 20px 28px;
    min-width: 160px; /* smaller width */
    max-width: 180px;
    text-align: center;
    color: #212121; /* dark font */
    position: relative;
    margin-bottom: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: box-shadow 0.25s ease;
}

    .org-card:hover {
        box-shadow: 0 8px 26px rgba(0, 0, 0, 0.18);
    }

/* Avatar */
.org-avatar {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

    .org-avatar img {
        width: 56px; /* smaller avatar */
        height: 56px;
        border-radius: 50%;
        box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08);
        object-fit: cover;
        background: #f0f0f0;
    }

    .org-avatar span {
        width: 56px;
        height: 56px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        background: #e0e0e0;
        border-radius: 50%;
        color: #333;
        font-weight: 700;
    }

/* Name */
.org-name {
    color: #222;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 3px;
}

/* Role */
.org-role {
    font-size: 13px;
    color: #666;
    font-style: italic;
    margin-bottom: 6px;
}

/* Connector line vertical */
.org-connector-vertical {
    width: 2px;
    background: #ccc;
    height: 36px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    border-radius: 2px;
}

/* Children container */
.org-children {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 24px; /* less gap */
    margin-top: 2px;
    position: relative;
    z-index: 2;
}

/* Each child card */
.org-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Horizontal connector line between children */
.org-children:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 12px;
    height: 2px;
    background: #d9d9d9;
    z-index: 1;
    border-radius: 2px;
}

/* Offset children container upwards */
.org-child > .glass-container.org-node-container {
    margin-top: -18px;
}



/**/
.autocomplete-dropdown {
    max-height: 200px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ccc;
    border-top: none;
}

    .autocomplete-dropdown li {
        cursor: pointer;
        padding: 8px 12px;
    }

        .autocomplete-dropdown li:hover {
            background-color: #f0f0f0;
        }
/*
    heare search base begin
*/

.header-search {
    max-width: 350px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.search-input-group {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
    background: white;
}

.header-search-input {
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 30px 0 0 30px;
    transition: all 0.3s ease;
}

    .header-search-input:focus {
        box-shadow: none;
        outline: none;
        background-color: #f8f9fa;
    }

.btn-search {
    background-color: #007BFF;
    border: none;
    padding: 0 20px;
    border-radius: 0 30px 30px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

    .btn-search i {
        color: #008080;
        font-size: 18px;
    }

    .btn-search:hover {
        background-color: #0056b3;
    }

.search-dropdown {
    position: absolute;
    top: 100%;
    left: 60%;
    z-index: 999;
    margin-top: 8px;
    border-radius: 20px;
    overflow: hidden;
    display: block;
    background: white;
    border: 1px solid #e0e0e0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.3s ease-in-out;
}

    .search-dropdown.show {
        display: block;
    }

    .search-dropdown .dropdown-item {
        padding: 12px 16px;
        font-size: 15px;
        color: #333;
        transition: background 0.2s ease;
        cursor: pointer;
    }

        .search-dropdown .dropdown-item:hover {
            background-color: #f1f1f1;
            color: black;
        }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*end*/

.leave-day {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    cursor: pointer;
}

.leave-icon {
    font-size: 14px;
    margin-left: 5px;
    vertical-align: middle;
}

.login-subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: #176986; /* Bootstrap secondary text color */
    text-align: center;
    margin-bottom: 2rem;
}



.day {
    padding: 8px;
    text-align: center;
    vertical-align: middle;
    cursor: default;
}

.holiday {
    background-color: #ffeabf;
}

.leave {
    background-color: #d1ecf1;
}

.absent {
    background-color: #f8d7da;
    color: #721c24;
}

.present {
    background-color: #d4edda;
    color: #155724;
}

.today {
    font-weight: bold;
    border-bottom: 2px solid #1c2676;
}

.inactive {
    background-color: #f0f0f0;
}



.leave-list-container {
    max-height: 300px; /* Set desired fixed height */
    overflow-y: auto; /* Enable scroll when needed */
    font-size: 0.9rem; /* Slightly smaller font */
}

.leave-badge {
    font-size: 1rem;
    padding: 2px 4px;
    border-radius: 16px;
}

.leave-icon {
    color: #007bff;
    margin-right: 8px;
}

.leave-header {
    display: flex;
    align-items: center;
    font-weight: 500;
}

.stat-icon {
    font-size: 1.5rem;
    color: #4a90e2; /* Default icon color (light blue) */
    margin-bottom: 0.5rem;
}

.stat-box:nth-child(1) .stat-icon {
    color: #28a745; /* Green - Active Employees */
}

.stat-box:nth-child(2) .stat-icon {
    color: #dc3545; /* Red - Inactive Employees */
}

.stat-box:nth-child(3) .stat-icon {
    color: #ffc107; /* Yellow - Unmapped Employees */
}

.stat-box:nth-child(4) .stat-icon {
    color: #17a2b8; /* Teal - Recent Joiner */
}




.accordion-collapse {
    overflow: hidden;
}
.rgrwoth-loader-img {
    width: 60px;
    height: 60px;
    max-width: 100%;
    display: inline-block;
    margin: 0 auto;
    padding: 0;
}




.form-group {
    position: relative;
    margin-bottom: 28px;
}

    .form-group input {
        width: 100%;
        border: 1px solid white;
        border-radius: 14px;
        padding: 15px 20px 15px 16px;
        font-size: 1rem;
        transition: border-color 0.3s ease;
        outline: none;
        pointer-events: auto !important; /* Enable pointer events */
    }


        .form-group input:focus {
            border-color: #159d98;
            box-shadow: 0 0 10px rgba(21,157,152,0.3);
        }


    .form-group label {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-70%);
        padding: 0 6px;
        color: #008080;
        font-size: 1rem;
        transition: all 0.2s ease-in-out;
    }

    .form-group input:focus + label,
    .form-group input:not(:placeholder-shown) + label {
        top: -15px;
        font-size: 1rem;
        color: #159d98;
        grid-auto-columns:auto;
        font-weight:bold;

    }


.notif-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background: linear-gradient(145deg, #f0f0f3, #cacaca);
    transition: transform 0.3s ease;
}

    .notif-icon i {
        font-size: 1rem;
        color: #4a4a4a;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    }

.notification-item:hover .notif-icon {
    transform: scale(1.1);
}

.dropdown-item.notification-item {
    border-radius: 12px;
    transition: background 0.3s ease;
}

    .dropdown-item.notification-item:hover {
        background: #f8f9fa;
    }


#notificationDropdown:hover + .dropdown-menu,
#notificationDropdown:focus + .dropdown-menu,
.dropdown:hover > .dropdown-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
    margin-top: 0 !important;
    transform: translateX(-60%) !important;
    right: auto !important;
    right: 0;
    z-index: 1000;  
}



.summary-chips {
    margin-top: -5px;
}

.summary-chip {
    display: inline-block;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px #c8f0f45d;
    padding: 18px 25px;
    text-align: center;
    margin-right: 18px;
    min-width: 175px;
    margin-bottom: 12px;
    border-left: 7px solid #23cba7;
    font-size: 1.08em;
    transition: transform .12s;
}

    .summary-chip.golden {
        border-left-color: #f1b302;
    }

    .summary-chip.pink {
        border-left-color: #ed1576;
    }

    .summary-chip.blue {
        border-left-color: #297fef;
    }

    .summary-chip.purple {
        border-left-color: #7e6efd;
    }

    .summary-chip.orange {
        border-left-color: #ff8822;
    }

.summary-label {
    font-size: .98em;
    color: #444b;
    font-weight: 600;
}

.summary-value {
    font-size: 1.35em;
    font-weight: 700;
    color: #0db489;
    margin-top: 4px;
}


/* Slide out animation */
.slide-out {
    animation: slideOutLeft 0.5s forwards;
}

@keyframes slideOutLeft {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    100% {
        transform: translateX(-100%);
        opacity: 0;
    }
}

/* Slide in animation */
.slide-in {
    animation: slideInRight 0.5s forwards;
}

@keyframes slideInRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Container styling for smooth overflow hidden */
.page-container {
    overflow-x: hidden;
    position: relative;
}




/* above is login page right side*/
#orgSetupTabContent {
    min-height: 500px; /* Adjust based on expected content height */
    max-height: 700px;
    overflow-y: auto;
    background: white;
    padding: 15px;
    border-radius: 5px;
}
.drawer {
    width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    background: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}


/* Color bar for HR Analytics specifically */
.hr-analytics-bar {
    background-color: white; /* Blue or any theme color */
}
.dashboard-block {
    background: white;
    border-radius: 0.5rem;
}

.block-title {
    display: flex;
    align-items: center;
    font-weight: 600;
}

.bar-blue {
    display: inline-block;
    width: 3.5rem;
    height: 6px;
    background-color: #007bff;
    border-radius: 5px;
    margin-right: 10px;
}
/* Parent must be relatively positioned */

.custom-tooltip {
    position: relative;
    display: inline-block;
    z-index: 9999; /* Ensure it's above nearby content */
}
    .custom-tooltip .tooltip-text {
        visibility: hidden;
        opacity: 0;
        overflow: hidden;
        position: absolute;
        bottom: 125%; /* Position above */
        left: 100%;
        transform: translateX(0%);
        background-color: #008080;
        color: #fff;
        padding: 6px 10px;
        border-radius: 4px;
        white-space: nowrap;
        font-size: 0.85rem;
        pointer-events: auto !important;
        z-index: 9999; /* Ensure above everything  pointer-events: none; */
        transition: opacity 0.2s ease-in-out;
    }

        /* Small arrow on tooltip */
        .custom-tooltip .tooltip-text::after {
            content: "";
            position: absolute;
            top: 100%; /* At the bottom of tooltip */
            left: 100%;
            transform: translateX(-80%);
            border-width: 5px;
            border-style: solid;
            border-color: #008080 transparent transparent transparent;
        }

    .custom-tooltip:hover .tooltip-text {
        visibility: visible;
        opacity: 1;
    }


.attendance-container {
    position: relative;
    display: inline-block;
}

.attendance-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 190px;
    background: #fff;
    padding: 8px;
    border: 1px solid #eee;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    opacity: 0;
    visibility: hidden;
    pointer-events: auto !important;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

    /* Show dropdown when hovering container or dropdown itself  pointer-events: none;  pointer-events: auto; */
    .attendance-container:hover .attendance-dropdown,
    .attendance-dropdown:hover {
        opacity: 1;
        visibility: visible;
        pointer-events: auto !important;
    }



/* below is for emploiyee dashbaord*/
 :root {
        --brand-green: #09bbc4;
        --brand-blue: #6073ec;
        --brand-red: #f66161;
        --brand-orange: #ffc542;
        --brand-purple: #a978e4;
        --light-gray: #f6faff;
        --kpi-gap: 18px;
        --header-height: 48px;
    }

    .teamdash-header-row {
        min-height: var(--header-height);
        font-weight: 500;
        color: #1c2676;
        font-size: 22px;
        border-bottom: 1.5px solid #e3ecfa;
        margin-bottom: 10px;
    }
    .teamdash-cards {
        margin-bottom: 18px; gap:var(--kpi-gap);
    }
    .teamdash-kpi {
        border-radius: 12px;
        border: 2px solid #e5ecfa;
        background: #fff;
        padding: 18px 24px;
        transition: box-shadow 0.2s, border-color 0.2s;
        min-height: 80px;
    }
    .kpi-title {
        font-size: 1em;
        margin-bottom: 2px;
    }
    .kpi-count {
        font-size: 1.5em;
        font-weight: 700;
    }
    .kpi-icon {
        font-size: 2.2em;
        margin-right: 13px;
    }
    .kpi-card-green { border-color: var(--brand-green);}
    .kpi-card-blue { border-color: var(--brand-blue);}
    .kpi-card-red { border-color: var(--brand-red);}
    .kpi-card-orange { border-color: var(--brand-orange);}
    .kpi-card-purple { border-color: var(--brand-purple);}
    .teamdash-pending { background: #eafff8; color: var(--brand-green);}
    .teamdash-leave { background: #fff8e1;}
    .teamdash-task-badge { border-radius:12px; font-size:1.0em; background:#07b19b; color: white; padding: 0 13px;}
    .teamdash-leave-badge { background:var(--brand-orange); color:#2d1b00; border-radius:8px; padding:2px 9px; }
    .teamdash-calendar-date { display:inline-block; width:35px; height:35px; line-height:35px; border-radius:50%; border:2px solid #09bbc4; font-weight:500; color:#09bbc4; font-size:1.07em; margin-right:1.5px; margin-bottom:3px;}
    .teamdash-calendar-date.today { border:2.5px solid #6073ec; background:#eef3fa; color:#6073ec;}
    .teamdash-calendar-date.absent { border-color:var(--brand-red); color:var(--brand-red);}
    .teamdash-calendar-date.present { border-color:var(--brand-green);}
    .teamdash-feed-card { background:#fff; border-radius:12px; padding:20px; min-height:220px; margin-bottom:20px;}
    .teamdash-empty-feed { color:#aab9d8; font-size:1.2em; padding-top:40px;}
    .teamdash-events .avatar-circle {width:43px;height:43px;border-radius:50%;background:#efe0fb;display:flex;align-items:center;justify-content:center;margin:auto;}
/* Brand Palette */
:root {
    --brand-green: #09bbc4;
    --brand-blue: #6073ec;
    --brand-red: #f66161;
    --brand-orange: #ffc542;
    --brand-purple: #a978e4;
    --light-gray: #f6faff;
    --kpi-gap: 18px;
    --header-height: 48px;
}

.teamdash-header-row {
    min-height: var(--header-height);
    font-weight: 500;
    color: #1c2676;
    font-size: 22px;
    border-bottom: 1.5px solid #e3ecfa;
    margin-bottom: 10px;
}

.teamdash-cards {
    margin-bottom: 18px;
    gap: var(--kpi-gap);
}

.teamdash-kpi {
    border-radius: 12px;
    border: 2px solid #e5ecfa;
    background: #fff;
    padding: 18px 24px;
    transition: box-shadow 0.2s, border-color 0.2s;
    min-height: 80px;
}

.kpi-title {
    font-size: 1em;
    margin-bottom: 2px;
}

.kpi-count {
    font-size: 1.5em;
    font-weight: 700;
}

.kpi-icon {
    font-size: 2.2em;
    margin-right: 13px;
}

.kpi-card-green {
    border-color: var(--brand-green);
}

.kpi-card-blue {
    border-color: var(--brand-blue);
}

.kpi-card-red {
    border-color: var(--brand-red);
}

.kpi-card-orange {
    border-color: var(--brand-orange);
}

.kpi-card-purple {
    border-color: var(--brand-purple);
}

.teamdash-pending {
    background: #eafff8;
    color: var(--brand-green);
}

.teamdash-leave {
    background: #fff8e1;
}

.teamdash-task-badge {
    border-radius: 12px;
    font-size: 1.0em;
    background: #07b19b;
    color: white;
    padding: 0 13px;
}

.teamdash-leave-badge {
    background: var(--brand-orange);
    color: #2d1b00;
    border-radius: 8px;
    padding: 2px 9px;
}

.teamdash-calendar-date {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    border-radius: 50%;
    border: 2px solid #09bbc4;
    font-weight: 500;
    color: #09bbc4;
    font-size: 1.07em;
    margin-right: 1.5px;
    margin-bottom: 3px;
}

    .teamdash-calendar-date.today {
        border: 2.5px solid #6073ec;
        background: #eef3fa;
        color: #6073ec;
    }

    .teamdash-calendar-date.absent {
        border-color: var(--brand-red);
        color: var(--brand-red);
    }

    .teamdash-calendar-date.present {
        border-color: var(--brand-green);
    }

.teamdash-feed-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    min-height: 220px;
    margin-bottom: 20px;
}

.teamdash-empty-feed {
    color: #aab9d8;
    font-size: 1.2em;
    padding-top: 40px;
}

.teamdash-events .avatar-circle {
    width: 43px;
    height: 43px;
    border-radius: 50%;
    background: #efe0fb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.dashboard-card {
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 1px 4px rgba(64,63,110,.06);
    background: #fff;
    transition: 0.2s border-color;
}

    .dashboard-card:focus-within, .dashboard-card:hover {
        border-color: #008080;
    }

.dashboard-badge {
    border-radius: 20px;
    padding: 0 12px;
    font-size: 1.1em;
    line-height: 1.6;
    font-weight: 600;
}

.pending-task-badge {
    background: #12C488;
    color: #fff;
}

.attendance-header {
    font-weight: 600;
    padding-bottom: 4px;
}

.feed-empty-state {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    flex-direction: column;
}

    .feed-empty-state i {
        font-size: 48px;
        opacity: 0.15;
    }

.calendar-number {
    width: 32px;
    height: 32px;
    display: inline-block;
    text-align: center;
    line-height: 32px;
    margin: 2px;
    border-radius: 50%;
    border: 1.5px solid #ff2a2a;
}

    .calendar-number.today {
        border: 2px solid #008080;
        background: #edf7f6;
        color: #008080;
        font-weight: 600;
    }

    .calendar-number.absent {
        border-color: #dc3545;
    }

    .calendar-number.present {
        border-color: #12C488;
    }

/*abovbe is for employee dashbaord*/
/*toggle color based on theme*/

.switch .slider {
    background-color: var(--switch-bg, #ccc);
}

.switch input:checked + .slider {
    background-color: var(--switch-bg-checked, #d2f0f0);
}

.logo-header {
    height: 80px; /* Fixed header height */
    display: flex;
    align-items: center;
    padding: 0 20px; /* Only horizontal padding */
    box-sizing: border-box;
    background-color: #fff; /* Optional: Add background if needed */
}

.logo-link {
    display: block;
    height: 80px;
}

.logo-img {
    height: 80px; /* Fill header height */
    max-height: 80px; /* Prevent overflow */
    width: auto;
    max-width: 240px; /* Adjust as needed */
    display: block;
    object-fit: contain; /* Keep aspect ratio */
}


.logo-text {
    font-size: 2.7rem; /* Make text much larger */
    font-weight: 700;
    letter-spacing: 0.08em; /* Wider spacing */
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background: #f6fafb;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: 'Calibri';
    font-size: 9px;
}

/*.section-body {
    border: 1px solid #ddd;
    border-top: none;
    padding: 0.5rem 1rem;*/ /* smaller, responsive padding */
    /*background: #fff;
    display: inline-block;*/ /* shrink to content height */
    /*width: 100%;*/ /* optional: remove if inline-block affects layout */
    /*box-sizing: border-box;*/ /* ensure padding doesn't affect layout unexpectedly */
    /*margin: 0;*/ /* remove any default margin */
/*}

.grid-line .row {
    display: flex;
    flex-wrap: wrap;*/
    /* outer border for grid */
    /*border-top: none;*/ /* prevent double line at grid’s top */
/*}*/
/* Outer container (full box for section) */
.section-body {
    border: 1px solid #bbb; /* unified border colour */
   
    padding: 0px; /* tight fit so cells line up */
    background: #fff;
}

/* Row inside the grid - no full border here, only used for structure */
.grid-line .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    
}

/* Apply bold borders to all cells in bordered + striped tables */
.table.table-bordered.table-striped th,
.table.table-bordered.table-striped td {
    border: 1px solid #bbb; /* Thicker border */
    padding: 3px;
    text-align:center;

}




/* Each column cell */
.grid-line [class*="col-"] {
    /* match outer box colour border-right: 1px solid #bbb;  */
    border-right: 1px solid #ddd; /* lighter border */
    border-bottom: 1px solid #ddd;
    padding: 15px;
    box-sizing: border-box;
}

/* Remove right border for last column in a row */
.grid-line .row > [class*="col-"]:last-child {
    border-right: none;
}

/* Remove bottom border for cells in last row */
.grid-line .row:last-child > [class*="col-"] {
    border-bottom: none;
}

/* Label inside cells */
.grid-line label {
    font-weight: normal !important;
    display: block;
    margin-bottom: 4px;
}


.bar-blue {
    display: inline-block;
    width: 3.5rem;
    height: 6px;
    background-color: #007bff;
    border-radius: 5px;
}

.card-header h5 {
    margin-bottom: 0;
}

.cursor-pointer {
    cursor: pointer;
}
.section-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 16px;
    border: 1px solid #e6edf5;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 8px;
    background: #f0f7ff;
    border-bottom: 1px solid #d6e7fb;
    cursor: pointer;
    height:35px;
}

    .section-header h4 {
        margin: 0;
        font-size: 1rem;
        color: black;
    }
.toggle-icon {
    font-weight: bold;
    color: black;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    
}

    .toggle-icon.rotate {
        transform: rotate(180deg);
    }

    .section-header .toggle-icon {
        font-weight: bold;
        color: black;
        font-size: 1.2rem;
    }

.section-body {
    padding: 2px;
  text-anchor:middle;
    
}
/* F layout aboge css*/


/* THEME TOGGLES */
.switch {
    position: relative;
    display: inline-block;
    width: 35px;
    height: 18px;
}

    .switch input {
        display: none;
    }


.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cddfff;
    transition: .4s;
    border-radius: 24px;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 18px;
        width: 18px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        transition: .4s;
        border-radius: 50%;
    }

input:checked + .slider {
    background-color: #1788f5; /* Theme color */
}

    input:checked + .slider:before {
        transform: translateX(26px);
    }


/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 24px;
}

    /* Circle inside */
    .slider:before {
        position: absolute;
        content: "";
        height: 18px;
        width: 18px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        transition: 0.4s;
        border-radius: 50%;
    }

/* Checked state */
input:checked + .slider {
    background-color: #008080; /* Green */
}

    input:checked + .slider:before {
        transform: translateX(26px);
    }

/* Rounded sliders */
.slider.round {
    border-radius: 24px;
}





.nav-with-submenu {
    position: relative;
}

    /*.nav-with-submenu .submenu {
        display: none;
        position: absolute;
        top: 0;
        left: 100%;
    }*/

    .nav-with-submenu:hover > .submenu {
        display: block;
    }


.header-search-input {
    border: 2px solid var(--theme-primary);
    border-right: none;
    box-shadow: none;
    height: 38px;
}

.btn-search {
    background-color: var(--theme-primary);
    color: #fff;
    border: 2px solid var(--theme-primary);
    height: 38px;
}

    .btn-search:hover {
        background-color: #fff;
        color: var(--theme-primary);
    }



.section-table-header {
    display: table;
    width: 100%;
    background-color: var(--theme-primary);
    color: #fff;
    font-weight: bold;
    padding: 0; /* remove gap */
    border-radius: 4px 4px 0 0;
    cursor: pointer;
}

    .section-table-header div {
        display: table-cell;
        padding: 8px 12px;
        vertical-align: middle;
    }

    .section-table-header .section-title {
        text-align: left;
    }

    .section-table-header .section-toggle {
        text-align: right;
        width: 40px;
    }

        .section-table-header .section-toggle i {
            transition: transform 0.3s ease;
        }

    .section-table-header.collapsed .section-toggle i {
        transform: rotate(0deg);
    }

    .section-table-header:not(.collapsed) .section-toggle i {
        transform: rotate(90deg);
    }

/*.section-body {
    border: 1px solid #ddd;
    border-top: none;
    padding: 12px;
    background: #fff;

}
*/


.kpi-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 18px 0 rgba(24, 28, 86, 0.07), 0 1.5px 8px 0 rgba(123,140,180,0.06);
    margin-bottom: 18px;
    padding: 14px 18px;
    border-left-width: 6px;
    border-right-width: 6px;
    border-top: none !important;
    border-bottom: none !important;
    border-style: solid;
    transition: box-shadow .16s;
    cursor: grab; /* Indicate draggable */
}


.block-title {
    margin-top: .5rem; /* Adjust as needed */
}

.modules-container {
    display: flex;
    flex-wrap: wrap;
    /* Space between cards */
    gap: 12px;
    padding: 12px; /* Padding around the container */
    max-width: 100%;
    box-sizing: border-box;
    background-color: #f0f0f0; /* Optional background */
}
.section-card:last-child, .card:last-child {
    margin-bottom: 0;
    box-shadow: none;
}
.module-card {
    width: 125px; /* Fixed width */
    height: auto;
    padding: 10px; /* Top, Bottom, Left, Right padding inside card */
    background: #fff;
    border-radius: 25px;
    box-sizing: border-box;
    text-align: center;
    border: 1px solid #ccc;
    box-shadow: none; /* Remove shadow */
    cursor: grab;
    user-select: none;
    transition: box-shadow 0.3s ease;
}

    .module-card:hover {
        box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25);
    }

.module-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
    object-fit: contain;
}

.module-label {
    font-size: 0.9rem;
    color: #333;
    white-space: nowrap; /* Prevent wrapping */
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive breakpoints */

@media (max-width: 900px) {
    .module-card {
        width: calc((100% - 2 * 12px) / 3); /* 3 per row */
    }
}

@media (max-width: 600px) {
    .module-card {
        width: calc((100% - 1 * 12px) / 2); /* 2 per row */
    }
}

@media (max-width: 400px) {
    .module-card {
        width: 100%; /* 1 per row */
    }
}

/*.modules-container {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(90px,1fr));
    gap: 12px;
    padding: 10px 0;
    padding-left: 20px;*/
   /* Grow, shrink with minimum width */
    /*max-width: 100px;
}
.module-card {*/
    /*display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    border-radius: 10px;
     color: black;
    height: 100px;*/ /* optional fixed height */

    /*width: calc((100% - 4 * 2rem - 20px) / 5);*/ /* 5 items per row, accounting for 4 gaps and padding */
    /*min-width: 100px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 1rem;
    background-color: #fff;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}*/


    .module-card.bg-blue {
        background: linear-gradient(135deg, #4a90e2, #357ABD);
    }

    .module-card.bg-green {
        background: linear-gradient(135deg, #3bb273, #1e8455);
    }

    .module-card.bg-red {
        background: linear-gradient(135deg, #df4c4c, #b33232);
    }

    .module-card.bg-yellow {
        background: linear-gradient(135deg, #f4c745, #d1a800);
    }

    .module-card.bg-orange {
        background: linear-gradient(135deg, #f7994a, #d2691e);
    }

    .module-card.bg-purple {
        background: linear-gradient(135deg, #9465e0, #5c38a0);
    }

    .module-card.bg-pink {
        background: linear-gradient(135deg, #e76da3, #b84269);
    }

    .module-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

.module-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 8px;
    border-radius: 10px;
    object-fit: contain;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.15));
}

.module-label {
    font-weight: 600;
    font-size: 0.8rem;
    user-select: none;
    text-align:center;
}




.dashboard-block .list-group-item {
    border: none;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    background: transparent;
}

    .dashboard-block .list-group-item strong {
        font-size: 0.95rem;
        color: #2c3e50;
    }

.dashboard-block .badge {
    font-size: 0.8rem;
    padding: 6px 10px;
}

.dashboard-block .list-group-item:hover {
    background: #f9f9f9;
    transition: background 0.2s ease-in-out;
}


:root {
    --theme-primary: #008080; /* fallback */
}

.btn-primary, .btn-shift {
    background-color: var(--theme-primary) !important;
    border-color: var(--theme-primary) !important;
    color: #fff !important;
}
.text-teal {
    color: #008080;
}



.form-check-input
{
    background-color: #008080; /* Bootstrap success green */
    border-color: #008080;
}
.form-check-input:checked {
    background-color: #008080; /* Bootstrap success green */
    border-color: #008080;
}

    .form-check-input:checked:focus {
        box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.25);
    }


.rounded-box {
    background-color: white; /* light gray background */
    border-radius: 2px; /* rounded corners */
    padding: 20px; /* inner spacing */
    box-shadow: 0 0 8px rgba(0,0,0,0.1); /* subtle shadow for separation */
    border: 1px solid #ddd; /* light border */
    margin-bottom: 20px; /* spacing from others */
}
.card {
    transition: transform 0.3s ease;
    border-radius: 12px;
}

    .card:hover {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

/* Green toggle when checked */
.form-check-input:checked {
    background-color: green; /* Bootstrap "success" green */
    border-color: green;
}

    /* Optional: move the circle when checked */
    .form-check-input:checked:focus {
        box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.25);
    }
.green-toggle:checked {
    background-color: green;
    border-color: green;
}


/* Overlay and loader - hidden by default and allow pointer interaction when shown */
#overlay, .overlay, .loader {
    display: none !important;
    pointer-events: auto !important;
}

/* Bootstrap modal backdrop */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1040;
    background-color: rgba(0, 0, 0, 0.5); /* semi-transparent black */
}

/* Bootstrap modal container */
.modal {
    z-index: 1050;
    pointer-events: auto;
}

/* Modal dialog and content */
.modal-dialog, .modal-content {
    z-index: 1051;
    pointer-events: auto;
    outline: none; /* Avoid unwanted focus outlines */
}

/* Ensure form inputs and controls within modals and other containers accept pointer events */
input, select, textarea, button,
.glass-container, .form-group, .form-control,
.section-card, .section-body, .accordion-collapse {
    pointer-events: auto !important;
}

/* Optional: smooth transitions for modal fade */
.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
}

/* Ensure no conflicting pointer-events at body or main containers */
body {
    pointer-events: auto !important;
}


.drawer {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(200%);
    width: 50vw;
    max-width: 1200px;
    min-width: 800px;
    height: 80vh;
    background: #fff;
    z-index: 2010;
    box-shadow: -6px 0 32px rgba(0,0,0,0.20);
    transition: transform 0.38s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
}

    .drawer.open {
        transform: translateX(0);
        pointer-events: auto;
    }

    /*for testing*/
.drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    height: 100%;
    background: #fff;
    z-index: 1055;
    transition: right .3s ease;
    overflow-y: auto;
    box-shadow: -2px 0 10px rgba(0,0,0,.2);
}

    .drawer.open {
        right: 0;
    }

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    display: none;
    z-index: 1050;
}

    .drawer-overlay.show {
        display: block;
    }



/*for testing*/








/* below is for user profile*/
.show-on-hover {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
}

.dropdown:hover .show-on-hover
{
    display: block;
}
.hover-dropdown:hover .dropdown-menu
{
    display: block;
    visibility: visible;
    opacity: 1;
}

.dropdown-menu {
    display: none;
    visibility: hidden;
    opacity: 0;
    transition: all 0.2s ease;
}
.theme-circle
{
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}

    .theme-circle:hover {
        outline: 2px solid #000;
    }

.header, .footer, .btn-primary {
    transition: background-color 0.3s ease;
}
/**** SIDEBAR BASE ****/
.content-area {
    margin-top: 35px;
    margin-left: 50px !important; /* width of sidebar */
    padding: 20px;
    padding-top: 100px; /*  Add padding equal to navbar height */
    background: #f6fafb;
}
.sidebar-menu {
    width: 56px !important;
    min-width: 50px !important;
    position: fixed;
    left: 0;
    top: 60px; /* this is used to+ - the sidlbar menu */
    font-weight: bold;
    color: #1b2957;
    bottom: 44px;
    z-index: 5000 !important; /* Raised to ensure it’s on top */
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 1px 0 4px rgba(0,0,0,0.04);
}

    /**** ROOT LINKS (ICONS) ****/
    .sidebar-menu .nav-link {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #1b2957;
        border-radius: 10px;
        font-size: 1.3em;
        margin: 0 auto;
        text-align: center;
        transition: background 0.18s, color 0.18s;
    }

        .sidebar-menu .nav-link:hover {
            background: #eaf0fd;
            color: #2557b7;
        }

.nav-with-submenu {
    position: relative;
}

/* Detect last items and shift panel up */
.sidebar-menu > ul > .nav-item.nav-with-submenu:last-child > .submenu,
.sidebar-menu > ul > .nav-item.nav-with-submenu:nth-last-child(3) > .submenu {
    top: auto;
    bottom: 0;
   /* lift up instead of pushing down */
}


/**** LEVEL 1 PANEL (sidebar → child) ****/
.sidebar-menu > ul > .nav-item.nav-with-submenu > .submenu {
    position: absolute;
    top: 0;
    left: 100%;
    text-align: left;
    min-width: 200px;
    color: #1b2957;
    font-size:14px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 2px 2px 18px rgba(40,40,80,0.13);
    display: none;
    z-index: 1000;
}


/**** LEVEL 2+ PANEL (child → subchild) ****/
.submenu .nav-item.nav-with-submenu > .submenu {
    position: absolute;
    top: 0;
    left: 100%;
    /*left: calc(100% + 10px);  gap between columns */
    min-width: 200px;
    color: #1b2957;
    font-size: 14px;
    background: #fff;
    /* margin-left: -1px;*/
    border-radius: 10px;
    box-shadow: 2px 2px 18px rgba(40,40,80,0.13);
    display: none;
    z-index: 1010;

   
}

/**** SHOW ON HOVER ****/
.nav-with-submenu:hover > .submenu,
.nav-with-submenu:focus-within > .submenu {
    display: flex !important;
    flex-direction: column;
    animation: fadeInRight 0.18s;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


.submenu .nav-link {
    display: flex;
    flex-direction: row; /* Icon left, text next */
    align-items: center; /* Vertically center */
    justify-content: flex-start; /* Align everything to the left */
    gap: 8px; /* Space between icon and text */
    padding: 8px 12px;
    font-family: Calibri;
    font-size: 14px;
    color: #2c3d64;
    border-radius: 6px;
    background: transparent;
    white-space: nowrap;
    text-align: left; /* Ensure text aligns left */
    width: 100%; /* Take full width */
}


    /* Fix icon width so all text starts at same X position */
    .submenu .nav-link i {
        min-width: 20px; /* same width for all icons */
        text-align: center; /* center icon inside its box */
    }

    .submenu .nav-link:hover {
        background: #f3fbfb !important;
        color: #008080 !important;
    }

/**** ARROW ICON FOR ITEMS WITH SUBMENU ****/
.submenu-arrow {
    margin-left: auto;
    font-size: 0.8em;
    color: #aaa;
    font-family: "FontAwesome";
}

    .submenu-arrow:before {
        content: "\f054";
    }

/**** ANIMATION ****/
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-14px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.sidebar-menu ul,
.sidebar-menu .submenu,
.sidebar ul,
.sidebar .submenu {
    list-style: none;
    margin: 0;
    padding: 0;
}

/**** RESPONSIVE ****/
@media (max-width: 500px) {
    .sidebar-menu {
        display: none !important;
    }
}





/* above is for sidebar*/



.all-company-heading {
    color: black;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: .5rem;
    margin-top: .5rem;
}


@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}


.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}



.btn-gradient {
    background: linear-gradient(to right, #1d3557, #457b9d);
    color: #ffffff;
    border: none;
}

    .btn-gradient:hover {
        background: linear-gradient(to right, #16324f, #356684);
    }


.login-split-container {
    display: flex;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.login-left {
    flex: 1.2;
    /* Vibrant blue-green diagonal gradient */
    background: linear-gradient(135deg, #1b6ca8 0%, #18bfae 62%, #71ffde 100%);
    min-width: 340px;
    padding: 32px 24px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-box {
    background: rgba(16, 108, 168, 0.11);
    border-radius: 10px;
    padding: 15px 18px 10px 18px;
    margin: 16px 0;
}

.login-right {
    flex: 1;
    background-color: #ddfff9; /* or try #eaf4f8 or #e0fdfa,Pale Blue-Grey Color: #eaf4f8 or #e0f2f1, #e0f2f1; */
    color: #1b1b1b;
    min-width: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    background-color: #73a5a5;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(32,70,85,.13);
    max-width: 340px;
    width: 100%;
}

.highlight-gold {
    color: #FFD700;
}

.text-dark-blue {
    color: #102b60;
}

.btn-login:hover {
    background: linear-gradient(90deg, #11b185 0, #185697 100%);
    color: #fff;
}

@media (max-width: 900px) {
    .login-split-container {
        flex-direction: column;
    }

    .login-left,
    .login-right {
        min-width: 100vw;
        width: 100vw;
    }

    .login-left {
        min-height: 320px;
        padding: 2rem 1rem;
    }

    .login-right {
        min-height: calc(100vh - 320px);
        padding: 2rem 1rem;
    }
}

.ment-list-container {
    max-height: 750px; /* Adjust as needed */
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: rgb(255, 255, 255,0);
    background-color: #fff; /* white background */
}

.job-list-container {
    max-height: 800px; /* Adjust as needed */
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff; /* white background */
}


/* Fixed header styles */
.department-list-container table thead tr {
    background-color: #d2f0f0; /* header background */
    color: black !important;
    position: sticky;
    top: 0px;
    z-index: 10;
  
}

.department-list-container table.glass-table thead th {
    background: #1b6ca8;
    color: white !important;
}




/* Glass container for form and table */
.glass-container {
    background: rgb(255, 255, 255,0); /* semi-transparent white #0d0d0d rgba(255, 255, 255, 0.15); */
    backdrop-filter: blur(12px); /* frosted glass blur */
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    padding: 10px;
    min-height: calc(100vh - 44px);
    font-size: 14px;
    background-color: white;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0px;
    color: #000; /* or use darker shades for contrast */

}
.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 44px; /* adjust based on design */
    background: #008080;
    color: #fff;
    text-align: center;
    z-index: 999;
}



    /* Glass styled form */
    .glass-container form {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
/* Specific style for left panel container to compensate for text contrast */
.login-left .glass-container {
    background: rgba(0, 0, 0, 0.35); /* darker transparent background for contrast */
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

/* Buttons */
.btn-login {
    background: linear-gradient(90deg, #18bfae 0%, #1b6ca8 100%);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    padding: 0.7rem 0;
    transition: background 0.3s;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(24, 191, 174, 0.5);
}

    .btn-login:hover {
        background: linear-gradient(90deg, #11b185 0%, #185697 100%);
        color: #fff;
    }

/* CTA action box overrides */
.cta-action-box {
    text-align: center;
}

    .cta-action-box small {
        font-weight: 500;
        opacity: 0.9;
    }
    .cta-action-box:hover {
        color: #ffffff; /* or use a lighter gold like #fff8dc */
        cursor: pointer;
    }


.tagline {
    font-family: 'Playfair Display', serif; /* Try Google Fonts for more variety */
    font-size: 1.35rem;
    font-weight: 600;
    color: #FFD700; /* Or F5F6FA #FFFFFF if you prefer subtle */
    letter-spacing: 0.01em;
    text-shadow: 0 2px 6px #16587e55;
    margin-top: 18px;
    margin-bottom: 16px;
}

@media (min-width: 800px) {
    .tagline {
        font-size: 1.6rem;
    }
}

/* Table glass theme */
table.glass-table {
    width: 100%;
    border-collapse: collapse; /* Ensures borders don't double up #111 */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid #1b6ca8; /*  Full table border */
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(31, 38, 135, 0.25);
    color: black;
    overflow: hidden;
}

    /* Table header styles */
    table.glass-table thead th {
        background: #1b6ca8 !important;
        color: white !important;
        font-weight: 600;
        padding: 12px 15px;
        border: 1px solid #ffffff55;
    }

    table.glass-table tbody tr {
        padding: 12px 15px;
        vertical-align: middle;
        border: 1px solid #ddd; /*  Border for each data cell */
    }

        table.glass-table tbody tr:hover {
            background: rgba(255, 255, 255, 0.4);
        }

    table.glass-table tbody td {
        padding: 12px 15px;
        vertical-align: middle;
    }

/* Buttons */
.btn-primary {
    background: rgba(24, 192, 174, 0.85);
    border: none;
    color: white;
    transition: background 0.3s;
    box-shadow: 0 4px 12px rgba(24, 192, 174, 0.45);
    border-radius: 8px;
}

    .btn-primary:hover {
        background: rgba(24, 192, 174, 1);
        box-shadow: 0 6px 18px rgba(24, 192, 174, 0.65);
    }

.btn-warning {
    background: rgba(255, 193, 7, 0.85);
    border: none;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.45);
    border-radius: 8px;
    color: #333;
}
/* Force white color on all inner elements inside header */
table.glass-table thead th * {
    color: white !important;
}
/* .btn-warning:hover {
        background: rgba(255, 193, 7, 1);
        box-shadow: 0 6px 18px rgba(255, 193, 7, 0.65);
    }*/


table.glass-table thead th, table.glass-table thead th * {
    color: white !important;
}
/* Scrollbar for glass container if content overflows */
.glass-container::-webkit-scrollbar {
    width: 8px;
}

.glass-container::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.glass-container::-webkit-scrollbar-track {
    background: transparent;
}






.dashboard-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 2.2rem;
    padding: 20px;
    max-width: 1140px;
    margin: 20px;
}

.app-tile {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px 0 rgba(17, 138, 178, 0.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 160px;
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.13s;
    border: 2px solid transparent;
    text-decoration: none;
}

    .app-tile:hover {
        box-shadow: 0 6px 18px rgba(27,108,168,0.13);
        transform: translateY(-4px) scale(1.03);
        border-color: #18bfae;
    }

.menu-header {
    margin-top: 50px;
}




.dashboard-container {
    display: flex;
    height: 100vh;
    overflow: hidden;
    font-family: Calibri;
}

main.main-feed {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    background-color: #fff;
    height: 100vh;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    position: relative;
    z-index: 2; /* Still under submenu */
}

.post-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    background: #fafafa;
}

    .post-card form {
        display: inline-block;
    }

.employee-spotlight {
    background: linear-gradient(to right, #6dd5ed, #2193b0);
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

#mood-popup {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #ffffff;
    border: 1px solid #ccc;
    padding: 15px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.15);
    border-radius: 8px;
    display: none;
    z-index: 1000;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin-top: 12px;
}

.calendar-day {
    padding: 8px;
    background: #fff;
    border-radius: 4px;
    text-align: center;
    font-size: 13px;
    border: 1px solid #eee;
}

    .calendar-day.holiday {
        background-color: #ffd4d4;
        font-weight: bold;
    }

    .calendar-day.event {
        background-color: #d4f8e8;
        font-weight: bold;
    }


/* Tab container background and bottom border */
.nav-tabs {
    background-color: #ffffff; /* Set background to white so only tabs are colored */
    border-bottom: 2px solid #1b6ca8;
}

    /* Default tab buttons (not selected) */
    .nav-tabs .nav-link {
        background-color: black; /* white background */
        color: #1b6ca8; /* blue text */
        border: 0px solid #1b6ca8;
        margin-right: 4px;
        border-bottom: none;
    }

        /* Active tab */
        .nav-tabs .nav-link.active {
            background-color: #1b6ca8; /* blue background */
            color: black !important; /* white text */
            border-color: #1b6ca8 #1b6ca8 white #1b6ca8;
        }

/* Tab content styling */
.tab-content {
    border: 0px solid #1b6ca8;
    padding: 15px;
    background-color: #f8f9fa;
}

.modal,
.modal-backdrop,
.modal-dialog,
.modal-content {
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 1050 !important;
}

.modal-backdrop {
    opacity: 0.5 !important;
    z-index: 1040 !important;
}

#addCompanyModal .modal-content {
    background-color: #fff !important;
    color: #000 !important;
}

.modal.show {
    pointer-events: auto;
    z-index: 1055;
}
.modal.fade {
    pointer-events: auto;
    z-index: 1055;
}


/* Restore Bootstrap's transition for fade effect */
.modal.fade {
    opacity: 1;
    transition: opacity 0.05s linear;
}

.modal.show {
    opacity: 1;
}

/* Keep your customizations safely */
.modal-dialog,
.modal-content {
    pointer-events: auto !important;
    z-index: 1050 !important;
}


#addCompanyModal .modal-content {
    background-color: #fff !important;
    color: #000 !important;
}


.glass-effect {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    color: #000;
}



.modal {
    z-index: 1050 !important;
}


.btn.btn-shift {
    background: rgba(255, 255, 255, 0.15); /* light translucent */
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white !important;
    border-radius: 0 !important; /* completely sharp corners */
    background-color: #18BFAE !important; /* brand fallback solid color */
    border-color: #18BFAE !important;
}

    .btn.btn-shift:hover,
    .btn.btn-shift:focus,
    .btn.btn-shift:active {
        background-color: #149a8f !important; /* hover state solid fallback */
        border-color: #149a8f !important;
        box-shadow: none !important;
    }


.btn.btn-glass-circle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    padding: 0;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: #000 !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
}

    .btn.btn-glass-circle:hover,
    .btn.btn-glass-circle:focus {
        background: rgba(255, 255, 255, 0.25);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        color: white !important;
    }

    .btn.btn-glass-circle i {
        font-size: 1.2em; /* Icon size */
    }


#addCompanyModal .glass-container {
    background: white !important;
    color: white !important;
    pointer-events: auto !important;
    opacity: 1 !important;
}

