/* ===== CSS VARIABLES ===== */
:root, [data-bs-theme=light] {
    --primaryColor: #edf6ff;
    --secondaryColor: #ffffff;
    --thirdColor: #036399;
    --primary: #046499;
    --secondary: #036399;
    --app-blue: #036399;
    --app-orange: #2957a4;
    --app-orange-alt: #2957a4;
    --app-orange-hover: #2957a4;
    --app-dark-blue: #134f79;
    --app-light-blue: #0076b5;
    --app-lighter-blue: #0d8de0;
    --app-border: #e5e7eb;
    --app-muted: #6c757d;
    --app-text: #1f2937;
    --app-bg-light: #f8f9fa;
    --app-bg-card: #fafcff;
    --app-shadow-sm: 0 2px 8px rgba(0,0,0,.05);
    --app-shadow-md: 0 10px 35px rgba(15,23,42,.08);
    --app-radius-sm: 8px;
    --app-radius-md: 10px;
    --app-radius-lg: 14px;
    --app-radius-pill: 30px;
    --app-transition: .2s ease;
    --app-font-sm: 13px;
    --app-font-base: 14px;
}

.main-header {
    border-left: 2px solid white;
    border-top: 2px solid white;
}

.navbar-light, .main-footer {
    background-color: var(--thirdColor);
}
/* ===== LAYOUT ===== */
.content-wrapper > .content {
    padding: 1rem;
    padding-top: 2.1rem
}

.col-lg-3.col-6.percent20 {
    flex: 0 0 20% !important;
    max-width: 20% !important
}

@-webkit-keyframes slide {
    100% {
        top: 15%
    }
}

@keyframes slide {
    100% {
        top: 15%
    }
}

.slider-size {
    height: 344px
}

.carousel-item img {
    width: 100%;
    height: 344px;
    margin: 0 auto
}

@media(max-width:767px) {
    .col-form-label {
        padding-top: 0;
        padding-bottom: 0
    }
}

.sub-menu-bg {
    color: #fff !important;
    background-color: #dc3545 !important
}

label.custom-control-label.adjusttop:before, label.custom-control-label.adjusttop:after {
    top: 8px !important
}

.required {
    color: #000
}

.information {
    font-size: var(--app-font-sm);
    color: #666;
    padding: 0;
    margin: 0;
    width: 100%;
    display: block
}

.text-danger-sm {
    font-size: var(--app-font-base);
    color: #dc3545;
    padding: 0;
    margin: 0
}

/* ===== CIRCLE BUTTONS ===== */
.btn-circle.btn-sm {
    width: 30px;
    height: 30px;
    padding: 6px 0;
    border-radius: 15px;
    text-align: center;
    line-height: 1.2
}

.btn-circle.btn-md {
    width: 50px;
    height: 50px;
    padding: 7px 10px;
    border-radius: 25px;
    text-align: center;
    line-height: 1.2
}

.btn-circle.btn-xl {
    width: 70px;
    height: 70px;
    padding: 10px 16px;
    border-radius: 35px;
    text-align: center;
    line-height: 1.2
}

.bg-app-primary {
    background-color: var(--app-blue) !important
}

.bg-app-secondary {
    background-color: var(--app-orange) !important
}

ul.navbar-nav a.nav-link {
    color: #fff !important
}

/* ===== VALIDATION ===== */
.valid {
    border-color: #28a745 !important
}

    .valid + div.input-group-append > div.input-group-text {
        border-color: #28a745 !important
    }

.input-validation-error {
    border-color: #dc3545 !important
}

    .input-validation-error + div.input-group-append > div.input-group-text {
        border-color: #dc3545 !important
    }

.sidebar-dark-danger .nav-sidebar > .nav-item > .nav-link.active, .sidebar-light-danger .nav-sidebar > .nav-item > .nav-link.active {
    background-color: #fff !important;
    color: var(--app-blue) !important
}

.col-form-label {
    padding-bottom: 0 !important;
    padding-top: 0 !important
}

.search input[type="text"].form-control {
    height: calc(1.75rem + 2px)
}

.dropdown-item a {
    cursor: pointer
}

    .dropdown-item a:hover, .dropdown-item a:focus {
        color: #16181b;
        text-decoration: none;
        background-color: #f8f9fa
    }

.input-group > .custom-file:not(:last-child) .custom-file-label::after {
    display: none !important
}

/* ===== TABLE BASE ===== */
.table td.fit, .table th.fit {
    white-space: nowrap;
    width: 1%
}

.table td input, .table td select {
    width: 100%;
    height: calc(2rem + 2px)
}

#clientConfirmationModal, #confirmationModal {
    z-index: 1051 !important
}

body.modal-open {
    overflow: auto
}

    body.modal-open[style] {
        padding-right: 0 !important
    }

.modal::-webkit-scrollbar {
    width: 0 !important
}

/* ===== LOADING OVERLAY ===== */
.loading-overlay {
    position: absolute;
    z-index: 1052;
    width: 100%;
    height: 100%;
    font-weight: bolder;
    color: #007bff;
    background-color: #fff;
    opacity: .9;
    border-radius: 5px;
    text-align: center;
    display: none
}

    .loading-overlay .spinner-wrapper {
        position: relative;
        top: 0;
        left: 0
    }

        .loading-overlay .spinner-wrapper i, .loading-overlay .spinner-wrapper img {
            margin-top: 25%
        }

/* ===== PRINT ===== */
@media print {
    .verticaltext {
        transform: rotate(-90deg);
        transform-origin: right,top;
        -ms-transform: rotate(-90deg);
        -ms-transform-origin: right,top;
        -webkit-transform: rotate(-90deg);
        -webkit-transform-origin: right,top;
        position: absolute
    }
}

/* ===== ANIMATIONS ===== */
.blink_me {
    animation: blinker 1s linear infinite
}

@keyframes blinker {
    50% {
        opacity: 0
    }
}

