/* ==========================================================================
   BANKGATE "Dark Luxury" theme (custom)
   Active when <html data-theme="dark"> (the default). Light mode = the
   original site styles, so nothing here applies when data-theme="light".
   Palette: #020617 / #10142b base, #00E5FF cyan, #00A3FF blue, #BF5AF2 purple
   ========================================================================== */

html[data-theme="dark"] { color-scheme: dark; }

html[data-theme="dark"] body {
    background-color: #020617 !important;
    background-image: radial-gradient(circle at 50% 0%, #10142b 0%, #020617 70%) !important;
    background-attachment: fixed !important;
    color: #cbd5e1 !important;
}

/* ---- Section backgrounds: let the page gradient show through ---- */
html[data-theme="dark"] body section,
html[data-theme="dark"] .banner-other-page,
html[data-theme="dark"] .services-section,
html[data-theme="dark"] .pricing-page,
html[data-theme="dark"] .razorpay-section,
html[data-theme="dark"] .bg--gray,
html[data-theme="dark"] .developer-header,
html[data-theme="dark"] .navber-section {
    background-color: transparent !important;
}

/* ---- Header ---- */
html[data-theme="dark"] .header-bottom-area,
html[data-theme="dark"] .header-section.header-fixed .header-bottom-area {
    background-color: rgba(2, 6, 23, 0.88) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 229, 255, 0.15) !important;
}
html[data-theme="dark"] .header-bottom-area .navbar-collapse .main-menu li .sub-menu {
    background-color: #0b1228 !important;
    border: 1px solid rgba(0, 229, 255, 0.2) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6) !important;
}
html[data-theme="dark"] .header-bottom-area .navbar-collapse .main-menu li a,
html[data-theme="dark"] .navbar-right a,
html[data-theme="dark"] .navbar-toggler,
html[data-theme="dark"] .navbar-toggler span {
    color: #e2e8f0 !important;
}
html[data-theme="dark"] .header-bottom-area .navbar-collapse .main-menu li a:hover,
html[data-theme="dark"] .navbar-right a.help-btn:hover {
    color: #00E5FF !important;
}
@media (max-width: 1199px) {
    html[data-theme="dark"] .header-bottom-area .navbar-collapse {
        background-color: #0b1228 !important;
    }
}

/* ---- Cards, boxes, list items ---- */
html[data-theme="dark"] .service-item,
html[data-theme="dark"] .service-icon,
html[data-theme="dark"] .service-left-icon,
html[data-theme="dark"] .testimonial-item,
html[data-theme="dark"] .testimonial-slider .swiper-slide-active .testimonial-item,
html[data-theme="dark"] .product-item,
html[data-theme="dark"] .team-content,
html[data-theme="dark"] .widget-box,
html[data-theme="dark"] .faq-wrapper .faq-item .faq-title,
html[data-theme="dark"] .how-it-works-item .how-it-works-icon-wrapper,
html[data-theme="dark"] .charge-tabale .item-title,
html[data-theme="dark"] .gateway-item,
html[data-theme="dark"] .custom-card .card-body,
html[data-theme="dark"] .table-wrapper,
html[data-theme="dark"] .banner-floting-right-area,
html[data-theme="dark"] .account .account-wrapper,
html[data-theme="dark"] .app-btn-area .app-btn,
html[data-theme="dark"] .footer-download .footer-download-btn a,
html[data-theme="dark"] .about-section .about-item-wrapper .about-content-item .icon-area,
html[data-theme="dark"] .choose-us-section .choose-us-main-wrapper .choose-us-item .icon-wrapper .icon-area,
html[data-theme="dark"] .blog-item,
html[data-theme="dark"] .contact-form-area,
html[data-theme="dark"] .contact-widget,
html[data-theme="dark"] blockquote,
html[data-theme="dark"] .slider-next,
html[data-theme="dark"] .slider-prev {
    background-color: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(0, 229, 255, 0.22) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45) !important;
}
html[data-theme="dark"] .charge-tabale .item-name { border-bottom-color: rgba(255, 255, 255, 0.12) !important; }
html[data-theme="dark"] .copyright-area {
    background-color: #01040f !important;
    border-top: 1px solid rgba(0, 229, 255, 0.12) !important;
}

