@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

/* --- Poppins Font Utility Classes --- */
.poppins-thin {
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.poppins-extralight {
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.poppins-light {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.poppins-regular {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.poppins-medium {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.poppins-semibold {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.poppins-bold {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.poppins-extrabold {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: normal;
}

.poppins-black {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-style: normal;
}

.poppins-thin-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: italic;
}

.poppins-extralight-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: italic;
}

.poppins-light-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: italic;
}

.poppins-regular-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: italic;
}

.poppins-medium-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: italic;
}

.poppins-semibold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: italic;
}

.poppins-bold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: italic;
}

.poppins-extrabold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: italic;
}

.poppins-black-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-style: italic;
}

/* --- General and Reset Styles (Needed for all HTML structure) --- */
* {
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    color: rgb(89, 89, 89);
}

*,
::before,
::after {
    box-sizing: inherit;
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 10px;
    border: 3px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

.attendance-table-responsive::-webkit-scrollbar {
    display: block !important;
}

.bg-pink {
    background-color: #fb6a78 !important;
    color: #fff !important;
}

.bg-pink svg path {
    color: #fff !important;
}

.btn-navy {
    background-color: #6f427e !important;
    color: #fff !important;
}

html {
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
    text-size-adjust: 100%;
    color-scheme: light;
    background-color: #fff;
}

.box-wrapper {
    transition: padding-left 0.3s ease;
    background-color: #fff;
}

#root {
    background-color: #fff;
}

.text-white {
    color: #fff;
}

body {
    margin: 0px;
    color: rgb(89, 89, 89);
    font-size: 0.875rem;
    line-height: 1.57;
    font-weight: 500;
    background-color: #f8f9fa;
    /* Consistent app background */
    font-family: 'Nunito', sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: rgb(32 33 57) !important;
}

a {
    text-decoration: none !important;
    color: #7BB2E4 !important;
}

p {
    line-height: 1.7;
}

h2 {
    margin: 0 !important;
}

/* --- Font/Spacing Utilities --- */
.fs-10 {
    font-size: 10px !important;
}

.fs-11 {
    font-size: 11px !important;
}

.fs-12 {
    font-size: 12px !important;
}

.fs-13 {
    font-size: 13px !important;
}

.fs-14 {
    font-size: 14px !important;
}

.fs-15 {
    font-size: 15px !important;
}

.fs-16 {
    font-size: 16px !important;
}

.fs-17 {
    font-size: 17px !important;
}

.fs-18 {
    font-size: 18px !important;
}

.fs-20 {
    font-size: 20px !important;
}

.fs-22 {
    font-size: 22px !important;
}

.fs-24 {
    font-size: 24px !important;
}

.fw-500 {
    font-weight: 500 !important;
}

.fw-900 {
    font-weight: 900 !important;
}

.radius-10 {
    border-radius: 10px !important;
}

.radius-15 {
    border-radius: 15px !important;
}

.radius-20 {
    border-radius: 20px !important;
}

/* --- Table General Styles --- */
table thead {
    background-color: #f4f6f8;
}

table tr {
    border-bottom: 1px solid #eee;
}

table th {
    padding: 12px;
    background-color: #fff !important;
    border: 1px solid #eeeeee !important;
}

table td {
    padding: 12px;
}

/* --- Sidebar Styles --- */
.sidebar {
    left: 0px;
    top: 0px;
    transition: width 0.3s ease;
    color: #fff;
    background-color: #fff !important;
    transition: width 0.3s ease-in-out;
    position: fixed !important;
    overflow: hidden auto;
    border: none;
    z-index: 999;
    height: 100%;
    box-sizing: border-box;
}

