/* ============================
   PAGE LAYOUT
   ============================ */

body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;

  /* Visual upgrade: gradient depth */
  background: linear-gradient(to bottom, #0a0a0c 0%, #1a1a1f 100%);
  color: #f0f0f0;
}

/* Optional: subtle noise texture */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('/assets/noise.png');
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

/* Alpha banner stays fixed at the top */
.alpha-banner {
  width: 100%;
  padding: 0.8rem 1.2rem;
  background: #ffe08a;
  color: #333;
  font-weight: 600;
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

/* ============================
   BRANDING
   ============================ */
/* Removed .brand-title and .brand-tagline here.
   They now live in common.css as the single source of truth. */

/* Badge row */
.brand-badge {
  margin-top: 0.5rem;
}

.badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  color: #fff;
  font-size: 0.95rem;
}

.divider {
  margin: 0 0.4rem;
  opacity: 0.6;
}

/* ============================
   LOGIN FORM
   ============================ */

#loginContainer {
  width: 100%;
  display: flex;
  justify-content: center;

  /* Enable glow layer */
  position: relative;
  z-index: 1;
}

/* Glow behind login box */
#loginContainer::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  height: 480px;
  background: radial-gradient(circle, rgba(0, 120, 255, 0.25) 0%, transparent 80%);
  z-index: 0;
  pointer-events: none;
}

.wrapper {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  border-radius: 12px;

  background: rgba(255,255,255,0.08);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  box-sizing: border-box;
  overflow: hidden;
}

#loginForm h2 {
  margin-top: 0;
  margin-bottom: 1.2rem;
  color: #ffffff;
  font-weight: 600;
}

/* Input boxes */
.input-box {
  position: relative;
  margin-bottom: 1.4rem;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
}

.input-box label {
  display: block;
  margin-bottom: 0.3rem;
  color: #fff;
  font-size: 0.9rem;
}

.input-box input {
  width: 100%;
  padding: 0.7rem 2.4rem 0.7rem 0.7rem;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 1rem;
  box-sizing: border-box;
  display: block;
}

.input-box i {
  position: absolute;
  right: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  color: #444;
  font-size: 1.2rem;
  pointer-events: none;
  width: 1.2rem;
  height: 1.2rem;
  line-height: 1;
}

/* Remember + Forgot */
.remember-forgot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.4rem;
  font-size: 0.9rem;
}

.remember-forgot label {
  color: #fff;
}

.remember-forgot a {
  color: #ffd966;
  text-decoration: none;
}

/* Buttons */
.btn {
  padding: 0.7rem 1.4rem;
  border: none;
  border-radius: 8px;
  background: #ffd966;
  color: #333;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn:hover {
  background: #ffdf7f;
}

.demo-highlight {
  background: #8fd3ff;
  margin-left: 0.5rem;
}

.demo-highlight:hover {
  background: #a6e0ff;
}

/* Register link */
.register-link {
  margin-top: 1rem;
  color: #fff;
}

.register-link a {
  color: #ffd966;
  font-weight: 600;
  text-decoration: none;
}

/* ============================
   CONTACT LINK
   ============================ */

.contact-link-wrapper {
  text-align: center;
  padding-bottom: 2rem;
}

.contact-link {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: bold;
  color: #2c2c2c;
  background-color: #ffd966;
  padding: 0.2rem 0.6rem;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
}

.contact-link:hover {
  background-color: #ffdf7f;
}

/* ============================
   RESPONSIVE
   ============================ */

@media (max-width: 600px) {
  .wrapper {
    padding: 1.5rem 1rem;
    max-width: 100%;
    box-sizing: border-box;
  }

  .input-box {
    width: 100%;
    box-sizing: border-box;
  }

  .input-box input {
    width: 100%;
    padding: 0.7rem 2.2rem 0.7rem 0.7rem;
    box-sizing: border-box;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
  }

  .input-box i {
    right: 0.7rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    pointer-events: none;
  }
}

/* Base badge styling */
.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;

  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.06) 100%
  );

  transition: background 0.25s ease, transform 0.2s ease;
}

/* Make the whole badge clickable */
.badge-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  position: relative;
}

/* Hover: brighter gradient + slight lift */
.badge-link:hover .badge {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.10) 100%
  );
  transform: translateY(-1px);
}

/* Tooltip-style hover message */
.badge-link:hover::after {
  content: "View pricing options";
  position: absolute;
  bottom: -1.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 1;
  pointer-events: none;
}

.badge-link::after {
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* Register form spacing (shared with login) */
.register-form {
  padding-left: 1rem;
  padding-right: 1rem;
}

.register-form .input-box input {
  width: 100%;
  box-sizing: border-box;
}