/* FULL SCREEN OVERLAY */
.overlay {

  position: fixed;
  inset: 0;
  background: radial-gradient(circle, #0f172a, #020617);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* LOADER BOX */
.loader-box {
  width: 420px;
  text-align: center;
  color: #fff;
  font-family: Arial, sans-serif;
}

/* HOURGLASS */
.hourglass {
  width: 60px;
  height: 60px;
  border: 6px solid #facc15;
  border-radius: 50%;
  position: relative;
  margin: 0 auto 20px;
  animation: spin 1.4s linear infinite;
}

.hourglass::before {
  content: "⏳";
  font-size: 36px;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* PROGRESS BAR */
.progress-text {
  font-size: 18px;
  margin-bottom: 10px;
}

.progress-bar {
  width: 100%;
  height: 12px;
  background: #1e293b;
  border-radius: 8px;
  overflow: hidden;
}

.progress-bar div {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #facc15, #fde047);
  transition: width 0.3s ease;
}

/* MESSAGE */
.loading-message {
  margin-top: 18px;
  font-size: 14px;
  color: #cbd5f5;
}
