/* Copy Animation */
.base-color {
    color: hsl(var(--main)) !important;
}

.copyInput {
    display: inline-block;
    line-height: 50px;
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.copied::after {
    position: absolute;
    top: 8px;
    right: 12%;
    width: 100px;
    display: block;
    content: "COPIED";
    font-size: 1em;
    padding: 5px 5px;
    color: #fff;
    background-color: #FF7000;
    border-radius: 3px;
    opacity: 0;
    will-change: opacity, transform;
    animation: showcopied 1.5s ease;
}

@keyframes showcopied {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }

    50% {
        opacity: 0.7;
        transform: translateX(40%);
    }

    70% {
        opacity: 1;
        transform: translateX(0);
    }

    100% {
        opacity: 0;
    }
}




.cookies-card {
    width: 375px;
    padding: 25px;
    color: #1E2337;
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999999;
    transition: all .5s;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 18px rgb(0 0 0 / 20%);
    border-radius: 20px;
}

.cookies-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 12px;
}

.cookies-card__title {
    font-size: inherit;

}

.cookies-card__close {
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    color: #797878;
    transition: all 0.2s;
}

.cookies-card__close:hover {
    color: #000;

}

.cookies-card__icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: #6e6f70;
    color: #fff;
    font-size: 32px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.cookies-card__content {
    margin-bottom: 0;
    font-size: 13px;
    margin-bottom: 24px;
}

.cookies-card__footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.cookies-card__btn-outline {
    text-decoration: none;
    padding: 12px 20px;
    color: #001E00;

}

.cookies-card__btn {
    color: #fff !important;
    text-decoration: none;
    padding: 8px 35px;
    margin: 3px 5px;
    display: inline-block;
    border-radius: 999px;
    background-color: #363636;
    transition: all 0.2s;
}

.cookies-card__btn:hover {
    background-color: #0e0e0e;
}




@media (max-width: 767px) {
    .cookies-card {
        width: calc(100% - 20px);
        left: 10px;
        bottom: 0;
        font-size: 14px;
        padding: 15px;
    }
}


.cookies-card.hide {
    bottom: -500px !important;
}

.radius--10px {
    border-radius: 10px;
}

.hover-input-popup {
    position: relative;
}

.input-popup {
    display: none;
}

.hover-input-popup .input-popup {
    display: block;
    position: absolute;
    bottom: 130%;
    left: 50%;
    width: 280px;
    background-color: #1a1a1a;
    color: #fff;
    padding: 20px;
    border-radius: 5px;
    transform: translateX(-50%);
    transition: all 0.3s;
}

.input-popup::after {
    position: absolute;
    content: '';
    bottom: -19px;
    left: 50%;
    margin-left: -5px;
    border-width: 10px 10px 10px 10px;
    border-style: solid;
    border-color: transparent transparent #1a1a1a transparent;
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.input-popup p {
    padding-left: 20px;
    position: relative;
}

.input-popup p::before {
    position: absolute;
    content: '';
    font-family: 'Line Awesome Free';
    font-weight: 900;
    left: 0;
    top: 4px;
    line-height: 1;
    font-size: 18px;
}

.input-popup p.error {
    text-decoration: line-through;
}

.input-popup p.error::before {
    content: "\f057";
    color: #ea5455;
}

.input-popup p.success::before {
    content: "\f058";
    color: #28c76f;
}



.show-filter {
    display: none;
}

@media(max-width:767px) {
    .responsive-filter-card {
        display: none;
        transition: none;
    }

    .show-filter {
        display: block;
    }
}


button .spinner-border {
    --bs-spinner-width: 1.5rem;
    --bs-spinner-height: 1.5rem;
}




.button-loader .spinner-border {
    --bs-spinner-width: 1rem;
    --bs-spinner-height: 1rem;
}

.full-page-loader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: hsl(var(--black) / .5);
    z-index: 9999999999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lds-spinner,
.lds-spinner div,
.lds-spinner div:after {
    box-sizing: border-box;
}

.lds-spinner {
    color: hsl(var(--white));
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-spinner div {
    transform-origin: 40px 40px;
    animation: lds-spinner 1.2s linear infinite;
}

.lds-spinner div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 3.2px;
    left: 36.8px;
    width: 6.4px;
    height: 17.6px;
    border-radius: 20%;
    background: currentColor;
}

.lds-spinner div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
}

.lds-spinner div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
}

.lds-spinner div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
}

.lds-spinner div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
}

.lds-spinner div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
}

.lds-spinner div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
}

.lds-spinner div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
}

.lds-spinner div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
}

.lds-spinner div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
}

.lds-spinner div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
}

.lds-spinner div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
}

.lds-spinner div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
}

