/* © 2025 HexaShift — Tous droits réservés */
:root {
  --bg: #020617;
  --bg-card: #0b1220;
  --border: rgba(56, 189, 248, 0.35);
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --accent: #38bdf8;
  --accent-strong: #0ea5e9;
  --glow: 0 0 32px rgba(56, 189, 248, 0.25);
  --radius: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(56,189,248,0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(56,189,248,0.12), transparent 55%),
    #020617;
  color: var(--text);
}

.hs-container {
  width: 100%;
  max-width: 520px;
  padding: 28px 20px 22px;
  text-align: center;
  animation: hs-fade-up 0.55s ease-out;
}

.hs-logo {
  width: 130px;
  height: auto;
  margin: 0 auto 18px auto;
  display: block;
  filter: drop-shadow(0 0 22px rgba(56,189,248,0.45));
}

.hs-title {
  margin: 0 0 8px;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  font-weight: 600;
  color: var(--accent);
  text-shadow: 0 0 14px rgba(56,189,248,0.5);
}

.hs-subtitle {
  margin: 0 0 22px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hs-card {
  background: radial-gradient(circle at top, rgba(15,23,42,0.9), rgba(15,23,42,0.98));
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 26px 26px 24px;
  margin: 0 auto;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 0 40px rgba(15,23,42,0.9), var(--glow);
  backdrop-filter: blur(10px);
  animation: hs-fade-up 0.6s ease-out;
}

.hs-form {
  text-align: left;
}

.hs-label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hs-input {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 16px;
  border-radius: 11px;
  border: 1px solid rgba(148,163,184,0.4);
  background: #020617;
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.hs-input:focus {
  border-color: var(--accent);
  background: #020617;
  box-shadow: 0 0 0 1px rgba(56,189,248,0.5), 0 0 18px rgba(56,189,248,0.25);
}

.hs-btn-primary {
  width: 100%;
  padding: 11px 0;
  border: none;
  border-radius: 999px;
  background: linear-gradient(125deg, var(--accent), var(--accent-strong));
  color: #020617;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 30px rgba(56,189,248,0.45);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

.hs-btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 14px 36px rgba(56,189,248,0.6);
}

.hs-btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 6px 18px rgba(15,23,42,0.9);
}



.hs-actions {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.hs-btn-radar {
  display: inline-block;
  text-align: center;
  width: 100%;
  text-decoration: none;
}

.hs-links-premium {
  margin-top: 22px;
  font-size: 0.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
}

.hs-links-premium a {
  color: var(--accent-strong);
  text-decoration: none;
  transition: 0.18s ease;
}

.hs-links-premium a:hover {
  text-decoration: underline;
  filter: brightness(1.25);
}

.hs-dot {
  color: var(--accent);
  font-weight: 600;
  opacity: 0.9;
  margin: 0 2px;
}

.hs-footer {
  margin-top: 18px;
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Messages */
.hs-error,
.hs-success {
  margin-bottom: 18px;
  padding: 11px 13px;
  border-radius: 12px;
  font-size: 0.85rem;
  text-align: left;
}

.hs-error {
  background: rgba(248,113,113,0.08);
  border: 1px solid rgba(248,113,113,0.45);
  color: #fecaca;
}

.hs-success {
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.45);
  color: #bbf7d0;
}

/* Dashboard text helpers */
.dash-title {
  margin-top: 6px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent);
}

.dash-text {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Animation */
@keyframes hs-fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive tweaks */
@media (max-width: 480px) {
  .hs-container {
    padding: 20px 14px 16px;
  }
  .hs-card {
    padding: 22px 18px 20px;
  }
}


/* Lien du logo HexaShift (cliquable uniquement) */
.hs-logo-link { display: inline-block; }
