/* @import url('https://fonts.googleapis.com/css2?family=Kanit:wght@500&family=Poppins:wght@300;400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #10171f;
  color: #fff;
  height: 100vh;
  overflow: hidden;
}

.container {
  display: flex;
  height: 100vh;
}
 */


@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Monda:wght@400..700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Monda:wght@400..700&display=swap');

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
    font-family: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.right-side {
    background: url('../img/bgback.jpg') center center no-repeat;
    background-size: cover;
    opacity: 0.8;
}

#togglePassword{
    color: #000;
}

:root {
    --kanit: "Kanit", sans-serif;
    --monda: "Monda", sans-serif;
    --primary_clr: #000;
    --text_clr: #000000;
}

.spinner-border {
    color: #00A651 !important;
}

.form-close-btn {
    position: absolute;
    right: 8px;
    top: 8px;
}

.monda-regular {
    font-family: "Monda", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.primary {
    background-color: var(--primary_clr) !important;
}

.text-prim {
    color: #000000;
}

.main-dashboard {
    margin-top: 130px !important;
}

.container-fluid .back-img {
    width: 100vw;
    height: 100%;
    display: block;
}

.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    background: rgb(24 30 36);
}

.black-box {
    background: #f6fafd;
    top: 0;
    left: 0;
    z-index: 2;
    position: absolute;
    width: 100%;
    min-height: 100vh;
}

.nav-link {
    color: white !important;
    padding: 0px !important;
}

/* .nav-link:hover {
    color: #ffffff !important;
} */

/* -----------side menubar start---------- */

@media (max-width:992px) {
    .navbar {
        background-color: transparent !important;
    }

    .nav-bar-collaps-body {
        background-color: #000;
    }

    .offcanvas-header {
        border-bottom: 1px solid #9DC1EC;
    }

    .offcanvas {
        box-shadow: 0px 0px 5px var(--primary_clr);
    }

    .offcanvas-backdrop.show {
        opacity: .2 !important;
    }
}

.btn-close {
    --bs-btn-close-opacity: 1 !important;
}

.navbar-toggler:hover {
    background-color: #212529 !important;
}

/* -----------side menubar end---------- */
.nav-logo {
    width: 150px;
}

.blur-box {
    box-shadow: 0 0 5px 1px #0c3376;
    padding: 30px;
    width: 100%;
    max-width: 500px;
    z-index: 10;
    color: black;
    max-width: 100%;
    min-height: auto;
}

.blur-box h1 {
    position: relative;
}

.dot-1 {
    width: 7.5px;
    height: 7.5px;
    border-radius: 50%;
    background-color: white !important;
}

.form-label,
.form-btn {
    color: #F5F9FFC4 !important;
}

/* .form-control {
    background-color: transparent !important;
    color: #fff !important;
    border-color: #fff !important;
} */

.form-control:focus {
    border-color: white !important;
    box-shadow: #000 !important;
}

.navbar-toggler {
    background-color: #B3CFEE !important;
}

.navbar-toggler:hover {
    background-color: white !important;
}

form button {
    border-color: #fff !important;
}

.user-input {
    color: white;
}

.user-input::placeholder {
    color: rgba(157, 193, 236, 0.28) !important;
}

.user-table-head th {
    cursor: pointer;
}

.user-head h1,
.user-head i {
    color: #000000;
    z-index: 1;
    position: relative;
}

.user-head h1 {
    cursor: default;
}

.table {
    position: relative;
    --bs-table-color: #B5B5B5 !important;
    --bs-table-bg: none !important;
}

.user-head {
    color: black;
}

.user-head .icon-bg {
    z-index: 20 !important;
}

.user-head .icon-user-bg {
    position: relative;
    padding: 5px 15px;
}

.user-head .icon-bg {
    background-color: rgba(30, 39, 60, 1);
    position: relative;
    border-radius: 50%;
    width: 30px;
    height: 30px;
}

.user-list-content-height {
    min-height: 84vh;
    display: flex;
    align-items: center;
}



.icon-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: none;
}

.icon-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background-color: inherit;
    z-index: -1;
}

#lang:focus {
    outline: none;
}

.sub-select select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #1E273C;
    border: 0;
    padding: 2px 30px 2px 10px;
    font-size: 16px;
    border-radius: 30px;
    color: #ffffff;
    font-weight: 200 !important;
    /* width: 100%; */
}

