/* Hide arrows in input type=number (Chrome, Safari, Edge) */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Hide arrows in Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.bg-blue-light{
    background-color: rgb(230, 249, 255) !important;
}

.textBlue {
    color: #000d41 !important;
}

.shadow-none{
    box-shadow: none !important;
}

.text-title{
    color: #000a25 !important;
}

.text-black{
    color: #000000 !important;
}

.textBlack {
    color: #000 !important;
}

.text-sec{
    color: #515151 !important;
}

.border-none{
    border: none !important;
}

.signin-img{
    width: 200px !important;
    height: auto !important;
    margin-bottom: 0px !important;
}

.signup-img{
    width: 200px !important;
    height: auto !important;
    margin-bottom: 0px !important;
}

.out-hr{
    height: 1px !important;
    color: #4A77F0 !important;
    background: #4A77F0 !important;
    font-size: 0 !important;
    border: 0 !important;
}

.eye{
    position: relative !important;
    top: -30px !important;
    right: -200px !important;
}

.select-div{
    margin-top: 15px !important;
}

#country {
    appearance: none; /* Remove native styling */
    -webkit-appearance: none;
    -moz-appearance: none;

    background-color: #ffffff !important;
    color: #000 !important;
    font-size: 14px !important;

    padding: 10px 12px !important;
    height: 42px !important;
    width: 100%;
    border: none !important;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

#country:focus {
    outline: none !important;
    box-shadow: 0 4px 10px rgba(74, 119, 240, 0.15);
}

.custom-select {
    color: #B2B2B2; /* default color is placeholder */
}

.custom-select:valid {
    color: #000; /* change color when valid value is selected */
}

.signup-input{
    background-color: #ffffff !important;
    border: none !important;
    height: 40px !important;
    color: #000a25 !important;
    
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.signup-input::placeholder{
    color: #000 !important;
    font-size: 14px !important;
}

.signup-input:focus {
    border-color: #4A77F0;
    box-shadow: 0 4px 10px rgba(74, 119, 240, 0.15);
}

/* main start  */

.container-bg {
    background-color: #E6F9FF !important;
}

.headTop {
    background: linear-gradient(to top, #021867 0%, #00002c 80%) !important;
    height: 180px !important;
    padding: 0 !important;
    overflow: hidden;
    transition: border-radius 0.3s ease;
}

/* Rounded bottom for desktop */
@media (min-width: 768px) {
    .headTop {
        border-bottom-left-radius: 25px !important;
        border-bottom-right-radius: 25px !important;
        max-width: 100%; /* Ensures col-12 doesn't overflow */
    }
}

/* Flat corners on mobile */
@media (max-width: 767.98px) {
    .container-fluid,
    .row,
    .col-12 {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    #innerBody {
        padding-top: 160px !important;
        padding-bottom: 90px !important;
    }

    #innerBody2 {
        padding-top: 50px !important;
        padding-bottom: 0px !important;
    }
}


.bgGradientPrimary2 {
    background: linear-gradient(to bottom, #00145b 0%, #00002c 80%) !important;
}

.colorGold {
    color: #F0C10C !important;
}

.textWhite {
    color: #ffffff !important;
}

.bgWhite{
    background-color: #ffffff !important;
}

.footerFont {
    font-size: 10px;
    margin-top: 8px;
}

.fitems .doCenter {
    text-align: center;
}

.fitems .fa,
.fitems .fa-solid {
    font-size: 20px;
    display: block;
    margin: 0 auto;
}

.fitems .footerFont {
    font-size: 10px;
    margin-top: 4px;
    display: block;
    text-align: center;
}

#innerBody {
    padding-top: 160px; /* height of .headTop */
    padding-bottom: 90px; /* height of footer */
    overflow-x: hidden;
}

#innerBody2 {
    padding-top: 50px !important;
    padding-bottom: 0px !important;
    overflow-x: hidden;
}

.user-image{
    width:70px !important;
    height:70px !important;
    margin-top: -5px !important;
    border: 2px solid #fff !important;
    border-radius: 50% !important;
}

.bg-box{
    background-color: #fff6da !important;
    margin-top: -50px !important;
}

.div-shadow{
   box-shadow: 0px 1px 8px 1px rgba(16, 16, 16, 0.3) !important;
}