.form-control:focus {
    box-shadow: none !important
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes loaderSpin {
    100% {
        transform: rotate(360deg)
    }
}

/* ===== MISC UTILS ===== */
table.vertical-align > tbody > tr > td {
    vertical-align: middle
}

.custom-control-label::before {
    background-color: #fff
}

.custom-control-input:disabled ~ .custom-control-label::before {
    background-color: #dadada
}

.unselectable {
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

ul.pagination {
    justify-content: flex-end !important
}

/* ===== BRAND / NAV ===== */
.brand-link {
    height: 57px
}

    .brand-link > img {
        height: 80%
    }

a.nav-link > img.imgProfileImage {
    width: 40px;
    height: 40px;
    border-radius: 20px
}

.nav-link {
    color: #262626
}

.userImage {
    cursor: pointer;
    position: relative
}

.userImageEdit {
    position: absolute;
    top: 0;
    right: 0
}

.userPartialImage {
    top: 15% !important;
    position: relative !important
}

.userListImage {
    width: 30px;
    height: 30px;
    border-radius: 15px
}

/* ===== FILE BLOCKS ===== */
.file-block {
    border-radius: var(--app-radius-md);
    background-color: rgba(144,163,203,.2);
    margin: 5px;
    color: initial;
    display: inline-flex
}

    .file-block > span.name {
        padding-right: 10px;
        width: max-content;
        display: inline-flex
    }

.file-delete {
    display: flex;
    width: 24px;
    color: initial;
    background-color: #6eb4ff;
    font-size: large;
    justify-content: center;
    margin-right: 3px;
    cursor: pointer
}

    .file-delete:hover {
        background-color: rgba(144,163,203,.2);
        border-radius: var(--app-radius-md)
    }

    .file-delete > span {
        transform: rotate(45deg)
    }

/* ===== LOGOS ===== */
.login-logo > img {
    width: 100%;
    height: auto;
    max-width: 100px;
    padding: 2px
}

.register-logo > img {
    width: auto;
    height: 40px
}

.invoice-logo {
    max-width: 150px
}

a.auth-logo img {
    max-width: 302px
}

/* ===== FIXED DATE ===== */
.fixedDate {
    position: absolute;
    right: 0;
    top: 0;
    background: var(--app-blue);
    z-index: 1;
    padding: 5px;
    border-radius: 5px
}

.fixedDate {
    background: #fff3ee;
    border: 1px solid #ffd2c2
}

    .fixedDate span {
        color: var(--app-blue);
        font-weight: 600
    }

    .fixedDate i {
        color: #0363a4;
        font-size: 16px
    }

/* ===== PIN SIDEBAR ===== */
.pinsidebar {
    width: 40px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid
}

/* ===== SIDEBAR ===== */
.sidebar {
    padding-bottom: 50px;
    padding-right: 0
}

body, .main-sidebar {
    background: var(--primaryColor)
}

    .main-sidebar a.brand-link {
        border: none
    }

    .main-sidebar.elevation-1 {
        box-shadow: none !important
    }

.layout-navbar-fixed .wrapper .sidebar-light-danger .brand-link:not([class*=navbar]) {
    background-color: transparent
}

.user-panel {
    border-bottom: 1px solid #e0e0e0
}

    .user-panel .image img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        object-fit: cover
    }

    .user-panel .image {
        padding-left: 0
    }

    .user-panel a {
        text-decoration: none;
        color: #000
    }

        .user-panel a p {
            font-size: var(--app-font-sm);
            margin: 0;
            line-height: 1.4
        }


.sidebar .user-panel {
    background: url(../img/curve-line-2.svg) repeat-x;
    justify-content: left;
    gap: 7px;
    padding: 7px;
    align-items: anchor-center;
    margin: 0 1rem 1rem .5rem;
    background-position: bottom;
    border: none;
    z-index: 1;
    background: #036399;
    border-radius: 10px 10px;
}

.sidebar-menu > li:hover > a span, .sidebar-menu > li:hover > a::after {
    color: white
}

.page-wrapper.pinned .logo {
    object-fit: cover;
    height: 47px;
    object-position: left;
    transition: .3s
}
/* ===== NAV SIDEBAR ===== */
.nav-sidebar {
    list-style-type: none;
    margin: 1rem 0 0;
    padding: 0
}

    .nav-sidebar > .nav-item {
        position: relative;
        margin: 3px 0
    }

        .nav-sidebar > .nav-item > .nav-link {
            padding: 7px 17px 7px 7px;
            display: flex;
            align-items: center;
            text-decoration: none;
            color: #000;
            position: relative;
            z-index: 1;
            transition: background .2s;
            border-radius: 16px
        }

            .nav-sidebar > .nav-item > .nav-link > .nav-icon {
                width: 36px;
                height: 36px;
                background: var(--secondaryColor);
                border-radius: var(--app-radius-md);
                font-size: 1.1rem;
                flex-shrink: 0;
                display: flex;
                align-items: center;
                justify-content: center;
                margin: 0 .5rem 0 0
            }

            .nav-sidebar > .nav-item > .nav-link > p {
                margin: 0;
                font-size: var(--app-font-sm);
                flex: 1;
                display: flex;
                align-items: center;
                justify-content: space-between
            }

                .nav-sidebar > .nav-item > .nav-link > p > .right {
                    font-size: .6rem;
                    width: 16px;
                    height: 16px;
                    border-radius: 10px;
                    border: 1px solid var(--app-orange-alt);
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    color: #000;
                    transition: transform .5s;
                    flex-shrink: 0;
                    top: 16px
                }

        .nav-sidebar > .nav-item.menu-open > .nav-link > p > .right {
            transform: rotate(-90deg)
        }

        .nav-sidebar > .nav-item:hover > .nav-link {
            background: #005d98;
            border-radius: 18px 30px 30px 18px;
            color: #fff;
            z-index: 2
        }

            .nav-sidebar > .nav-item:hover > .nav-link > p > .right {
                color: #fff;
                border-color: #fff
            }

        .nav-sidebar > .nav-item.menu-open > .nav-link {
            background: var(--app-light-blue);
            border-radius: 18px 30px 30px 18px;
            color: #fff
        }

            .nav-sidebar > .nav-item.menu-open > .nav-link .nav-icon, [class*="sidebar-light-"] .nav-sidebar > .nav-item > .nav-link:focus .nav-icon {
                background: var(--app-orange-alt);
                color: #fff
            }

            .nav-sidebar > .nav-item.menu-open > .nav-link > p > .right {
                color: #fff;
                border-color: #fff
            }

        .nav-sidebar > .nav-item > .nav-link.active {
            background: var(--app-orange);
            border-radius: 16px 0 0 16px;
            color: #fff;
            box-shadow: none !important
        }

            .nav-sidebar > .nav-item > .nav-link.active .nav-icon {
                background: linear-gradient(90deg,rgba(0,130,196,1) 0%,rgb(3 99 153) 100%);
                color: #fff
            }

        .nav-sidebar > .nav-item:has(>.nav-link.active)::before {
            content: "";
            position: absolute;
            right: 0;
            top: -50px;
            width: 50px;
            height: 50px;
            background: var(--primaryColor);
            border-radius: 50px;
            box-shadow: 35px 35px 0 10px #fff;
            pointer-events: none
        }

        .nav-sidebar > .nav-item:has(>.nav-link.active)::after {
            content: "";
            position: absolute;
            right: 0;
            top: 50px;
            width: 50px;
            height: 50px;
            background: var(--primaryColor);
            border-radius: 50px;
            box-shadow: 35px -35px 0 10px #fff;
            pointer-events: none
        }

        .nav-sidebar > .nav-item .disabled {
            cursor: not-allowed;
            opacity: .5
        }

[class*=sidebar-light-] .nav-sidebar > .nav-item.menu-open > .nav-link, [class*=sidebar-light-] .nav-sidebar > .nav-item:hover > .nav-link {
    background-color: #046499
}

.nav-sidebar > .nav-item:hover > a > i, .navbar-expand .navbar-nav .dropdown-menu i {
    color: var(--app-orange-alt)
}
/* ===== NAV TREEVIEW ===== */
.nav-treeview {
    display: none;
    list-style: none;
    margin: 0;
    padding: 8px 0 8px 5px
}

.nav-sidebar > .nav-item.menu-open > .nav-treeview {
    display: block
}

.nav-treeview > .nav-item > .nav-link {
    padding: 10px 20px 10px 15px;
    margin: 0;
    border-left: 1px dashed var(--app-orange-alt);
    display: flex;
    align-items: center;
    color: #000;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 0 60px 60px 0;
    position: relative;
    z-index: 1;
    font-size: var(--app-font-sm);
    transition: background .2s
}

    .nav-treeview > .nav-item > .nav-link > p {
        margin: 0;
        font-size: var(--app-font-sm)
    }

    .nav-treeview > .nav-item > .nav-link .nav-icon {
        font-size: 1rem;
        margin-right: 8px;
        flex-shrink: 0
    }

    .nav-treeview > .nav-item > .nav-link:hover {
        background-color: var(--app-light-blue);
        color: #fff;
        box-shadow: inset 3px 0 4px rgba(0,0,0,.05)
    }

    .nav-treeview > .nav-item > .nav-link.active, .nav-treeview > .nav-item > .nav-link.active-sub {
        background: rgba(0,0,0,.1);
        box-shadow: inset 3px 0 4px rgba(0,0,0,.05)
    }

        .nav-treeview > .nav-item > .nav-link.active:hover, .nav-treeview > .nav-item > .nav-link.active-sub:hover {
            background: rgba(0,0,0,.1)
        }

.nav-treeview .nav-treeview {
    padding-left: 20px
}

[class*=sidebar-light-] .nav-treeview > .nav-item > .nav-link.active, [class*=sidebar-light-] .nav-treeview > .nav-item > .nav-link.active:hover {
    background-color: rgb(3 99 153);
    color: #fff
}

.nav-treeview > .nav-item > .nav-link.active:hover, .nav-treeview > .nav-item > .nav-link.active-sub:hover {
    background: rgb(1 142 206)
}
/* ===== HEADER / CONTENT ===== */
.app-container {
    padding: 0
}

.main-header {
    padding: 5px 1.5rem;
    border-radius: 30px 0 0 0;
    -webkit-border-radius: 30px 0 0 0;
    -moz-border-radius: 30px 0 0 0
}

.content-wrapper {
    position: relative;
    height: calc(100vh - 96px);
    border-left: 2px solid #fff !important;
    background-size: 40px 60px
}

.wrapper .content-wrapper {
    overflow-y: auto;
    background-color: #fff
}

.content-wrapper > .content::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    border-radius: 0 0 30px 30px;
    -webkit-border-radius: 0 0 30px 30px;
    -moz-border-radius: 0 0 30px 30px;
    min-height: 160px;
    background-color: var(--primaryColor)
}