/* --- Dashboard Navigation (dash-*) --- */
.dash-navbar {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.dash-item {
    padding: 0 12px;
}

.dash-item .dash-link {
    border-radius: 12px;
    margin-left: 15px;
    margin-right: 15px;
    padding: 7px 10px 7px 7px;
    color: #333333 !important;
    font-size: 14px;
    display: block;
    padding: 8px;
    position: relative;
    font-size: 13px;
    font-weight: 500;
    margin: 7px 0;
}

.dash-item .dash-link:hover {
    background: radial-gradient(circle at 30% 50%, #FF8B4E 0%, #D76179 40%, #2C2D80 100%);
    background-size: 200% 200%;
    background-position: 70% 50%;
    transition: background-position 0.5s ease, background-size 0.5s ease !important;
    border-radius: 28px;
    color: #ffffff !important;
    box-shadow: 0 5px 20px 0px rgb(107 107 107 / 27%);
}

.dash-item .dash-link:hover span {
    color: #ffffff;
}

.dash-link:hover i {
    color: #fff;
}

.dash-link:hover .dash-micon i {
    color: #fff;
}

.dash-link.active svg path {
    color: #ffff;
}

.dash-item .dash-link.active {
    background: radial-gradient(circle at 30% 50%, #FF8B4E 0%, #D76179 40%, #2C2D80 100%);
    background-size: 200% 200%;
    background-position: 70% 50%;
    transition: background-position 0.5s ease, background-size 0.5s ease !important;
    overflow: hidden;
    border-radius: 28px;
    color: #fff !important;
    box-shadow: 0 5px 20px 0px rgb(107 107 107 / 27%);
}

.dash-item .dash-link.active span {
    color: #ffffff;
}

.dash-link .dash-micon {
    background-color: transparent;
    border: 2px solid #d9d9d9;
    box-shadow: -3px 4px 23px rgba(0, 0, 0, 0.1);
    margin-right: 12px;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    min-width: 30px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.dash-link.active .dash-micon i {
    color: #fff;
}

.dash-submenu {
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    max-height: 0;
    opacity: 0;
}

.dash-submenu .dash-item {
    position: relative;
    transition: all 0.5s ease;
}

.dash-submenu.open {
    max-height: 500px;
    opacity: 1;
    transition: all 0.5s ease;
}

/* --- Header & Search Styles --- */
header {
    border: none;
    min-height: 68px;
}

.sidebar .logo {
    padding-bottom: 20px !important;
}

.searchicon {
    position: absolute;
    top: 15px;
    left: 8px;
    font-size: 12px;
    color: #8C8C8C;
}

.search-input {
    border-radius: 6px !important;
}

.notify-menu {
    right: 0px;
    top: 100%;
    min-width: 250px;
    position: absolute;
    max-width: 400px;
    width: 400px;
    padding: 0 !important;
}

.notify-header {
    display: flex;
    align-items: center;
    padding: 15px;
}

.notify-heading {
    flex: 1 1 auto;
}

.notify-heading h6 {
    margin: 0px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.57;
    font-family: "Poppins", sans-serif;
}

.notify-menu .notify-item {
    border: 1px solid #eee;
}

.notify-menu .notify-item:last-child {
    border: none;
}

/* --- Card & Container Styles --- */
.container-bg {
    background-color: rgb(255, 255, 255);
    color: rgb(38, 38, 38);
    position: relative;
    box-shadow: inherit;
    transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 1px solid rgb(230, 235, 241);
    border-radius: 20px;
}

.card {
    background-color: #ffffffd9 !important;
    box-shadow: rgb(191 191 191 / 35%) 0px 0px 10px;
    border-radius: 20px !important;
    box-sizing: border-box;
    padding: 20px 15px;
    border: none !important;
}

.list-group-item {
    background-color: rgb(246 249 250) !important;
    border: none !important;
    box-shadow: inset 0px 1px 2px #0000000d;
    padding: 10px 15px !important;
}

.img-input {
    width: 160px;
    height: 160px;
    margin: auto;
    overflow: hidden;
    border-radius: 50% !important;
    position: relative;
}

.img-input input {
    position: absolute;
    top: 0;
    height: 160px;
    opacity: 0;
    border-radius: 50%;
}

.profile-heading {
    text-align: center;
    margin: 0px;
    font-weight: 600;
    line-height: 1.5;
    font-family: "Poppins", sans-serif;
}

.profile-heading h2 {
    font-size: 20px;
    font-weight: 900;
    font-family: "Nunito", sans-serif;
    color: #fb6d7b !important;
}

.profile-subheading {
    text-align: center;
    margin: 0px;
    font-weight: 400;
    line-height: 1;
    font-family: "Poppins", sans-serif;
}

.profile-subheading h2 {
    color: #777777 !important;
    font-weight: 500 !important;
    font-size: 14px;
}

.icon-box {
    padding: 5px 9px;
    border-radius: 8px;
    color: #ffffff !important;
    text-align: center;
}

.contact-icon {
    background: linear-gradient(45deg, #0bd319, #8cff73);
}

.mail-icon {
    background: linear-gradient(45deg, #30c3f7, #0143f6);
}

.icon-box i {
    color: #fff;
}

.id-icon {
    background-color: #F2E2FE;
}

.id-icon i {
    color: #8659BE !important;
}

.ec-icon {
    background-color: #ffe3cc;
}

.ec-icon i {
    color: #f78357 !important;
}

.dob-icon {
    background-color: #ffd4d8;
}

.dob-icon i {
    color: #ff6372 !important;
}

.address-icon {
    background-color: #c4f3ef;
}

.address-icon i {
    color: #58cdc0 !important;
    text-align: center;
}

.salary-icon {
    background-color: #ffcee0;
}

.salary-icon i {
    color: #a53f7d !important;
}

.stype-icon {
    background-color: #ffc3f5;
}

.stype-icon i {
    color: #8c1078 !important;
}

.profile-socials {
    position: relative;
    margin-top: 20px;
}

hr {
    height: 1px;
    border: none !important;
    background-color: #787878;
}

.info-sidebar hr {
    width: 286px;
}

.social-links {
    display: flex;
    justify-content: center;
    vertical-align: middle;
    padding: 0px;
    font-size: 0;
    position: relative;
}

.social-links li {
    margin-left: 10px;
}

.social-links li:first-child {
    margin-left: 0;
}

.social-links li a img {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.container-heading {
    padding: 0px 4px 8px;
    margin-bottom: 10px;
}

.container-heading h2 {
    font-size: 20px;
    font-weight: 800;
}

.profile-menu {
    padding: 0 20px;
    margin-top: 35px;
}

.menu-list {
    list-style: none;
    margin: 0px;
    position: relative;
    padding: 0px;
}

.menu-list .menu-item {
    cursor: pointer;
    appearance: none;
    display: flex;
    flex-grow: 1;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    min-width: 0px;
    box-sizing: border-box;
    text-align: left;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 16px;
    padding-right: 16px;
    margin: 0px;
    text-decoration: none;
}

.menu-list .menu-item:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

.menu-list .menu-item.active {
    background-color: #FDF4D3;
}

.menu-list .menu-item a {
    color: rgb(89, 89, 89) !important;
}

.menu-list .menu-item.active a {
    color: #e3aa00 !important;
}

.nav-item.active a {
    color: #e3aa00 !important;
    border: 1px solid #e9ecef;
    background-color: #fbfbfb;
}

nav svg {
    max-width: 16px !important;
}

.permission-check {
    border-bottom: 1px solid rgb(240, 240, 240);
    padding: 10px 0;
}

.form-check-input:checked {
    background-color: #7BB2E4 !important;
    border-color: #7BB2E4 !important;
}

.container-bg table td .badge {
    max-width: 100%;
    font-family: "Public Sans", sans-serif;
    font-size: 0.8125rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: unset;
    vertical-align: middle;
    box-sizing: border-box;
    height: 24px;
    background-color: rgb(0, 168, 84);
    color: rgb(255, 255, 255);
    white-space: nowrap;
    transition: background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1);
    outline: 0px;
    text-decoration: none;
    border-width: 0px;
    border-style: initial;
    border-color: initial;
    border-image: initial;
    padding-top: 5px !important;
    border-radius: 4px !important;
}

.container-bg table td .badge p {
    margin: 0;
}

.contact-list {
    margin: 10px 0;
    list-style: none;
    position: relative;
    padding: 0 6px;
}

.contact-list .detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 0 4px -1px #00000017;
}

.contact-list .detail-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-color: #4ECDC4;
}

.detail-text {
    margin-left: 10px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.contact-list .detail-text p {
    margin: 0 10px;
    line-height: 1;
}

svg {
    min-width: 16px;
}

.manage-title {
    line-height: 1;
}

.card-bg {
    background-color: #FAFAFB !important;
    box-shadow: inset 0 0px 4px 4px #eee;
}

#blurr {
    filter: blur(5px);
    transition: filter 0.5s ease;
}

.card-bg {
    background-color: #FAFAFB !important;
    box-shadow: inset 0 0px 4px 4px #eee;
}

#blurr:hover {
    filter: blur(0);
    transition: filter 0.5s ease;
}


.box-stat {
    background: linear-gradient(195deg, #fc6a78 0%, #55d0c4 25%, #f78357 50%, purple 100%);
    border-radius: 20px;
    padding: 4px !important;
    transition: all 0.5s;
}

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

/* The Leave Card */
.leave-card {
    background: white;
    border-radius: 20px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    width: 30% !important;
}

.leave-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Decorative Top Border (Color coded via inline style or specific classes) */
.leave-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #4ECDC4, #FF6B6B);
    /* Default */
}

/* Card Title */
.leave-title {
    font-size: 18px;
    font-weight: 700;
    color: #1A535C;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Badge for "Allowed" */
.badge-allowed {
    background: #e8f4ff;
    color: #1A535C;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
}

/* --- The CSS Donut Chart --- */
.donut-container {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 25px auto;
    border-radius: 50%;
    /* The chart colors are set via inline styles using conic-gradient */
}

/* The White Center Hole */
.donut-hole {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    background: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.05);
}

.remaining-val {
    font-size: 28px;
    font-weight: 800;
    color: #FF6B6B;
    line-height: 1;
}

.remaining-lbl {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Stats Row (Bottom) */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    border-top: 1px dashed #eee;
    padding-top: 15px;
}

.donut-container canvas {
    position: relative;
    bottom: 4px;
}

.stat-item {
    text-align: center;
}

.stat-val {
    font-weight: 700;
    font-size: 15px;
    display: block;
}

.stat-lbl {
    font-size: 11px;
    color: #888;
}

/* Colors for Text */
.text-green {
    color: #4ECDC4;
}

.text-yellow {
    color: #F7B731;
}


/* The Digital Card Container */
.bank-card-visual {
    /* Funky Gradient Background */
    background: linear-gradient(135deg, #FF9966, #FF5E62);
    border-radius: 20px;
    padding: 30px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(255, 94, 98, 0.3);
    font-family: 'Poppins', sans-serif;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 15px;
}

/* Abstract circles overlay for texture */
.bank-card-visual::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Card Elements */
.chip-icon {
    font-size: 40px;
    opacity: 0.9;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.bank-label {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: right;
    text-transform: uppercase;
}

.account-number-display {
    font-size: 28px;
    /* Adjustable based on length */
    font-family: 'Courier New', monospace;
    /* Monospace for card feel */
    font-weight: 700;
    letter-spacing: 2px;
    margin: 15px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.detail-group label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    opacity: 0.8;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.detail-group span {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Secondary Info Area (Below Card) */
.secondary-info {
    display: flex;
    justify-content: space-between;
    padding: 10px 5px;
    border-top: 1px dashed #eee;
}

.sec-item strong {
    color: #1A535C;
    font-size: 13px;
}

.sec-item span {
    color: #555;
    font-size: 13px;
    margin-left: 5px;
}


/* --- Form & Input Styles --- */
.form-control {
    -webkit-appearance: none !important;
    box-sizing: border-box;
    appearance: none !important;
    background-clip: padding-box;
    background-color: #fff !important;
    border: 1px solid #afafaf !important;
    color: #1f2431;
    display: block;
    outline: 0 !important;
    font-size: .8125rem !important;
    font-weight: 400;
    line-height: 1.5 !important;
    padding: 12px !important;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    width: 100%;
    border-radius: 20px !important;
}

.form-control:focus {
    box-shadow: none !important;
    border-color: #bdb7df !important;
    outline: none !important;
}

.gradient-btn {
    background: radial-gradient(circle at 30% 50%, #FF8B4E 0%, #D76179 40%, #2C2D80 100%);
    background-size: 200% 200%;
    background-position: 70% 50%;
    transition: background-position 0.5s ease, background-size 0.5s ease !important;
}

.gradient-btn:hover {
    background-position: 10% 100%;
    background-size: 300% 300%;
}

.form-group .btn {
    padding: 10px 15px;
    border-radius: 20px;
    border: 0 !important;
    outline: 0 !important;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.manage-title {
    line-height: 1;
}

.form-check-input:checked {
    background-color: #7BB2E4 !important;
    border-color: #7BB2E4 !important;
}

/* --- Employee/Table Specific Styles --- */
.employee-table {
    border-collapse: separate;
    border-spacing: 0 10px;
}

.employee-table thead th {
    border-bottom: 2px solid #e9ecef;
    font-weight: 600;
    color: #6c757d;
    padding-top: 15px;
    padding-bottom: 15px;
}

.employee-table tbody tr {
    transition: background-color 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.employee-table tbody tr:hover {
    background-color: #f9f9f9;
}

.employee-table tbody td {
    border: none;
    padding-top: 15px;
    padding-bottom: 15px;
}

.employee-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #5ccec6;
}

.status-badge {
    padding: 0.3em 0.8em;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: capitalize;
}

.status-active {
    background-color: #d4edda;
    color: #155724;
}

.status-inactive {
    background-color: #f8d7da;
    color: #721c24;
}

.btn-view-profile {
    border-radius: 50px;
    padding: 5px 15px;
    font-size: 0.8rem;
    transition: all 0.2s;
    color: #ff6b81 !important;
    border: 1px solid #ff6b81;
}

.btn-view-profile:hover {
    background-color: #ff6b81;
    color: white !important;
    border-color: #ff6b81;
}

/* --- Primary Dashboard Content Containers --- */
.list-container,
.advanced-search-bar {
    background-color: #ffffff;
    border: none;
    padding: 2rem !important;
}

.container-bg-header {
    background-color: #ffffff;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 1rem !important;
    /* margin-bottom: 0 !important; */
}

.text-pink {
    color: #ff6b81 !important;
}

.hover-text-pink:hover {
    color: #ff6b81 !important;
}

/* --- Badge & Icon Color Utilities --- */
.badge-green {
    color: #a53860 !important;
    background-color: #ffcee0 !important;
    font-weight: 700 !important;
}

.badge-coral {
    color: rgb(255 69 87) !important;
    background-color: #ffd4d8 !important;
    font-weight: 700 !important;
}

.badge-coral i {
    color: rgb(255 69 87) !important;
}

.badge-orange {
    color: rgb(251 103 0) !important;
    background-color: #ffe3cc !important;
    font-weight: 700 !important;
}

.badge-blue {
    color: rgb(140 16 120) !important;
    background-color: #ffc3f5 !important;
    font-weight: 700 !important;
}

.icon-green {
    color: #a53f7d !important;
}

.icon-coral {
    color: #ff6372 !important;
}

.icon-orange {
    color: #f78357 !important;
}

.icon-blue {
    color: #8c1078 !important;
}

.icon-bg-purple {
    background-color: #ece4ff;
}

.icon-bg-red {
    background-color: #FFE4E4;
}

.icon-bg-blue {
    background-color: #d3e7ff;
}

.icon-bg-blue svg path {
    color: #519ffd;
}

.icon-bg-red svg path {
    color: #ff6262;
}

.icon-bg-purple svg path {
    color: #a884ff;
}

.text-white svg path {
    color: #fff;
}

.text-primary i {
    color: rgb(59 62 191);
}

/* --- Global Layout --- */
.dashboard-container {
    display: block;
    min-height: 100vh;
    background-color: #fff;
    /* Light background for the main area */
}

.inner-box {
    background-color: #e8edf3;
    border-top-left-radius: 20px;
    padding: 0;
    height: 100%;
    min-height: 100vh;
    border: 1px solid #c4c4c4;
    border-radius: 20px;
    margin: 0 10px 10px 0;
}

.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background-color: #fff;
}

/* --- Primary Color Definition --- */
:root {
    --primary-red: #f74545;
    /* The red/pink color from the image */
    --text-light: #555;
    --bg-light: #fff;
    --bg-hover: #fcebeb;
    --text-muted: #64748b;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --radius: 0.75rem;
}

/* --- Top Header (Replacing Navbar) --- */
.top-header {
    background-color: #ffffff;
    padding: 10px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header-left {
    display: flex;
    align-items: center;
}

.search-bar {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px 10px;
}

.search-input {
    border: none !important;
    padding: 5px;
    outline: none;
    width: 200px;
}

.search-icon-btn {
    background: none;
    border: none;
    padding: 0;
    margin-right: 5px;
    color: #555;
}

.user-info {
    display: flex;
    align-items: center;
}

.notifications {
    position: relative;
    font-size: 1.2em;
    color: #555;
    cursor: pointer;
}

.notifications .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-red);
    color: white;
    border-radius: 50%;
    padding: 3px 6px;
    font-size: 0.6em;
    font-weight: bold;
    min-width: 14px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-red);
}

.user-profile .dropdown-toggle::after {
    margin-left: 0.5em;
    /* Space between username and arrow */
}


.auth-pages {
    flex-grow: 0;
    flex-basis: auto;
    width: calc(100% * 12 / var(--Grid-parent-columns) - (var(--Grid-parent-columns) - 12) * (var(--Grid-parent-columnSpacing) / var(--Grid-parent-columns)));
    min-width: 0px;
    box-sizing: border-box;
    background-image: url("../images/bg-fun.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
}

.auth-box {
    flex-flow: wrap;
    min-width: 0px;
    box-sizing: border-box;
    display: flex;
    height: 100vh;
    justify-content: center;
    align-items: center;
}

input::placeholder {
    font-size: 14px;
    font-weight: 500;
}

.title {
    text-align: center;
    margin: 10px 0 10px;
    font-size: 32px !important;
    font-weight: 900;
    font-family: "Nunito", sans-serif;
}

.auth-form {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.form-control:focus {
    box-shadow: none !important;
}

.form-control {
    -webkit-appearance: none !important;
    box-sizing: border-box;
    appearance: none !important;
    background-clip: padding-box;
    background-color: #fff !important;
    border: 1px solid #afafaf !important;
    color: #1f2431;
    display: block;
    outline: 0 !important;
    font-size: .8125rem !important;
    font-weight: 400;
    line-height: 1.5 !important;
    padding: 12px !important;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    width: 100%;
    border-radius: 20px !important;
}

.gradient-btn {
    background: radial-gradient(circle at 30% 50%, #FF8B4E 0%, #D76179 40%, #2C2D80 100%);
    background-size: 200% 200%;
    background-position: 70% 50%;
    transition: background-position 0.5s ease, background-size 0.5s ease !important;
}

.gradient-btn:hover {
    background-position: 10% 100%;
    background-size: 300% 300%;
}

.form-control:focus {
    background-color: #fff;
    background-color: var(--bs-secondary-bg);
    border-color: #bdb7df !important;
    box-shadow: none;
    color: #1f2431;
    color: var(--bs-body-color);
    outline: none !important;
}

.form-group .btn {
    padding: 10px 15px;
    border-radius: 20px;
    border: 0 !important;
    outline: 0 !important;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.google-login-button {
    border-radius: 20px;
    box-sizing: border-box;
    padding: 10px 15px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px,
        rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
        "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
    font-size: 11px;
    gap: 5px;
}

.google-login-button {
    border: 2px solid #747474;
}

.google-icon {
    font-size: 18px;
    margin-bottom: 1px;
}

.auth-right {
    display: flex;
    text-align: center;
    justify-content: center;
    border-radius: 20px 0 0 20px;
}

.auth-right .greeting-box {
    width: 100%;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.auth-right .greeting-box .greeting-content {
    width: 610px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.auth-right .greeting-box h2 {
    font-size: 52px;
    color: #212121 !important;
    font-weight: 900;
    font-family: "Nunito", sans-serif;
}

.auth-right .greeting-box p span {
    font-size: 20px;
    color: #fb6d7b !important;
    font-weight: 500;
    margin: 10px 0;
    font-style: italic;
}

.auth-right .greeting-box p {
    font-size: 20px;
    color: #fb6d7b !important;
    font-weight: 500;
    margin: 10px 0;
    font-style: italic;
}

.card {
    background-color: #ffffffd9 !important;
    box-shadow: rgb(191 191 191 / 35%) 0px 0px 10px;
    border-radius: 20px !important;
    box-sizing: border-box;
    padding: 20px 15px;
    border: none !important;
}

svg {
    min-width: 16px;
}

i {
    min-width: auto;
}

.text-white svg path {
    color: #fff;
}

.container-heading h2 {
    font-size: 25px;
    font-weight: 800;
    margin-bottom: 14px !important;
}

.geo-wrapper {
    position: relative;
    padding: 20px;
    background: #fcfcfc;
    border-radius: 15px;
    overflow: hidden;
    /* Keeps shapes inside */
}

/* Background Shapes */
.shape {
    position: absolute;
    z-index: 0;
    opacity: 0.8;
    pointer-events: none;
}

.circle-teal {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: #4ECDC4;
    top: -50px;
    left: -50px;
    opacity: 0.15;
}

.circle-coral {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #FF6B6B;
    bottom: 20px;
    right: -20px;
    opacity: 0.15;
}

.blob-blue {
    width: 300px;
    height: 300px;
    background-color: #1A535C;
    border-radius: 44% 56% 36% 64%;
    bottom: -100px;
    left: 20%;
    opacity: 0.05;
}

/* --- The Upload Area (Customized Dropzone) --- */
.custom-dropzone {
    border: 3px dashed #4ECDC4 !important;
    border-radius: 15px !important;
    background: #F0FFFE !important;
    padding: 30px !important;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 2;
    position: relative;
}

.custom-dropzone:hover {
    background: #e0fffc !important;
    transform: scale(1.01);
    border-color: #1A535C !important;
}

/* Hide default dropzone text to use our own */
.dz-message {
    margin: 0 !important;
}

/* The 'Browse' Button Style */
.btn-gradient-upload {
    background: linear-gradient(90deg, #FF9966, #FF5E62);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: bold;
    margin-top: 15px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(255, 94, 98, 0.3);
}

/* --- File List Styling --- */
.file-list-container {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.file-card {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 15px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s, border-color 0.2s;
}

.file-card:hover {
    transform: translateX(5px);
    border-left: 5px solid #4ECDC4;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Icons based on type */
.file-icon-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-weight: 800;
    font-size: 12px;
    flex-shrink: 0;
}

.icon-pdf {
    background: #ffebeb;
    color: #FF6B6B;
}

/* Red for PDF */
.icon-doc {
    background: #e8f4ff;
    color: #1A535C;
}

/* Blue for Word */
.icon-img {
    background: #fff8d6;
    color: #d4ac0d;
}

/* Yellow for Images */
.icon-def {
    background: #f0f0f0;
    color: #555;
}

/* Grey for others */

.file-info {
    flex-grow: 1;
    min-width: 0;
    /* fixes text overflow */
}

.file-name {
    font-weight: 600;
    color: #333;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-meta {
    font-size: 0.8em;
    color: #999;
    margin-top: 2px;
}

/* Action Buttons */
.file-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-geo-download {
    background-color: #4ECDC4;
    color: white !important;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.85em;
    transition: background 0.2s;
}

.btn-geo-download:hover {
    background-color: #3dbdb5;
}

.btn-geo-delete {
    background: transparent;
    color: #FF6B6B;
    border: 1px solid #FF6B6B;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.85em;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-geo-delete:hover {
    background: #FF6B6B;
    color: white;
}

.shape {
    position: absolute;
    z-index: -1;
    opacity: 0.8;
}

.circle-teal {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: #4ECDC4;
    top: -50px;
    left: -50px;
}

.circle-coral {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #FF6B6B;
    bottom: 50px;
    right: 10%;
}

.triangle-yellow {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 100px solid #FFE66D;
    top: 10%;
    right: 15%;
    transform: rotate(15deg);
}

.blob-blue {
    width: 400px;
    height: 400px;
    background-color: #1A535C;
    border-radius: 44% 56% 36% 64% / 60% 38% 62% 40%;
    /* Blob shape */
    bottom: -100px;
    left: 20%;
}

/* The White Card */
.team-card {
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgb(0 0 0 / 8%);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 16rem;
}

/* Hover Effect: Lift up + Teal Border */
.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1), inset 0 0 0 2px #4ECDC4;
}

/* Avatar Container with Teal Ring */
.member-avatar-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    padding: 3px;
    /* Space between image and border */
    border: 2px solid #4ECDC4;
    /* Teal outer ring */
    background: white;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* The Actual Image */
.member-avatar-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #fff;
    /* Inner white border */
}

/* Typography */
.member-name {
    color: #1A535C;
    /* Dark Blue */
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 5px;
}

.member-role {
    color: #7f8c8d;
    font-size: 14px;
    font-weight: 500;
}


/*attendance regulations css*/
.filter-bar {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.custom-input {
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    padding: 10px 15px;
    outline: none;
    transition: border-color 0.3s;
    background: #fcfcfc;
    min-width: 125px;
    width: 100%;
}

.custom-input:focus {
    border-color: #4ECDC4;
    background: white;
}

.btn-filter {
    background: #1A535C;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 10px;
    font-weight: 600;
    transition: transform 0.2s;
}

.btn-filter:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 83, 92, 0.3);
}

.btn-reset {
    background: #f0f0f0;
    color: #555 !important;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
}

/* --- Request Card List --- */
.request-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid #f5f5f5;
    border-left: 5px solid #ddd;
    /* Default Border */
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    transition: transform 0.2s;
}

.request-card:hover {
    transform: scale(1.005);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

/* Status Variants for Border */
.status-pending {
    border-left-color: #F7B731;
}

/* Mustard */
.status-approved {
    border-left-color: #4ECDC4;
}

/* Teal */
.status-rejected {
    border-left-color: #FF6B6B;
}

/* Coral */

/* Card Sections */
.req-user-info {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
}

.req-name {
    font-weight: 700;
    color: #1A535C;
    font-size: 16px;
}

.req-date {
    font-size: 13px;
    color: #888;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Time Inputs Styling */
.time-group {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #F0FFFE;
    padding: 10px 15px;
    border-radius: 10px;
    border: 1px dashed #4ECDC4;
}

.time-field {
    border: none;
    background: transparent;
    font-weight: 600;
    color: #1A535C;
    font-family: 'Poppins', sans-serif;
}

/* Status Badge */
.status-badge {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-pending {
    background: #fff8e1;
    color: #F7B731;
}

/* Details & Actions */
.req-details {
    flex: 2;
    font-size: 13px;
    color: #555;
    background: #f4f4f4;
    padding: 10px;
    border-radius: 8px;
}

.action-group {
    display: flex;
    gap: 10px;
}

.btn-icon-action {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-view {
    background: #FFCEE0;
    color: #1A535C;
}

.btn-view i {
    color: #A53F7D;
}

.btn-edit {
    background: #e8f4ff;
    color: #1A535C;
}

.btn-edit i {
    color: #1A535C;
}

.btn-delete {
    background: #ffebeb;
    color: #FF6B6B;
}

.btn-delete i {
    color: #FF6B6B;
}

.btn-edit:hover {
    background: #1A535C;
    color: white;
}

.btn-edit:hover i {
    color: #fff;
}

.btn-delete:hover {
    background: #FF6B6B;
    color: white;
}

.btn-delete:hover i {
    color: #fff;
}

.submit-btn {
    background: #0178a5 !important;
    border: 1px solid #0178a5 !important;
    color: #fff !important;
}

.reject-btn {
    background: #FF6B6B !important;
    border: 1px solid #FF6B6B !important;
    color: #fff !important;
}

.page-item .page-link {
    background-color: #fff !important;
    border-color: #0178a5 !important;
    color: #0178a5 !important;
}

.page-item.active .page-link {
    background-color: #0178a5 !important;
    border-color: #0178a5 !important;
    color: #fff !important;
}

.funky-table-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid #f5f5f5;
    overflow-x: auto;
}

/* --- The Table Itself --- */
.funky-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    /* Vertical spacing between rows */
    min-width: 1000px;
}

/* Header Styling */
.funky-table thead th {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 0 15px 10px 10px;
    border: none !important;
    text-align: left;
}

/* Row Styling */
.funky-table tbody tr {
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s, box-shadow 0.2s;
}

.funky-table tbody tr:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    background-color: #FBFDFD;
    /* Very subtle teal tint */
    z-index: 10;
    position: relative;
}

/* Cell Styling */
.funky-table td {
    padding: 15px;
    vertical-align: middle;
    border-top: 1px solid #f9f9f9;
    border-bottom: 1px solid #f9f9f9;
    font-size: 14px;
    color: #555;
}

/* Rounded Row Ends */
.funky-table td:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    border-left: 1px solid #f9f9f9;
}

.funky-table td:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    border-right: 1px solid #f9f9f9;
}


.ft-info {
    display: flex;
    flex-direction: column;
}

.ft-name {
    font-weight: 700;
    color: #1A535C;
    font-size: 14px;
    line-height: 1.2;
}

/* Status Badges (Pills) */
.ft-status {
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    letter-spacing: 0.5px;
}

.status-pending {
    background: #FFF8E1;
    color: #F7B731;
    border: 1px solid rgba(247, 183, 49, 0.2);
}

.status-approved {
    background: #E0F2F1;
    color: #4ECDC4;
    border: 1px solid rgba(78, 205, 196, 0.2);
}

.status-rejected {
    background: #FFEBEE;
    color: #FF6B6B;
    border: 1px solid rgba(255, 107, 107, 0.2);
}



/* Header Buttons */
.btn-gradient-primary {
    background: linear-gradient(90deg, #FF9966, #FF5E62);
    color: white !important;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 94, 98, 0.4);
    margin-right: 10px;
}

.btn-gradient-primary i {
    color: #fff !important;
}

.btn-teal-outline {
    background: transparent;
    border: 2px solid #4ECDC4 !important;
    color: #4ECDC4 !important;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: bold;
}

.btn-teal-outline i {
    color: #4ECDC4 !important;
}

.btn-teal-outline:hover {
    background: #4ECDC4;
    color: #fff !important;
}

.btn-teal-outline:hover i {
    color: #fff !important;
}


@media (min-width: 1024px) {
    .auth-box {
        min-height: calc(-132px + 100vh);
    }
}

@media (min-width: 768px) {
    .auth-box {
        min-height: calc(-134px + 100vh);
    }

    .auth-box .card {
        max-width: 350px;
        height: auto;

    }

    .col-md-8 {
        flex: 0 0 auto;
        width: 64.666667% !important;
    }
}

@media (min-width: 1200px) {

    h3,
    .h3 {
        font-size: 1.5rem !important;
    }
}

.pagination svg {
    width: 20px;
}

.next-page {
    display: none;
}

/* --- Modern Variables --- */


/* Ensure the font is applied globally to this component */
.wizard-container,
.wizard-container * {
    font-family: 'Inter', sans-serif;
}

/* Container & Card Layout */
.wizard-container {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    min-height: 600px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

/* Sidebar Styling */
.wizard-sidebar {
    width: 280px;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 2rem 0;
    flex-shrink: 0;
    border-right: 1px solid #ededed;
}

.sidebar-header {
    padding: 0 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.avatar-circle {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Vertical Steps */
.step-indicator-list {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.step-item {
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: var(--text-muted);
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.step-item:hover {
    background: rgba(59, 130, 246, 0.05);
    color: var(--primary-dark);
}

.step-item.active {
    background: white;
    color: #6f427e;
    border-left-color: #6F427E;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.step-item.completed {
    border-left-color: #5ecabf;
}

.step-item.active i {
    color: #ff6b81;
}

.step-item.completed i {
    color: #5ecabf;
}

.step-icon {
    width: 24px;
    margin-right: 12px;
    text-align: center;
}

/* Right Content Area */
.wizard-content-area {
    flex-grow: 1;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.step-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.step-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-title {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* Form Controls Upgrade */
.form-group {
    margin-bottom: 1.5rem;
}

.required-label {
    color: #334155;
    display: block;
}

.step-content .form-group label {
    margin: 0 0px 10px 10px;
    font-size: 16px;
}

.required-label:after {
    content: "*";
    color: #ef4444;
    margin-left: 2px;
}

.modern-input {
    height: 48px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.modern-input:focus {
    border-color: #6f427e;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.funky-modal-content {
    border-radius: 25px !important;
    /* Soft rounded corners */
    border: none !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2) !important;
    /* Deep floating shadow */
    overflow: hidden;
    position: relative;
}

/* Decorative Top Border */
.funky-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #4ECDC4, #FF6B6B);
    /* Teal to Coral */
}

/* Header */
.funky-modal-header {
    border-bottom: none !important;
    padding: 30px 30px 10px 30px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.funky-modal-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    color: #1A535C;
    font-size: 22px;
    margin: 0;
}

/* Custom Close Button */
.btn-close-funky {
    background: #f0f0f0;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-close-funky:hover {
    background: #FF6B6B;
    color: white;
    transform: rotate(90deg);
}

.btn-close-funky:hover i {
    color: white;
}

.btn-gradient-action {
    background: linear-gradient(135deg, #4ECDC4, #556270);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(78, 205, 196, 0.3);
    transition: transform 0.2s;
}

.btn-gradient-action:hover {
    transform: translateY(-2px);
    color: white;
}

/* Body */
.funky-modal-body {
    padding: 20px 30px 30px 30px !important;
}

/* Footer Actions */
.funky-modal-footer {
    padding: 0 30px 30px 30px !important;
    border-top: none !important;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.btn-ghost-close {
    background: transparent;
    border: 1px solid #888;
    border-radius: 20px;
    color: #888 !important;
    font-weight: 600;
    padding: 10px 20px;
    cursor: pointer;
}

.btn-ghost-close:hover {
    color: #555 !important;
}

.btn-gradient-modal {
    background: linear-gradient(90deg, #667eea, #764ba2);
    /* Purple Gradient from your image reference */
    /* OR use the Orange/Pink theme: linear-gradient(90deg, #FF9966, #FF5E62) */
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(118, 75, 162, 0.3);
    transition: transform 0.2s;
}

.btn-gradient-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(118, 75, 162, 0.4);
}

/* Custom Radio Cards */
.custom-radio-card {
    cursor: pointer;
    position: relative;
}

.custom-radio-card input {
    position: absolute;
    opacity: 0;
}

.custom-radio-card .card-content {
    border: 1px solid #6f427e;
    border-radius: 8px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    background: white;
    transition: all 0.2s;
    box-shadow: -3px 3px 0px #6f427e;
}

.custom-radio-card input:checked+.card-content {
    border-color: #6f427e;
    background: #fff;
    color: #6f427e;
    font-weight: 500;
    box-shadow: 0 0 0 0;
}

.custom-radio-card input:checked+.card-content span {
    color: #6f427e;
}

/* Footer & Buttons */
.wizard-footer {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: end;
}

.wizard-footer button {
    padding: 8px 20px;
}

.funky-label {
    font-weight: 700;
    color: #1A535C;
    /* Dark Blue */
    margin-bottom: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.funky-label i {
    color: #4ECDC4;
}

/* Teal Icons */

/* --- Inputs & Selects --- */
.funky-input,
.funky-select,
.funky-textarea {
    background-color: #F9F9F9;
    border: 2px solid #EEE;
    border-radius: 12px;
    padding: 12px 15px;
    width: 100%;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    outline: none;
}

.funky-input:focus,
.funky-select:focus,
.funky-textarea:focus {
    background-color: #fff;
    border-color: #4ECDC4;
    /* Teal border on focus */
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.15);
}

/* Textarea specific */
.funky-textarea {
    min-height: 100px;
    resize: vertical;
}

/* --- Time Group Styling --- */
.time-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ddd;
    font-size: 20px;
    padding-top: 30px;
    /* Align with inputs */
}

/* --- Gradient Button --- */
.btn-gradient-submit {
    background: linear-gradient(90deg, #FF9966, #FF5E62);
    /* Orange -> Pink */
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(255, 94, 98, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    display: block;
    width: 100%;
    /* Full width on mobile */
    margin-top: 20px;
}

.btn-gradient-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(255, 94, 98, 0.4);
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .btn-gradient-submit {
        width: auto;
        float: right;
    }
}

/* --- The Attendance Matrix Container --- */
.matrix-container {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    /* Contains the scrollable area */
}

.matrix-scroll-wrapper {
    overflow-x: auto;
    padding-bottom: 10px;
}

/* Custom Scrollbar for the Matrix */
.matrix-scroll-wrapper::-webkit-scrollbar {
    height: 8px;
}

.matrix-scroll-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.matrix-scroll-wrapper::-webkit-scrollbar-thumb {
    background: #1A535C;
    border-radius: 4px;
}

/* --- The Table Styling --- */
.matrix-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    /* Space between rows */
    min-width: 1200px;
    /* Force scroll on small screens */
}

.matrix-table th {
    font-size: 15px;
    color: #888;
    font-weight: 600;
    padding: 10px;
    text-align: center;
    border-bottom: 2px solid #f0f0f0;
}

/* Sticky First Column (Employee Name) */
.col-sticky-name {
    position: sticky;
    left: 0;
    background: white;
    z-index: 10;
    text-align: left !important;
    padding-left: 20px !important;
    min-width: 210px;
    border-right: 1px solid #f0f0f0;
    /* Separator shadow */
    box-shadow: 5px 0 10px rgba(0, 0, 0, 0.02);
}

/* Row Styling */
.matrix-row {
    transition: transform 0.2s;
}

.matrix-row:hover .matrix-cell {
    background-color: #F9FAFB;
    /* Highlight row on hover */
}

.matrix-row:hover .col-sticky-name {
    background-color: #F9FAFB;
}

.matrix-cell {
    padding: 10px 5px;
    text-align: center;
    vertical-align: middle;
    background: white;
    border-top: 1px solid #f1f1f1;
    border-bottom: 1px solid #f1f1f1;
}

/* Rounded corners for the row ends */
.matrix-cell:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.matrix-cell:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* --- Employee Profile in Table --- */
.emp-profile-mini {
    display: flex;
    align-items: center;
    gap: 12px;
}

.emp-avatar-small {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #eee;
    object-fit: cover;
    border: 2px solid #4ECDC4;
}

.emp-name-text {
    font-weight: 700;
    color: #1A535C;
    font-size: 15px;
    line-height: 1.2;
}

/* --- Status Icons (The Funky Part) --- */
.status-orb {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: transform 0.2s;
}

.status-orb:hover {
    transform: scale(1.2);
}

/* Present (Green) */
.st-present {
    background: #E0F2F1;
    color: #4ECDC4;
}

/* Absent (Red) */
.st-absent {
    background: #FFEBEE;
    color: #FF6B6B;
}

/* Late (Yellow/Mustard) */
.st-late {
    background: #FFF8E1;
    color: #F7B731;
}

/* Half Day / Short (Purple) */
.st-short {
    background: #F3E5F5;
    color: #AB47BC;
}

/* OFF Day (Pill shape) */
.st-off {
    background: #f0f0f0;
    color: #999;
    font-size: 10px;
    font-weight: 800;
    width: 100%;
    padding: 8px 0;
    border-radius: 6px;
    letter-spacing: 1px;
}

.payroll-filter-bar {
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    border: 1px solid #f9f9f9;
}

/* --- The Payroll Table --- */
/* We reuse the 'funky-table' base, but add specific payroll overrides */

.text-money {
    font-family: 'Consolas', 'Monaco', monospace !important;
    /* Monospace for alignment */
    text-align: right;
    font-weight: 500;
    color: #555;
}

.text-money-bold {
    font-family: 'Consolas', 'Monaco', monospace;
    text-align: right;
    font-weight: 800;
    color: #1A535C;
    /* Dark Blue */
    font-size: 15px;
}

.text-money-hero {
    font-family: 'Consolas', 'Monaco', monospace;
    text-align: right;
    font-weight: 800;
    color: #4ECDC4;
    /* Teal for Net Salary */
    font-size: 16px;
    background: #E0F2F1;
    padding: 5px 10px;
    border-radius: 8px;
    display: inline-block;
    min-width: 100px;
}

/* Column Headers Alignment */
.th-money {
    text-align: right !important;
}

.th-center {
    text-align: center !important;
}

/* Profile Cell */
.pay-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pay-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.pay-info {
    display: flex;
    flex-direction: column;
}

.pay-name {
    font-weight: 700;
    color: #333;
    font-size: 14px;
}

.pay-id {
    font-size: 11px;
    color: #999;
    background: #eee;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    width: fit-content;
}

/* Status Badge */
.status-sent {
    background: #E8F5E9;
    color: #2E7D32;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Action Buttons */
.btn-pay-action {
    width: 35px;
    height: 35px;
    border-radius: 10px;
    /* Squircle */
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-view-slip {
    background: #E3F2FD;
    color: #1565C0;
}

.btn-view-slip i {
    color: #1565C0;
}

.btn-view-slip:hover i {
    color: #fff;
}

.btn-edit-slip {
    background: #F3E5F5;
    color: #7B1FA2;
}

.btn-edit-slip i {
    color: #7B1FA2;
}

.btn-edit-slip:hover i {
    color: #fff;
}

.btn-view-slip:hover {
    background: #1565C0;
    color: white;
    transform: translateY(-2px);
}

.btn-edit-slip:hover {
    background: #7B1FA2;
    color: white;
    transform: translateY(-2px);
}



/* payslip css*/
/* --- Print Friendly Background --- */
@media print {
    .geo-wrapper {
        background: white !important;
        padding: 0 !important;
    }

    .payslip-card {
        box-shadow: none !important;
        border: none !important;
    }

    .no-print {
        display: none !important;
    }

    .btn-gradient-download {
        display: none !important;
    }
}

/* --- Payslip Container --- */
.payslip-card {
    background: white;
    max-width: 850px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 10px;
    /* Sharp corners for professional feel, slight rounding */
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    border-top: 8px solid #4ECDC4;
    /* Brand Header Line */
}

/* Watermark (Optional) */
.payslip-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    font-size: 100px;
    color: rgba(0, 0, 0, 0.02);
    font-weight: 900;
    pointer-events: none;
    z-index: 0;
    text-transform: uppercase;
}

/* --- Header Section --- */
.ps-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    border-bottom: 2px dashed #f0f0f0;
    padding-bottom: 30px;
}

.ps-company-info h2 {
    color: #1A535C;
    font-weight: 800;
    font-size: 24px;
    margin: 0 0 5px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ps-company-info p {
    color: #888;
    font-size: 12px;
    margin: 2px 0;
}

/* The "Hero" Net Salary Box */
.ps-net-salary-box {
    text-align: right;
    background: #E0F2F1;
    padding: 15px 25px;
    border-radius: 12px;
    border: 1px solid #B2DFDB;
}

.ps-label-hero {
    font-size: 11px;
    text-transform: uppercase;
    color: #00695C;
    font-weight: 700;
    letter-spacing: 1px;
}

.ps-amount-hero {
    font-size: 28px;
    color: #004D40;
    font-weight: 800;
    font-family: 'Consolas', monospace;
}

/* --- Employee Grid --- */
.ps-emp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
    background: #F9FAFB;
    padding: 20px;
    border-radius: 12px;
}

.ps-info-item label {
    display: block;
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.ps-info-item span {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

/* --- Tables --- */
.ps-section-title {
    font-size: 14px;
    font-weight: 700;
    color: #1A535C;
    text-transform: uppercase;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 4px solid #FF6B6B;
    /* Coral Accent */
}

.ps-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.ps-table th {
    text-align: left;
    font-size: 11px;
    text-transform: uppercase;
    color: #888;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}

.ps-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #f9f9f9;
    font-size: 13px;
    color: #444;
}

.ps-table tr:last-child td {
    border-bottom: none;
}

/* Money Alignment */
.col-money {
    text-align: right;
    font-family: 'Consolas', monospace;
    font-weight: 600;
}

/* Summary Highlights */
.row-summary {
    background: #fcfcfc;
}

.row-summary td {
    font-weight: 700;
    color: #1A535C;
    font-size: 14px;
    border-top: 2px solid #eee;
}

.row-final-total td {
    background: #1A535C;
    color: white;
    font-size: 16px;
    font-weight: 800;
    padding: 15px;
}

/* --- Footer --- */
.ps-footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 11px;
    color: #aaa;
}

/* Download Button */
.btn-download-pdf {
    background: linear-gradient(135deg, #1A535C, #2C3E50);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    display: block;
    margin: 0 auto 20px auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-download-pdf:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* --- Grid Layout --- */
.branch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

/* --- The Branch Card --- */
.branch-card {
    background: white;
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy effect */
    overflow: hidden;
}

.branch-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: #4ECDC4;
}

/* Decorative Top Circle */
.branch-card::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 100px;
    height: 100px;
    background: #E0F2F1;
    border-radius: 50%;
    opacity: 0.5;
    z-index: 0;
}

/* --- Icon Section --- */
.branch-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1A535C, #2a6f7a);
    /* Dark Blue Gradient */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    color: white;
    font-size: 32px;
    box-shadow: 0 8px 20px rgba(26, 83, 92, 0.3);
    position: relative;
    z-index: 1;
}

.branch-icon-wrapper i {
    transition: transform 0.3s;
    color: #fff;
}

.branch-card:hover .branch-icon-wrapper i {
    transform: scale(1.2);
}

/* --- Text Content --- */
.branch-name {
    font-size: 18px;
    font-weight: 800;
    color: #1A535C;
    margin-bottom: 5px;
}

.branch-meta {
    font-size: 12px;
    color: #888;
    background: #f9f9f9;
    padding: 4px 12px;
    border-radius: 15px;
    display: inline-block;
    margin-bottom: 20px;
}

/* --- Action Buttons (Floating) --- */
.branch-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    padding-top: 20px;
    border-top: 1px dashed #eee;
}

.btn-branch-action {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    color: white;
}

.act-edit {
    background: #FFD54F;
    color: #795548;
}

/* Yellow/Brown */
.act-del {
    background: #FF6B6B;
    color: white;
}

/* Coral/White */

.act-edit:hover {
    transform: rotate(-10deg) scale(1.1);
}

.act-del:hover {
    transform: rotate(10deg) scale(1.1);
}

/* Checkbox absolute position */
.branch-check {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #1A535C;
}

/*Department css*/
.dept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

/* --- The Department Card --- */
.dept-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f5f5f5;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.dept-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: #4ECDC4;
}

/* Top Color Bar (Decoration) */
.dept-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #F0F0F0, #F0F0F0);
    /* Default */
    transition: background 0.3s;
}

.dept-card:hover::after {
    background: linear-gradient(90deg, #4ECDC4, #FF6B6B);
    /* Funky Gradient on Hover */
}

/* --- Monogram Icon --- */
.dept-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    /* Squircle */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.dept-icon i {
    color: #fff;
}

/* Unique Colors for visual variety */
.bg-teal {
    background: linear-gradient(135deg, #4ECDC4, #26A69A);
}

.bg-blue {
    background: linear-gradient(135deg, #1A535C, #2C3E50);
}

.bg-coral {
    background: linear-gradient(135deg, #FF6B6B, #EE5253);
}

.bg-mustard {
    background: linear-gradient(135deg, #F7B731, #FA8231);
}

.bg-purple {
    background: linear-gradient(135deg, #A88BEB, #8854d0);
}

/* --- Content --- */
.dept-name {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
    min-height: 44px;
    /* Ensure alignment for multi-line names */
    display: flex;
    align-items: center;
    justify-content: center;
}

.dept-meta {
    font-size: 12px;
    color: #888;
    background: #f9f9f9;
    padding: 5px 12px;
    border-radius: 15px;
    margin-bottom: 20px;
    font-weight: 500;
}

/* --- Action Buttons --- */
.dept-actions {
    display: flex;
    gap: 10px;
    opacity: 0.6;
    /* Dimmed by default */
    transition: opacity 0.3s;
}

.dept-card:hover .dept-actions {
    opacity: 1;
}

.btn-dept-action {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
    font-size: 13px;
    color: white;
}

.btn-dept-action i {
    color: #fff;
}

.act-edit-dept {
    background: #1A535C;
}

.act-del-dept {
    background: #FF6B6B;
}

.btn-dept-action:hover {
    transform: scale(1.15);
}

/* --- Pagination Styling Upgrade --- */
.funky-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.page-link-custom {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #1A535C;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    transition: all 0.2s;
}

.page-link-custom.active {
    background: #1A535C;
    color: white;
    transform: translateY(-3px);
}

.page-link-custom:hover:not(.active) {
    background: #f0f0f0;
}

.funky-modal-body .form-check {
    display: inline-block !important;
    margin-right: 10px;
}

.width-365 {
    width: 365px;
}

/* Responsive */
@media (max-width: 768px) {
    .wizard-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 1rem;
    }

    .step-indicator-list {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .step-item {
        border-left: none;
        border-bottom: 3px solid transparent;
        white-space: nowrap;
    }

    .step-item.active {
        border-left-color: transparent;
        border-bottom-color: #6f427e;
    }
}

.matrix-cell i {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: transform 0.2s;
    cursor: pointer;
}

i[title="Weekend"] {
    color: #BBB;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    background: #F5F5F5;
    padding: 8px 0;
    border-radius: 8px;
    width: 100%;
}

i[data-status="Present"] {
    background: #E0F2F1;
    color: #4ECDC4;
}

i[data-status="Late"] {
    background: #FFF8E1;
    color: #F7B731;
}

i[data-status="Absent"] {
    background: #FFEBEE;
    color: #FF6B6B;
}