/* ============================================================
   LOGIN.CSS  –  Styles for the login / splash screen
   ============================================================ */

.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--aikido-green);
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

/* Decorative radial glow overlays */
.login-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%,   rgba(217,32,39,0.12)  0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 100%,  rgba(34,197,94,0.08)  0%, transparent 60%);
  pointer-events: none;
}

/* ── Logo ── */
.logo-container {
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.nav-logo {
  width: 12rem;
  height: auto;
}

/* ── Form ── */
.login-form {
  width: 100%;
  max-width: 20rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 10;
}

.code-input {
  width: 100%;
  height: 3.5rem;
  border-radius: 9999px;
  background-color: var(--white);
  text-align: center;
  color: var(--black);
  font-size: 1.125rem;
  font-family: inherit;
  border: none;
  outline: none;
  box-shadow:
    0 10px 15px -3px rgba(0,0,0,0.15),
    0  4px  6px -2px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.code-input:focus {
  box-shadow:
    0 0 0 2px var(--aikido-red),
    0 10px 15px -3px rgba(0,0,0,0.15);
}

.submit-btn {
  width: 100%;
  height: 3.5rem;
  border-radius: 9999px;
  background-color: var(--aikido-red);
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  font-family: 'Oswald', inherit;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 8px 20px rgba(217,32,39,0.35);
  transition: all 0.2s;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.submit-btn:hover            { filter: brightness(1.1); transform: translateY(-1px); }
.submit-btn:active           { transform: scale(0.97); }
.submit-btn:disabled         { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ── Error ── */
.error-msg {
  color: #f87171;
  text-align: center;
  font-weight: 600;
  animation: pulse 2s cubic-bezier(0.4,0,0.6,1) infinite;
}

/* ── Social icons footer ── */
.footer-socials {
  position: absolute;
  bottom: 2rem;
  display: flex;
  gap: 1.5rem;
  z-index: 10;
}
.social-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
}
.si-y  { background: #dc2626; }
.si-tk { background: #000; }
.si-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.si-fb { background: #2563eb; }
