
.udex-sidebar {
  width: 250px; /* or whatever fits your design */
  min-width: 250px;
  color: #fff;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  /*padding: 20px;*/
  z-index: 1050;
  overflow-y: auto;
  padding-bottom: 80px;
}

.udex-sidebar.open {
  transform: translateX(0);
}

.closed {
  display: none;
  /* or */
  width: 0;
  overflow: hidden;
}

#menu_btn {
  position: relative;
  z-index: 1051; /* higher than overlay (1049) and sidebar (1050) */
}
 
 /* Fullscreen loader */
    #loader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      /* background: #fff;  */
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 9999;
    }

    #main-content {
      display: none; /* Hide until page is loaded */
    } 
    .icon-container {
    position: absolute;
    /*top: 10px;*/
    left: 10px;
    width: 40px; /* Adjust as needed */
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-card-container {
  flex: 1 1 100%;
  max-width: 100%;
  width: 350px !important;
}

@media (min-width: 992px) {
  .custom-card-container {
    flex: 1 1 33.3333%;
    max-width: 33.3333%;
  }
}

@media (max-width: 767.98px) {
  .custom-card-container {
    max-width: 95%;
  }
}

.progress-container {
  width: calc(90% - 5px);
  margin: 0 auto;
  padding-top: 20px;
  padding-bottom: 20px;
}

@media (max-width: 767.98px) {
  .progress-container {
    max-width: 80%;
  }
}

 .transaction-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    .alert-info {
        
        background-color: rgba(1, 184, 255, 0.1) !important; /* Green background */
        color: #01b8ff !important;
        border-color: rgba(1, 184, 255, 0.1); 
        
    }
   
    .content {
      margin-left: 250px; /* Adjust this value based on the sidebar width */
    }
    .bg-drk {
      background-color: rgb(19, 25, 36) !important;
      color: #fff !important;
    }
    .card-body {
      background-color:  rgb(19, 25, 36) !important;
      color: #fff !important;
    }
    .bg-ddk {
      background-color: #0E121B !important;
      color: #fff !important;
    }
    
   .bg-box {
   background-color: rgb(19, 25, 36) !important;
      color: #fff !important;
      border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 6px; /* Optional: Adds rounded corners */
  padding: 16px; /* Optional: Adds space inside the card */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Adds a subtle shadow */
}
.bg-drop {
   background-color: #0E121B !important;
      color: #fff !important;
      /*border: 1px solid rgba(255, 255, 255, 0.1) !important;*/
  border-radius: 20px; /* Optional: Adds rounded corners */
  padding: 16px; /* Optional: Adds space inside the card */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Adds a subtle shadow */
}

.bg-box:focus {
    background-color: rgb(19, 25, 36);
    color: #fff !important;
    box-shadow: none;   /* Optional: Remove the default focus outline */
}



.nav-custm {
    font-weight: 500; /* Bold */
    color: #fff !important; /* Keep this if overriding other styles */
    font-size: 15px !important; /* Increase font size (use `!important` only if necessary) */
    font-weight: 500 !important;
    padding-left: 0; /* Remove default padding */
    padding-right: 0; /* Remove default padding */
}
    
.custom-icon {
        font-size: 15px !important; /* Adjust size as needed */
        color: #fff !important; /* Keep the white color */
        margin-right: 5px !important;
    }
.dropdown-itemm {
    display: block;
    width: 100%;
    padding: .25rem 3rem;
    clear: both;
    font-weight: 200;
    font-size: 14px;
    color: #fff !important;
    text-align: left;
    padding-left: 10px;
    white-space: nowrap;
    background-color: transparent;
    /*border: 1px solid rgba(255, 255, 255, 0.1) !important;*/
}

.dropdown-itemd {
    display: block;
    width: 100%;
    padding: 0.8rem 3rem;
    clear: both;
    font-weight: 400;
    font-size: 18px;
    color: #dadef4 !important;
    /*text-align: inherit;*/
    white-space: nowrap;
    background-color: transparent;
    /*border: 1px solid rgba(255, 255, 255, 0.1) !important;*/
}

.custom-file-label1 {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
    height: calc(2.25rem + 2px);
    padding: .375rem .75rem;
    font-weight: 400;
    line-height: 1.5;
    color: #fff;
     background-color: rgb(19, 25, 36) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: .25rem
}

.custom-file-label1::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: block;
    height: 2.25rem;
    padding: .375rem .75rem;
    line-height: 1.5;
    color: #fff;
    content: "Browse";
     background-color: rgb(19, 25, 36) !important;
    border-left: inherit;
    /*border-radius: 0 .25rem .25rem 0*/
}

.show-on-large {
    display: block;  /* Show by default */
}

@media (max-width: 992px) {  /* Hide on small screens */
    .show-on-large {
        display: none;
    }
}

.show-on-mobile {
    display: none; /* Hide by default */
}

@media (max-width: 992px) { /* Show only on small screens */
    .show-on-mobile {
        display: block;
    }
}
.fixed-widget {
    position: sticky;
    top: 50px; /* Adjust to match navbar height */
    z-index: 999;
    background-color: #131924; /* Same as the widget */
    padding: 5px 0;
}
.news-bg {
    background-color: rgb(19, 25, 36) !important;
    border-radius: 10px;
    /* padding: 10px; */
    width: 100%; 
    margin: 0 auto;
    color: #fff !important;
  }

  .news-bg iframe {
    background-color: transparent !important; /* Makes the iframe inherit the parent background */
  }
  /* Floating GTranslate Widget (Mobile/General) */
