.card-gradient-blue {
    background: linear-gradient(to right, #3358cb, #00bde0);
}

.card-gradient-purple {
    background: linear-gradient(to right, #8452e7, #4d5ed0);
}

.card-gradient-red {
    background: linear-gradient(to right, #f3466c, #fb7636);
}

.card-gradient-purple-dark {
    background: linear-gradient(to right, #7D4196, #FF3494);
}

.card-gradient-orange {
    background: linear-gradient(to right, #fe60a1, #ff8765);
}

.card-gradient-violet {
    background: linear-gradient(to right, #5124b4, #964ebf);
}

.card-gradient-light-green {
    background: linear-gradient(to right, #25bbb6, #51cc7f);
}

.card-gradient-soft-violet {
    background: linear-gradient(to right, #e100ff, #7f00ff);
}

.card-gradient-light-black {
    background: linear-gradient(to right, #74788d, #40445b);
}

.card-gradient-yellow {
    background: linear-gradient(to right, #d99e3a, #85580d);
}

.card-header {
    padding: 0.7rem 1.25rem !important;
}

.card-title {
    margin: 0 !important;
}

.table > :not(caption) > * > * {
    padding: 6px !important;
}

.filter-toggle-icon i {
    transition: transform 0.2s ease-in-out;
}

.filter-toggle-icon.active i {
    transform: rotate(180deg);
}

.select2-selection--multiple {
    border: solid #CED4E0 1px !important;
    outline: 0;
    padding-top: 5px;
}

.select2-search__field {
    margin-bottom: 4px;
}

.vertical-menu {
    background-color: #004D8A; /* Default sidebar color */
}

#sidebar-menu ul li a {
    color: #fff;
}

#sidebar-menu ul li a:hover {
    color: #fff;
    background-color: #183F6A;
}

#sidebar-menu ul li ul.sub-menu li a {
    padding: .62rem 1.5rem .62rem 3.3rem;
}

#sidebar-menu ul li a:hover svg {
    color: #fff;
}

.mm-active > a {
    color: #fff !important;
}

#side-menu li > a svg {
    color: #fff !important;
}

.mm-active > a svg {
    color: #fff !important;
}

#sidebar-menu ul li ul.sub-menu li a {
    color: #fff !important;
}

.menu-title {
    color: #fff;
}

.auth-bg {
    background-image: url(../images/bg-1.jpg);
}

.round {
    border-radius: 50%;
    width: 55px !important;
    height: 55px;
    line-height: 40px;
    margin: 0 auto;
}

.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    border-color: #ced4da !important;
}

.select2-container .select2-selection--single {
    height: 38px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 38px;
}

.select2-container--default .select2-selection__arrow {
    top: 5px !important;
}

.btn-primary {
    color: #fff;
    background-color: #004d8a;
    border-color: #004d8a;
}

.btn-outline-primary {
    color: #004d8a;
    border-color: #004d8a;
}

.round h4 {
    line-height: 55px;
}

.w-40 {
    width: 40px;
}

.w-160 {
    width: 160px;
}

.text-gray {
    color: #9FA5AD;
}

.punch {
    border-radius: 4px;
}

.punch h6 {
    font-size: 12px;
}

.attendance-slider p {
    font-size: 14px;
}

.attendance-blank {
    background-color: #E8E8E8;
    width: 50px !important;
    height: 50px;
    border-radius: 50%;
    color: rgb(0, 0, 0);
    margin: 0 auto;
    line-height: 50px;
    display: inline-block;
    position: relative;
    margin-bottom: 12px;
}

.attendance-blank span {
    font-size: 16px !important;
}

.attendance-normal::before {
    content: "";
    background-color: #00bc22 !important;
    width: 100% !important;
    height: 50px;
    border-radius: 50%;
    line-height: 50px;
    color: #fff !important;
    font-weight: 800;
    display: inline-block;
    position: relative;
}

.attendance-normal span {
    position: absolute;
    transform: translateX(-50%);
    left: 50%;
    color: #fff;
}

.attendance-half::after {
    content: "";
    background-color: #F39C12;
    width: 25px;
    height: 50px;
    display: inline-block;
    border-bottom-left-radius: 50px;
    border-top-left-radius: 50px;
    position: absolute;
    left: 0;
}

.attendance-half span {
    z-index: 99999;
    position: relative;
}

.attendance-late::before {
    content: "";
    background-color: #F65A5A !important;
    width: 100% !important;
    height: 50px;
    border-radius: 50%;
    line-height: 50px;
    color: #fff !important;
    display: inline-block;
    position: relative;
}

.attendance-late span {
    position: absolute;
    transform: translateX(-50%);
    left: 50%;
    color: #fff;
}

.page-item.active .page-link {
    background-color: #004d8a !important;
}

.next-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.prev-arrow {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.slick-list {
    position: relative;
    left: -20px;
}

.w-110px {
    width: 110px;
}

.w-100px {
    width: 100px;
}

.slick-list {
    width: 800px;
}

.leave-section h4 {
    font-size: 16px;
}

.leave-section p {
    font-size: 14px;
}

.leave-section {
    position: relative;
    left: -20px;
}

.my-team-section {
    position: relative;
    left: 10px;
}

body[data-sidebar-size=sm] .vertical-menu #sidebar-menu > ul ul {
    background-color: #004d8a;
}

.vertical-menu #sidebar-menu > ul > li:hover > a {
    background-color: #004276 !important;
    color: #fff !important;
}

body[data-sidebar-size=sm] .vertical-menu #sidebar-menu > ul > li:hover > a svg {
    color: #ffffff;
    fill: rgba(255, 255, 255, 0);
}

.form-group .custom-radio .custom-control-input:checked ~ .custom-control-label {
    border-color: #2d499a;
    color: #2d499a;
}

.form-group .custom-radio .custom-control-label {
    cursor: pointer;
    background: #ffffff;
    height: 38px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-weight: 400;
    font-family: "Roboto", sans-serif;
    color: #b2becc;
    padding-left: 50px;
    text-transform: capitalize;
    position: relative;
    top: 0;
    left: 0;
}

.form-group .custom-radio {
    width: 135px;
    margin-right: 20px;
    display: inline-block;
    clear: right;
}

.form-group .custom-radio .custom-control-input:checked ~ .custom-control-label::before {
    background: #2d499a;
}

.form-group .custom-radio .custom-control-input:checked ~ .custom-control-label::after {
    background-image: none;
    content: url(../images/check-white.svg);
}

.form-group .custom-radio .custom-control-label::after {
    height: 18px;
    width: 18px;
    top: 20px;
    left: 20px;
    border-radius: 5px;
}

.form-group .custom-radio .custom-control-label::before {
    height: 18px;
    width: 18px;
    border-radius: 5px;
    background: #e1e7ee;
    border: none;
    top: 9px;
    left: 12px;
}

.custom-control-label::after {
    position: absolute;
    top: 0.25rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    content: "";
    background: no-repeat 50%/50% 50%;
}

.custom-control-label::before, .custom-file-label, .custom-select {
    transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.custom-control-label {
    position: relative;
    margin-bottom: 0;
    vertical-align: top;
}

textarea::-webkit-input-placeholder {
    color: #999 !important;
    font-family: "Roboto", sans-serif;
}

textarea::-moz-input-placeholder {
    color: #999 !important;
    font-family: "Roboto", sans-serif;
}

::-webkit-input-placeholder {
    color: #999 !important;
}

::-moz-placeholder {
    color: #999 !important;
}

.select2-container--default .select2-search--inline .select2-search__field {
    padding-left: 4px;
    line-height: 18px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #3f51b540;
    border: 1px solid #5157BE;
    color: #5157BE;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #5157BE;
    border-right: 1px solid #5157BE;
}

@media (min-width: 1080px) {
    .auth-bg {
        height: 100%;
    }

    .auth-login-h {
        height: 100vh;
    }
}

@media (max-width: 991px) {
    .punch {
        padding: 4px 2px !important;
        width: 185px;
    }

    .punch h6 {
        font-size: 10px;
    }

    .punch p {
        font-size: 11px;
    }

    .slick-list {
        width: 650px;
        overflow: hidden;
    }

    .w-110px {
        width: 90px;
    }

    .attendance-blank {
        width: 42px !important;
        height: 42px !important;
        line-height: 42px;
        border-radius: 50%;
    }

    .attendance-normal::before {
        width: 42px !important;
        height: 42px !important;
        line-height: 42px;
        border-radius: 50%;
    }

    .attendance-late::before {
        content: "";
        width: 42px !important;
        height: 42px !important;
        border-radius: 50%;
        line-height: 42px;
    }

    .attendance-half::after {
        content: "";
        background-color: #F39C12;
        width: 21px;
        height: 42px;
        display: inline-block;
        border-bottom-left-radius: 42px;
        border-top-left-radius: 42px;
        position: absolute;
        left: 0;
    }

    .next-arrow {
        top: auto !important;
        bottom: -38px !important;
        right: -10px !important;
    }

    .next-arrow img {
        width: 28px;
    }

    .prev-arrow img {
        width: 28px;
    }

    .prev-arrow {
        top: auto !important;
        bottom: -38px !important;
        right: 30px !important;
    }

    .attendance-slider .card-body {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .slick-list {
        position: relative;
        left: -8px;
        top: -18px !important;
    }

    .my-team-section {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        left: 0;
    }
}

@media (max-width: 700px) {
    .slick-list {
        width: 370px;
        overflow: hidden;
    }

    .w-110px {
        width: 53px;
    }

    .attendance-blank {
        width: 36px !important;
        height: 36px !important;
        line-height: 36px;
        border-radius: 50%;
    }

    .attendance-normal::before {
        width: 36px !important;
        height: 36px !important;
        line-height: 36px;
        border-radius: 50%;
    }

    .attendance-late::before {
        content: "";
        width: 36px !important;
        height: 36px !important;
        border-radius: 50%;
        line-height: 36px;
    }

    .attendance-half::after {
        content: "";
        background-color: #F39C12;
        width: 18px;
        height: 36px;
        display: inline-block;
        border-bottom-left-radius: 36px;
        border-top-left-radius: 36px;
        position: absolute;
        left: 0;
    }

    .next-arrow {
        top: auto !important;
        bottom: -38px !important;
        right: -10px !important;
    }

    .next-arrow img {
        width: 28px;
    }

    .prev-arrow img {
        width: 28px;
    }

    .prev-arrow {
        top: auto !important;
        bottom: -38px !important;
        right: 30px !important;
    }

    .attendance-slider .card-body {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .slick-list {
        position: relative;
        left: -8px;
        top: -18px !important;
    }

    .my-team-section {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        left: 0;
    }
}

@media (max-width: 500px) {
    .slick-list {
        width: 320px;
        overflow: hidden;
    }

    .w-110px {
        width: 45px;
    }

    .w-100px {
        width: 90px;
    }

    .attendance-blank {
        width: 35px !important;
        height: 35px !important;
        line-height: 35px;
        border-radius: 50%;
    }

    .attendance-normal::before {
        width: 35px !important;
        height: 35px !important;
        line-height: 35px;
        border-radius: 50%;
    }

    .attendance-late::before {
        content: "";
        width: 35px !important;
        height: 35px !important;
        border-radius: 50%;
        line-height: 35px;
    }

    .attendance-half::after {
        content: "";
        background-color: #F39C12;
        width: 17.5px;
        height: 35px;
        display: inline-block;
        border-bottom-left-radius: 35px;
        border-top-left-radius: 35px;
        position: absolute;
        left: 0;
    }

    .next-arrow {
        top: auto !important;
        bottom: -38px !important;
        right: -10px !important;
    }

    .next-arrow img {
        width: 28px;
    }

    .prev-arrow img {
        width: 28px;
    }

    .prev-arrow {
        top: auto !important;
        bottom: -38px !important;
        right: 30px !important;
    }

    .attendance-slider .card-body {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .slick-list {
        position: relative;
        left: -8px;
        top: -18px !important;
    }

    .my-team-section {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        left: 0;
    }
}

.select2-close-mask {
    z-index: 2099;
}

.select2-dropdown {
    z-index: 3051;
}

.suggestions-container {
    z-index: 1;
    background: #fff;
    width: 100%;
    border-bottom-left-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
    margin-top: -2px;
    max-height: 190px;
    overflow-y: auto;
    display: none;
}

.suggestion-item {
    padding: 10px;
    cursor: pointer;
}

.suggestion-item.selected {
    background-color: #007bff;
    color: white;
}

.suggestions-container .suggestion-item:hover {
    background-color: #5897FB;
    color: #fff;
}

.w-15 {
    width: 15% !important;
}

.w-10 {
    width: 10% !important;
}

.hover-danger:hover {
    color: red !important;
}

[v-cloak] {
    display: none;
}

.customPagination .page-link:focus,
.customPagination .page-link:active,
.customPaginationKS .page-link:focus,
.customPaginationKS .page-link:active {
    outline: none !important;
    box-shadow: none !important;
}

.overlay-loader-wrapper {
    position: relative;
}

.overlay-loader {
    display: none;
    position: absolute;
    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    align-items: center;
    justify-content: center;
}

.overlay-loader-wrapper.overlayLoading .overlay-loader {
    display: flex;
    overflow: hidden;
}

.action-buttons-container a:not(a:last-child),
.action-buttons-container button:not(button:last-child):not(.btn-group button),
.action-buttons-container .btn-group:not(.btn-group:last-child) {
    margin-right: 0.25rem;
}

.timeline .custom-timeline-date {
    width: 144px;
    height: 28px;
    display: inline-block;
    padding: 5px;
    top: -12px;
    position: absolute;
    z-index: 1;
    border-radius: 0;
}

.timeline-right .custom-timeline-date {
    right: 15px;
}

@media (max-width: 767px) {
    .timeline-left .custom-timeline-date {
        right: 15px;
    }
}

@media (min-width: 768px) {
    .timeline-left .custom-timeline-date {
        left: 15px;
    }
}

.table thead th:last-child,
.table tbody td:last-child {
    text-align: right !important;
}

.leave-approval-history-timeline .pending-timeline .timeline-box {
    background: #f7f7f7 !important;
    border: 1px solid #5156be !important;
}

.leave-approval-history-timeline .pending-timeline .timeline-box:after {
    background: #f7f7f7 !important;
}

.leave-approval-history-timeline .timeline-right.pending-timeline .timeline-box:after {
    border-left-color: #5156be !important;
    border-bottom-color: #5156be !important;
}

.leave-approval-history-timeline .timeline-left.pending-timeline .timeline-box:after {
    border-right-color: #5156be !important;
    border-top-color: #5156be !important;
}

.page-content {
    min-height: 50vh;
}

.disabled-link {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}

.notification-unread-item {
    background: rgba(160, 160, 160, 0.1);
}

.swal2-container .swal2-title {
    font-size: 20px !important;
}

.blink-red {
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    0%, 100% {
        background-color: #c54242;
    }
    50% {
        background-color: transparent;
    }
}

#search_menu {
    border: var(--bs-search-width) solid var(--bs-search-border-color);
    height: 40px;
    padding-left: 17px;
    padding-right: 50px;
    background-color: var(--bs-topbar-search-bg);
    -webkit-box-shadow: none;
    box-shadow: none;
}

/* Dark Sidebar Theme */
body[data-sidebar=dark] #sidebar-menu ul li a:hover {
    color: #fff;
    background-color: #555657;
}

body[data-sidebar=dark] .vertical-menu #sidebar-menu > ul > li:hover > a {
    background-color: #32373a !important;
    color: #fff !important;
}

body[data-sidebar=dark][data-sidebar-size=sm] .vertical-menu #sidebar-menu > ul > li:hover > a svg {
    color: #ffffff;
    fill: #32373a;
}

/* Gray Topbar Theme */
body[data-topbar=gray] #vertical-menu-btn {
    color: #ffffff;
}

