:root {
    --primary: #00aeee;
    --secondary: #006382;
    --white: #e6e6e6;
    --black: #002d3b;
    --primary-transparent: #00aeee4d;
    --container-bg: #ffffff77;
    --container-border: #ffffff;
    --green: green;
    --green-transparent: hsla(142, 77%, 49%, 0.587);
    --orange: orange;
    --orange-transparent: rgba(255, 166, 0, 0.23);
    --red: red;
    --red-transparent: rgba(255, 0, 0, 0.23);
}

.btn-outline-primary {
    --bs-btn-color: var(--primary);
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-color: var(--white);
    --bs-btn-hover-bg: var(--primary);
    --bs-btn-hover-border-color: var(--primary);
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: var(--white);
    --bs-btn-active-bg: var(--primary);
    --bs-btn-active-border-color: var(--primary);
    --bs-btn-disabled-color: var(--primary);
    --bs-btn-disabled-border-color: var(--primary);
}


body {
    background-color: var(--white);
    color: var(--black);
}

/* LOGIN START */
.login-wrapper * {
    box-sizing: border-box;
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow: hidden;
    position: relative;
    background:
        radial-gradient(circle at top left, var(--primary-transparent), transparent 35%),
        radial-gradient(circle at bottom right, rgba(0, 99, 130, 0.35), transparent 35%),
        #03161d;
}

.login-wrapper .login-card {
    width: 100%;
    max-width: 420px;
    padding: 40px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.35),
        0 0 25px var(--primary-transparent);
}

.login-wrapper .logo {
    text-align: center;
    margin-bottom: 35px;
}

.login-wrapper .logo img {
    height: 55px;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px var(--primary-transparent));
}

.login-wrapper .logo h2 {
    color: var(--white);
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.login-wrapper .logo p {
    color: #b7c1c4;
    font-size: 14px;
    margin-top: 8px;
}

.login-wrapper .form-label {
    color: var(--white);
    font-size: 14px;
    margin-bottom: 8px;
}

.login-wrapper .form-control {
    height: 54px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    padding: 12px 16px;
    transition: .3s;
}

.login-wrapper .form-control::placeholder {
    color: #9aa7ab;
}

.login-wrapper .form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 0 0 4px var(--primary-transparent);
}

.login-wrapper .btn-login {
    width: 100%;
    height: 54px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    transition: .3s;
    /* box-shadow: 0 8px 20px var(--primary-transparent); */
}

.login-wrapper .btn-login:hover {
    transform: translateY(-2px);
    opacity: .96;
}

.login-wrapper .forgot-link {
    color: #b7c1c4;
    text-decoration: none;
    font-size: 13px;
    transition: .3s;
}

.login-wrapper .forgot-link:hover {
    color: var(--primary);
}

.login-wrapper .copyright {
    text-align: center;
    margin-top: 28px;
    color: #8ca0a7;
    font-size: 12px;
}

@media(max-width:576px) {
    .login-wrapper .login-card {
        padding: 30px 24px;
        border-radius: 20px;
    }

    .login-wrapper .logo img {
        height: 48px;
    }
}

/* LOGIN END */

/* SIDEBAR */
/* SIDEBAR */
.sidebar {
    width: 260px;
    height: 100vh;
    background: var(--black);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 16px 16px 16px;
    transition: all 0.3s ease;
}

/* DESKTOP HIDE */
.sidebar.collapsed {
    width: 0;
    padding: 0;
    overflow: hidden;
}

/* CONTENT */
.content {
    margin-left: 260px;
    transition: all 0.3s ease;
}

/* CONTENT FULL */
.content.expanded {
    margin-left: 0;
}

/* MOBILE */
@media (max-width: 767px) {

    .sidebar {
        transform: translateX(-100%);
        width: 260px;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .sidebar.collapsed {
        width: 260px;
        padding: 0 16px 16px 16px;
    }

    .content {
        margin-left: 0;
    }
}

/* OVERLAY */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1030;
    display: none;
}

.sidebar-overlay.active {
    display: block;
}

.topbar-brand {
    height: 70px;
    border-bottom: 1px solid var(--secondary);
}

/* LOGO */
.logo-box {
    width: 40px;
    height: 40px;
    background: var(--black);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 5px;
}

.logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#closeSidebar:hover {
    color: var(--primary);
}

/* MENU */
.menu-scroll {
    max-height: calc(100vh - 150px);
    overflow-y: auto;
}

/* Hide scrollbar for Chrome, Edge, Safari */
.menu-scroll::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for Firefox */
.menu-scroll {
    scrollbar-width: none;
}

/* Hide scrollbar for IE/Edge (old) */
.menu-scroll {
    -ms-overflow-style: none;
}

.menu-title {
    font-size: 12px;
    color: var(--primary);
    margin: 15px 0 8px;
}

.menu-title i {
    transition: transform 0.3s ease;
}

.menu-title[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    margin: 2px 0 2px 0;
}

.menu-item:hover {
    background: var(--primary-transparent);
    color: var(--white);
}

.menu-item.active {
    background: var(--primary);
    color: var(--black);
    font-weight: bold;
}

/* PROFILE */
.profile-box {
    border-top: 1px solid var(--secondary);
    padding-top: 10px;
}

.avatar {
    width: 35px;
    height: 35px;
    background: var(--primary);
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* TOPBAR */
.topbar {
    height: 70px;
    background: var(--black);
    border-bottom: 1px solid var(--secondary);
}

.search-box {
    background: #020617;
    border: 1px solid var(--black);
    color: white;
}

.btn-green {
    background: var(--primary);
    color: white;
}


/*  SHOW TOAST START*/
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    position: relative;
    min-width: 280px;
    border-radius: 10px;
    padding: 12px 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;

    transform: translateX(120%);
    opacity: 0;
    transition: all 0.4s ease;
}

/* SHOW */
.toast.show {
    transform: translateX(0);
    opacity: 1;
}

/* CONTENT */
.toast-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ICON BASE */
.toast-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
}

/* MESSAGE */
.toast-message {
    font-size: 14px;
    font-weight: 500;
}

/* ===== TYPES ===== */

/* SUCCESS */
.toast.success {
    background: #e6f4ea;
    color: #1e7e34;
}

.toast.success .toast-icon {
    background: #28a745;
    color: #fff;
}

.toast.success .toast-progress {
    background: #28a745;
}

/* ERROR */
.toast.error {
    background: #fdecea;
    color: #a71d2a;
}

.toast.error .toast-icon {
    background: #dc3545;
    color: #fff;
}

.toast.error .toast-progress {
    background: #dc3545;
}

/* WARNING */
.toast.warning {
    background: #fff3cd;
    color: #856404;
}

.toast.warning .toast-icon {
    background: #ffc107;
    color: #000;
}

.toast.warning .toast-progress {
    background: #ffc107;
}

/* INFO */
.toast.info {
    background: #e7f3ff;
    color: #0a58ca;
}

.toast.info .toast-icon {
    background: #0dcaf0;
    color: #000;
}

.toast.info .toast-progress {
    background: #0dcaf0;
}

/* ===== PROGRESS BAR ===== */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    animation: progress 3s linear forwards;
}

/* ANIMATION */
@keyframes progress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

/*  SHOW TOAST END*/


/* Components Start */
.box-container {
    background: var(--container-bg);
    border: 2px solid var(--container-border);
    border-radius: 12px;
    padding: 16px;
}

.card-box {
    border-radius: 12px;
}

.card-header-custom {
    border-bottom: 1px solid var(--black);
    padding-bottom: 8px;
    color: var(--secondary);
}

.card-body-custom {
    padding-top: 8px;
}

/* Components End */

/* Dashboard Start */
.stat-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-title {
    font-size: 16px;
    color: var(--secondary);
}

.stat-value {
    font-size: 22px;
    font-weight: bold;
    color: var(--secondary);
}

.stat-icon {
    width: 45px;
    height: 45px;
    background: var(--green-transparent);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.ui-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.ui-list-item:last-child {
    border-bottom: none;
}

.ui-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary);
}

.ui-sub {
    font-size: 12px;
    color: grey;
}

.status-badge {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 20px;
}

.status-new {
    background: var(--green-transparent);
    color: var(--green);
}

.status-pending {
    background: var(--orange-transparent);
    color: var(--orange);
}