.gtranslate_wrapper {
    position: fixed !important;
    bottom: 0px !important;
    left: 15px !important;
    transform: translateY(-50%) !important;
    z-index: 1000 !important;
    display: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    align-items: center;
    background: transparent !important;
    padding: 5px;
    border-radius: 8px;
    box-shadow: none !important;
    color: #000 !important;
    min-width: 150px;
    overflow: visible !important;
}

/* Select Dropdown Styling */
.gtranslate_wrapper select {
    width: 100%;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* Prevent dropdown from going off-screen */
.gtranslate_wrapper .goog-te-combo {
    max-width: 180px;
    overflow: hidden;
    white-space: nowrap;
}

/* Fix overflow issues */
.goog-te-menu-frame.skiptranslate {
    position: fixed !important;
    left: 10px !important;
    transform: translateX(-100%) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    overflow-x: auto !important;
}

.goog-te-menu2 {
    max-width: 250px !important;
    overflow-x: auto !important;
}

/* GTranslate in Navbar for Desktop */
.gtranslate_navbar {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  color: #000 !important;
  padding: 5px 10px;
  border-radius: 5px;
  margin-left: 15px;
  position: relative !important;
}


/* GTranslate Text Styling */
.gtranslate_navbar .goog-te-gadget {
    color: #000 !important;
    background: transparent !important;
    font-size: 14px;
    border-radius: 5px;
}
.gtranslate_navbar .goog-te-gadget:hover {
  color: #000 !important;  /* Text stays black on hover */
  background: transparent !important;
}

/* Remove floating styles globally */
.goog-te-banner-frame.skiptranslate,
body > .skiptranslate {
    display: none !important;
}

/* Hide Navbar GTranslate on Mobile */
@media (max-width: 767px) {
  .gtranslate_wrapper {
    display: block !important;
  }
  
  .gtranslate_navbar {
    display: none !important;
  }
}

 .password-wrapper {
  position: relative;
}

.password-wrapper input {
  padding-right: 2.5rem; /* space for the eye icon */
}

.toggle-password-btn {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  color: #6c757d; /* or your link-primary color */
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.toggle-password-btn:focus {
  outline: none;
  color: #0d6efd; /* bootstrap primary blue on focus */
}


/* ===========================
   Default (dark mode assumed)
   =========================== */
.select2-container--default .select2-selection--single.bg-box {
    height: 40px;
    line-height: 38px;
    padding: 0 12px;
    background-color: #1e1e1e; /* dark bg */
    border: 1px solid #444;
    border-radius: 4px;
    color: #fff;
}

.select2-container--default .select2-selection--single.bg-box .select2-selection__rendered {
    color: #fff;
    line-height: 38px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px;
    top: 0px;
}

/* Dropdown: dark background and white text */
.select2-container--default .select2-dropdown {
    background-color: #1e1e1e;
    color: #fff;
    border: 1px solid #444;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    background-color: #2a2a2a;
    color: #fff;
    border: 1px solid #555;
}


/* Theme switcher */
/* Floating Toggle Button */
#themeToggleBtn {
  position: fixed;
  bottom: 50%;
  right: 20px;
  z-index: 99999;
  background-color: #fff;
  color: #000;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease-in-out;
}

.light-mode #themeToggleBtn {
  background-color: #222;
  color: #fff;
}

/* Light Theme Overrides */ 
body.light-mode .udex-sidebar,
body.light-mode .bg-drk,
body.light-mode .card-body,
body.light-mode .bg-ddk,
body.light-mode .bg-box,
body.light-mode .select-selected,
body.light-mode .custom-select,
body.light-mode .select-item,
body.light-mode .custom-card,
body.light-mode .item-form,
body.light-mode .bg-boxd,
body.light-mode .bg-boxt,
body.light-mode .custom-file-label1,
body.light-mode .custom-file-label1::after,
body.light-mode .news-bg {
  background-color: #f0f0f0 !important;
  color: #000 !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
}


body.light-mode .select-item:hover {
  background-color: #1199FA !important;
  color: #000 !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
}

body.light-mode .dropdown-itemm,
body.light-mode .dropdown-itemd,
body.light-mode .custom-icon,
body.light-mode .nav-custm {
  color: #000 !important;
}
body.light-mode .text-white {
  color: #000 !important;
}
body.light-mode .copycod {
  color: #1199FA !important;
}
body.light-mode {
  background-color: #ffffff !important; /* Light mode background */
  color: #000000; /* Light mode text */
}

body.light-mode .bg-drop {
  background-color: #f0f0f0 !important;
  color: #000 !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  border: 1px solid rgb(19, 25, 36) !important;
}
body.light-mode .navbar-toggler {
  background-color: rgb(19, 25, 36) !important;
}

/* ===========================
   Light Mode Overrides
   =========================== */
body.light-mode .select2-container--default .select2-selection--single.bg-box {
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    color: #000;
}

body.light-mode .select2-container--default .select2-selection--single.bg-box .select2-selection__rendered {
    color: #000;
}

/* Dropdown: light background and dark text */
body.light-mode .select2-container--default .select2-dropdown {
    background-color: #fff;
    color: #000;
    border: 1px solid #ccc;
}

body.light-mode .select2-container--default .select2-search--dropdown .select2-search__field {
    background-color: #fff;
    color: #000;
    border: 1px solid #ccc;
}