@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap");

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
    scroll-behavior: smooth;
}

body {
    font-family: "Outfit", sans-serif;
    background: #f6f9ff;
    color: #444444;
}

a {
    color: #4154f1;
    text-decoration: none;
}

a:hover {
    color: #717ff5;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Outfit", sans-serif;
}

.table {
    width: 100% !important;
}

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
#main {
    margin-top: 60px;
    padding: 24px;
    transition: all 0.3s;
}

@media (max-width: 1199px) {
    #main {
        padding: 20px;
    }
}

/*--------------------------------------------------------------
# Page Title
--------------------------------------------------------------*/
.pagetitle {
    margin-bottom: 10px;
}

.pagetitle h1 {
    font-size: 24px;
    margin-bottom: 0;
    font-weight: 600;
    color: #012970;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    background: #4154f1;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

.back-to-top i {
    font-size: 24px;
    color: #fff;
    line-height: 0;
}

.back-to-top:hover {
    background: #6776f4;
    color: #fff;
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

/*--------------------------------------------------------------
# Override some default Bootstrap stylings
--------------------------------------------------------------*/
/* Dropdown menus */
.dropdown-menu {
    border-radius: 4px;
    padding: 10px 0;
    animation-name: dropdown-animate;
    animation-duration: 0.2s;
    animation-fill-mode: both;
    border: 0;
    box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2);
}

.dropdown-menu .dropdown-header,
.dropdown-menu .dropdown-footer {
    text-align: center;
    font-size: 15px;
    padding: 10px 25px;
}

.dropdown-menu .dropdown-footer a {
    color: #444444;
    text-decoration: underline;
}

.dropdown-menu .dropdown-footer a:hover {
    text-decoration: none;
}

.dropdown-menu .dropdown-divider {
    color: #a5c5fe;
    margin: 0;
}

.dropdown-menu .dropdown-item {
    font-size: 14px;
    padding: 10px 15px;
    transition: 0.3s;
}

.dropdown-menu .dropdown-item i {
    margin-right: 10px;
    font-size: 18px;
    line-height: 0;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #f6f9ff;
}

@media (min-width: 768px) {
    .dropdown-menu-arrow::before {
        content: "";
        width: 13px;
        height: 13px;
        background: #fff;
        position: absolute;
        top: -7px;
        right: 20px;
        transform: rotate(45deg);
        border-top: 1px solid #eaedf1;
        border-left: 1px solid #eaedf1;
    }
}

@keyframes dropdown-animate {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }

    0% {
        opacity: 0;
    }
}

/* Light Backgrounds */
.bg-primary-light {
    background-color: #cfe2ff;
    border-color: #cfe2ff;
}

.bg-secondary-light {
    background-color: #e2e3e5;
    border-color: #e2e3e5;
}

.bg-success-light {
    background-color: #d1e7dd;
    border-color: #d1e7dd;
}

.bg-danger-light {
    background-color: #f8d7da;
    border-color: #f8d7da;
}

.bg-warning-light {
    background-color: #fff3cd;
    border-color: #fff3cd;
}

.bg-info-light {
    background-color: #cff4fc;
    border-color: #cff4fc;
}

.bg-dark-light {
    background-color: #d3d3d4;
    border-color: #d3d3d4;
}

/* Card */
.card {
    margin-bottom: 30px;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
}

