:root {
    --text-color: #f8f9fa;
    --text-muted-color: #999;
    --card-bg-color: rgba(255, 255, 255, 0.05);
    --card-border-color: rgba(255, 255, 255, 0.1);
    --card-border: 1px solid var(--card-border-color);
    --app-background-color: #212529;
}

.dark-text {
    color: rgba(255, 255, 255, 0.5)
}

.small-font {
    font-size: small;
    color: var(--text-muted-color);
}

/* Fullscreen loading overlay */
._dash-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background-color: var(--app-background-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Spinner inside the loading overlay */
._dash-loading::after {
  content: '';
  display: inline-block;
  width: 3rem;
  height: 3rem;
  border: 0.3rem solid white;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
  100% {
    transform: rotate(360deg);
  }
}

button, .btn {
  border-radius: 15px !important;
}

.alert {
  border-radius: 15px !important;
}

.toast {
  border-radius: 15px !important;
  overflow: hidden; /* ensures header inherits rounding visually */
}

.modal-content {
  border-radius: 15px !important;
}

.hidden {
  display: none;
}