.main-div{
    background: #00104a !important;
    border: 2px solid #3298fe !important;
    border-radius: 12px !important;
}

.main-balance{
    margin-top: -12px !important;
}

.doCenter{
    display: flex !important;
    justify-content: center !important;
}

.outer-div-margin{
    margin-top: 25px !important;
}

.bal-div{
    border: 1px solid #000d41 !important;
    background: #eee !important;
    max-width: 105px !important;
    min-width: 105px !important;
}

.bal-img{
    width: 35px !important;
    height: auto !important;
}

.unit-div{
    background: #00104a !important;
    /* border: 2px solid #3298fe !important; */
    border: 2px solid #ffffff !important;
    border-radius: 12px !important;
}

.hr-blue{
    border: 0;
    height: 2px;
    background-color: #0dcaf0b0; /* Bootstrap text-info color */
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.hr-light-blue{
    border: 0;
    height: 2px;
    background-color: #051f7a; /* Bootstrap text-info color */
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.buy-modal-bg{
    background: linear-gradient(to bottom,#000d41 20%, #000258 100%);
}

.setting-modal-div{
    background: linear-gradient(to bottom,#000223 30%, #000000 100%) !important;
    max-width: 200px !important;
    padding: 30px 20px !important;
    border: 2px solid #DE7F06 !important;
}

.setting-modal-img{
    width: 70px !important;
    height: auto !important;    
}

.top-img{
    width: 50px !important;
    height: auto !important;
}

.headTop2 {
    background: linear-gradient(to top, #021867 0%, #00002c 80%) !important;
    height: 100px !important;
    padding: 0 !important;
    overflow: hidden;
    transition: border-radius 0.3s ease;
}

.deposit-div{
    margin-top: -40px !important;
}

.deposit-div2{
    margin-top: -20px !important;
}

.deposit-inner-div{
    background: #00104a !important;
    border: 2px solid #3298fe !important;
    border-radius: 12px !important;
}

.deposit-info {
    padding: 0px 5x 0px 10px !important;
    margin-top: 10px !important;
}

.deposit-hr-1{
    margin-top: 0px !important;
}

.form-inner{
    padding: 0px 15px !important;
}

.form-font{
    font-size: 14px !important;
}

.deposit-form-input{
    background-color: #E6F9FF !important;
    color: #00104A !important;
}

.deposit-form-input::placeholder{
    color: #0d0d0d !important;
}

.buy-modal-img{
    width: 80px !important;
    height: auto !important;    
}

.income-div{
    background: #014487 !important;
    /* border: 2px solid #3298fe !important; */
    border: 2px solid #ffffff !important;
    border-radius: 12px !important;
}

.commission-div-margin{
    margin-top: -30px !important;
}

.commission-div{
    border: 2px solid #fff !important;
    background: linear-gradient(to bottom,#3d2600 30%, #000000 100%);
    border-radius: 12px !important;
}

.commission-img {
    width: 50px !important;
    height: auto !important; 
}

.sponsor-div-margin{
    margin-top: 35px !important;
}

.sponsor-input {
    background-color: #ffffff !important;
    border: 1px solid #5A83F1 !important;
    color: #00104A !important;
}

.team-div-margin {
    margin-top: 20px !important;
}

.team-main-div {
    background-color: #000d41 !important;
    border-radius: 12px !important;
    border: 2px solid #fff !important;
}

.border-left-gold {
    border-left: 1px solid #ffc761 !important;
}

.border-right-gold {
    border-right: 1px solid #ffc761 !important;
}

.border-top-gold {
    border-top: 1px solid #ffc761 !important;
}

.border-bottom-gold {
    border-bottom: 1px solid #ffc761 !important;
}

.view-div{
    border: 1px solid #000d41 !important;
    background: #eee !important;
    max-width: 105px !important;
    min-width: 105px !important;
}

.team-image{
    width: 45px !important;
    height: auto !important;
}

.view-div-margin {
    margin-top: 20px !important;
    margin-bottom: 10px !important;
}

.reports-div-margin {
    margin-top: -30px !important;
}

.rep-image {
    width: 40px !important;
    height: auto !important;
}

#otp{
    color: #00104A !important;
}

input::placeholder{
    color: #00104A !important;
}

#otp::placeholder,
#otp::-webkit-input-placeholder,
#otp::-moz-placeholder,
#otp:-ms-input-placeholder {
    color: #00104A !important;
    opacity: 1 !important;
}

.units-div-margin {
    margin-top: 0px !important;
}

#plus {
    border: none !important;
    background-color: green !important;
    color: #fff !important;
    font-size: 15px !important;
    border-radius: 10px !important;
    padding: 10px 25px !important;
}

#minus {
    border: none !important;
    background-color: red !important;
    color: #fff !important;
    font-size: 15px !important;
    border-radius: 10px !important;
    padding: 10px 25px !important;
}

#units-input {
    background-color: transparent !important;
    border: none !important;
    min-height: 50px !important;
    font-size: 30px !important;
    max-width: 87px !important;
    text-align: center !important;   
}

.unitModalBg {
    background: linear-gradient(to bottom,#3d2600 30%, #000000 100%) !important;
}

.referral-div-margin {
    margin-top: 30px !important;
}

.referral-main-div {
    background-color: #fff !important;
    border-radius: 10px !important;
    overflow: hidden !important
}

.referral-header {
    background-color: #014487 !important;
    min-height: 70px !important;
    width: 100% !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.referral-img{
    width:80px !important;
    height:80px !important;
    border: 2px solid #fff !important;
    border-radius: 50% !important;
    z-index: 99 !important;
    margin-top: -40px !important;
}

.referralUserName {
    color: #00104A !important;
    font-weight: 700 !important;
    font-size: 20px !important;
}

.referralFullName {
    color: #000 !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    margin-top: -5px !important;
}

.referralEmail {
    color: #00104A !important;
    font-weight: 400 !important;
    font-size: 15px !important;
    margin-top: -5px !important;
}

.referral-hr {
    height: 2px !important;
    background-color: #a1a1a1 !important;
    width: 90% !important;
    margin-top: 0px !important;
}

.border-blue {
    border: 2px solid #00104A !important;
}

.bg-blue {
    background-color: #00104A !important;
}

.bg-blue-plus {
    border: 2px solid #fff !important;
}

.bg-blue2 {
    background-color: #014487 !important;
    border-radius: 10px !important;
}

.levelBtn{
    color: #ffffff !important;
    min-width: 35px !important ;
    min-height: 35px !important ;
    max-width: 35px !important ;
    max-height: 35px !important ;
    border-radius: 50% !important;
    font-weight: bold;
}

.level-div-margin {
    margin-top: 25px !important;
}

.level-main-div {
    background-color: #fff !important;
    border: 1px solid #014487 !important;
    border-radius: 10px !important;
}

.level-hr {
    height: 2px !important;
    background-color: #a1a1a1 !important;
    width: 100% !important;
    margin-top: 0px !important;
}

.bal-div-2{
    border: 1px solid #fff !important;
    background: #014487 !important;
    max-width: 48% !important;
    min-width: 48% !important;
}

.wallet2{
    margin-top: -10px !important;
}

.modal-head {
    background-color: #014487 !important;
    padding: 10px;
}

.withdrawal-modal-img{
    width: 50px !important;
    height: auto !important;    
}

.unit-div-margin {
    margin-top: 20px !important;
}

.unit-main-div {
    background-color: #fff !important;
    border: 1px solid #014487 !important;
    border-radius: 10px !important;
}

.unit-hr {
    height: 1px !important;
    background-color: #a1a1a1 !important;
    width: 100% !important;
    margin-top: 0px !important;
}

.levelBtn2{
    color: #ffffff !important;
    min-width: 50px !important ;
    max-width: 50px !important ;
    min-height: 35px !important ;
    max-height: 35px !important ;
    border-radius: 10px !important;
    font-weight: bold;
}

.levelBtn21{
    color: #ffffff !important;
    min-width: 70px !important ;
    max-width: 70px !important ;
    min-height: 35px !important ;
    max-height: 35px !important ;
    border-radius: 10px !important;
    font-weight: bold;
}

.wid-btn{
    color: #ffffff !important;
    min-width: 115px !important ;
    max-width: 115px !important ;
    min-height: 35px !important ;
    max-height: 35px !important ;
    border-radius: 10px !important;
    font-weight: bold;
}

.wid-hr {
    height: 2px !important;
    background-color: #005bc3 !important;
    width: 100% !important;
    margin-top: 0px !important;
}

.text2 {
    color: #343434 !important;
}

.subject-div {
    margin-top: -10px !important;
}

/* Style the select dropdown */
.subject-div select {
    background-color: #99caff !important;       /* dark background */
    color: #000 !important;                  /* white text */
    padding: 8px;
    border-radius: 4px;
}

/* Change arrow icon color for custom select in some browsers */
.subject-div select option {
    background-color: #001548;       /* dropdown option background */
    color: #fff;                  /* dropdown option text color */
}

/* On focus */
.subject-div select:focus {
    outline: none;
}

.details-area {
    background-color: #99caff !important;
    color: #000 !important;
}

/* Placeholder for all major browsers */
.details-area::placeholder { /* Standard */
    color: #494949 !important;
    opacity: 1 !important; /* ✅ Prevents Chrome from making it light */
}
.details-area::-webkit-input-placeholder { /* Chrome, Safari, Edge */
    color: #494949 !important;
    opacity: 1 !important;
}
.details-area:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #494949 !important;
    opacity: 1 !important;
}
.details-area::-ms-input-placeholder { /* Microsoft Edge (legacy) */
    color: #494949 !important;
    opacity: 1 !important;
}

.rank-img {
    width: 120px !important;
    height: auto !important;
}

.rank-top-margin {
    margin-top: -25px !important;
}

.rank-main-div {
    background: linear-gradient(to bottom, #021867 0%, #00002c 80%) !important;
    border-radius: 12px !important;
    border: 2px solid #fff !important;
    padding: 10px 8px 10px 8px !important;
}

.rank-main-div h6 {
    line-height: 1.6;
}

.coin-main-div {
    background: linear-gradient(to bottom, #013516 0%, #00002c 80%) !important;
    border-radius: 12px !important;
    border: 2px solid #fff !important;
    padding: 14px 8px 14px 8px !important;
}

.coin-main-div h6 {
    line-height: 1.6;
}

/* Keep the icon inside the input on all screens */
.password-field .signup-input {
    padding-right: 44px !important; /* space for the eye button */
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    z-index: 5; /* above input */
    cursor: pointer;
    line-height: 1;
}

.password-toggle i {
    font-size: 1.1rem;
}

/* Override old .eye positioning if it exists elsewhere */
.eye {
    position: static !important;
    top: auto !important;
    right: auto !important;
}

/* Tweak for very small screens */
@media (max-width: 576px) {
    .password-toggle { right: 10px; }
}

/* ---- Mobile: eye icon inside the input (right) ---- */
@media (max-width: 767.98px) {
  /* add room for the icon inside the input */
  .password-field .signup-input {
    padding-right: 44px !important;
  }

  /* position the toggle inside the input on the right */
  .password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    z-index: 5;
    cursor: pointer;
    line-height: 1;
  }

  .password-toggle i {
    font-size: 1.1rem;
  }

  /* neutralize any old positioning that pushed the icon outside */
  .eye {
    position: static !important;
    top: auto !important;
    right: auto !important;
  }
}


/* Keep balance box visible while scrolling */
#balHist{
    position: sticky; 
    top: 12px; 
    z-index: 99999;
}

@media (min-width: 768px){
  /* tiny breathing room on larger screens */
  #balHist{ top: 16px; }
}


/* --- Balance block: fixed, centered, non-scrollable --- */
#balHist.is-fixed {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;                 /* above content, below modals */
  width: var(--bal-w, 100%);    /* keeps original width */
  max-width: 540px;             /* same feel as col-md-5 */
}

/* Position it just below your fixed header (headTop = 180px; bg-box pulls up ~50px) */
@media (min-width: 768px) {
  #balHist.is-fixed { top: 170px; }
}

/* On small screens your header padding is ~160px; keep a bit of breathing space */
@media (max-width: 767.98px) {
  #balHist.is-fixed { top: 170px; }
}

/* Optional: avoid pointer issues while fixed stacking:
   Make the inner box define the hit area cleanly. */
#balInner { pointer-events: auto; }