.notice-card {
    background: url(../img/notice-bg.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.card-header,
.card-footer {
    border-color: #ebeef4;
    background-color: #fff;
    color: #798eb3;
    padding: 15px;
}

.card-title {
    padding: 20px 0 15px 0;
    font-size: 18px;
    font-weight: 500;
    color: #012970;
    font-family: "Outfit", sans-serif;
}

.card-title span {
    color: #899bbd;
    font-size: 14px;
    font-weight: 400;
}

.card-body {
    padding: 0 20px 20px 20px;
}

.card-img-overlay {
    background-color: rgba(255, 255, 255, 0.6);
}

/* Alerts */
.alert-heading {
    font-weight: 500;
    font-family: "Outfit", sans-serif;
    font-size: 20px;
}

/* Close Button */

.btn-close:focus {
    outline: 0;
    box-shadow: none;
}

/* Accordion */
.accordion-item {
    border: 1px solid #ebeef4;
}

.accordion-button:focus {
    outline: 0;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: #012970;
    background-color: #f6f9ff;
}

.accordion-flush .accordion-button {
    padding: 15px 0;
    background: none;
    border: 0;
}

.accordion-flush .accordion-button:not(.collapsed) {
    box-shadow: none;
    color: #4154f1;
}

.accordion-flush .accordion-body {
    padding: 0 0 15px 0;
    color: #3e4f6f;
    font-size: 15px;
}

/* Breadcrumbs */
.breadcrumb {
    font-size: 14px;
    font-family: "Outfit", sans-serif;
    color: #899bbd;
    font-weight: 600;
}

.breadcrumb a {
    color: #899bbd;
    transition: 0.3s;
}

.breadcrumb a:hover {
    color: #51678f;
}

.breadcrumb .breadcrumb-item::before {
    color: #899bbd;
}

.breadcrumb .active {
    color: #51678f;
    font-weight: 600;
}

/* Bordered Tabs */
.nav-tabs-bordered {
    border-bottom: 2px solid #ebeef4;
}

.nav-tabs-bordered .nav-link {
    margin-bottom: -2px;
    border: none;
    color: #2c384e;
}

.nav-tabs-bordered .nav-link:hover,
.nav-tabs-bordered .nav-link:focus {
    color: #4154f1;
}

.nav-tabs-bordered .nav-link.active {
    background-color: #fff;
    color: #4154f1;
    border-bottom: 2px solid #4154f1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.logo {
    line-height: 1;
}

@media (min-width: 1200px) {
    .logo {
        width: 280px;
    }
}

.logo img {
    max-height: 38px;
    margin-right: 6px;
}

.logo span {
    font-size: 26px;
    font-weight: 700;
    color: #012970;
    font-family: "Outfit", sans-serif;
}

.header {
    transition: all 0.5s;
    z-index: 997;
    height: 60px;
    box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
    background-color: #fff;
    padding-left: 20px;
    /* Toggle Sidebar Button */
    /* Search Bar */
}

.header .toggle-sidebar-btn {
    font-size: 26px;
    padding: 0 24px 0 12px;
    cursor: pointer;
    color: #012970;
    border-right: 1px solid #579195;
}

.header .search-bar {
    min-width: 360px;
    padding: 0 20px;
}

@media (max-width: 1199px) {
    .header .search-bar {
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        padding: 20px;
        box-shadow: 0px 0px 15px 0px rgba(1, 41, 112, 0.1);
        background: white;
        z-index: 9999;
        transition: 0.3s;
        visibility: hidden;
        opacity: 0;
    }

    .header .search-bar-show {
        top: 60px;
        visibility: visible;
        opacity: 1;
    }
}

.header .search-form {
    width: 100%;
}

.header .search-form input {
    border: 0;
    font-size: 14px;
    color: #012970;
    border: 1px solid rgba(1, 41, 112, 0.2);
    padding: 7px 38px 7px 8px;
    border-radius: 3px;
    transition: 0.3s;
    width: 100%;
}

.header .search-form input:focus,
.header .search-form input:hover {
    outline: none;
    box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.15);
    border: 1px solid rgba(1, 41, 112, 0.3);
}

.header .search-form button {
    border: 0;
    padding: 0;
    margin-left: -30px;
    background: none;
}

.header .search-form button i {
    color: #012970;
}

/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
.header-nav ul {
    list-style: none;
}

.header-nav>ul {
    margin: 0;
    padding: 0;
}

.header-nav .nav-icon {
    font-size: 22px;
    color: #012970;
    margin-right: 25px;
    position: relative;
}

.header-nav .nav-profile {
    color: #012970;
}

.header-nav .nav-profile img {
    max-height: 36px;
}

.header-nav .nav-profile span {
    font-size: 14px;
    font-weight: 600;
}

.header-nav .badge-number {
    position: absolute;
    inset: -2px -5px auto auto;
    font-weight: normal;
    font-size: 12px;
    padding: 3px 6px;
}

.header-nav .notifications {
    inset: 8px -15px auto auto !important;
}

.header-nav .notifications .notification-item {
    display: flex;
    align-items: center;
    padding: 15px 10px;
    transition: 0.3s;
}

.header-nav .notifications .notification-item i {
    margin: 0 20px 0 10px;
    font-size: 24px;
}

.header-nav .notifications .notification-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.header-nav .notifications .notification-item p {
    font-size: 13px;
    margin-bottom: 3px;
    color: #919191;
}

.header-nav .notifications .notification-item:hover {
    background-color: #f6f9ff;
}

.header-nav .messages {
    inset: 8px -15px auto auto !important;
}

.header-nav .messages .message-item {
    padding: 15px 10px;
    transition: 0.3s;
}

.header-nav .messages .message-item a {
    display: flex;
}

.header-nav .messages .message-item img {
    margin: 0 20px 0 10px;
    max-height: 40px;
}

.header-nav .messages .message-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #444444;
}

.header-nav .messages .message-item p {
    font-size: 13px;
    margin-bottom: 3px;
    color: #919191;
}

.header-nav .messages .message-item:hover {
    background-color: #f6f9ff;
}

.header-nav .profile {
    min-width: 240px;
    padding-bottom: 0;
    top: 8px !important;
}

.header-nav .profile .dropdown-header h6 {
    font-size: 18px;
    margin-bottom: 0;
    font-weight: 600;
    color: #444444;
}

.header-nav .profile .dropdown-header span {
    font-size: 14px;
}

.header-nav .profile .dropdown-item {
    font-size: 14px;
    padding: 10px 15px;
    transition: 0.3s;
}

.header-nav .profile .dropdown-item i {
    margin-right: 10px;
    font-size: 18px;
    line-height: 0;
}

.header-nav .profile .dropdown-item:hover {
    background-color: #f6f9ff;
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.sidebar {
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 0;
    width: 300px;
    z-index: 996;
    transition: all 0.3s;
    padding: 20px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #aab7cf transparent;
    box-shadow: 0px 0px 20px rgba(1, 41, 112, 0.1);
    background-color: #fff;
}

@media (max-width: 1199px) {
    .sidebar {
        left: -300px;
    }
}

.sidebar::-webkit-scrollbar {
    width: 5px;
    height: 8px;
    background-color: #fff;
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: #aab7cf;
}

@media (min-width: 1200px) {

    #main,
    #footer {
        margin-left: 300px;
    }
}

@media (max-width: 1199px) {
    .toggle-sidebar .sidebar {
        left: 0;
    }
}

@media (min-width: 1200px) {

    .toggle-sidebar #main,
    .toggle-sidebar #footer {
        margin-left: 0;
    }

    .toggle-sidebar .sidebar {
        left: -300px;
    }
}