.amount {
    font-weight: 600;
    color: var(--green);
}

.icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
}

.section-header {
    border-bottom: 1px solid var(--secondary);
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.hot {
    background: var(--primary);
}

.dot.warm {
    background: var(--secondary);
}

.dot.cold {
    background: var(--black);
}

.dot.inactive {
    background: red;
}

/* Dashboard End */

/* Datatable Table Start */
/* ===== WRAPPER ===== */
.dataTables_wrapper {
    font-size: 14px;
}

/* ===== TOP BAR ===== */
.dt-top {
    gap: 10px;
}

/* ===== LENGTH (Show entries) ===== */
.dt-top {
    background: var(--secondary);
    border: 1px solid var(--secondary);
    padding: 12px 16px;
    border-radius: 12px;
}

/* ===== LENGTH (Show Entries) ===== */

.dataTables_length {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    border-radius: 10px;
}

.dataTables_length label {
    display: flex;
    align-items: center;
}

/* ===== SELECT BOX ===== */
.dataTables_length select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    color: var(--secondary);

    border: 1px solid var(--secondary);
    border-radius: 8px;

    padding: 6px 30px 6px 10px;
    margin: 5px;
    font-size: 13px;
    cursor: pointer;

    transition: all 0.2s ease;
}

.dataTables_length select:focus {
    border: 1px solid var(--secondary);
    box-shadow: none;
}


/* ===== SEARCH (MODERN INPUT) ===== */
.search-box {
    position: relative;
    border: none;
    background-color: transparent;
}

.dataTables_filter input {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--secondary);
    color: #fff;
    padding: 8px 12px 8px 34px;
    border-radius: 10px;
    width: 220px;
    transition: 0.25s ease;
    margin-left: 0 !important;
}

/* icon inside */
.dataTables_filter::before {
    content: "\f52a";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 14px;
}

.dataTables_filter input:focus {
    border-color: var(--secondary);
    box-shadow: none;
}

/* ===== TABLE ===== */
.datatable-custom {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

/* HEAD */
.datatable-custom thead th {
    font-size: 11px;
    text-transform: uppercase;
    color: #64748b;
    padding: 14px 14px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--secondary);
}

/* BODY */
.datatable-custom tbody tr {
    transition: 0.25s;
}

.datatable-custom tbody td {
    padding: 14px;
    border-bottom: 1px solid var(--secondary);
}

/* Hover effect */
.datatable-custom tbody tr:hover {
    background: rgba(0, 174, 238, 0.05);
}

/* ===== INFO TEXT ===== */
.dt-info {
    color: #64748b;
    font-size: 13px;
}

/* ===== PAGINATION ===== */
.dataTables_paginate {
    display: flex;
}

.dataTables_paginate .pagination {
    gap: 6px;
    margin: 0;
}

/* Buttons */
.dataTables_paginate .paginate_button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    background: transparent !important;
    border: 1px solid var(--secondary) !important;
    color: #94a3b8 !important;
    border-radius: 8px;
    /* padding: 6px 12px; */
    font-size: 13px;
    transition: all 0.8s ease;
    overflow: hidden;
    aspect-ratio: 1x1;
}

/* Hover */
.dataTables_paginate .paginate_button:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #fff !important;
    border-color: var(--secondary) !important;
}

/* Active */
.dataTables_paginate .paginate_button.active {
    background: var(--secondary) !important;
    color: #000 !important;
    border: none !important;
}

.dataTables_paginate .paginate_button a {
    color: var(--secondary) !important;
}

.dataTables_paginate .paginate_button.active a {
    color: var(--white) !important;
    background-color: transparent !important;
    border: none;
}

/* Disabled */
.dataTables_paginate .paginate_button.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