/* Style for the dropdown arrow */

.sub-select {
    position: relative;
    display: inline-block;
}

#addModal .sub-select select,
#editModal .sub-select select {
    width: auto;
}

.sub-select::after {
    content: '⮟';
    position: absolute;
    top: 50%;
    right: 29.5%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #ffffff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #B8B8B9;
}

.sub-select-edit select {
    appearance: none;
}

/* .sub-select-edit:after {
    right: 155px;
} */

/* #addModal .sub-select::after {
    right: 31%;
} */

@media screen and (min-width:992px) and (max-width:1200px) {
    .navbar-nav li a {
        padding-right: 0px !important;
    }
}

@media (min-width: 576px) and (max-width: 991px) {

    #addModal .sub-select::after {
        right: 27%;
    }

}

@media (max-width: 575px) {

    #addModal .sub-select::after,
    #editModal .sub-select::after {
        display: none !important;
    }

    .sub-select select {
        padding: 2px 10px;
        appearance: auto;
    }
}

.sub-select:hover::after {
    color: #000000;
}


.edit,
.delete {
    border: 0;
    background-color: transparent;
}

.form-check-input:checked {
    background-color: #000 !important;
    border-color: white !important;
}

/* Table container with soft blur background */
.blur-box {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}


/* ---------------- */



/* ----------------- */


.modal-backdrop {
    --bs-backdrop-zindex: 0 !important;
    --bs-backdrop-bg: transparent !important;
    --bs-backdrop-opacity: 0.5;
}

.modal {
    background: rgba(6, 6, 6, 0.73);
    --bs-modal-border-color: rgba(0, 119, 255, 0.28) !important;
}

.modal-content {
    background-color: #e3e7ec !important;
    --bs-modal-border-color: #b3ceeec5;
    border-width: 2px !important;
}

.yes-btn:hover {
    background-color: transparent !important;
}

/* -------excel page css start------- */


.excel .blur-box {
    min-height: auto;
    border: 0 !important;
    background-color: transparent;
    padding: 12px 0 !important;
}

.excel .user-list-content-height {
    min-width: 84vw;
    min-height: auto;
    justify-content: center;
}

.index .user-list-content-height {
    min-width: 84vw;
    min-height: 84vh;
    justify-content: center;
}

.index .table tr,
.index .table td,
.index .table th {
    /* border: 1px solid #B3CFEE; */
    border-right: 1px solid rgba(179, 207, 238, 0.55) !important;
}

.index .table th {
    border-bottom: 1px solid rgba(179, 207, 238, 0.55) !important;
}

.excel .table tr,
.excel .table td,
.excel .table th {
    border: 1px solid rgba(179, 207, 238, 0.55) !important;
}

.excel .table-head {
    background: rgba(156, 192, 235, 0.15);
}

.dot-top {
    margin-bottom: -20px;
}

.dot-bottom {
    margin-top: -20px;
}

.excel-upload-btn {
    border: 1px solid #ffffff;
    background-color: transparent;
    color: #fff !important;
    font-weight: 500 !important;
    transition: 0.3s;
}

.excel-upload-btn:hover {
    background-color: #ffffff !important;
    color: #000 !important;
}


/* -------excel page css end------- */


/* -------excel page button end------- */

#forgotPasswordBtn {
    text-decoration: none;
    font-weight: 400;
}

.logout-btn {
    color: #769FCD !important;
}

.log-btn {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.custom-login-btn {
    background-color: #e8f0fe !important; 
    color: #e8f0fe !important;               
    border: 1px solid #e8f0fe !important;    
    padding: 10px 30px !important;
    border-radius: 3px !important;
    transition: background-color 0.3s ease, color 0.3s ease !important;
    max-width: 125px;
}

.custom-login-btn:hover {
    background-color: #e8f0fe !important;
    color: #000000 !important;
}

.yes-btn {
    background-color: #9DC1EC !important;
}

#uploadButton-short{
    border: 1px solid black !important;
}

#uploadButton-long{
    border: 1px solid black !important;
}

#addUserBtn, #editUserBtn{
    border: 1px solid black !important;
}