#barChart {
    width: 100%
}
/* ===== USER MINI ===== */
.user-mini {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: #fff3ee;
    border-radius: 20px;
    font-size: var(--app-font-sm);
    color: #ff6a00;
    font-weight: 500;
    justify-content: space-between;
    box-shadow: 0 0 0 4px #d9d9d947
}

    .user-mini span {
        color: var(--app-blue)
    }
/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 5px;
    height: 8px
}

::-webkit-scrollbar-track {
    background: var(--app-bg-light);
    border-radius: 10px
}

::-webkit-scrollbar-thumb {
    background: var(--app-blue);
    border-radius: 10px;
    transition: all .3s ease
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--app-orange)
    }

    ::-webkit-scrollbar-thumb:active {
        background: var(--app-blue)
    }
/* ===== TREE ===== */
.tree {
    list-style: none;
    padding: 0;
    margin: 0
}

    .tree > li {
        display: inline-block;
        vertical-align: top;
        margin: 6px 1%
    }

    .tree li {
        background: #fff;
        border-radius: var(--app-radius-md);
        padding: 10px 12px;
        border: 1px solid var(--app-border);
        transition: var(--app-transition);
        position: relative;
        display: block;
        font-size: var(--app-font-base);
        font-weight: 500;
        color: #374151
    }

        .tree li:hover {
            background: #f9fafb;
            border-color: #d1d5db
        }

        .tree li ul {
            margin-top: 8px;
            padding-left: 15px;
            padding-right: 15px
        }

            .tree li ul li {
                margin-top: 6px
            }

        .tree li a {
            color: #6b7280;
            margin-left: 6px;
            transition: var(--app-transition)
        }

            .tree li a:hover {
                color: #f97316
            }

    .tree .indicator {
        margin-right: 6px;
        color: #f97316;
        cursor: pointer
    }

    .tree li > ul {
        width: 100%
    }

div .tree li {
    background: #fff;
    padding: 0px 14px;
    border-radius: var(--app-radius-md);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
    margin-bottom: 10px;
    line-height: 1;
}

div .tree ul li:before {
    top: 1.8em
}

.tree li > i.indicator {
    margin-right: 8px;
    color: var(--app-blue);
    cursor: pointer;
    float: left;
    position: absolute;
    left: -12px;
    top: 16px;
    font-size: 19px
}

.tree li.open > i.indicator {
    transform: rotate(90deg);
    transition: .3s
}

.tree ul {
    transition: all .3s ease
}

.tree .badge {
    background: #ff6b00;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 8px
}

.tree li a i {
    font-size: 16px;
    padding: 4px;
    border-radius: 6px;
    margin-left: 6px;
    transition: .3s;
    width: 30px;
    height: 30px;
    line-height: 1.3
}

    .tree li a i.fa-edit {
        color: #2196f3
    }

    .tree li a i.fa-plus {
        color: #4caf50
    }

    .tree li a i.fa-trash {
        color: #f44336
    }

    .tree li a i:hover {
        transform: scale(1.2)
    }

.tree li > ul.display-none {
    display: none !important
}

@media(max-width:768px) {
    .tree > li {
        width: 100%;
        margin: 6px 0
    }
}
/* ===== DATATABLES ===== */
.dataTables_wrapper {
    font-family: 'Segoe UI',sans-serif;
    padding: 10px
}

    .dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter {
        margin-bottom: 10px
    }

        .dataTables_wrapper .dataTables_filter input {
            border: 1px solid #ddd;
            border-radius: var(--app-radius-sm);
            padding: 6px 10px;
            outline: none;
            transition: .3s
        }

            .dataTables_wrapper .dataTables_filter input:focus {
                border-color: #4facfe;
                box-shadow: 0 0 6px rgba(79,172,254,.3)
            }

table {
    width: 100%
}

    table.table.dataTable {
        border-collapse: collapse !important;
        width: 100% !important;
        background: #fff;
        box-shadow: 1px 1px 0 0 rgba(0,0,0,.06);
        margin-bottom: 10px
    }

    table.dataTable thead th {
        padding: 5px;
        font-size: var(--app-font-sm);
        text-transform: uppercase;
        letter-spacing: .5px;
        border-bottom: none
    }

    table.dataTable tbody td {
        padding: 5px 10px;
        border-bottom: 1px solid #eee;
        font-size: var(--app-font-base)
    }

td .bg-none {
    background: transparent !important;
    margin-right: 3px;
    padding: 4px 6px;
    text-align: center;
    display: flex;
    width: 32px
}

table.dataTable tbody tr:nth-child(even) {
    background: #f9fbfd
}

table.dataTable tbody tr {
    transition: all .2s ease
}

    table.dataTable tbody tr:hover {
        background: #eef6ff
    }

.dataTables_wrapper .dataTables_paginate {
    margin-top: 10px
}

    .dataTables_wrapper .dataTables_paginate .paginate_button {
        border: none !important;
        background: #f1f3f6 !important;
        color: #333 !important;
        padding: 6px 12px;
        margin: 2px;
        border-radius: var(--app-radius-sm);
        transition: .25s
    }

        .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
            background: #4facfe !important;
            color: #fff !important
        }

        .dataTables_wrapper .dataTables_paginate .paginate_button.current {
            background: linear-gradient(135deg,#4facfe,#00f2fe) !important;
            color: #fff !important
        }

.dataTables_wrapper .dataTables_info {
    font-size: var(--app-font-sm);
    color: #666;
    margin-top: 10px
}

.dataTables_wrapper .dataTables_length select {
    border-radius: var(--app-radius-sm);
    padding: 4px 8px;
    border: 1px solid #ddd;
    outline: none
}

.dataTables_wrapper .dataTables_processing {
    background: #fff;
    border-radius: var(--app-radius-md);
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,.1)
}

table.table.dataTable.table-striped > tbody > tr:nth-of-type(2n+1) > * {
    box-shadow: inset 0 0 0 9999px rgb(55 183 255 / 7%)
}

@media(max-width:768px) {
    table.dataTable thead th, table.dataTable tbody td {
        padding: 10px;
        font-size: 12px
    }
}
/* ===== ACTION COLUMNS ===== */
td.fit {
    white-space: nowrap
}

    td.fit a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        margin-right: 6px;
        border-radius: var(--app-radius-md);
        color: #555;
        text-decoration: none;
        transition: all .25s ease;
        position: relative
    }

        td.fit a i {
            font-size: var(--app-font-base);
            transition: .2s
        }

        td.fit a:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 14px rgba(0,0,0,.12)
        }

        td.fit a[aria-label="Edit"] {
            color: #0d6efd
        }

            td.fit a[aria-label="Edit"]:hover {
                color: #fff
            }

        td.fit a[aria-label="Role"] {
            color: #ff9800
        }

            td.fit a[aria-label="Role"]:hover {
                color: #fff
            }

        td.fit a[title="Email"] {
            color: #28a745
        }

            td.fit a[title="Email"]:hover {
                color: #fff
            }

        td.fit a[aria-label="Privilege Login"] {
            color: #6f42c1
        }

            td.fit a[aria-label="Privilege Login"]:hover {
                color: #fff
            }