@keyframes lds-spinner {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.gateway-card .payment-system-list {
    --thumb-width: 80px;
    --thumb-height: 32px;
    --radio-size: 20px;
    border-radius: 5px;
    height: 100%;
}

.gateway-card .payment-system-list.is-scrollable {
    max-height: min(405px, 70vh);
    overflow-x: auto;
    padding-block: 4px;
    padding-right: 8px;
}

.gateway-card .payment-system-list::-webkit-scrollbar {
    width: 5px;
}

.gateway-card .payment-system-list::-webkit-scrollbar-thumb {
    background-color: hsl(var(--base));
    border-radius: 10px;
}

.gateway-card .payment-item {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 16px 16px;
    border: 1px solid hsl(var(--border-color));
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    margin-bottom: 8px;
    border-radius: 8px;
    font-size: 0.875rem;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.gateway-card .payment-item__info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.gateway-card .payment-item__check {
    width: var(--radio-size);
    height: var(--radio-size);
    border: 1px solid hsl(var(--base));
    display: inline-block;
    border-radius: 100%;
}

.gateway-card .payment-item__name {
    padding-left: 10px;
    width: calc(100% - var(--radio-size));
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    font-weight: 600;
    color: hsl(var(--black)/0.65);
}

.gateway-card .payment-item__thumb {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    text-align: right;
    padding-left: 10px;
    flex-shrink: 0;
}

.gateway-card .payment-item__thumb img {
    max-width: var(--thumb-width);
    max-height: var(--thumb-height);
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
}

.gateway-card .payment-item__thumb:has(.text) {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
}

.gateway-card .payment-item__btn {
    font-size: 0.875rem;
    color: hsl(var(--success));
    font-weight: 600;
}

.gateway-card .payment-item__check {
    border: 1px solid hsl(var(--border-color));
}

.gateway-card .payment-item:has(.payment-item__radio:checked) .payment-item__check {
    border: 4px solid hsl(var(--base));
}

.gateway-card .payment-item__right {
    width: 100%;
}


.deposit-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-bottom: 16px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 12px;
}

.deposit-info * {
    font-weight: 600;
}

.deposit-info__input * {
    font-weight: 400;
}

.total-amount {
    border-top: 1px solid hsl(var(--base-two)/0.08);
}

.withdrawmethod-img {
    height: 45px;
    width: 45px;
}

.withdrawmethod-img img {
    height: 100% !important;
    width: 100% !important;
}

/* ===== KUPI DASHBOARD FINAL THEME ===== */

/* Body / Main Background */
body.dashboard,
.dashboard,
.dashboard-content,
.main-content,
.content-wrapper {
  background: linear-gradient(135deg, #006e64 0%, #009688 100%) !important;
  background-attachment: fixed !important;
  min-height: 100vh !important;
  color: #0f1c1a !important;
}

/* Sidebar (already perfect) */
.sidebar,
.sidebar-menu {
  background: #006e64 !important;
  color: #ffffff !important;
  border-right: none !important;
}
.sidebar-menu-list__item.active > a,
.sidebar-menu-list__item a:hover {
  background: #a73470 !important; /* magenta accent */
  color: #fff !important;
}

/* Header / Navbar */
.header,
.topbar,
.navbar {
  background: #009688 !important;
  color: #fff !important;
  border-bottom: none !important;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15) !important;
}

/* Cards and Widgets */
.card,
.widget,
.dashboard-card,
.balance-card {
  background: #004d47 !important; /* darker teal card base */
  border-radius: 18px !important;
  border: none !important;
  color: #e4f8f5 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Card Headers / Titles */
.card-title,
.widget-title,
.section-title {
  color: #b3f0e8 !important;
  font-weight: 600 !important;
  text-transform: uppercase;
}

/* Primary Buttons (KUPI Magenta) */
.btn-primary,
.btn--grbtn,
.btn--base {
  background: #a73470 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  transition: all 0.25s ease;
}
.btn-primary:hover {
  background: #c9488d !important;
  transform: translateY(-2px);
}

/* Labels & Highlights */
.text-primary,
.icon-primary {
  color: #a73470 !important;
}

/* Logout button */
.sidebar-menu-list__item.logout a {
  background: rgba(255, 215, 215, 0.1) !important;
  color: #ffb4c6 !important;
  border-radius: 10px !important;
}

/* Inputs / Search Fields */
input[type="text"],
input[type="search"],
input[type="number"],
input[type="email"],
select {
  background: #f3faf8 !important;
  border: 1px solid #009688 !important;
  border-radius: 8px !important;
  color: #004d47 !important;
}

/* ===== SIDEBAR TEXT FIX ===== */

.sidebar,
.sidebar-menu,
.sidebar-menu-list__item a,
.sidebar-menu-list__item span,
.sidebar-menu-list__item i {
  color: #ffffff !important;
}

/* Sidebar headings (“Main”, “More Services”, etc.) */
.sidebar h6,
.sidebar-menu-title,
.sidebar-menu-heading {
  color: #ffffff !important;
  opacity: 0.9 !important;
}

/* Active link styling */
.sidebar-menu-list__item.active > a {
  background: #a73470 !important;
  color: #ffffff !important;
}

/* Hover effect */
.sidebar-menu-list__item a:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

/* Logout link fix */
.sidebar-menu-list__item.logout a {
  color: #ffffff !important;
}

/* ===== SIDEBAR SECTION HEADERS FIX ===== */

.sidebar-menu-title,
.sidebar h6,
.sidebar .menu-title,
.sidebar-menu-heading,
.sidebar .nav-label,
.sidebar .menu-section-title {
  color: #ffffff !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px;
  opacity: 1 !important;
}

/* === FORCE WHITE SIDEBAR HEADERS (Main / More Services) === */

.sidebar *:not(a):not(i):not(svg) {
  color: #ffffff !important;
}

/* specifically target those section titles */
.sidebar h6,
.sidebar h5,
.sidebar h4,
.sidebar h3,
.sidebar h2,
.sidebar p,
.sidebar .menu-title,
.sidebar .sidebar-menu-title,
.sidebar .menu-section-title,
.sidebar .nav-label,
.sidebar .menu-heading,
.sidebar .sidebar-title {
  color: #ffffff !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  opacity: 1 !important;
}

/* tighten spacing so section labels sit cleanly */
.sidebar h6,
.sidebar p {
  margin-top: 10px !important;
  margin-bottom: 6px !important;
}

/* === FIXED KUPI GREEN THEME (DARK STYLE) === */

/* MAIN BACKGROUND */
body,
.dashboard-wrapper,
.page-wrapper,
.main-content,
.section--bg {
    background: linear-gradient(180deg, #006e64 0%, #009688 100%) !important;
    color: #ffffff !important;
    min-height: 100vh !important;
}

/* CARDS / BOXES / WIDGETS */
.card,
.widget,
.stats-box,
.dashboard-card,
.info-box,
.summary-card {
    background: rgba(0, 60, 55, 0.85) !important; /* deep teal overlay */
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 14px !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transition: background 0.3s ease;
}
.card:hover {
    background: rgba(0, 90, 80, 0.95) !important;
}

/* HEADINGS */
h1, h2, h3, h4, h5, h6,
.section-title,
.dashboard-title {
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* BODY TEXT */
p, span, small, label, .text-muted {
    color: #e0f5f2 !important;
}

/* BUTTONS */
.btn,
.btn-primary,
.btn--grbtn {
    background: #a73470 !important;  /* KUPI magenta accent */
    border: none !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    transition: background 0.2s ease;
}
.btn:hover {
    background: #c14a88 !important;
}

/* INPUT FIELDS */
input[type="text"],
input[type="search"],
input[type="email"],
input[type="password"],
select,
textarea {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}
input::placeholder {
    color: #e0f5f2 !important;
}

/* NAVBAR / HEADER */
.header,
.navbar,
.topbar {
    background: rgba(0, 60, 55, 0.9) !important;
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ICONS */
i, svg, .icon {
    color: #ffffff !important;
}

/* CHARTS */
.apexcharts-title-text,
.apexcharts-legend-text {
    fill: #ffffff !important;
    color: #ffffff !important;
}
.apexcharts-canvas,
.chart-container {
    background: transparent !important;
}

/* FOOTER */
.footer {
    background: rgba(0, 60, 55, 0.9) !important;
    color: #ffffff !important;
}

/* REMOVE BRIGHT WHITE PANELS */
.bg-white,
.content-wrapper,
.section {
    background: transparent !important;
}

/* === KUPI Top Bar Styling === */
.dashboard-header {
    background: linear-gradient(90deg, #006e64 0%, #009688 100%) !important;
    color: #ffffff !important;
    border-bottom: none !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Ensure everything inside turns white */
.dashboard-header * {
    color: #ffffff !important;
    fill: #ffffff !important;
}

/* User info section styles */
.dashboard-header .user-info-content .name,
.dashboard-header .user-info-content .phone {
    color: #ffffff !important;
}

/* Dropdown background and hover */
.dashboard-header .dropdown-menu {
    background: #004d43 !important;
    border: none !important;
}

.dashboard-header .user-dropdown-item:hover,
.dashboard-header .user-dropdown-link:hover {
    background: #009688 !important;
    color: #ffffff !important;
}

/* Hamburger menu icon (mobile) */
.dashboard-header .navigation-bar i {
    color: #ffffff !important;
}

/* === KUPI Top Profile Fix === */

/* === Fix white profile background on header === */
.dashboard-header .lang-box-btn,
.dashboard-header .lang-box-btn .user-info,
.dashboard-header .lang-box-btn .user-info-wrapper {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Give a soft green highlight background instead of white */
.dashboard-header .user-info {
    background: rgba(0, 100, 90, 0.3) !important;
    border-radius: 40px !important;
    padding: 4px 12px !important;
    display: flex;
    align-items: center;
    transition: background 0.3s ease;
}

/* On hover – slightly lighter teal */
.dashboard-header .user-info:hover {
    background: rgba(0, 150, 136, 0.45) !important;
}

/* Fix text color */
.dashboard-header .user-info-content .name,
.dashboard-header .user-info-content .phone {
    color: #ffffff !important;
}

/* Avatar image */
.dashboard-header .user-info-thumb img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Force-remove any white gradient overlay from parent wrappers */
.dashboard-header .dropdown.user-dropdown .lang-box-btn,
.dashboard-header .dropdown.user-dropdown button {
    background-color: transparent !important;
}

/* === Avatar clarity fix === */
.dashboard-header .user-info-thumb {
    background: #ffffff !important; /* solid white background to restore contrast */
    border-radius: 50%;
    padding: 2px; /* thin white ring */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dashboard-header .user-info-thumb img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: none !important;
    filter: none !important; /* ensure no dimming or grayscale filters */
}

/* === KUPI Dashboard Card Body Styling === */

.card-body {
    background: linear-gradient(180deg, #006f66 0%, #007e76 100%) !important; /* teal gradient */
    border-radius: 20px !important;
    color: #ffffff !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15) !important;
    border: none !important;
    padding: 25px !important;
}

/* Headings and titles */
.card-body h6,
.card-body p.title {
    color: #e8fff9 !important;
}

/* Input fields inside card */
.card-body .form-control {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    border-radius: 10px !important;
}

.card-body .form-control:focus {
    border-color: #9b2e62 !important; /* accent pink highlight */
    box-shadow: 0 0 0 0.2rem rgba(155, 46, 98, 0.25) !important;
}

/* Upload thumb image background */
.upload-thumb-img {
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 50% !important;
    padding: 5px !important;
}

/* User name & verified section */
.user-data-top .name {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.verify-badge-item .text {
    color: #d1fff2 !important;
}

.verify-badge-item .icon.text--success i {
    color: #41fca3 !important;
}
.verify-badge-item .icon.text--danger i {
    color: #ff4b4b !important;
}

/* Buttons inside card */
.btn--base {
    background: #9b2e62 !important;
    border-color: #9b2e62 !important;
    color: #ffffff !important;
}
.btn--base:hover {
    background: #b33b75 !important;
}
.btn-dark {
    background: rgba(0, 0, 0, 0.25) !important;
    border: none !important;
}

/* Cancel button hover */
.btn-dark:hover {
    background: rgba(0, 0, 0, 0.4) !important;
}

/* === Refined KUPI Card Styling (Lighter Teal Background) === */

.card.custom--card,
.card.custom--card .card-body {
    background-color: #015e53 !important; /* new lighter teal */
    border: none !important;
    border-radius: 20px !important;
    color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12) !important;
    padding: 25px !important;
}

/* Text color adjustments for contrast */
.card.custom--card h6,
.card.custom--card .title,
.card.custom--card .name,
.card.custom--card p {
    color: #eafff6 !important;
}

/* Input fields inside lighter teal card */
.card.custom--card .form-control {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    border-radius: 10px !important;
}

.card.custom--card .form-control:focus {
    border-color: #9b2e62 !important; /* KUPI magenta */
    box-shadow: 0 0 0 0.2rem rgba(155, 46, 98, 0.25) !important;
}

/* Buttons (Submit / Cancel) */
.card.custom--card .btn--base {
    background: #9b2e62 !important;
    border-color: #9b2e62 !important;
    color: #ffffff !important;
}
.card.custom--card .btn--base:hover {
    background: #b33b75 !important;
}

.card.custom--card .btn-dark {
    background: rgba(0, 0, 0, 0.25) !important;
    border: none !important;
}
.card.custom--card .btn-dark:hover {
    background: rgba(0, 0, 0, 0.4) !important;
}

/* Upload avatar styling */
.upload-thumb-img {
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 50% !important;
    padding: 5px !important;
}

/* === Dashboard Widget Styling – KUPI Themed === */

.dashboard-widget-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* Each widget card */
.dashboard-widget {
    background: #9b2e62 !important; /* KUPI purple */
    color: #ffffff !important;
    border-radius: 16px !important;
    text-align: center;
    flex: 1 1 160px;
    padding: 20px 15px;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Hover effects */
.dashboard-widget:hover {
    background: #b33b75 !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(155, 46, 98, 0.4);
}

/* Widget icon styling */
.dashboard-widget__icon svg {
    color: #ffffff !important;
    width: 28px;
    height: 28px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.dashboard-widget:hover .dashboard-widget__icon svg {
    transform: scale(1.15);
}

/* Widget title text */
.dashboard-widget__title {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff !important;
    margin: 0;
}

/* Optional subtle shine overlay effect */
.dashboard-widget::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.15) 0%, transparent 70%);
    transform: rotate(25deg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dashboard-widget:hover::after {
    opacity: 0.4;
}

/* Inner shapes (optional SVG backgrounds) */
.dashboard-widget__shape svg {
    opacity: 0.1;
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 40px;
    height: 40px;
    color: #ffffff;
}

/* === Table Wrapper (KUPI Theme) === */

.table-wrapper {
    background-color: #015e53 !important; /* match your dashboard green */
    border-radius: 16px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #ffffff !important;
    padding: 20px !important;
}

/* Header */
.table-wrapper-header {
    background-color: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    margin-bottom: 15px;
}
.table-wrapper-header h4 {
    color: #ffffff !important;
}

/* Table inside */
.table-wrapper-body table {
    background-color: transparent !important;
    color: #eafff6 !important;
    width: 100%;
}

/* Table headings */
.table-wrapper-body thead th {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    font-weight: 600;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 10px;
}

/* Table rows */
.table-wrapper-body tbody tr {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background-color 0.25s ease;
}
.table-wrapper-body tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Table search box */
.table-search input.form--control {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}
.table-search input::placeholder {
    color: #d8fff3 !important;
}
.table-search button.icon svg {
    stroke: #ffffff !important;
}

/* Empty state */
.empty-message-text {
    color: #eafff6 !important;
}
.empty-message-icon img {
    opacity: 0.9;
}

/* === Sidebar Search – Fixed version === */
.sidebar-search {
    background-color: #015e53 !important; /* KUPI green */
    border-radius: 12px !important;
    display: flex;
    align-items: center;
    padding: 6px 12px !important;
    gap: 6px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Input */
.sidebar-search .form--control.search-sidebar {
    background-color: transparent !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 500;
    width: 100%;
    outline: none !important;
}

.sidebar-search .form--control.search-sidebar::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Icon */
.sidebar-search .icon svg {
    stroke: #ffffff !important;
}

/* Fix the bar causing the white box */
.sidebar-search .bar {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-weight: 600;
    padding: 0 6px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Hover & focus */
.sidebar-search:hover,
.sidebar-search:focus-within {
    background-color: #017566 !important;
    box-shadow: 0 0 0 2px rgba(155, 46, 98, 0.3);
}

/* === Select2 Full KUPI Theme – Remove white shadow/outline === */

/* Main select box */
.select2-container--default .select2-selection--single {
    background-color: #015e53 !important; /* KUPI green */
    border: 1px solid #017566 !important; /* clean green border */
    border-radius: 10px !important;
    height: 46px !important;
    display: flex !important;
    align-items: center !important;
    color: #ffffff !important;
    padding: 4px 12px !important;
    box-shadow: none !important; /* remove white inset or outline */
    outline: none !important;
}

/* Selected text */
.select2-container--default .select2-selection__rendered {
    color: #ffffff !important;
    font-weight: 500 !important;
}

/* Placeholder */
.select2-container--default .select2-selection__placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Dropdown arrow */
.select2-container--default .select2-selection__arrow b {
    border-color: #ffffff transparent transparent transparent !important;
}

/* Hover & focus */
.select2-container--default .select2-selection--single:hover,
.select2-container--default.select2-container--focus .select2-selection--single {
    background-color: #017566 !important;
    border-color: #9b2e62 !important; /* soft purple highlight */
    box-shadow: 0 0 0 2px rgba(155, 46, 98, 0.2) !important; /* subtle purple glow */
}

/* Dropdown menu */
.select2-container--default .select2-dropdown {
    background-color: #015e53 !important;
    border: 1px solid #017566 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25) !important;
    border-radius: 10px !important;
}

/* Options */
.select2-container--default .select2-results__option {
    color: #ffffff !important;
    background-color: transparent !important;
    padding: 10px 14px !important;
    transition: background-color 0.2s ease-in-out;
}

/* Hovered option */
.select2-container--default .select2-results__option--highlighted {
    background-color: #017566 !important;
    color: #ffffff !important;
}

/* Search box (if visible) */
.select2-container--default .select2-search--dropdown .select2-search__field {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
}

/* Label */
.form-label.form--label {
    color: #ffffff !important;
}

/* Remove any residual browser shadow for select elements */
select,
select:focus {
    box-shadow: none !important;
    outline: none !important;
}

/* Force the base select and select2 container to blend with green background */

/* 1. Hide and neutralize the native select completely */
select.form-select.form--control.select2,
select.select2-hidden-accessible {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    color: #ffffff !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    opacity: 0 !important;  /* ensure no white flicker */
    height: 0 !important;
    width: 0 !important;
    z-index: -1 !important;
}

/* 2. Style the Select2 visible container */
.select2-container--default .select2-selection--single {
    background-color: #015e53 !important;
    border: 1px solid #017566 !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    height: 46px !important;
    display: flex !important;
    align-items: center !important;
    box-shadow: none !important; /* remove shadow glow */
    outline: none !important;
}

/* 3. Ensure no white pseudo-element borders or inner shadows */
.select2-container--default .select2-selection--single::before,
.select2-container--default .select2-selection--single::after {
    display: none !important;
}

/* 4. Force the wrapper <span> around Select2 to inherit green */
.position-relative,
.select2-container {
    background-color: #015e53 !important;
    box-shadow: none !important;
    border-radius: 10px !important;
}

/* 5. Dropdown styling */
.select2-container--default .select2-dropdown {
    background-color: #015e53 !important;
    border: 1px solid #017566 !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25) !important;
}

/* 6. Remove white line under focused select */
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #9b2e62 !important;
    box-shadow: 0 0 0 2px rgba(155, 46, 98, 0.3) !important;
    background-color: #017566 !important;
}

/* === Unified Alert Styling for KUPI Theme === */

/* Base alert box */
.alert,
.alert-error,
.alert-success,
.alert-info {
    background-color: #015e53 !important; /* KUPI green */
    border: 1px solid #017566 !important;
    border-radius: 40px !important;
    color: #ffffff !important;
    box-shadow: none !important;
    padding: 10px 20px !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
}

/* Alert title (e.g. "Error", "Success") */
.alert strong,
.alert b {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* Alert text (message body) */
.alert span,
.alert p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 14px !important;
}

/* Error icon (red previously) — now contrast green theme */
.alert .fa-times-circle,
.alert .fa-exclamation-circle,
.alert .icon i {
    color: #ff7070 !important; /* soft red accent */
    font-size: 16px !important;
}

/* Success icon */
.alert-success .icon i {
    color: #4df5a0 !important; /* bright mint-green accent */
}

/* Close (X) button */
.alert .close,
.alert .btn-close {
    color: #ffffff !important;
    opacity: 0.8 !important;
    font-size: 14px !important;
    transition: opacity 0.2s ease-in-out;
}
.alert .close:hover,
.alert .btn-close:hover {
    opacity: 1 !important;
}

/* Optional glowing hover effect */
.alert:hover {
    box-shadow: 0 0 8px rgba(155, 46, 98, 0.4) !important; /* purple glow */
}

/* === KUPI Theme: Flat Card with No Wide Border === */

.card.custom--card.mb-4,
.card.custom--card {
    background-color: #007269 !important;  /* teal green */
    border: none !important;               /* remove any visible border */
    box-shadow: none !important;           /* remove shadow or outline */
    border-radius: 15px !important;        /* keep rounded corners */
    color: #ffffff !important;             /* white text for contrast */
}

/* Ensure inner body has no contrasting border or background */
.card.custom--card .card-body {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #ffffff !important;
}

.card.custom--card.mb-4:has(.row.g-3:empty) {
    display: none !important;
}

/* === KUPI Theme: Green Card Header === */
.card-header.border-bottom.mb-4 {
    background-color: #007269 !important;  /* your preferred green */
    color: #ffffff !important;              /* white text for contrast */
    border-bottom: none !important;         /* remove default gray border */
    border-radius: 10px 10px 0 0;           /* smooth rounded top corners */
    padding: 20px !important;               /* consistent padding */
}

/* Ensure text inside header is visible and clean */
.card-header.border-bottom.mb-4 h5,
.card-header.border-bottom.mb-4 p {
    color: #ffffff !important;
    margin: 0;
}

/* === Green List Group Styling === */
.list-group.list-group-flush.mb-4 {
    background-color: #007269 !important;
    border-radius: 10px;
    padding: 10px;
    color: #ffffff !important;
}

/* Each list item */
.list-group-item {
    background-color: transparent !important; /* blend with green background */
    color: #ffffff !important;
    border: none !important; /* remove default gray borders */
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important; /* subtle white divider */
}

/* Remove border for last item */
.list-group-item:last-child {
    border-bottom: none !important;
}

/* Notification icons */
.notification-icon {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Headings and subtext */
.fs-18 {
    font-weight: 600;
    color: #ffffff !important;
}
.fs-14 {
    color: #d9f3f0 !important; /* lighter shade for secondary text */
}

/* Toggle switches (make them green-themed too) */
.form-check-input {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
}
.form-check-input:checked {
    background-color: #00a18c !important;
    border-color: #00a18c !important;
}

/* === Gradient Themed Card (Teal Look) === */
.card.custom--card {
    background: linear-gradient(180deg, #00655f 0%, #008277 100%) !important; /* teal gradient */
    color: #ffffff !important;
    border: 1px solid #00796b !important;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

/* === Card Header (title + search) === */
.card.custom--card .card-header {
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
}

/* === Card Title === */
.card.custom--card .card-header h5 {
    color: #ffffff !important;
    font-weight: 600;
}

/* === Search Bar === */
.table-search.no-submit-loader {
    display: flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(180deg, #00796b 0%, #009688 100%) !important;
    border-radius: 6px;
    padding: 5px 10px;
    border: 1px solid #00a197;
}

/* Input inside search */
.table-search.no-submit-loader .form--control {
    flex: 1;
    background-color: transparent !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 14px;
}

.table-search.no-submit-loader .form--control::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Search icon */
.table-search.no-submit-loader .icon {
    color: #ffffff !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer;
}

/* === Table Section === */
.card.custom--card .card-body {
    background-color: transparent !important;
    padding: 0;
}

.table {
    background-color: transparent !important;
    color: #ffffff !important;
}

.table thead th {
    background: linear-gradient(180deg, #00796b 0%, #009688 100%) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 600;
}

.table tbody td {
    color: #e0f2f1 !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.08) !important;
}

/* Empty message styling */
.empty-message-text span {
    color: #ffffff !important;
}

/* === KUPI Green Toasts === */
.toast,
.iziToast,
.alert {
    background: linear-gradient(180deg, #00655f 0%, #008277 100%) !important; /* teal gradient */
    color: #ffffff !important;
    border-radius: 25px !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Toast title (like “Error”) */
.toast-title,
.iziToast-title,
.alert strong {
    color: #ffffff !important;
}

/* Toast message text */
.toast-message,
.iziToast-message {
    color: #e0f2f1 !important;
}

/* Close button (X) */
.toast .close,
.iziToast .iziToast-close {
    color: #ffffff !important;
    opacity: 0.9;
}

.toast .close:hover,
.iziToast .iziToast-close:hover {
    color: #b9fff1 !important;
    opacity: 1;
}

/* Optional: specific for “error” type toasts */
.toast-error,
.iziToast-error {
    background: linear-gradient(180deg, #00796b 0%, #009688 100%) !important;
    color: #ffffff !important;
}

/* === Preloader Styling (KUPI Themed) === */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #00655f 0%, #008277 100%) !important; /* same Photoshop gradient */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.4s ease-in-out;
}

/* Fade-out effect when loading completes */
.preloader.hide {
    opacity: 0;
    visibility: hidden;
}

/* Loader image */
.preloader img {
    width: 120px;
    height: auto;
    animation: pulseLoader 1.5s infinite ease-in-out;
}

/* Subtle pulse animation */
@keyframes pulseLoader {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.85; }
    100% { transform: scale(1); opacity: 1; }
}

/* === Back Button Styling === */
.back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #007269 !important; /* KUPI green */
    color: #ffffff !important; /* white arrow icon */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}

/* Hover effect */
.back-btn:hover {
    background-color: #009d8a !important; /* lighter green on hover */
    color: #fff;
    transform: scale(1.05);
}

/* === QR Code Container === */
.qr-code-thumb {
    background-color: #ffffff !important; /* White background */
    border-radius: 10px; /* Slight rounding for smooth look */
    padding: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); /* Soft shadow */
}

/* Optional: Adjust SVG color */
.qr-code-thumb svg path {
    stroke: #007269 !important; /* KUPI green for the QR lines */
}

/* Spinner should match theme */
.qr-code-loading .spinner-border {
    color: #007269 !important;
}

/* === Fix checkbox visibility === */
.form-check-input {
    width: 18px;
    height: 18px;
    border: 2px solid #007269 !important; /* KUPI green border */
    background-color: #ffffff !important; /* white box */
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* When checked */
.form-check-input:checked {
    background-color: #007269 !important; /* fill green when checked */
    border-color: #007269 !important;
}

/* === Label text === */
.form-check-label {
    color: #007269 !important; /* readable green text */
    font-weight: 500;
}

/* === Link styling inside the label === */
.form-check-label a.text--base {
    color: #009d8a !important; /* slightly lighter green for links */
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.form-check-label a.text--base:hover {
    color: #00bfa5 !important; /* lighter mint green hover */
    text-decoration: underline;
}

/* === Form Label Fix === */
.form--label {
    color: #007269 !important;  /* KUPI green */
    font-weight: 600;           /* make it slightly bold for readability */
}

/* For required asterisk (*) */
.form--label.required::after {
    content: " *";
    color: #d32f2f; /* red for required fields */
    font-weight: bold;
}

/* === Fix input text color === */
.form--control {
    color: #007269 !important;             /* normal green text */
    background-color: #ffffff !important;  /* white background */
    border: 1px solid #007269 !important;  /* KUPI green border */
}

/* === When focused === */
.form--control:focus {
    color: #007269 !important;
    border-color: #009d8a !important;      /* lighter green glow */
    box-shadow: 0 0 4px rgba(0, 114, 105, 0.4);
    background-color: #ffffff !important;
}

/* === When text is entered (no placeholder) === */
.form--control:not(:placeholder-shown) {
    color: #007269 !important;
}

/* === Placeholder color === */
.form--control::placeholder {
    color: #66a59d !important;             /* muted mint green for hint text */
}

/* === OTP input boxes – always visible and green === */
.otp-input {
    background-color: #ffffff !important;     /* White background */
    color: #000000 !important;                /* Black dots/text */
    border: 2px solid #007269 !important;     /* KUPI green border (always visible) */
    border-radius: 6px !important;            /* Rounded corners */
    width: 45px !important;
    height: 55px !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    text-align: center !important;
    margin: 6px !important;
    caret-color: #007269 !important;          /* Green blinking cursor */
    -webkit-text-fill-color: #000 !important; /* Prevents white autofill text */
    box-shadow: 0 0 6px rgba(0, 114, 105, 0.25) !important; /* Soft green shadow */
    transition: all 0.3s ease-in-out !important;
}

/* === Keep them green even when not focused === */
.otp-input:not(:focus) {
    border-color: #007269 !important;
    box-shadow: 0 0 5px rgba(0, 114, 105, 0.2) !important;
}

/* === On focus === */
.otp-input:focus {
    background-color: #ffffff !important;
    border-color: #009d8a !important;         /* Brighter green when active */
    box-shadow: 0 0 10px rgba(0, 157, 138, 0.5) !important;
    outline: none !important;
}

/* === Wrapper layout === */
.pin-code-wrapper,
.pin_confirmation-code-wrapper {
    display: flex !important;
    justify-content: start !important;
    flex-wrap: wrap !important;
    gap: 5px;
}

/* Fix visibility for “Forgot PIN?” link */
a.text-danger {
  color: #007269 !important; /* KUPI green */
  text-decoration: underline;
  font-weight: 600;
}

a.text-danger:hover {
  color: #009d8a !important; /* lighter green on hover */
}

/* Make Gender labels and radio text white */
.form-check-label {
  color: #ffffff !important; /* White text */
  font-weight: 500 !important;
}

/* Radio buttons — keep them green for your theme */
.form-check-input {
  accent-color: #00bfa5 !important; /* Bright mint-green for good contrast */
  border: 2px solid #ffffff !important; /* White border for visibility */
  width: 18px;
  height: 18px;
}

/* Optional: focus ring */
.form-check-input:focus {
  outline: none !important;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.6) !important;
}

/* Fix email/SMS option visibility */
.single-operator {
  background-color: #ffffff !important;      /* White card */
  border: 2px solid #00bfa5 !important;      /* Themed green outline */
  color: #000000 !important;                 /* Black text for good contrast */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);  /* Gentle depth */
  transition: all 0.2s ease-in-out;
}

/* Highlight when selected */
.single-operator input:checked + .img,
.single-operator input:checked ~ .d-flex .title,
.single-operator input:checked ~ .d-flex span {
  color: #007269 !important; /* KUPI green text when active */
  font-weight: 600;
}

/* Icon tint */
.single-operator .img svg {
  color: #007269 !important;
}

/* Text hierarchy */
.single-operator .title {
  font-size: 15px;
  color: #000000 !important;
}

.single-operator span {
  color: #333333 !important;
}

.fa-solid.fa-address-book {
  color: #8f2661 !important; /* KUPI purple */
}

.input-group-text {
  color: #8f2661 !important;        /* KUPI purple text */
  background-color: #ffffff !important; /* Keep background white */
  border: 2px solid #8f2661 !important; /* Optional: purple border for consistency */
  font-weight: 600;                 /* Make it stand out slightly */
}

.select-btn {
  color: #8f2661 !important;              /* Purple text */
  background-color: #ffffff !important;   /* Keep background white */
  border: 2px solid #8f2661 !important;   /* Optional purple border */
  font-weight: 600;                       /* Make the text a bit bolder */
}

.select-btn .icon i {
  color: #8f2661 !important;              /* Purple dropdown icon */
}

.modal-content,
.modal-content * {
  color: #000000 !important;  /* Black text everywhere in modal */
}