body[data-topbar=gray] #page-topbar {
    background-color: #555555;
    border-color: #3b403d;
}

body[data-topbar=gray] .navbar-brand-box {
    background-color: #555555;
    border-color: #555555;
    -webkit-box-shadow: 0px 0px 2px #555555;
    box-shadow: 0px 0px 2px #555555;
}

body[data-topbar=gray] .navbar-brand-box .logo {
    color: #fff !important;
}

body[data-topbar=gray] .navbar-header .dropdown .show.header-item {
    background-color: rgba(255, 255, 255, 0.05);
}

body[data-topbar=gray] .navbar-header .waves-effect .waves-ripple {
    background: rgba(255, 255, 255, 0.4);
}

body[data-topbar=gray] .header-item {
    color: #e9ecef;
}

body[data-topbar=gray] .header-item:hover {
    color: #e9ecef;
}

body[data-topbar=gray] .header-item.border-start,
body[data-topbar=gray] .header-item.border-end {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

body[data-topbar=gray] .header-item.bg-soft-light {
    background-color: rgba(255, 255, 255, 0.04) !important;
}

body[data-topbar=gray] .header-profile-user {
    background-color: rgba(255, 255, 255, 0.25);
}

body[data-topbar=gray] .noti-icon i {
    color: #e9ecef;
}

body[data-topbar=gray] .logo-dark {
    display: none;
}

body[data-topbar=gray] .logo-light {
    display: block;
}

body[data-topbar=gray] .app-search .form-control {
    background-color: var(--bs-topbar-dark-search-bg);
    color: var(--bs-gray-500);
}

body[data-topbar=gray] .app-search span,
body[data-topbar=gray] .app-search input.form-control::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Purple Sidebar Theme */
body[data-sidebar=purple] .vertical-menu {
    background-color: #6f42c1; /* Primary purple */
}

body[data-sidebar=purple] #sidebar-menu ul li a {
    color: #fff;
}