@media(max-width:768px) {
    td.fit a {
        width: 30px;
        height: 30px
    }
}
/* ===== CONTENT ROW ===== */
.content > .row {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    margin-top: 10px;
    background: linear-gradient(135deg,#fff7f2,#fff7f2);
    border-radius: var(--app-radius-md);
    border: 1px solid rgba(255,122,24,.08)
}

.row.main-grid, .main-grid .row {
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    border-radius: 0;
    align-items: baseline
}

.dt-info {
    font-size: var(--app-font-base);
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px
}

.dt-paging {
    display: flex;
    justify-content: flex-end
}

.pagination {
    margin: 0;
    display: flex;
    gap: 8px;
    align-items: center
}

.page-item .page-link {
    border: none;
    padding: 7px 14px;
    border-radius: 3px;
    font-size: var(--app-font-base);
    background: transparent;
    color: #495057;
    transition: all .25s ease
}

.page-item:not(.active):not(.disabled) .page-link:hover {
    background: #ffe8d9;
    color: #ff7a18;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255,122,24,.2)
}

.page-item.active .page-link {
    color: var(--app-blue)
}

.page-item.disabled .page-link {
    color: #adb5bd;
    cursor: not-allowed;
    opacity: .7
}

.page-link.first, .page-link.last, .page-link.previous, .page-link.next {
    font-size: 16px;
    padding: 6px 10px
}

.page-item .page-link:active {
    transform: scale(.95)
}

@media(max-width:768px) {
    .layout-navbar-fixed .wrapper .main-header {
        top: 5px
    }

    .dt-paging {
        justify-content: center
    }
}
/* ===== DT SEARCH ===== */
.dt-search {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 4px 8px;
    border-radius: var(--app-radius-pill);
    border: 1px solid #eee;
    box-shadow: var(--app-shadow-sm)
}

    .dt-search label {
        margin: 0;
        font-size: var(--app-font-sm);
        font-weight: 600;
        color: var(--app-muted);
        margin-right: 6px
    }

    .dt-search input {
        border: none;
        outline: none;
        font-size: var(--app-font-sm);
        padding: 4px 6px;
        min-width: 140px
    }

    .dt-search:focus-within {
        border-color: #ff7a18;
        box-shadow: 0 0 0 3px rgba(255,122,24,.15)
    }
/* ===== DT BUTTONS ===== */
.dt-buttons {
    display: flex;
    gap: 0
}

    .dt-buttons .btn {
        border: none;
        border-radius: var(--app-radius-md);
        padding: 6px 10px;
        display: flex;
        align-items: center;
        margin: 0;
        justify-content: center;
        transition: all .25s ease;
        box-shadow: 0 2px 6px rgba(0,0,0,.05)
    }

.buttons-colvis, .buttons-excel {
    color: #fff
}

.dt-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    opacity: .95
}

.dt-buttons i {
    font-size: var(--app-font-base)
}

.dt-buttons > button {
    margin-left: 0 !important
}
/* ===== DT LENGTH ===== */
.dt-length {
    display: inline-flex;
    align-items: center;
    background: #fff;
    padding: 8px 10px;
    border-radius: var(--app-radius-pill);
    border: 1px solid #eee;
    width: auto;
    margin-bottom: 10px
}

    .dt-length select {
        border: none;
        outline: none;
        background: transparent;
        font-size: var(--app-font-sm);
        font-weight: 600;
        color: #495057;
        cursor: pointer;
        padding: 2px 6px;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background-image: url("data:image/svg+xml;utf8,<svg fill='%236c757d' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5z'/></svg>");
        background-repeat: no-repeat;
        background-position: right 4px center;
        padding-right: 18px
    }

    .dt-length label {
        margin: 0;
        font-size: var(--app-font-sm);
        font-weight: 600;
        color: var(--app-muted)
    }

    .dt-length:focus-within {
        border-color: #ff7a18;
        box-shadow: 0 0 0 3px rgba(255,122,24,.15)
    }

    .dt-length:hover {
        border-color: #ffd2b3
    }

div.dt-container div.dt-length select {
    margin-right: 0
}

@media(max-width:768px) {
    .dt-length {
        justify-content: center;
        width: 100%
    }
}
/* ===== FORM GROUP ===== */
.form-group {
    position: relative;
    margin-bottom: 18px
}

    .form-group label {
        font-size: var(--app-font-sm);
        font-weight: 600;
        color: var(--app-muted);
        margin-bottom: 6px;
        display: inline-block;
        transition: var(--app-transition)
    }

    .form-group .form-select {
        width: 100%;
        padding: 8px 12px;
        font-size: var(--app-font-base);
        font-weight: 300;
        border-radius: 12px;
        border: 1px solid var(--app-border);
        background: #fff;
        color: #495057;
        transition: all .25s ease;
        box-shadow: 0 2px 8px rgba(0,0,0,.04);
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background-image: url("data:image/svg+xml;utf8,<svg fill='%236c757d' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5z'/></svg>");
        background-repeat: no-repeat;
        background-position: right 10px center;
        padding-right: 35px
    }

        .form-group .form-select:hover {
            border-color: #ffd2b3
        }

        .form-group .form-select:focus {
            border-color: #ff7a18;
            box-shadow: 0 0 0 3px rgba(255,122,24,.15);
            outline: none
        }

    .form-group:focus-within label {
        color: #ff7a18
    }

    .form-group:hover {
        transform: translateY(-1px);
        transition: .2s
    }
/* ===== MODAL ===== */
.modal-content {
    border: none;
    border-radius: var(--app-radius-lg);
    box-shadow: 0 20px 50px rgba(0,0,0,.15);
    overflow: hidden
}

.modal-header {
    background: linear-gradient(135deg,#04649a,var(--app-orange));
    color: #fff;
    border-bottom: none;
    padding: 16px 20px
}

.modal-title {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .3px;
    color: white
}

.modal-header .btn-close, .modal-header .close {
    filter: brightness(0) invert(1);
    opacity: .9
}

.modal-body {
    background: var(--primaryColor);
    padding: 20px
}

    .modal-body label {
        font-size: 12.5px;
        font-weight: 600;
        color: #04649a;
        margin-bottom: 5px
    }

    .modal-body .form-control {
        border-radius: var(--app-radius-md);
        border: 1px solid #ffd6d6;
        padding: 10px 12px;
        font-size: var(--app-font-base);
        background: #fff;
        transition: all .2s ease
    }

        .modal-body .form-control:focus {
            border-color: var(--app-orange);
            box-shadow: 0 0 0 3px rgba(245,135,51,.2)
        }

    .modal-body i {
        color: var(--app-orange)
    }

    .modal-body input[type="checkbox"]:checked {
        accent-color: var(--app-orange)
    }

.modal-footer {
    border-top: none;
    padding: 16px 20px;
    background: var(--primaryColor);
    border-top: 2px dashed gainsboro;
    justify-content: center
}

    .modal-footer .btn-primary {
        background: linear-gradient(135deg,var(--app-orange),#ff9f5a);
        border: none;
        border-radius: var(--app-radius-md);
        padding: 8px 18px;
        font-weight: 500;
        transition: .2s
    }

        .modal-footer .btn-primary:hover {
            background: linear-gradient(135deg,var(--app-orange-hover),var(--app-orange))
        }

    .modal-footer .btn-default, .modal-footer .btn-secondary {
        background: #04649a10;
        color: #04649a;
        border: none;
        border-radius: var(--app-radius-md);
        padding: 8px 18px
    }

        .modal-footer .btn-default:hover, .modal-footer .btn-secondary:hover {
            background: #04649a20
        }

.modal-body .text-danger {
    font-size: 11.5px
}

.modal.fade .modal-dialog {
    transform: translateY(25px) scale(.98);
    transition: all .25s ease
}

.modal.show .modal-dialog {
    transform: translateY(0) scale(1)
}
/* ===== TD TEXT CENTER ===== */
td.text-center:has(i[data-bs-title="Edit"]) {
    white-space: nowrap
}

td.text-center a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0 3px;
    border-radius: var(--app-radius-sm);
    transition: all .2s ease;
    text-decoration: none
}

    td.text-center a[data-id][data-bs-target]:hover {
        color: #fff
    }

    td.text-center a[style*="pointer-events: none"] {
        pointer-events: none;
        opacity: .4;
        cursor: not-allowed
    }

    td.text-center a:not([data-id]):not([data-pid]):hover {
        background: var(--app-orange);
        color: #fff
    }

td.text-center i {
    font-size: var(--app-font-sm)
}

    td.text-center i.fa {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 26px;
        height: 28px;
        border-radius: 50%;
        font-size: var(--app-font-base);
        transition: all .2s ease
    }

    td.text-center i.fa-check-circle {
        color: #22c55e
    }

        td.text-center i.fa-check-circle:hover {
            color: var(--app-orange) !important;
            transform: scale(1.1)
        }

    td.text-center i.fa-info-circle {
        color: var(--app-blue)
    }

        td.text-center i.fa-info-circle:hover {
            color: #fff !important;
            transform: scale(1.1)
        }

    td.text-center i.fa-exclamation-circle {
        color: #facc15
    }

        td.text-center i.fa-exclamation-circle:hover {
            color: #fff !important;
            transform: scale(1.1)
        }

    td.text-center i.fa-times-circle {
        color: #ef4444
    }

        td.text-center i.fa-times-circle:hover {
            color: #fff !important;
            transform: scale(1.1)
        }

    td.text-center i.fa-clock {
        background: #f5873320;
        color: var(--app-orange)
    }

        td.text-center i.fa-clock:hover {
            background: var(--app-orange);
            color: #fff !important;
            transform: scale(1.1)
        }

    td.text-center i.fa-minus-circle {
        background: #9ca3af20;
        color: #9ca3af
    }

        td.text-center i.fa-minus-circle:hover {
            background: #9ca3af;
            color: #fff !important;
            transform: scale(1.1)
        }

td.text-center a i.fa-eye:hover {
    background: var(--app-blue);
    color: #fff
}

td.text-center a i.fa-download:hover {
    background: #22c55e;
    color: #fff
}

td.text-center a i.fa-copy:hover {
    background: #6366f1;
    color: #fff
}

td.text-center a i.fa-cog:hover {
    background: #6b7280;
    color: #fff
}

td.text-center i.fa:hover {
    transform: scale(1.1)
}

td.text-center a:active {
    transform: scale(.95)
}
/* ===== CARD HEADER ===== */
.card {
    border-radius: .75rem
}

.card-header {
    border-radius: 10px 10px 0 0;
    color: var(--app-blue)
}

    .card-header .card-title {
        margin: 0;
        font-size: 15px;
        font-weight: 600
    }

    .card-header b {
        color: white
    }

    .card-header a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 2px;
        line-height: 1;
        margin-left: 6px;
        border-radius: var(--app-radius-sm);
        background: #fff;
        transition: all .2s ease;
        text-decoration: none;
    }

        .card-header a:hover {
            background: #fff;
            color: #04649a !important;
            transform: translateY(-1px)
        }

    .card-header i {
        font-size: var(--app-font-base)
    }

    .card-header > a:last-of-type {
        margin-right: 0
    }

    .card-header:has(a) {
        color: black !important
    }

    .card-header form {
        margin: 0
    }

        .card-header form .input-group {
            display: flex;
            align-items: center;
            background: #fff;
            border-radius: var(--app-radius-md);
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0,0,0,.08);
            transition: .2s ease
        }

            .card-header form .input-group:hover {
                box-shadow: 0 6px 18px rgba(0,0,0,.12)
            }

        .card-header form .btn, .card-header form .custom-file-label {
            border: none !important
        }

        .card-header form .btn {
            width: 36px;
            height: 34px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            font-size: var(--app-font-sm);
            transition: .2s ease
        }

        .card-header form .input-group-prepend .btn {
            background: var(--app-blue);
            color: #fff
        }

            .card-header form .input-group-prepend .btn:hover {
                background: #03527c
            }

        .card-header form .input-group-append .btn {
            background: var(--app-orange);
            color: #fff
        }

            .card-header form .input-group-append .btn:hover {
                background: var(--app-orange-hover)
            }

        .card-header form .custom-file {
            display: flex;
            align-items: center
        }

        .card-header form .custom-file-input {
            cursor: pointer
        }

        .card-header form .custom-file-label {
            display: flex;
            align-items: center;
            padding: 7px 10px;
            font-size: var(--app-font-sm);
            color: #6b7280;
            height: auto;
            background: #fff
        }

            .card-header form .custom-file-label::after {
                background: #f3f4f6;
                border-left: 1px solid var(--app-border);
                color: #374151
            }