/* ---- Typography ---- */
html[data-theme="dark"] body h1,
html[data-theme="dark"] body h2,
html[data-theme="dark"] body h3,
html[data-theme="dark"] body h4,
html[data-theme="dark"] body h5,
html[data-theme="dark"] body h6 {
    color: #f8fafc !important;
}
html[data-theme="dark"] body p,
html[data-theme="dark"] body li,
html[data-theme="dark"] body label,
html[data-theme="dark"] body td,
html[data-theme="dark"] body th {
    color: #cbd5e1 !important;
}
html[data-theme="dark"] .section-sub-titel,
html[data-theme="dark"] .banner-section .sub-title,
html[data-theme="dark"] .text--base {
    color: #00E5FF !important;
}

/* ---- Forms ---- */
html[data-theme="dark"] body .form--control,
html[data-theme="dark"] body input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
html[data-theme="dark"] body select,
html[data-theme="dark"] body textarea,
html[data-theme="dark"] .nice-select {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: #f1f5f9 !important;
    border-color: rgba(0, 163, 255, 0.35) !important;
}
html[data-theme="dark"] body .form--control:focus,
html[data-theme="dark"] body input:focus,
html[data-theme="dark"] body textarea:focus {
    border-color: #00E5FF !important;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.35) !important;
}
html[data-theme="dark"] body ::placeholder { color: #64748b !important; }
html[data-theme="dark"] .nice-select .current { color: #f1f5f9 !important; }
html[data-theme="dark"] .nice-select .list {
    background-color: #0b1228 !important;
    border: 1px solid rgba(0, 229, 255, 0.2) !important;
}
html[data-theme="dark"] .nice-select .option { color: #cbd5e1 !important; }
html[data-theme="dark"] .nice-select .option:hover,
html[data-theme="dark"] .nice-select .option.focus,
html[data-theme="dark"] .nice-select .option.selected.focus { background-color: rgba(0, 229, 255, 0.1) !important; }
html[data-theme="dark"] .nice-select::after { border-color: #cbd5e1 !important; }

/* ---- Buttons ---- */
html[data-theme="dark"] .btn--base {
    background: linear-gradient(135deg, #00A3FF, #BF5AF2) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    box-shadow: 0 0 20px rgba(0, 163, 255, 0.25) !important;
}
html[data-theme="dark"] .btn--base:hover {
    box-shadow: 0 0 28px rgba(191, 90, 242, 0.45) !important;
    color: #ffffff !important;
}
html[data-theme="dark"] .header-action .btn--base.btn {
    background: transparent !important;
    border: 1px solid rgba(0, 229, 255, 0.5) !important;
    box-shadow: none !important;
}

/* ---- Cookie banner, scrollbars ---- */
html[data-theme="dark"] .cookie-main-wrapper {
    background-color: #0b1228 !important;
    border: 1px solid rgba(0, 229, 255, 0.2) !important;
}
html[data-theme="dark"] *::-webkit-scrollbar { background-color: #020617; }
html[data-theme="dark"] *::-webkit-scrollbar-thumb { background-color: #1e293b; }

/* ==========================================================================
   Light / dark toggle button (both themes)
   ========================================================================== */
.theme-toggle {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 50%;
    border: 1px solid rgba(15, 23, 42, 0.15);
    background: transparent;
    color: #1e293b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin: 0 12px;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
}
.theme-toggle:hover { border-color: var(--primary-color); color: var(--primary-color); }
.theme-toggle:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 2px; }
html[data-theme="dark"] .theme-toggle {
    border-color: rgba(0, 229, 255, 0.4);
    color: #FACC15;
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.15);
}
html[data-theme="dark"] .theme-toggle:hover { color: #00E5FF; border-color: #00E5FF; }
html[data-theme="dark"] .theme-toggle .icon-moon,
html:not([data-theme="dark"]) .theme-toggle .icon-sun { display: none; }
@media (max-width: 1199px) {
    .theme-toggle { margin: 10px 0; }
}

/* Light background photos (banner, footer, ...) are darkened in dark mode */
html[data-theme="dark"] .bg_img {
    background-color: #0b1026 !important;
    background-blend-mode: multiply !important;
}