body[data-sidebar=purple] #sidebar-menu ul li a:hover {
    color: #fff;
    background-color: #5a32a3; /* Darker purple for hover */
}

body[data-sidebar=purple] #sidebar-menu ul li ul.sub-menu li a {
    color: #fff !important;
    background-color: #6f42c1;
}

body[data-sidebar=purple] #sidebar-menu ul li a:hover svg {
    color: #fff;
}

body[data-sidebar=purple] .mm-active > a {
    color: #fff !important;
    background-color: #5a32a3 !important;
}

body[data-sidebar=purple] .mm-active > a svg {
    color: #fff !important;
}

body[data-sidebar=purple] .menu-title {
    color: #fff;
}

body[data-sidebar=purple] .vertical-menu #sidebar-menu > ul > li:hover > a {
    background-color: #5a32a3 !important;
    color: #fff !important;
}

body[data-sidebar=purple][data-sidebar-size=sm] .vertical-menu #sidebar-menu > ul ul {
    background-color: #6f42c1;
}

body[data-sidebar=purple][data-sidebar-size=sm] .vertical-menu #sidebar-menu > ul > li:hover > a svg {
    color: #ffffff;
    fill: #e9d8fd; /* Light purple for icons */
}

/* Purple Topbar Theme */
body[data-topbar=purple] #page-topbar {
    background-color: #6f42c1; /* Primary purple */
    border-color: #5a32a3; /* Darker purple border */
}