.dashed-box {
    min-width: 250px;
    min-height: 150px;
    background: #3F3F3F30;
    backdrop-filter: blur(5px);
    border-radius: 20px;
    width: 100%;
    z-index: 10;
    color: white;
    border: 1px dashed #B3CFEE !important;
    cursor: pointer;
    pad: 20px;
}

@media (max-width: 768px) {
    .excel .blur-box {
        padding: 0 !important;
    }
}

/* -------trade page css start------ */


.currency-pair h5 {
    display: inline;
    background-color: #9CC0EB;
    padding: 10px 20px;
    border-radius: 30px;
}

.trade .modal {
    --bs-modal-width: 600px !important;
}


/* -------trade page css end------ */

.decor-dots-top .dot,
.decor-dots-bottom .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  margin: 0 2px;
  opacity: 0.6;
}
.card-title {
  font-size: 1.1rem;
  color: #000000 !important;
  margin-bottom: 1rem !important;
}
.legend-icon {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 5px;
}
.legend-icon.active { background-color: #00c853; }
.legend-icon.inactive { background-color: #d50000; }

.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.legend-dot.basic { background-color: #0091ea; }
.legend-dot.standard { background-color: #ffab00; }
.legend-dot.premium { background-color: #aa00ff; }
.legend-dot.deactive { background-color: #d50000; }

.bar-wrap {
  width: 100%;
  background: #e0e0e0;
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
}
.bar-fill-basic {
  background: #0091ea;
  height: 10px;
  display: block;
}
.bar-fill-standard {
  background: #ffab00;
  height: 10px;
  display: block;
}
.bar-fill-premium {
  background: #aa00ff;
  height: 10px;
  display: block;
}

/*==============4-12-2024=========== */

/*---------------scroll-bar css----------------- */

.table-height {
    overflow: auto;
    max-height: 36vh;
}

.custom-scrollbars::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    margin-left: 10px;
    background-color: rgba(0, 0, 0, 0) !important;
}

.custom-scrollbars::-webkit-scrollbar-thumb {
    background-color: #6b728070;
    /* Thumb color */
    border-radius: 10px;
    /* Rounded edges */
}

.custom-scrollbars::-webkit-scrollbar-track {
    /* background-color: #054fe287;  */
    border-radius: 10px;
    /* Rounded edges for the track */
}

/* Optional: Hide scrollbar when not in use (similar to -ms-autohiding-scrollbar) */
.custom-scrollbars::-webkit-scrollbar-thumb:hover {
    background-color: #6b7280a0;
    /* Darker thumb on hover */
}

.excel-blur-box {
    box-shadow: 0px 0 150px 50px rgba(31, 38, 56, 0.5) !important;
}

.user-input::-webkit-outer-spin-button,
.user-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

/* upgrade page new css 20-12-2024 */
.upgrade-form-bg {
    background-color: rgb(22 36 57) !important;
    border: 1px solid #ffffff;
    max-width: 690px;
    margin: auto;
    border-radius: 15px;
}

.current-vesion {
    border: 1px solid #fff;
}

.upgrade-version-input {
    border: 1px solid #ffffff;
    outline: none;
    background-color: #000000;
}

.update-version-btn {
    border: 1px solid #ffffff;
    background-color: #ffffff;
    color: #000000;
    transition: 0.3s;
}

.update-version-btn:hover {
    border: 1px solid #ffffff !important;
    background-color: transparent !important;
    color: #ffffff !important;
}

.switch {
    position: relative;
    display: inline-block;
    width: 47px;
    height: 20px;
}


.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 15px;
    width: 15px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: #9DC1EC;
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.hidden {
    display: none;
}


/* ------------------ Pagination for user data table ------------ */
.user-data-page-select {
    background-color: #ffffff !important;
    color: #000000 !important;
    opacity: 1 !important;
    box-shadow: none !important;
}

.user-page-link {
    color: #000000 !important;
}

.active>.user-page-link,
.user-page-link.active {
    background-color: #e8f0fe !important;
    border: 1px solid #ffffff !important;
    color: #000 !important;
}

.user-search-input::placeholder {
    color: #fff !important;
}

/* ---------------------- Dashboard Traiangle Chart ------------- */
.label-container {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    font-family: Arial, sans-serif;
    color: white;
}

.label-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.label-item span {
    margin-left: 5px;
}

.triangle {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
}

.triangle.active {
    border-bottom: 10px solid #E79090;
    /* Color for active */
}

.triangle.deactive {
    border-bottom: 10px solid #59A8E9;
    /* Color for deactive */
}

.canvasjs-chart-credit {
    display: none !important;
}

/* Table scrollbar---------------------------------- */
.table-responsive::-webkit-scrollbar {
    width: 0px;
    height: 5px;
}
.table-responsive::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}
.table-responsive::-webkit-scrollbar-thumb {
    background: #8BAAD1;
    border-radius: 10px;
}
.table-responsive::-webkit-scrollbar-thumb:hover {
    background: #C3CCD6;
}

.excel .table tr, .excel .table td, .excel .table th:hover {
    color: #000;
}

.index .table tr, .index .table td, .index .table th:hover{
    color: #000;
}

/* for forget password modal css 06-02-2025 -------------------------------------------------------------*/

/* Modal Background */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.forget-password-content {
    width: 550px !important;
}

/* Modal Content */
.modal-content {
    background-color: #f6fafd !important;
    padding: 20px;
    width: 320px;
    border-radius: 10px;
    position: relative;
    transform: translateY(-30px);
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
    opacity: 0;
}

/* Smoothly Show Modal */
.modal.show {
    display: flex;
    opacity: 1;
}

.modal.show .modal-content {
    transform: translateY(0);
    opacity: 1;
}

/* Close Button */
.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 20px;
    cursor: pointer;
    z-index: 3;
}

/* Step Transitions */
.step {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.step.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}



.forget-password-btn {
    border: 1px solid #fff;
    color: #fff;
    transition: 0.3s;
    border-radius: 20px;
    background-color: transparent;
}


/* Loader css 6-01-2025 ---------------------------------- */



.table th,
.table td {
    text-align: center;
    vertical-align: middle;
}

.btn {
    border-radius: 5px;
}

.loading::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading::after {
    content: "Saving...";
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
}



.loader-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #fff;
    border-top: 5px solid #00A651;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* Global Loader Styles */
.global-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050;
    /* Ensures it's above all elements */
}


.toggle-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toggle-label {
    color: black;
    font-size: 14px;
}

.toggle-pill {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-pill input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #444;
    border-radius: 20px;
    transition: 0.4s;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.4s;
}

input:checked + .toggle-slider {
    background-color: #4caf50;
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}







/* LOGIN PAGE NEW STYLING */
.login-left {
  background: #0c1218;
  min-height: 100vh;
}

.login-right {
  background: url('../img/bgback.jpg') center center / cover no-repeat;
  position: relative;
}

.login-right::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(12, 18, 24, 0.6), rgba(12, 18, 24, 0.8));
}