/* ===== BUTTONS ===== */
.btn {
    background-color: var(--primary) !important;
    border: 1px solid var(--primary) !important;
    color: #fff !important;
    border-radius: 6px
}

    .btn:hover {
        background-color: var(--secondary) !important;
        border-color: var(--secondary) !important;
        color: #fff !important
    }

    .btn:active {
        transform: scale(.97)
    }

    .btn:disabled, button:disabled {
        opacity: .6;
        cursor: not-allowed
    }

.btn-primary, .btn-secondary, .btn-success, .btn-danger, .btn-warning, .btn-info, .btn-light, .btn-dark, .btn-link, [class*="btn-outline"] {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important
}

.btn-sm {
    padding: 6px 14px;
    font-size: var(--app-font-base)
}

.btn-lg {
    padding: 12px 26px;
    font-size: 18px
}

.btn-group .btn {
    border-radius: 15px;
    background: none !important;
    color: var(--app-blue) !important
}

.btn-group {
    gap: 2px
}

.border-primary {
    border-color: #dee2e6 !important
}

span.growth i::before {
    color: var(--app-orange)
}

.btn-primary {
    color: #fff;
    background-color: var(--app-orange);
    border-color: #fe6002;
    box-shadow: none
}

.fa-plus-square {
    color: var(--app-orange)
}
/* ===== CUSTOM SWITCH ===== */
.custom-switch .custom-control-label::before {
    background: rgba(0,123,255,.25);
    border: none;
    border-radius: 50px;
    transition: all .25s ease
}

.custom-switch .custom-control-label::after {
    background: #fff;
    border: none;
    box-shadow: 0 3px 8px rgba(0,0,0,.3);
    transition: all .25s cubic-bezier(.4,0,.2,1)
}

.custom-switch .custom-control-input:checked ~ .custom-control-label::before {
    background: linear-gradient(135deg,var(--app-orange),#ff6b00)
}

.custom-switch .custom-control-input:checked ~ .custom-control-label::after {
    box-shadow: 0 3px 12px rgba(255,77,0,.6)
}

.custom-switch .custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 3px rgba(255,77,0,.25)
}

.custom-switch .custom-control-label:hover::before {
    box-shadow: 0 0 0 5px rgba(255,77,0,.2)
}
/* ===== FORM CONTROL ===== */
.form-control {
    border-radius: var(--app-radius-sm);
    transition: .3s
}

    .form-control:focus {
        border-color: #0797d7;
        box-shadow: 0 0 10px rgba(7,151,215,.3)
    }

.dataTable .form-control {
    border: 1px solid #3e83aa
}

.form-check.form-switch {
    display: flex;
    justify-content: center;
    align-items: center
}

.form-check-input {
    cursor: pointer
}

    .form-check-input:checked {
        background-color: var(--app-blue);
        border-color: var(--app-blue)
    }
/* ===== DATE RANGE PICKER ===== */
.daterangepicker {
    border: none;
    border-radius: var(--app-radius-lg);
    padding: 12px;
    background: rgba(255,255,255,.7);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,.15)
}

    .daterangepicker .calendar-table {
        background: transparent;
        border: none
    }

    .daterangepicker td, .daterangepicker th {
        border-radius: var(--app-radius-sm);
        transition: .2s ease
    }

        .daterangepicker td.available:hover {
            background: rgba(255,109,0,.15);
            color: #ff6d00
        }

        .daterangepicker td.off {
            opacity: .4
        }

        .daterangepicker td.active, .daterangepicker td.active:hover {
            background: linear-gradient(135deg,#ff6d00,#ff9442);
            color: #fff;
            box-shadow: 0 4px 12px rgba(255,109,0,.4)
        }

        .daterangepicker td.in-range {
            background: rgba(255,109,0,.12);
            color: #ff6d00
        }

    .daterangepicker .month {
        font-weight: 600;
        color: #333
    }

    .daterangepicker th.available:hover {
        background: rgba(255,109,0,.15);
        color: #ff6d00
    }

    .daterangepicker .drp-buttons {
        border-top: none;
        padding-top: 10px
    }

    .daterangepicker .applyBtn {
        background: linear-gradient(135deg,#ff6d00,#ff9442);
        border: none;
        border-radius: var(--app-radius-sm);
        padding: 5px 14px
    }

    .daterangepicker .cancelBtn {
        border-radius: var(--app-radius-sm);
        padding: 5px 14px
    }

    .daterangepicker .drp-selected {
        font-weight: 500;
        color: #555
    }
/* ===== DASHBOARD CARDS ===== */
.dashboard-card {
    border: 0;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(145deg,#fff,#f7fbff);
    box-shadow: var(--app-shadow-md);
    transition: all .35s ease;
    height: 100%;
    position: relative
}

    .dashboard-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 50px rgba(15,23,42,.14)
    }

    .dashboard-card .card-body {
        position: relative;
        display: flex;
        align-items: center;
        padding: 24px;
        text-decoration: none;
        z-index: 2
    }

    .dashboard-card::before {
        content: "";
        position: absolute;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        background: rgba(3,99,153,.05);
        top: -120px;
        right: -70px
    }

.card.dashboard-card .icon-box {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,var(--app-blue),var(--app-lighter-blue));
    box-shadow: -3px 3px 0 1px rgba(3,99,153,.25)
}

    .card.dashboard-card .icon-box i {
        font-size: 30px;
        color: var(--app-blue) !important
    }

.incard {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

    .incard > div:first-child {
        display: flex;
        flex-direction: column;
        justify-content: center
    }

.dashboard-card .label {
    margin: 0 0 8px;
    font-size: var(--app-font-base);
    font-weight: 600;
    color: #64748b;
    line-height: 1.2
}

.dashboard-card .value {
    margin: 0;
    font-size: 40px;
    font-weight: 400;
    line-height: 1;
    color: #0f172a;
    text-align: center
}

.dashboard-card .growth {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px
}

.dashboard-card .badge-top {
    position: absolute;
    top: 7px;
    right: 8px;
    width: 21px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,var(--app-blue),var(--app-lighter-blue)) !important;
    box-shadow: 0 8px 18px rgba(3,99,153,.25);
    z-index: 3
}

    .dashboard-card .badge-top i {
        color: #fff;
        font-size: 15px
    }

.icon-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 20px;
    background: aliceblue !important
}