.sidebar-nav {
    padding: 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav li {
    padding: 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav .nav-item {
    margin-bottom: 5px;
}

.sidebar-nav .nav-heading {
    font-size: 11px;
    text-transform: uppercase;
    color: #899bbd;
    font-weight: 600;
    margin: 8px 0 5px 12px;
}

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #363636;
    transition: 0.3s;
    padding: 8px 12px;
    border-radius: 4px;
}

.sidebar-nav .nav-link i {
    font-size: 16px;
    margin-right: 10px;
    color: #4154f1;
}

.sidebar-nav .nav-link.collapsed {
    color: #012970;
    background: #fff;
}

.sidebar-nav .nav-link.collapsed i {
    color: #899bbd;
}

.sidebar-nav .nav-link:hover {
    color: #4154f1;
    background: #f6f9ff;
}

.sidebar-nav .nav-link:hover i {
    color: #4154f1;
}

.sidebar-nav .nav-link .bi-chevron-down {
    margin-right: 0;
    transition: transform 0.2s ease-in-out;
}

.sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down {
    transform: rotate(180deg);
}

.sidebar-nav .nav-content {
    padding: 5px 0 0 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav .nav-content a {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #363636;
    transition: 0.3;
    padding: 8px 0 8px 24px;
    transition: 0.3s;
}

.sidebar-nav .nav-content a i {
    font-size: 6px;
    margin-right: 8px;
    line-height: 0;
    border-radius: 50%;
}

.sidebar-nav .nav-content a:hover,
.sidebar-nav .nav-content a.active {
    color: #4154f1;
}

.sidebar-nav .nav-content a.active i {
    background-color: #4154f1;
}

/*--------------------------------------------------------------
# Dashboard
--------------------------------------------------------------*/
/* Filter dropdown */
.dashboard .filter {
    position: absolute;
    right: 0px;
    top: 15px;
}

.dashboard .filter .icon {
    color: #aab7cf;
    padding-right: 20px;
    padding-bottom: 5px;
    transition: 0.3s;
    font-size: 16px;
}

.dashboard .filter .icon:hover,
.dashboard .filter .icon:focus {
    color: #4154f1;
}

.dashboard .filter .dropdown-header {
    padding: 8px 15px;
}

.dashboard .filter .dropdown-header h6 {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #aab7cf;
    margin-bottom: 0;
    padding: 0;
}

.dashboard .filter .dropdown-item {
    padding: 8px 15px;
}

/* Info Cards */
.dashboard .info-card {
    padding-bottom: 10px;
}

.dashboard .info-card h6 {
    font-size: 28px;
    color: #012970;
    font-weight: 700;
    margin: 0;
    padding: 0;
}

.dashboard .info-card h6 span {
    font-size: 14px;
    font-weight: normal;
    color: #959595;
}

.dashboard .card-icon {
    font-size: 32px;
    line-height: 0;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    flex-grow: 0;
}

.dashboard .sales-card .card-icon {
    color: #4154f1;
    background: #f6f6fe;
}

.dashboard .revenue-card .card-icon {
    color: #2eca6a;
    background: #e0f8e9;
}

.dashboard .customers-card .card-icon {
    color: #ff771d;
    background: #ffecdf;
}

/* Activity */
.dashboard .activity {
    font-size: 14px;
}

.dashboard .activity .activity-item .activite-label {
    color: #888;
    position: relative;
    flex-shrink: 0;
    flex-grow: 0;
    min-width: 64px;
}

.dashboard .activity .activity-item .activite-label::before {
    content: "";
    position: absolute;
    right: -11px;
    width: 4px;
    top: 0;
    bottom: 0;
    background-color: #eceefe;
}

.dashboard .activity .activity-item .activity-badge {
    margin-top: 3px;
    z-index: 1;
    font-size: 11px;
    line-height: 0;
    border-radius: 50%;
    flex-shrink: 0;
    border: 3px solid #fff;
    flex-grow: 0;
}

.dashboard .activity .activity-item .activity-content {
    padding-left: 10px;
    padding-bottom: 20px;
}

.dashboard .activity .activity-item:first-child .activite-label::before {
    top: 5px;
}

.dashboard .activity .activity-item:last-child .activity-content {
    padding-bottom: 0;
}

/* News & Updates */
.dashboard .news .post-item+.post-item {
    margin-top: 15px;
}

.dashboard .news img {
    width: 80px;
    float: left;
    border-radius: 5px;
}

.dashboard .news h4 {
    font-size: 15px;
    margin-left: 95px;
    font-weight: bold;
    margin-bottom: 5px;
}

.dashboard .news h4 a {
    color: #012970;
    transition: 0.3s;
}

.dashboard .news h4 a:hover {
    color: #4154f1;
}

.dashboard .news p {
    font-size: 14px;
    color: #777777;
    margin-left: 95px;
}

/* Recent Sales */
.dashboard .recent-sales {
    font-size: 14px;
}

.dashboard .recent-sales .table thead {
    background: #f6f6fe;
}

.dashboard .recent-sales .table thead th {
    border: 0;
}

.dashboard .recent-sales .dataTable-top {
    padding: 0 0 10px 0;
}

.dashboard .recent-sales .dataTable-bottom {
    padding: 10px 0 0 0;
}

/* Top Selling */
.dashboard .top-selling {
    font-size: 14px;
}

.dashboard .top-selling .table thead {
    background: #f6f6fe;
}

.dashboard .top-selling .table thead th {
    border: 0;
}

.dashboard .top-selling .table tbody td {
    vertical-align: middle;
}

.dashboard .top-selling img {
    border-radius: 5px;
    max-width: 60px;
}

/*--------------------------------------------------------------
# Icons list page
--------------------------------------------------------------*/
.iconslist {
    display: grid;
    max-width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    padding-top: 15px;
}

.iconslist .icon {
    background-color: #fff;
    border-radius: 0.25rem;
    text-align: center;
    color: #012970;
    padding: 15px 0;
}

.iconslist i {
    margin: 0.25rem;
    font-size: 2.5rem;
}

.iconslist .label {
    font-family: var(--bs-font-monospace);
    display: inline-block;
    width: 100%;
    overflow: hidden;
    padding: 0.25rem;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #666;
}

/*--------------------------------------------------------------
# Profie Page
--------------------------------------------------------------*/
.profile .profile-card img {
    max-width: 100px;
}

.profile .profile-card h2 {
    font-size: 20px;
    font-weight: 500;
    color: #2c384e;
    margin: 10px 0 0 0;
}

.profile .profile-card h3 {
    font-size: 16px;
}

.profile .profile-card .social-links a {
    font-size: 20px;
    display: inline-block;
    color: rgba(1, 41, 112, 0.5);
    line-height: 0;
    margin-right: 10px;
    transition: 0.3s;
}

.profile .profile-card .social-links a:hover {
    color: #012970;
}

.profile .profile-overview .row {
    margin-bottom: 8px;
    font-size: 14px;
}

.profile .profile-overview .card-title {
    color: #012970;
}

.profile .profile-overview .label {
    font-weight: 600;
    color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit label {
    font-weight: 600;
    color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit img {
    max-width: 120px;
}

/*--------------------------------------------------------------
# F.A.Q Page
--------------------------------------------------------------*/
.faq .basic h6 {
    font-size: 18px;
    font-weight: 600;
    color: #4154f1;
}

.faq .basic p {
    color: #6980aa;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
    padding: 28px 30px;
}

.contact .info-box i {
    font-size: 38px;
    line-height: 0;
    color: #4154f1;
}

.contact .info-box h3 {
    font-size: 20px;
    color: #012970;
    font-weight: 700;
    margin: 20px 0 10px 0;
}

.contact .info-box p {
    padding: 0;
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}

.contact .php-email-form .error-message {
    display: none;
    color: #fff;
    background: #ed3c0d;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.contact .php-email-form .sent-message {
    display: none;
    color: #fff;
    background: #18d26e;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.contact .php-email-form .loading {
    display: none;
    background: #fff;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
}

.contact .php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid #18d26e;
    border-top-color: #eee;
    animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
    border-radius: 0;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
    border-color: #4154f1;
}

.contact .php-email-form input {
    padding: 10px 15px;
}

.contact .php-email-form textarea {
    padding: 12px 15px;
}

.contact .php-email-form button[type="submit"] {
    background: #4154f1;
    border: 0;
    padding: 10px 30px;
    color: #fff;
    transition: 0.4s;
    border-radius: 4px;
}

.contact .php-email-form button[type="submit"]:hover {
    background: #5969f3;
}

@keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Error 404
--------------------------------------------------------------*/
.error-404 {
    padding: 30px;
}

.error-404 h1 {
    font-size: 180px;
    font-weight: 700;
    color: #4154f1;
    margin-bottom: 0;
    line-height: 150px;
}

.error-404 h2 {
    font-size: 24px;
    font-weight: 700;
    color: #012970;
    margin-bottom: 30px;
}

.error-404 .btn {
    background: #51678f;
    color: #fff;
    padding: 8px 30px;
}

.error-404 .btn:hover {
    background: #3e4f6f;
}

@media (min-width: 992px) {
    .error-404 img {
        max-width: 50%;
    }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
    padding: 20px 0;
    font-size: 14px;
    transition: all 0.3s;
}

.footer .copyright {
    text-align: center;
    color: #012970;
}

.footer .credits {
    padding-top: 5px;
    text-align: center;
    font-size: 13px;
    color: #012970;
}

.login-bg {
    background: url("../img/login.jpg");
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
}

.no-label {
    min-height: 32px;
}

.toggle-password {
    cursor: pointer;
}

.arrow-none::-webkit-outer-spin-button,
.arrow-none::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.arrow-none[type="number"] {
    -moz-appearance: textfield;
}

.birthday {
    background: url("../img/birthday-bg.jpg");
    background-size: contain;
    background-repeat: repeat;
    background-position: top center;
    animation: bounce-bg 5s ease-in-out infinite;
}

@keyframes bounce-bg {

    0%,
    100% {
        background-position-x: 0%;
    }

    50% {
        background-position-x: 5%;
    }
}

.leave-type-color {
    width: 16px;
    height: 16px;
    border-radius: 50px;
}

td.empty {
    background: #ececec;
}

td.today {
    background-color: #fff3cd;
    color: #ffc107;
    border-color: #ffc107;
}

td.weekend {
    background-color: #ffe1e3;
    color: #ff2f42;
    border-color: #ff2f42;
}

td.holiday {
    background-color: #d1ecf1;
    color: #0c5460;
    border-color: #0c5460;
}

td.weekendAttendance {
    background-color: #ffe1e3;
    color: #ff2f42;
    border-color: #ff2f42;
}

td.holidayAttendance {
    background-color: #d1ecf1;
    color: #0c5460;
    border-color: #0c5460;
}

td.attendancePresent {
    background-color: #d1e7dd !important;
    color: #047743 !important;
    border-color: #047743 !important;
}

td.past-date {
    color: #aaa;
    background-color: #f8f9fa;
}

.ui-datepicker {
    z-index: 1055 !important;
}

#applyHolidayForm .input-group .input-group-text {
    width: 42px;
    justify-content: center;
}

.can-apply {
    cursor: pointer;
}

.weekend,
.holiday,
.taken-holiday,
.past-date {
    pointer-events: none;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 2px 6px;
}

img.ani-move {
    -webkit-animation: mover 1s infinite alternate;
    animation: mover 1s infinite alternate;
}

img.ani-move {
    -webkit-animation: mover 1s infinite alternate;
    animation: mover 1s infinite alternate;
}

@-webkit-keyframes mover {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-5px);
    }
}