.glass-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  color: #fff;
}

.login-logo {
  width: 500px;
}

.text-gold {
  color: #d4af37 !important;
}

.subtitle {
  color: rgba(255, 255, 255, 0.8);
  margin-top: -10px;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.login-input {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  color: #fff;
}

.login-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.input-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #d4af37;
}

.login-btn {
  background-color: #00b894;
  color: #fff;
  padding: 10px;
  border-radius: 30px;
  font-weight: bold;
  transition: 0.3s;
  border: 1px solid;
}

.login-btn:hover {
  background-color: #009874;
}

.otp-btn {
  background-color: #00b894;
  color: #fff;
  border-radius: 30px;
  padding: 8px 20px;
  font-weight: 500;
  width: 100%;
}

.toggle-password {
  cursor: pointer;
}




/* ===== DASHBOARD VISUAL ENHANCEMENTS ===== */

.main-dashboard {
  max-width: 1200px;
  margin: auto;
  padding-bottom: 40px;
}

.glass-card {
  background: #f7f9fb;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  height: 350px;
}

.card-title {
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: 600;
  color: #333;
}

.balance-value {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #000;
}

canvas {
  background: transparent;
}

.black-box {
  min-height: 100vh;
  background: #e3e7ec;
}

@media (max-width: 768px) {
  .glass-card {
    padding: 16px;
  }
}

#user-statistics-chart,#chart-subscription{
    height: 250px !important;
    width: 300px !important;
}

#top-clients-chart{
    height: 250px !important;
    width: 514px !important;
}