.label {
    font-size: 12px;
    color: var(--app-muted);
    text-transform: uppercase;
    margin-bottom: 2px
}

.value {
    font-weight: 700;
    margin: 0
}

.growth {
    font-size: 12px
}

.badge-top {
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: .8;
    background-color: #f587333 !important
}

@media(max-width:576px) {
    .dashboard-card .card-body {
        align-items: flex-start
    }

    .incard {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 14px
    }

    .dashboard-card .value {
        font-size: 38px
    }
}
/* ===== REPORT CARDS ===== */
.report-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: .3s;
    background: #fff
}

    .report-card:hover {
        box-shadow: 0 5px 18px rgba(0,0,0,.06);
        transform: translateY(-3px)
    }

    .report-card .icon-box {
        width: 45px;
        height: 45px;
        color: #fff
    }

    .report-card h6 {
        margin: 0;
        font-size: var(--app-font-base)
    }

    .report-card small {
        display: block;
        font-size: 11px;
        color: #999
    }

    .report-card h5 {
        margin: 5px 0;
        font-weight: 700
    }

.main-grid {
    padding: 10px;
    align-content: stretch
}
/* ===== TIMELINE WIDGET ===== */
.timeline-widget {
    position: relative;
    padding-left: 15px
}

.timeline-track {
    position: relative
}

.timeline-widget::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 0;
    width: 3px;
    height: 100%;
    background: #e5e7eb;
    border-radius: 10px
}

.tw-item {
    position: relative;
    margin-bottom: 22px
}

.tw-dot {
    position: absolute;
    left: -2px;
    top: 10px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #999;
    border: 3px solid #fff;
    box-shadow: 0 0 0 4px rgba(0,0,0,.03)
}

.tw-card {
    margin-left: 35px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--app-bg-light);
    transition: all .25s ease
}

    .tw-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0,0,0,.08)
    }

    .tw-card h6 {
        margin: 0;
        font-weight: 600;
        font-size: 15px
    }

    .tw-card p {
        margin: 1px 0 0;
        font-size: 11px;
        color: var(--app-muted);
        line-height: 1.2
    }

.success .tw-card {
    color: #1e7e34
}

.success .tw-dot {
    background: #28a745
}

.danger .tw-card {
    color: #842029
}

.danger .tw-dot {
    background: #dc3545
}

.primary .tw-card {
    color: #0d47a1
}

.primary .tw-dot {
    background: #0d6efd
}

.purple .tw-card {
    color: #6f42c1
}

.purple .tw-dot {
    background: #6f42c1
}
/* ===== CUSTOM BOX / NOTICE / EVENTS ===== */
.custom-box {
    border-radius: var(--app-radius-md);
    padding: 10px;
    background: #fff;
    box-shadow: 0 0 1px rgba(0,0,0,.125),0 1px 3px rgba(0,0,0,.2)
}

.box-title {
    font-weight: 600;
    color: var(--app-blue);
    margin-bottom: 15px
}

.notice-ul {
    list-style: none;
    padding: 0;
    margin: 0
}

    .notice-ul li {
        padding: 15px 10px;
        font-size: var(--app-font-base);
        display: flex;
        align-items: center
    }

ul.notice-ul li + li {
    border-top: 1px dashed #bcbcbc
}

.tag-new {
    background: var(--app-orange);
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-right: 8px;
    text-transform: lowercase
}

.event-item {
    display: flex;
    border: 1px solid #ddd;
    border-radius: var(--app-radius-md);
    margin-bottom: 10px;
    overflow: hidden
}

.event-date {
    width: 90px;
    text-align: center
}

.date-top {
    background: #fff;
    border: 1px solid var(--app-blue);
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    padding: 5px;
    font-weight: 600
}

    .date-top span {
        font-size: 12px
    }

.date-bottom {
    background: linear-gradient(135deg,var(--app-dark-blue),#0797d7);
    color: #fff;
    padding: 6px;
    font-size: 12px;
    border-radius: 0 0 10px 10px
}

.event-content {
    padding: 5px 16px;
    width: 100%
}

    .event-content h6 {
        margin: 0;
        font-weight: 600
    }

.meta {
    font-size: var(--app-font-sm);
    color: var(--app-blue)
}

    .meta span {
        margin-right: 10px
    }

.event-content p {
    margin: 5px 0 0;
    font-size: var(--app-font-sm)
}

.auto-scroll {
    height: 250px;
    overflow-y: auto
}
/* ===== LOGIN PAGE ===== */
.login-bg {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,#00a3ff,#000);
    position: relative;
    overflow: hidden
}

    .login-bg::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: url('../img/mumbg.jpg') center/cover no-repeat;
        opacity: .25;
        z-index: 0
    }

    .login-bg::after {
        content: '';
        position: absolute;
        right: 0;
        bottom: 0;
        width: 460px;
        height: 460px;
        background: linear-gradient(135deg,#00000045,#ff6e008a);
        clip-path: polygon(100% 0,100% 13%,100% 35%,100% 70%,101% 100%,68% 100%,0 100%,22% 93%,93% 93%,94% 13%);
        z-index: 1;
        box-shadow: inset -20px -20px 60px rgba(0,0,0,.2),0 20px 60px rgba(0,0,0,.3)
    }

    .login-bg .bottom-strip {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 10px;
        background: linear-gradient(90deg,var(--app-orange) 22%,var(--app-blue) 22%);
        z-index: 2
    }

        .login-bg .bottom-strip::before {
            position: absolute;
            left: -23px;
            background: var(--app-orange);
            content: '';
            height: 17px;
            width: 34%;
            transform: skewX(-40deg)
        }

.auth-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 3;
    position: relative
}

.login-bg .card {
    border-radius: 10px 7px 108px 10px !important;
    box-shadow: 0 30px 80px rgba(0,0,0,.35);
    border: none;
    overflow: hidden;
    position: relative;
    animation: fadeUp .8s ease;
    background: #ffffff14;
    backdrop-filter: blur(7px)
}

    .login-bg .card::before {
        content: '';
        position: absolute;
        top: 0;
        left: -24px;
        height: 7px;
        width: 75%;
        background: var(--app-orange);
        z-index: 1;
        transform: skewX(-42deg)
    }

.login-logo img {
    margin-top: 16px
}

.login-bg .card-header {
    background: none;
    border: none;
    font-weight: 300;
    font-size: 17px;
    color: #fff;
    padding: 0;
    border-bottom: 1px solid;
    width: auto;
    margin: auto
}

.login-bg .information, .login-bg p {
    color: white
}

.login-card-body {
    padding-bottom: 40px;
    padding-left: 7%;
    padding-right: 15%
}

    .login-card-body a {
        color: #fff;
        line-height: 1;
        text-decoration: underline
    }

    .login-card-body .form-group label {
        color: var(--primary);
        border-left: 2px solid #fff;
        line-height: 1;
        padding-left: 7px
    }

    .login-card-body .form-group {
        margin-bottom: 0
    }

.auth-wrapper .text-danger {
    color: #dc3545 !important;
    padding: 0 6px;
    border-radius: 100px
}