@keyframes mover {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-5px);
    }
}

a.forgot_link {
    color: #de6026;
    font-size: 13px;
    text-decoration: underline;
}

.notice h5 {
    font-size: 18px;
    font-weight: normal;
}

.notice p {
    font-size: 14px;
}

.bell-icon {
    transition: transform 0.3s ease;
}

@keyframes bell-ring {
    0% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(15deg);
    }

    20% {
        transform: rotate(-15deg);
    }

    30% {
        transform: rotate(10deg);
    }

    40% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(5deg);
    }

    60% {
        transform: rotate(-5deg);
    }

    70% {
        transform: rotate(0deg);
    }
}

.bell-icon.ringing {
    animation: bell-ring 1s ease-in-out infinite;
    transform-origin: top center;
}

/* I Card */

.id-card-holder {
    width: 320px;
    padding: 4px;
    margin: 0 auto;
    background-color: #1f1f1f;
    border-radius: 5px;
    position: relative;
}

.id-card-holder:after {
    content: "";
    width: 7px;
    display: block;
    background-color: #0a0a0a;
    height: 100px;
    position: absolute;
    top: 50%;
    left: 3px;
    transform: translateY(-50%);
    border-radius: 0 5px 5px 0;
}

.id-card-holder:before {
    content: "";
    width: 7px;
    display: block;
    background-color: #0a0a0a;
    height: 100px;
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 5px 0 0 5px;
}

