.custom-button {
    background-color: #1C3D63;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-button:hover {
    background-color: #0d4a86;
}

.tooltip-text {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    background-color: #071d33;
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    white-space: nowrap;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 8px 16px rgba(5, 14, 92, 0.925);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 100;
    pointer-events: none;
}

.custom-button:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) scale(1);
}


.theme-toggle-icon {
    font-size: 24px;
}
.home-icon {
  font-size: 24px;
}


body.dark {
    background-color: #75a7da;
}

body.light {
    background-color: #04141d;
}

body.dark h1 {
  color: #04141d;
}

body.light h1 {
  color: #75a7da;
}

body.dark footer {
    background-color: #04141d;
    color: #ffffff;
}

body.light footer {
    background-color: #75a7da;
    color: #000000;
}

body.dark p {
  color: #04141d;
}

body.light p {
  color: #75a7da;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 8px 0;.custom-button {
    background-color: #1C3D63;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-button:hover {
    background-color: #0d4a86;
}

.tooltip-text {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    background-color: #071d33;
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    white-space: nowrap;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 8px 16px rgba(5, 14, 92, 0.925);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 100;
    pointer-events: none;
}

.custom-button:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) scale(1);
}


.theme-toggle-icon {
    font-size: 24px;
}
.home-icon {
  font-size: 24px;
}


body.dark {
    background-color: #04141d;
}

body.light {
    background-color: #75a7da;
}

body.dark h1 {
  color: #04141d;
}

body.light h1 {
  color: #75a7da;
}

body.dark footer {
    background-color: #04141d;
    color: #ffffff;
}

body.light footer {
    background-color: #75a7da;
    color: #000000;
}

body.dark p {
  color: #1c6e9e;
}

body.light p {
  color: #75a7da;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 8px 0;
}

.footer-stream {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 8px 0;
}

.custom-button i {
    margin-right: 5px; /* Adjust the margin as needed for spacing */
}

/* Add a glowing effect to the image */
.glowing-effect {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 5px #fff);
    }
    to {
        filter: drop-shadow(0 0 20px #070230);
    }
}

@keyframes stars {
    0% { background-position: 0 0; }
    100% { background-position: 100% 100%; }
}

/* Adjust the margin-top for the first image to reduce the space */
.first-image {
    margin-top: 10px; /* Adjust this value as needed */
}

.hidden {
  display: none;
}

#loader.hidden {
  display: none;
}
}

.custom-button i {
    margin-right: 5px; /* Adjust the margin as needed for spacing */
}

/* Add a glowing effect to the image */
.glowing-effect {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 5px #fff);
    }
    to {
        filter: drop-shadow(0 0 20px #070230);
    }
}

@keyframes stars {
    0% { background-position: 0 0; }
    100% { background-position: 100% 100%; }
}

/* Adjust the margin-top for the first image to reduce the space */
.first-image {
    margin-top: 10px; /* Adjust this value as needed */
}

.hidden {
  display: none;
}

#loader.hidden {
  display: none;
}
.stat-box {
  background-color: #1C3D63;
  color: white;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  opacity: 1;
  transition: opacity 0.5s, transform 0.3s, box-shadow 0.3s;
  width: 100%;
}

.stat-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.stat-key {
  font-size: 0.85rem;
  color: #a5d2ff;
  margin-bottom: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffff;
  word-break: break-word;
}

#chat-messages {
  max-height: 550px;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
}


#chat-widget.collapsed {
  width: 40px !important;
  padding: 0 !important;
}

#chat-widget.collapsed *:not(button) {
  display: none;
}

.sidebar-dark {
  background-color: #04141d;
}

.bg-light-blue {
  background-color: #75a7da !important;
}

.bg-light-blue:hover {
  background-color: #1C3D63 !important; /* Tailwind's blue-800 */
}

.metrics-table {
  background-color: #04141d;
  color: #75a7da;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  border: 1px solid #1C3D63;
}

.metrics-table th,
.metrics-table td {
  border-bottom: 1px solid #1C3D63;
  padding: 12px 16px;
  font-size: 1rem;
}

.metrics-table th {
  background-color: #1C3D63;
  color: #75a7da;
  font-weight: 600;
}

.metrics-table tr:last-child td {
  border-bottom: none;
}

.metrics-table tr:hover {
  background-color: #1C3D63;
  color: #fff;
  transition: background 0.2s, color 0.2s;
}

#provider-json {
  background: #04141d;
  color: #75a7da;
  border-radius: 12px;
  padding: 1.5rem;
  font-family: 'Fira Mono', 'Menlo', 'Monaco', 'Consolas', monospace;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  border: 1px solid #1C3D63;
  overflow-x: auto;
  white-space: pre-wrap;
}

.cursor-trail {
  position: fixed;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: fadeTrail 0.8s linear forwards;
  filter: blur(1px);
}

@keyframes fadeTrail {
  0% { opacity: 1; }
  80% { opacity: 0.4; }
  100% { opacity: 0; }
}

/* Dark mode cursor */
body.light .cursor-trail {
  background: radial-gradient(circle at 30% 30%, #75a7da 60%, #1C3D63 100%);
  box-shadow: 0 0 8px 4px #75a7da66, 0 0 16px 8px #1C3D6333;
}

/* Light mode cursor */
body.dark .cursor-trail {
  background: radial-gradient(circle at 30% 30%, #1C3D63 60%, #75a7da 100%);
  box-shadow: 0 0 8px 4px #1C3D6366, 0 0 16px 8px #75a7da33;
}