@media(max-width:768px) {
    .login-bg::after {
        width: 260px;
        height: 260px;
        right: -80px;
        bottom: -80px
    }

    .login-bg .card {
        border-radius: 0 0 90px 0 !important
    }

    nav.main-header {
        border-bottom: 2px solid var(--app-orange-alt);
        border-right: 2px solid var(--app-orange-alt)
    }

    .cntrl {
        flex-wrap: wrap;
        display: flex
    }

        .cntrl a {
            margin: 0 !important
        }

    .tree li a i {
        padding: 3px;
        width: 23px;
        height: 23px;
        font-size: 11px
    }

    .tree li {
        font-weight: 400
    }
}
/* ===== ALERTS / BADGES ===== */
.alert {
    background: var(--app-blue)
}

body .badge {
    background-color: var(--app-orange) !important;
    color: white !important
}
/* ===== EMPLOYEE REPORT ===== */
.emp-report thead th {
    background: linear-gradient(45deg,#13547f,#0794d3);
    color: #fff;
    border: 1px solid #0b3c5d;
    padding: 14px;
    font-size: 18px;
    text-align: center;
    letter-spacing: .5px
}

.emp-report td:first-child {
    font-weight: 600
}

.emp-report td {
    border: 1px solid #dbe5ec;
    padding: 13.7px 15px;
    font-size: var(--app-font-base)
}

.emp-report tr:last-child td:last-child {
    border-bottom-right-radius: 26px;
    border: none
}

.emp-report tr:last-child td:first-child {
    border-bottom-left-radius: 26px;
    border-bottom: none;
    border-left: none
}

.mainPage .card .card-body {
    max-height: 380px;
    overflow-y: auto;
    height: 100%;
    min-height: 347px
}
/* ===== COMMON INFO ===== */
div#commonInfo {
    margin-left: auto;
    width: max-content;
    display: flex;
    gap: 11px
}

    div#commonInfo .text-muted {
        color: #0f6191 !important;
        font-size: var(--app-font-sm)
    }

    div#commonInfo > div {
        padding: 4px 12px;
        background: #fff;
        border-radius: var(--app-radius-md);
        display: flex;
        line-height: 1;
        align-items: anchor-center;
        gap: 10px
    }
/* ===== KPI ROWS ===== */
.kpi-row {
    padding: 10px;
    border: 1px solid #e6e6e6;
    border-radius: var(--app-radius-md);
    background: #fafafa;
    transition: all .25s ease
}

    .kpi-row:hover {
        background: #f4f9ff;
        border-color: var(--primary)
    }

    .kpi-row .form-label {
        font-size: var(--app-font-sm);
        font-weight: 600;
        margin-bottom: 4px;
        color: #444
    }

    .kpi-row .form-control {
        font-size: var(--app-font-base);
        border-radius: 6px;
        border: 1px solid #dcdcdc;
        padding: 6px 10px;
        transition: all .2s ease
    }

        .kpi-row .form-control:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 .15rem rgba(4,100,153,.15)
        }

.serial-no {
    background: #e9f3f9;
    color: var(--primary);
    font-weight: 700;
    text-align: center;
    pointer-events: none
}

.remove-btn {
    border-radius: 6px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease
}

    .remove-btn:hover {
        background: #dc3545;
        color: #fff;
        border-color: #dc3545
    }

#addGoalBtn {
    border-radius: 6px;
    padding: 6px 12px;
    transition: all .2s ease
}

    #addGoalBtn:hover {
        background: var(--primary);
        border-color: var(--primary);
        color: #fff
    }

#activeKpiCounter {
    font-size: var(--app-font-sm);
    padding: 6px 10px;
    border-radius: 6px
}

.text-danger {
    font-size: 12px
}

@media(max-width:768px) {
    .kpi-row {
        padding: 10px
    }

    .remove-btn {
        width: 34px;
        height: 34px
    }

    #addGoalBtn, #activeKpiCounter {
        width: 100%;
        text-align: center
    }
}
/* ===== GRID TABLE ===== */
.gridtable .row {
    align-items: stretch;
    border-radius: var(--app-radius-lg);
    transition: .3s ease
}

    .gridtable .row > div {
        display: flex;
        flex-direction: column;
        justify-content: flex-start
    }

.gridtable .col-1 {
    flex: 0 0 70px;
    max-width: 70px;
    text-align: center;
    align-items: center
}

.gridtable .col-md-2 {
    flex: 0 0 240px;
    max-width: 240px
}

.gridtable .col-md-9 {
    flex: 1;
    max-width: 100%
}

.gridtable .form-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--app-muted);
    margin-bottom: 8px
}

.gridtable p {
    margin: 0;
    color: var(--app-text)
}

.gridtable hr {
    margin: 0;
    opacity: .08
}

.gridtable .text-justify {
    word-break: break-word
}

.card-body.gridtable {
    padding: 15px 6px
}

.col-lg-1.srnm {
    max-width: 57px
}

.rediobtn {
    max-width: 90px;
    text-align: center;
    display: flex;
    justify-content: center;
    width: 100%
}

@media(max-width:991px) {
    .gridtable .row {
        flex-direction: column;
        gap: 14px;
        padding: 18px 0
    }

    .gridtable .col-1, .gridtable .col-md-2, .gridtable .col-md-9 {
        flex: 100%;
        max-width: 100%;
        width: 100%;
        text-align: left;
        align-items: flex-start
    }
}
/* ===== OTHER TABLE ===== */
.othertable {
    --primary: #036399;
    --primary-light: #edf4ff;
    --border: #e3eefb;
    --text: #1f2937;
    --muted: #6b7280;
    --success: #1f9d55;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0
}

    .othertable thead th {
        background: var(--app-blue);
        color: #fff;
        font-weight: 600;
        padding: 14px 12px;
        border: none;
        text-align: left;
        vertical-align: middle;
        white-space: nowrap
    }

    .othertable tbody td {
        padding: 14px 12px;
        border-bottom: 1px solid var(--border);
        border-right: 1px solid #eef3f9;
        vertical-align: top;
        background: #fff;
        transition: .2s ease
    }

    .othertable tbody tr:last-child td {
        border-bottom: none
    }

    .othertable tbody td:last-child, .othertable thead th:last-child {
        border-right: none
    }

    .othertable tbody tr:nth-child(even) td {
        background: #fafcff
    }

    .othertable tbody tr:hover td {
        background: var(--primary-light)
    }

    .othertable .text-center {
        text-align: center
    }

    .othertable .kpi-title, .othertable .comp-title {
        font-weight: 700;
        font-size: var(--app-font-base);
        margin-bottom: 6px;
        color: var(--primary)
    }

    .othertable .kpi-desc, .othertable .comp-desc {
        color: var(--muted);
        line-height: 1.6;
        font-size: var(--app-font-sm)
    }

    .othertable .remark-box {
        background: #f8fbff;
        border: 1px solid #e1ebf7;
        border-radius: var(--app-radius-md);
        padding: 10px;
        line-height: 1.5;
        color: #374151;
        min-height: 70px
    }

    .othertable .rating-box, .othertable .marks-box {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(12,77,162,.08);
        color: var(--primary);
        border-radius: var(--app-radius-pill);
        padding: 6px 14px;
        font-size: var(--app-font-sm);
        margin-bottom: 10px
    }

    .othertable strong {
        color: var(--primary)
    }

    .othertable .text-na {
        color: #9ca3af;
        font-style: italic
    }

    .othertable th {
        font-weight: 600
    }

@media(max-width:991px) {
    .othertable {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        border-radius: 12px
    }

        .othertable tbody td {
            min-width: 180px
        }
}
/* ===== NAV TABS ===== */
.nav-tabs i {
    color: var(--app-blue);
    font-size: 18px;
    transition: all .35s ease
}

.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
    border-radius: 25px 25px 0 0
}
/* ===== DATA TABLE #tblDataTable ===== */
.table-responsive {
    overflow-x: auto;
    border-radius: 16px
}