.id-card {
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 1.5px 0px #b9b9b9;
}

.id-card .heighlight {
    color: #de6026;
}

.id-card img {
    margin: 0 auto;
}

.id-card p {
    font-size: 13px;
}

.id-card-header {
    margin-bottom: 30px;
}

.id-card-header img {
    width: 100px;
    margin-top: 15px;
}

.id-card-photo img {
    width: 80px;
    margin-top: 15px;
}

.qr-code img {
    width: 50px;
}

.id-card-hook {
    background-color: black;
    width: 70px;
    margin: 0 auto;
    height: 15px;
    border-radius: 5px 5px 0 0;
}

.id-card-hook:after {
    content: "";
    background-color: white;
    width: 47px;
    height: 6px;
    display: block;
    margin: 0px auto;
    position: relative;
    top: 6px;
    border-radius: 4px;
}

.id-card-tag-strip {
    width: 45px;
    height: 40px;
    background-color: #de6026;
    margin: 0 auto;
    border-radius: 5px;
    position: relative;
    top: 12px;
    z-index: 1;
    border: 1px solid #e6865a;
}

.id-card-tag-strip:after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #c84e15;
    position: relative;
    top: 10px;
}

.id-card-tag {
    width: 0;
    height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-top: 100px solid #c84e15;
    margin: -10px auto -30px auto;
}

.id-card-tag:after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-top: 60px solid #f6f9ff;
    margin: -10px auto -30px auto;
    position: relative;
    top: -92px;
    left: -40px;
}

.qr-button {
    position: fixed;
    bottom: 30px;
    right: 20px;
}

.qr-button a {
    width: 50px;
    height: 50px;
    background: #de6026;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    text-align: center;
    border-radius: 100%;
    border: 4px solid #36474f;
}

.qr-scanner-section {
    background: #f6f8fb;
    min-height: 70vh;
}

.scanner-card {
    background: #fff;
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    border: 1px solid #edf0f4;
}

/* Header */
.scanner-header {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.scanner-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #fcf2ed;
    color: #de6026;
    font-size: 30px;
}

.scanner-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #212529;
}

.scanner-header p {
    color: #7a8490;
    font-size: 14px;
}

/* Scanner */
.scanner-wrapper {
    position: relative;
    padding: 6px;
    background: #f8f9fa;
    border-radius: 16px;
    overflow: hidden;
}

#reader {
    width: 100% !important;
    border: 0 !important;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

#reader video {
    border-radius: 12px;
}

/* Scanner info */
.scanner-info {
    padding: 10px;
    color: #7a8490;
    font-size: 13px;
}

.scanner-info i {
    color: #dc3545;
    font-size: 16px;
}

/* Restart button */
.btn-restart {
    padding: 10px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    transition: all 0.25s ease;
}

.btn-restart:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(220, 53, 69, 0.25);
}

@media (max-width: 576px) {
    .qr-scanner-section {
        padding: 25px 0 !important;
    }

    .scanner-card {
        padding: 20px 15px;
        border-radius: 15px;
    }

    .scanner-header h3 {
        font-size: 21px;
    }

    .scanner-icon {
        width: 55px;
        height: 55px;
        font-size: 25px;
    }
}

#html5-qrcode-button-camera-start {
    margin: 0 6px;
    padding: 8px 20px;
    background: #dc8935;
    color: #fff;
    border: 0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

#html5-qrcode-button-camera-stop,
#html5-qrcode-button-camera-permission {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 6px;
    gap: 8px;
    padding: 8px 20px;
    background: #dc8935;
    color: #fff;
    border: 0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

#html5-qrcode-button-camera-start:hover,
#html5-qrcode-button-camera-stop:hover,
#html5-qrcode-button-camera-permission:hover {
    background: rgb(220, 137, 53);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(220, 137, 53, 0.25);
}

#html5-qrcode-button-camera-start:active,
#html5-qrcode-button-camera-stop:active,
#html5-qrcode-button-camera-permission:active {
    transform: translateY(0);
}

.w-time {
    background: #36474f;
    font-size: 0.8rem;
    padding: 1px 12px;
    border-radius: 50px;
    color: #fff;
}

/* Calendar Design */

.calendar-wrapper {
    position: relative;
    width: 100%;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
}

/* LOADING */

.calendar-loading {
    position: absolute;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(2px);
    color: #475569;
    font-size: 14px;
    font-weight: 500;
}