td.dtr-control::before {
    content: "+";
    background: var(--primary-transparent);
    border: 1px solid var(--secondary);
    border-radius: 6px;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

tr.parent td.dtr-control::before {
    content: "-";
    background: var(--primary);
    color: var(--white);
}

/* Datatable Table End */

/* First Button */
.btn-first {
    background-color: var(--primary);
    color: var(--secondary);
    font-weight: bold;
    border-radius: 8px;
    padding: 8px;

    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.btn-first i {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: var(--secondary);
    border-radius: 50%;

    width: 20px;
    height: 20px;

    color: var(--white);
    font-size: 12px;

    transition: all 0.3s ease;
}

.btn-first:hover {
    transform: translateY(-2px);
}

.btn-first:hover i {
    background: var(--primary);
    transform: scale(1.2);
}

/* Button Second */
.btn-second {
    background: var(--secondary);
    color: var(--white);
    border-radius: 8px;
    padding: 8px;
    font-weight: 500;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px var(--primary-transparent);

    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.btn-second i {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: var(--white);
    border-radius: 50%;

    width: 20px;
    height: 20px;

    color: var(--secondary);
    font-size: 12px;

    transition: all 0.3s ease;
}

.btn-second:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px var(--primary-transparent);
    color: var(--white);
}

.btn-second:hover i {
    background: var(--white);
    transform: scale(1.2);
}

.btn-second:active {
    background: var(--secondary);
}

/* btn end*/




/* Form design start */
.form-label {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--text-light);
}

.form-control,
.form-select {
    font-size: 14px;
    padding: 8px 10px;
    box-shadow: none;
    background: var(--container-bg);
    border: 2px solid var(--container-border);
    border-radius: 8px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-transparent);
}

/* Form design end */

.dropdown-item {
    border-radius: 0.2rem !important;
}

.dropdown-item:active {
    background-color: var(--secondary) !important;
    color: var(--white) !important;
}

/* Notification Start*/

.notification-dropdown {

    width: 420px;

    max-width: calc(100vw - 20px);

    border: 0;

    border-radius: 8px;

    overflow: hidden;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.12);

    margin-top: 12px;
}


@media (max-width: 576px) {

    .notification-dropdown {

        width: calc(100vw - 20px) !important;

        position: fixed !important;

        top: 65px !important;

        right: 10px !important;

        left: 10px !important;

        transform: none !important;
    }
}

/* Notification End*/

/* payment-processing-modal.css */


.payment-glass-modal {
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(25px);
    overflow: hidden;
}

.payment-glass-modal .modal-body {
    padding: 50px 35px;
}

.payment-title {
    color: var(--secondary);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.payment-description {
    color: var(--black);
    font-size: 15px;
    line-height: 1.7;
}

.payment-loader {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    border-radius: 50%;
    border: 4px solid rgba(0, 0, 0, 0.15);
    border-top: 4px solid var(--primary);
    animation: paymentSpin 1s linear infinite;
}

@keyframes paymentSpin {
    100% {
        transform: rotate(360deg);
    }
}

#paymentProcessingModal .modal-dialog {
    max-width: 450px;
}

#paymentProcessingModal {
    background:
        radial-gradient(circle at top left,
            rgba(255, 255, 255, 0.08),
            transparent 40%),
        radial-gradient(circle at bottom right,
            rgba(255, 255, 255, 0.08),
            transparent 40%);
}

/* Profile Start */
.profile-header{
    border-radius: 18px;
    overflow: hidden;
}

.profile-avatar{
    width: 120px;
    height: 120px;
}

.profile-avatar img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,.1);
}

.profile-badge{
    background: #f5f7fa;
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 16px;
    color: #6c757d;
}

.profile-status-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:8px 14px;
    border-radius:50px;
    font-size:16px;
    font-weight:600;
}

.profile-status-badge.active{
    background:var(--green-transparent);
    color:var(--green);
}

.profile-status-badge.inactive{
    background:var(--red-transparent);
    color:var(--red);
}

.balance-card{
    text-align: right;
}

.balance-label{
    font-size: 18px;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.balance-amount{
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.balance-amount.positive{
    color: #16a34a;
}

.balance-amount.negative{
    color: #dc2626;
}

@media(max-width:768px){
    .profile-avatar{
        width: 90px;
        height: 90px;
    }

    .balance-amount{
        font-size: 24px;
    }
}

.profile-tabs .nav-link {
    color: #555;
    padding: 15px 20px;
    border-radius: 0;
    font-weight: 500;
    overflow: hidden;
}

.profile-tabs .nav-link.active {
    background: var(--secondary);
    color: #fff;
}

.profile-tabs .nav-link:not(:last-child) {
    border-bottom: 1px solid #eee;
}

/* Profile End */