@charset "UTF-8";

/* =========================
   GLOBAL
========================= */

html {
  background: linear-gradient(180deg, #EEF9FF 0%, #D8F0FF 52%, #CBE8FF 100%);
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  color: #1F2D3D;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
	text-align: center;
}

html, body {
  height: 100%;
  min-height: 100vh;
}

/* =========================
   FLOATING BACK BUTTON
========================= */

.floating-back-btn {
  position: fixed;
  left: max(16px, env(safe-area-inset-left));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 9999;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 10px 14px;
  border-radius: 999px;

  background: rgba(45, 140, 255, 0.9);
  backdrop-filter: blur(4px);

  border: 2px solid rgba(0,0,0,0.1);

  color: #ffffff !important;
  text-decoration: none !important;

  font-family: "Poppins", Arial, sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;

  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.floating-back-btn:hover,
.floating-back-btn:focus {
  background: rgba(31, 111, 224, 0.95);
  border-color: rgba(0,0,0,0.2);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.2);
  color: #ffffff !important;
  text-decoration: none !important;
}

.floating-back-btn:active {
  transform: translateY(0);
}

.floating-back-icon {
  font-size: 16px;
  opacity: 0.9;
  line-height: 1;
}

.floating-back-text {
  line-height: 1;
}

@media (max-width: 768px) {
  .floating-back-btn {
    left: max(12px, env(safe-area-inset-left));
    bottom: max(12px, env(safe-area-inset-bottom));
    padding: 9px 12px;
    font-size: 13px;
  }

  .floating-back-icon {
    font-size: 15px;
  }
}
#loading-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  font-family: "Poppins", Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #2F80ED;

  background: rgba(255,255,255,0.9);
  padding: 14px 20px;
  border-radius: 12px;

  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  z-index: 9999;
}