body[data-topbar=purple] .navbar-brand-box {
    background-color: #6f42c1;
    border-color: #6f42c1;
    -webkit-box-shadow: 0px 0px 2px #5a32a3;
    box-shadow: 0px 0px 2px #5a32a3;
}

body[data-topbar=purple] .navbar-brand-box .logo {
    color: #fff !important;
}

body[data-topbar=purple] #vertical-menu-btn {
    color: #ffffff;
}

body[data-topbar=purple] .header-item {
    color: #e9ecef;
}

body[data-topbar=purple] .header-item:hover {
    color: #e9ecef;
}

body[data-topbar=purple] .header-item.border-start,
body[data-topbar=purple] .header-item.border-end {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

body[data-topbar=purple] .header-item.bg-soft-light {
    background-color: rgba(255, 255, 255, 0.04) !important;
}

body[data-topbar=purple] .header-profile-user {
    background-color: rgba(255, 255, 255, 0.25);
}

body[data-topbar=purple] .noti-icon i {
    color: #e9ecef;
}

body[data-topbar=purple] .navbar-header .dropdown .show.header-item {
    background-color: rgba(255, 255, 255, 0.05);
}

body[data-topbar=purple] .navbar-header .waves-effect .waves-ripple {
    background: rgba(255, 255, 255, 0.4);
}

body[data-topbar=purple] .logo-dark {
    display: none;
}

body[data-topbar=purple] .logo-light {
    display: block;
}

body[data-topbar=purple] .app-search .form-control {
    background-color: #e9d8fd; /* Light purple for search */
    color: #495057;
}

body[data-topbar=purple] .app-search span,
body[data-topbar=purple] .app-search input.form-control::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* General Styles */
.table thead {
    color: #495057;
    border-color: var(--bs-border-color);
    background-color: #f8f9fa;
}

.sidebar-enable #search_menu {
    display: none;
}

.form-label.required:after {
    content: " *";
    color: red;
}

.image-carousel {
    position: relative;
    margin-bottom: 2rem;
}

.image-carousel img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
}

.carousel-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.carousel-thumbnails img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.carousel-thumbnails img:hover {
    transform: scale(1.5);
}

.filter-card-header {
    cursor: pointer
}