#tblDataTable {
    width: 100% !important;
    margin: 0 !important;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid #e8edf5;
    overflow: hidden
}

    #tblDataTable tbody td {
        vertical-align: middle;
        border-color: #eef2f7 !important;
        font-size: var(--app-font-base);
        color: #334155
    }

    #tblDataTable tbody tr.batch-header td {
        background: #f8fbff;
        font-weight: 600;
        border-top: 1px solid #e2e8f0 !important;
        padding: 6px 12px;
        border-bottom: 1px solid #e2e8f0 !important
    }

    #tblDataTable tbody tr.batch-header:hover td {
        background: #eff6ff
    }

    #tblDataTable tbody tr.child-row td {
        background: #fff
    }

        #tblDataTable tbody tr.child-row td:first-child {
            padding-left: 32px !important;
            font-weight: 500
        }

    #tblDataTable tbody tr:last-child td {
        border-bottom: none !important
    }

    #tblDataTable .badge {
        border-radius: var(--app-radius-pill);
        padding: 7px 12px;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: .3px
    }

    #tblDataTable .bg-success {
        background: rgba(16,185,129,.12) !important;
        color: #059669 !important
    }

    #tblDataTable .bg-danger {
        background: rgba(239,68,68,.12) !important;
        color: #dc2626 !important
    }

    #tblDataTable .text-danger {
        color: var(--app-blue) !important
    }

    #tblDataTable small {
        font-size: 12px;
        color: #64748b !important
    }

    #tblDataTable tbody tr {
        transition: .2s ease
    }

        #tblDataTable tbody tr:hover td {
            background: var(--app-bg-card)
        }

#tblDataTable_wrapper .pagination {
    gap: 6px;
    margin: 12px 0 0;
    justify-content: end
}

th:empty, #tblDataTable thead th:empty {
    display: none
}

.text-success, td .text-dark {
    color: var(--app-blue) !important
}
/* ===== BLOB ===== */
.blob {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 650px;
    height: 650px;
    border-radius: 100%;
    background-image: linear-gradient(#ffb5b5 10%,#ff6e00);
    filter: blur(250px);
    transition: all 450ms ease-out;
    position: fixed;
    pointer-events: none;
    left: 0;
    top: 0;
    transform: translate(calc(-50% + 15px),-50%);
    z-index: -1
}
/* ===== TABS (>=1520px) ===== */
@media(min-width:1520px) {
    ul#bordered-tabs-content .tab-pane > .card-body {
        display: flex
    }

    div#tabs {
        display: flex
    }

        div#tabs .tab-content {
            width: 100%;
            padding: 0
        }

        div#tabs > .nav-tabs {
            display: flex;
            flex-direction: column;
            box-shadow: 0 0 1px 2px #5858581c;
            position: sticky;
            top: 32px;
            height: auto;
            max-height: fit-content;
            border-radius: 25px
        }

            div#tabs > .nav-tabs > li {
                display: flex;
                align-items: center;
                justify-content: start;
                gap: 2px
            }

    div#tabs {
        gap: 10px
    }

        div#tabs > .nav-tabs > li button {
            width: 100%
        }

    #tabs {
        background: #fff;
        border-radius: 24px;
        padding: 24px;
        box-shadow: 0 12px 40px rgba(15,23,42,.06);
        border: 1px solid #edf1f7
    }

        #tabs .nav-tabs {
            border: 0;
            display: flex;
            flex-direction: column;
            gap: 14px;
            padding: 10px
        }

        #tabs .nav-item {
            width: 100%
        }

        #tabs .nav-link {
            width: 100%;
            border: 0 !important;
            border-radius: 18px;
            color: #1e293b;
            padding: 8px !important;
            display: flex;
            align-items: center;
            gap: 14px;
            transition: all .35s ease;
            position: relative;
            overflow: hidden;
            font-size: var(--app-font-sm)
        }

            #tabs .nav-link i {
                color: var(--app-blue);
                font-size: 18px;
                transition: all .35s ease
            }

            #tabs .nav-link:hover {
                background: #eef4ff;
                transform: translateX(6px);
                color: #2563eb;
                box-shadow: 0 8px 20px rgba(37,99,235,.08)
            }

            #tabs .nav-link.active {
                box-shadow: inset 0 0 12px 1px rgba(37,99,235,.22)
            }
}
/* ===== PAGE LOADER ===== */
#pageLoader {
    position: fixed;
    inset: 0;
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: .4s;
    background: linear-gradient(90deg,rgb(196 38 0 / 20%) 0%,rgb(3 99 153 / 59%) 100%)
}

    #pageLoader.hide {
        opacity: 0;
        visibility: hidden
    }

    #pageLoader::before {
        content: "";
        width: 50px;
        height: 50px;
        border: 5px solid var(--app-blue);
        border-top-color: var(--app-orange);
        border-radius: 50%;
        animation: loaderSpin .8s linear infinite
    }

/* Custom File Input Styling */
.Attachment {
    padding: 0px;
    color: var(--thirdColor);
}

    .Attachment:hover {
        background-color: var(--thirdColor);
        border-color: var(--thirdColor);
    }

    .Attachment:focus {
        outline: none;
        box-shadow: 0 0 0 4px rgba(41, 87, 164, 0.15);
    }

    /* File button */
    .Attachment::file-selector-button {
        background: #036399;
        color: #fff;
        border: none;
        padding: 8px 14px;
        border-radius: 6px;
        margin-right: 12px;
        cursor: pointer;
        transition: 0.3s ease;
        font-weight: 500;
    }

.form-group:focus-within label {
    color: #0086d2;
}



.login-card-body {
    width: 100%;
    margin: auto;
    padding: 10px 20px;
    box-shadow: 0 20px 45px rgba(41,87,164,0.12);
}

    .login-card-body .form-group {
        margin-bottom: 22px;
    }

    .login-card-body .col-form-label {
        font-size: 14px;
        font-weight: 600;
        color: #2957a4;
        margin-bottom: 8px;
    }

    .login-card-body .input-group {
        border-radius: 14px;
        overflow: hidden;
        border: 1px solid #d9e3f3;
        transition: all .3s ease;
        background: #fff;
    }

        .login-card-body .input-group:focus-within {
            border-color: #2957a4;
            box-shadow: 0 0 0 4px rgba(41,87,164,0.12);
        }

    .login-card-body .form-control {
        height: 52px;
        border: none;
        box-shadow: none !important;
        padding: 12px 16px;
        font-size: 15px;
        background: transparent;
    }

        .login-card-body .form-control::placeholder {
            color: #9aa7bd;
        }

    .login-card-body .input-group-text {
        height: 52px;
        border: none;
        background: #2957a4;
        color: #fff;
        padding: 0 18px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .login-card-body .custom-control-label {
        font-size: 14px;
        color: #5b6475;
        cursor: pointer;
    }

    .login-card-body #img-captcha {
        height: 52px;
        border-radius: 10px 0 0 10px;
        object-fit: cover;
    }

    .login-card-body #captchaRefresh {
        cursor: pointer;
        transition: .3s ease;
    }

        .login-card-body #captchaRefresh:hover {
            transform: rotate(180deg);
        }

    .login-card-body .btn-primary {
        height: 54px;
        border: none;
        border-radius: 14px;
        background: linear-gradient(135deg,#2957a4,#4d7ed1);
        font-size: 16px;
        font-weight: 600;
        letter-spacing: .5px;
        transition: all .3s ease;
        box-shadow: 0 12px 25px rgba(41,87,164,0.25);
    }

        .login-card-body .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 18px 30px rgba(41,87,164,0.32);
        }

    .login-card-body a {
        color: #2957a4;
        font-size: 14px;
        font-weight: 500;
        text-decoration: none;
        transition: .3s ease;
    }

        .login-card-body a:hover {
            color: #1e4382;
            text-decoration: underline;
        }

    .login-card-body .text-danger {
        font-size: 12px;
        margin-top: 6px;
        display: block;
    }

div.dataTables_wrapper div.dataTables_length select {
    min-width: 50px;
    width: 54px;
}

.main-footer a {
    color: #edf6ff;
}

.badge-soft {
    display: inline-block;
    padding: .4em .85em;
    font-size: .78rem;
    font-weight: 600;
    line-height: 1;
    border-radius: 50rem;
    border: 1px solid transparent;
    white-space: nowrap;
}

    .badge-soft.green {
        background: #d7ecd9;
        color: #2e6b3e;
        border-color: #bfe0c4;
    }

    .badge-soft.blue {
        background: #dbe8fc;
        color: #2f5fb0;
        border-color: #c3d7f7;
    }

    .badge-soft.red {
        background: #f8dadd;
        color: #b23a48;
        border-color: #f3c2c7;
    }

    .badge-soft.yellow {
        background: #DEDEDE;
        color: #F3AD25;
        border-color: #f3c2c7;
    }

    .badge-soft.whitecream {
        background: #C9BAAB;
        color: #564843;
        border-color: #f3c2c7;
    }
    .badge-soft.darkblack {
        background: #BABABA;
        color: #000000;
        border-color: #f3c2c7;
    }