/* FULLCALENDAR MAIN */

#attendance-calendar {
    width: 100%;
    background: #ffffff;
}

/* Remove default FullCalendar border */
#attendance-calendar .fc {
    border: 0;
}

/* TOOLBAR / MONTH HEADER */

#attendance-calendar .fc-toolbar {
    padding: 12px;
    margin-bottom: 0;
    background: #ffffff;
}

/* Month title */
#attendance-calendar .fc-toolbar-title {
    color: #111827;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

/* Toolbar buttons */
#attendance-calendar .fc-button {
    height: 36px;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    color: #374151 !important;
    border-radius: 8px !important;
    font-size: 13px;
    font-weight: 600;
    box-shadow: none !important;
    transition: all 0.2s ease;
}

/* Button hover */
#attendance-calendar .fc-button:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #111827 !important;
}

/* Active button */
#attendance-calendar .fc-button-primary:not(:disabled).fc-button-active {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
}

/* Previous / Next arrows */
#attendance-calendar .fc-prev-button,
#attendance-calendar .fc-next-button {
    width: 36px;
    padding: 0;
}

/* Today button */
#attendance-calendar .fc-today-button {
    padding-left: 14px;
    padding-right: 14px;
}

/* WEEKDAY HEADER */
#attendance-calendar .fc-col-header {
    border-top: 1px solid #eef0f3;
}

#attendance-calendar .fc-col-header-cell {
    background: #f8fafc;
    border-color: #eef0f3;
}

/* Sunday */
#attendance-calendar .fc-col-header-cell:first-child .fc-col-header-cell-cushion {
    color: #64748b;
}

/* Weekday names */
#attendance-calendar .fc-col-header-cell-cushion {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* CALENDAR GRID */
#attendance-calendar .fc-scrollgrid {
    border-color: #eef0f3;
}

#attendance-calendar .fc-daygrid-day {
    border-color: #eef0f3;
    background: #ffffff;
    transition:
        background 0.2s ease,
        box-shadow 0.2s ease;
}

/* Day hover */
#attendance-calendar .fc-daygrid-day:hover {
    background: #fafcff;
}

/* DAY NUMBER */
#attendance-calendar .fc-daygrid-day-number {
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    padding: 9px;
    text-decoration: none;
}

/* Previous / next month dates */
#attendance-calendar .fc-day-other .fc-daygrid-day-number {
    color: #cbd5e1;
}

/* TODAY */
#attendance-calendar .fc-day-today {
    background: #eff6ff !important;
}

/* Today's number */
#attendance-calendar .fc-day-today .fc-daygrid-day-number {
    width: 28px;
    height: 28px;
    margin: 5px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2563eb;
    color: #ffffff;
    border-radius: 50%;
    font-weight: 700;
}

/* DAY CELL SIZE */
#attendance-calendar .fc-daygrid-day-frame {
    min-height: 135px;
}

/* ATTENDANCE EVENT */

/* Remove FullCalendar default blue event background. */
#attendance-calendar .fc-daygrid-event {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 3px 5px !important;
    box-shadow: none !important;
}

/* Event main */
#attendance-calendar .fc-event-main {
    color: inherit !important;
    padding: 0 !important;
}

/* ATTENDANCE CARD */
.attendance-event {
    width: 100%;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    padding: 4px;
    color: #334155;
    font-size: 10px;
    line-height: 1.4;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

/* Attendance card hover */
.attendance-event:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

/* PUNCH ROW */
.punch-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3px;
    width: 100%;
    margin-bottom: 5px;
}

/* NORMAL PUNCH */
.punch-normal {
    display: inline-flex;
    align-items: center;
    padding: 3px 5px;
    border-radius: 5px;
    background: #f1f5f9;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.3;
}

/* FIRST PUNCH IN - ON TIME */
.punch-in-ok {
    display: inline-flex;
    align-items: center;
    padding: 3px 5px;
    border-radius: 5px;
    background: #dcfce7;
    color: #15803d;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;
}

/* FIRST PUNCH IN - LATE */
.punch-in-late {
    display: inline-flex;
    align-items: center;
    padding: 3px 5px;
    border-radius: 5px;
    background: #fee2e2;
    color: #dc2626;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;
}

/* LAST PUNCH OUT - ON TIME */
.punch-out-ok {
    display: inline-flex;
    align-items: center;
    padding: 3px 5px;
    border-radius: 5px;
    background: #dcfce7;
    color: #15803d;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;
}

/* LAST PUNCH OUT - EARLY */
.punch-out-early {
    display: inline-flex;
    align-items: center;
    padding: 3px 5px;
    border-radius: 5px;
    background: #fee2e2;
    color: #dc2626;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;
}

/* PUNCH ARROW */
.punch-arrow {
    color: #94a3b8;
    font-size: 10px;
    font-weight: 600;
    flex-shrink: 0;
}

/* WORKING TIME */
.attendance-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid #e5e7eb;
}

/* Working time label */
.total-label {
    color: #64748b;
    font-size: 9px;
    font-weight: 500;
}

/* Working time badge */
.total-time {
    display: inline-flex;
    align-items: center;
    background: #dbeafe;
    color: #1d4ed8;
    padding: 3px 6px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

/* MISSING PUNCH */
.punch-in-missing,
.punch-out-missing {
    display: inline-flex;
    align-items: center;
    padding: 3px 5px;
    border-radius: 5px;
    background: #fee2e2;
    color: #dc2626;
    font-size: 10px;
    font-weight: 700;
}

/* MORE EVENTS */
#attendance-calendar .fc-more-link {
    color: #2563eb;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
}

#attendance-calendar .fc-more-link:hover {
    text-decoration: underline;
}

