.Select-control {
  border: none !important;
  box-shadow: none !important;
  background-color: transparent !important;
}

.Select {
  border: none !important;
  box-shadow: none !important;
  background-color: transparent !important;
}

/* Scroll animation */
@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Updated .marquee-text class */
.marquee-text {
  display: inline-block;
  padding-left: 100%; /* Starting point for the scroll */
  animation: marquee 80s linear infinite; /* Slower scroll with marquee animation */
  font-weight: normal; /* Remove boldness */
  white-space: nowrap; /* Prevent text from wrapping */
  color: white; /* Set text color to bright yellow */
}

/* Alternative scroll animation */
@keyframes scroll-right-to-left {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes cyanNeonPulse {
  0% {
    text-shadow: 0 0 2px #00ffff, 0 0 4px #00ffff, 0 0 6px #00ffff;
  }
  50% {
    text-shadow: 0 0 3px #00ffff, 0 0 6px #00ffff, 0 0 9px #00ffff;
  }
  100% {
    text-shadow: 0 0 2px #00ffff, 0 0 4px #00ffff, 0 0 6px #00ffff;
  }
}


/* ====remake login layout */
/* sarathi theme focus effect */
input:focus {
    border-color: #ff7f00 !important;
    box-shadow: 0 0 0 2px rgba(255, 127, 0, 0.2) !important;
}

button#login-button:hover {
    background-color: #ffa200 !important;
    transform: translateY(-2px);
}

.main-title {
    font-family: 'Montserrat', sans-serif;
}

/* Hide default Dash dots */
.dash-spinner * {
    display: none !important;
}

/* Outer Ring - Large & Thick */
.dash-spinner::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;  /* Increased size */
    height: 80px; /* Increased size */
    margin-top: -40px; /* Half of height */
    margin-left: -40px; /* Half of width */
    border: 4px solid #F0F1F2; /* Thicker border */
    border-top: 4px solid #F3BA2F; /* bnc Gold */
    border-radius: 50%;
    animation: spin-cool 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    display: block !important;
}

/* Inner Ring - Larger & Faster */
.dash-spinner::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;  /* Increased size */
    height: 40px; /* Increased size */
    margin-top: -20px; /* Half of height */
    margin-left: -20px; /* Half of width */
    border: 4px solid transparent; /* Thicker border */
    border-top: 4px solid #474D57; /* Contrast color */
    border-radius: 50%;
    animation: spin-cool 0.6s linear infinite reverse;
    display: block !important;
}

/* Updated Text Position for the larger spinner */
.dash-loading-callback::after {
    content: "ANALYZING MARKET DATA...";
    position: absolute;
    width: 100%;
    text-align: center;
    top: calc(50% + 60px); /* Lowered to clear the larger ring */
    left: 0;
    font-size: 12px;
    font-weight: 700;
    color: #474D57;
    letter-spacing: 1.5px;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
}

@keyframes spin-cool {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* floating login messages  */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* market summary */
.market-card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.06) !important;
    border-color: #d1d5db !important;
}


/* Make the selected Timeframe button look 3D/White */
#chart-toggle input:checked + label {
    background-color: #FFFFFF !important;
    color: #1E2329 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

/* Clean up the Dropdown to match bnc theme */
.bnc-dropdown .Select-control {
    border-radius: 8px !important;
    border: 1px solid #EAECEF !important;
    height: 40px !important;
    background-color: #FFFFFF !important;
}

/* Hover effect for the Load Button */
#submit-button:hover {
    filter: brightness(0.95);
}


/* Custom Scrollbar Styles */
.custom-scroll-container::-webkit-scrollbar {
    width: 6px;
}
.custom-scroll-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}
.custom-scroll-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.custom-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Falling Lines Background Animation Styles */
.line {
    position: relative;
    width: 1px;
    height: 100%;
    overflow: hidden;
}

.line::after {
    content: '';
    display: block;
    position: absolute;
    height: 15vh;
    width: 100%;
    top: -50%;
    left: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 75%, #ffffff 100%);
    animation: drop 7s 0s infinite;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.4, 0.26, 0, 0.97);
}

/* Different colors for each line's pseudo-element matching your animation configuration */
.line:nth-child(1)::after {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #FF4500 75%, #FF4500 100%);
    animation-delay: 0.5s;
}

.line:nth-child(2)::after {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #32CD32 75%, #32CD32 100%);
    animation-delay: 1s;
}

.line:nth-child(3)::after {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #1E90FF 75%, #1E90FF 100%);
    animation-delay: 1.5s;
}

.line:nth-child(4)::after {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #FFD700 75%, #FFD700 100%);
    animation-delay: 2s;
}

.line:nth-child(5)::after {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #8A2BE2 75%, #8A2BE2 100%);
    animation-delay: 2.5s;
}

.line:nth-child(6)::after {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #20B2AA 75%, #20B2AA 100%);
    animation-delay: 3s;
}

.line:nth-child(7)::after {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #DC143C 75%, #DC143C 100%);
    animation-delay: 3.5s;
}

.line:nth-child(8)::after {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #00FA9A 75%, #00FA9A 100%);
    animation-delay: 4s;
}

.line:nth-child(9)::after {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #FF1493 75%, #FF1493 100%);
    animation-delay: 4.5s;
}

.line:nth-child(10)::after {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #00BFFF 75%, #00BFFF 100%);
    animation-delay: 5s;
}

@keyframes drop {
    0% {
        top: -50%;
    }
    100% {
        top: 110%;
    }
}

/* Hides scrollbars for Chrome, Safari and Opera */
body::-webkit-scrollbar {
  display: none;
}

/* Hides scrollbars for IE, Edge and Firefox */
body {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}