/* CURRENT DAY / SELECTED DAY */
#attendance-calendar .fc-daygrid-day.fc-day-selected {
    background: #f0f7ff;
}

/* LOADING SPINNER */
.calendar-loading .spinner-border {
    width: 28px;
    height: 28px;
    border-width: 3px;
}

/* RESPONSIVE */

@media (max-width: 992px) {
    #attendance-calendar .fc-toolbar {
        padding: 15px;
    }

    #attendance-calendar .fc-toolbar-title {
        font-size: 18px;
    }

    #attendance-calendar .fc-daygrid-day-frame {
        min-height: 115px;
    }

    .attendance-event {
        padding: 5px;
    }

    .punch-row {
        display: block;
        margin-bottom: 4px;
    }

    .punch-arrow {
        display: none;
    }
}

@media (max-width: 576px) {
    #attendance-calendar .fc-toolbar {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px;
    }

    #attendance-calendar .fc-toolbar-title {
        width: 100%;
        text-align: center;
        order: -1;
        font-size: 17px;
    }

    #attendance-calendar .fc-toolbar-chunk {
        display: flex;
        gap: 4px;
    }

    #attendance-calendar .fc-daygrid-day-frame {
        min-height: 90px;
    }

    #attendance-calendar .fc-daygrid-day-number {
        font-size: 11px;
        padding: 6px;
    }

    #attendance-calendar .fc-day-today .fc-daygrid-day-number {
        width: 24px;
        height: 24px;
        margin: 3px;
    }

    .attendance-event {
        margin: 2px !important;
        padding: 4px;
        border-radius: 6px;
    }

    .punch-in-ok,
    .punch-in-late,
    .punch-out-ok,
    .punch-out-early,
    .punch-normal {
        font-size: 8px;
        padding: 2px 4px;
    }

    .total-label {
        font-size: 8px;
    }

    .total-time {
        font-size: 8px;
        padding: 2px 4px;
    }
}

/* ================================
   Modern Overtime Modal
================================ */

#overtimeModal .modal-dialog {
    max-width: 620px;
}

#overtimeModal .modal-content {
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

/* Header */
#overtimeModal .modal-header {
    padding: 20px 24px;
    background: #ffffff;
    border-bottom: 1px solid #edf0f4;
}

#overtimeModal .modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 21px;
    font-weight: 600;
    color: #252b33;
    margin: 0;
}

#overtimeModal .modal-title i {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #eef4ff;
    color: #246bfd;
    font-size: 19px;
}

/* Close button */
#overtimeModal .btn-close {
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 8px;
    opacity: .55;
    transition: .2s ease;
}

#overtimeModal .btn-close:hover {
    background: #f3f4f6;
    opacity: 1;
}

/* Body */
#overtimeModal .modal-body {
    padding: 24px;
}

/* Labels */
#overtimeModal .form-label {
    display: block;
    margin-bottom: 8px;
    color: #454b55;
    font-size: 14px;
    font-weight: 500;
}

#overtimeModal .text-danger {
    color: #ef4444 !important;
}

/* Inputs */
#overtimeModal .form-control {
    border: 1px solid #dfe4ea;
    border-radius: 10px;
    background: #ffffff;
    color: #2d333b;
    font-size: 15px;
    padding: 10px 14px;
    box-shadow: none;
    transition: all .2s ease;
}

#overtimeModal .form-control:focus {
    border-color: #4f8cff;
    box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.12);
}

/* Readonly fields */
#overtimeModal input[readonly] {
    background: #f8fafc;
    color: #525a65;
    cursor: default;
}

/* Textarea */
#overtimeModal textarea.form-control {
    height: 108px;
    resize: vertical;
    padding-top: 12px;
}

#overtimeModal textarea.form-control::placeholder,
#overtimeModal input::placeholder {
    color: #9aa2ad;
}

/* Spacing */
#overtimeModal .mb-3 {
    margin-bottom: 20px !important;
}

/* IN / OUT row */
#overtimeModal .row {
    margin-left: -6px;
    margin-right: -6px;
}

#overtimeModal .row>div {
    padding-left: 6px;
    padding-right: 6px;
}

/* Overtime input */
#overtimeModal #overtime_hours {
    font-weight: 600;
    color: #246bfd;
    background: #f8fbff;
}

/* Footer */
#overtimeModal .modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #edf0f4;
    background: #fafbfc;
    gap: 10px;
}

/* Buttons */
#overtimeModal .modal-footer .btn {
    min-height: 46px;
    border-radius: 9px;
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 600;
    transition: all .2s ease;
}

/* Cancel */
#overtimeModal .btn-secondary {
    border: 0;
    background: #6c757d;
    color: #fff;
}

#overtimeModal .btn-secondary:hover {
    background: #5c636a;
    transform: translateY(-1px);
}

/* Submit */
#overtimeModal .btn-primary {
    border: 0;
    background: linear-gradient(135deg, #246bfd, #1760e8);
    color: #fff;
    box-shadow: 0 5px 14px rgba(36, 107, 253, 0.22);
}

#overtimeModal .btn-primary:hover {
    background: linear-gradient(135deg, #1d60e8, #1054d5);
    box-shadow: 0 7px 18px rgba(36, 107, 253, 0.30);
    transform: translateY(-1px);
}

#overtimeModal .btn-primary i {
    margin-right: 5px;
}

/* Error */
#overtimeModal #overtimeError {
    border: 0;
    border-radius: 10px;
    font-size: 14px;
    margin-top: 5px;
}

/* Modal animation */
#overtimeModal .modal-dialog {
    transform: translateY(10px);
    transition: transform .25s ease;
}

#overtimeModal.show .modal-dialog {
    transform: translateY(0);
}

/* Mobile */
@media (max-width: 576px) {

    #overtimeModal .modal-dialog {
        margin: 10px;
    }

    #overtimeModal .modal-header,
    #overtimeModal .modal-body {
        padding: 18px;
    }

    #overtimeModal .modal-footer {
        padding: 14px 18px;
    }

    #overtimeModal .modal-title {
        font-size: 18px;
    }

    #overtimeModal .modal-footer {
        flex-direction: column-reverse;
    }

    #overtimeModal .modal-footer .btn {
        width: 100%;
    }
}

/* =========================
    Attendance Page
========================== */

.attendance-page {
    padding: 4px 0 25px;
}

.attendance-wrapper {
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(30, 64, 175, 0.06);
    overflow: hidden;
}

/* Header */
.attendance-header {
    padding: 24px 26px 20px;
    border-bottom: 1px solid #edf1f7;
}

.attendance-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.attendance-title-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #eff6ff;
    color: #1769ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
}

.attendance-title h4 {
    margin: 0;
    font-size: 21px;
    font-weight: 700;
    color: #172033;
}

.attendance-title p {
    margin: 3px 0 0;
    color: #8a94a6;
    font-size: 13px;
}

.overtime-btn {
    border: 0;
    background: #1769ff;
    color: #fff;
    padding: 11px 19px;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 600;
    transition: .2s;
    box-shadow: 0 5px 15px rgba(23, 105, 255, .20);
}

.overtime-btn:hover {
    background: #0959e8;
    color: #fff;
    transform: translateY(-1px);
}

/* Filters */
.attendance-filters {
    padding: 20px 26px;
    background: #fafbfd;
    border-bottom: 1px solid #edf1f7;
}

.filter-box label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #8993a5;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 5px;
}

/* Month navigation */
.month-navigation {
    padding: 20px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.month-btn {
    min-width: 105px;
    height: 40px;
    border: 1px solid #dce4ef;
    background: #fff;
    color: #42526b;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    transition: .2s;
}

.month-btn:hover {
    border-color: #1769ff;
    color: #1769ff;
    background: #f5f8ff;
}

.month-title {
    text-align: center;
}

.month-title h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #172033;
}

.month-title span {
    display: block;
    margin-top: 3px;
    color: #9aa4b2;
    font-size: 12px;
}

/* Legend */
.attendance-legend {
    padding: 0 26px 18px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #697586;
    font-size: 12px;
    font-weight: 500;
}

.legend-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.legend-present {
    background: #34c759;
}

.legend-weekend {
    background: #ffe4e8;
}

.legend-holiday {
    background: #fff0b8;
}

.legend-leave {
    background: #b9e8df;
}

/* Table */
.attendance-table-container {
    border-top: 1px solid #edf1f7;
    overflow-x: auto;
    scrollbar-width: thin;
}

.attendance-table {
    margin: 0 !important;
    border: 0 !important;
    min-width: 1050px;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

.attendance-table thead th {
    height: 54px;
    padding: 5px !important;
    background: #f6f8fc !important;
    color: #64748b;
    border: 0 !important;
    border-bottom: 1px solid #e7ebf2 !important;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    vertical-align: middle;
}

.attendance-table thead th:first-child {
    position: sticky;
    left: 0;
    z-index: 5;
    min-width: 210px;
    text-align: left;
    padding-left: 20px !important;
    background: #f6f8fc !important;
}

.attendance-table tbody td {
    height: 54px;
    padding: 4px !important;
    border: 0 !important;
    border-bottom: 1px solid #edf1f5 !important;
    background: #fff;
    color: #253044;
    text-align: center;
    font-size: 12px;
    transition: .15s;
}

.attendance-table tbody tr:hover td {
    background: #f9fbff;
}

.attendance-table tbody td:first-child {
    position: sticky;
    left: 0;
    z-index: 4;
    min-width: 210px;
    text-align: left;
    padding-left: 20px !important;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: #202939;
    box-shadow: 5px 0 12px rgba(20, 40, 80, .03);
}

.attendance-table tbody tr:hover td:first-child {
    background: #f9fbff;
}

/* Date cells */
.attendance-cell {
    position: relative;
    cursor: pointer;
    min-width: 43px;
}

.attendance-cell>div {
    width: 32px;
    height: 32px;
    margin: auto;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    transition: .15s;
}

.attendance-cell:hover>div {
    transform: scale(1.08);
}

/* Present */
.attendancePresent>div {
    background: #ecfdf3;
    color: #159447;
}

/* Weekend */
.weekendAttendance {
    background: #fff8f9 !important;
}

.weekendAttendance>div {
    color: #ef5366;
    background: #fff0f2;
}

/* Holiday */
.holidayAttendance {
    background: #fffaf0 !important;
}

.holidayAttendance>div {
    background: #fff4c7;
    color: #a66b00;
}

/* Edit icon */
.attendance-cell button {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1769ff !important;
    font-size: 12px;
    opacity: .7;
}

.attendance-cell button:hover {
    opacity: 1;
}

/* Mobile */
@media (max-width: 768px) {

    .attendance-header {
        padding: 18px;
    }

    .attendance-header .d-flex {
        align-items: flex-start !important;
        gap: 15px;
    }

    .attendance-title h4 {
        font-size: 18px;
    }

    .overtime-btn {
        padding: 9px 12px;
        font-size: 12px;
    }

    .attendance-filters {
        padding: 15px;
    }

    .month-navigation {
        padding: 16px 15px;
    }

    .month-title h3 {
        font-size: 18px;
    }

    .month-btn {
        min-width: auto;
        padding: 0 10px;
    }

    .attendance-legend {
        padding: 0 15px 15px;
    }
}
