/* ============================
   BRANDING
   ============================ */

.brand-badge {
  margin-top: 0.5rem;
}

.badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  color: #fff;
  font-size: 0.95rem;
}

.divider {
  margin: 0 0.4rem;
  opacity: 0.6;
}

/* ============================
   LOGIN FORM
   ============================ */

#loginContainer {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* Glow behind login box */
#loginContainer::before {
  content: "";
  position: absolute;
  top: -5rem;                /* 80px → 5rem */
  left: 50%;
  transform: translateX(-50%);
  width: 22.5rem;            /* 360px → 22.5rem */
  height: 30rem;             /* 480px → 30rem */
  background: radial-gradient(circle, rgba(0, 120, 255, 0.25) 0%, transparent 80%);
  z-index: 0;
  pointer-events: none;
}

.wrapper {
  width: 100%;
  max-width: 26.25rem;       /* 420px → 26.25rem */
  margin: 0 auto 3rem auto;  /* add breathing room above footer */
  padding: 2rem 1.5rem;
  border-radius: 0.75rem;

  background: rgba(255,255,255,0.08);
  box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,0.25); /* 4px 12px */
  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;
  box-shadow: inset 0 0 0.25rem rgba(255,255,255,0.05);
}

.input-box label {
  display: block;
  margin-bottom: 0.3rem;
  color: #fff;
  font-size: 0.9rem;
}

.input-box input {
  width: 100%;
  padding: 0.55rem 2rem 0.55rem 0.75rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.input-box input:focus {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.10);
}

.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;
}

.input-box i {
  right: 0.9rem;
  font-size: 1.3rem;
  opacity: 0.85;
  color: #ccc;
  text-shadow: 0 0 0.25rem rgba(255,255,255,0.25);
}

/* 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/.demo-highlight removed: dead code, only referenced by a
   commented-out button. Live buttons use class="button" (unstyled here),
   which already inherits the shared button look via app_core.css's
   `button` tag selector. */

/* 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;
  margin-top: 2rem;
  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: 0.5rem;
  text-decoration: none;
  box-shadow: 0 0.125rem 0.375rem rgba(0,0,0,0.2); /* 2px 6px */
  transition: background-color 0.3s ease;
}

.contact-link:hover {
  background-color: #ffdf7f;
}

/* ============================
   RESPONSIVE
   ============================ */

@media (max-width: 37.5rem) { /* 600px → 37.5rem */
  .wrapper {
    padding: 1.5rem 1rem;
    max-width: 100%;
  }

  .input-box input {
    padding: 0.7rem 2.2rem 0.7rem 0.7rem;
  }
}

/* ============================
   BADGES
   ============================ */

.badge {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  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;
}

.badge-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  position: relative;
}

.badge-link:hover .badge {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.10) 100%
  );
  transform: translateY(-0.0625rem); /* 1px */
}

.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: 0.375rem;
  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 */
.register-form {
  padding-left: 1rem;
  padding-right: 1rem;
}

.register-form .input-box input {
  width: 100%;
}

/* Headline spacing */
#loginForm h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
}

/* Input group spacing */
.input-box {
  margin-bottom: 1.25rem;
}

/* Remember + Forgot row */
.remember-forgot {
  margin-bottom: 1.5rem;
}

/* Button row spacing */
#tutorial-button {
  margin-left: 0.75rem;
}

.btn {
  margin-bottom: 1.5rem;
}

/* Register + Contact links */
.register-link {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #fff;
}

.register-link p {
  margin: 0.5rem 0;
}

.register-link a {
  color: #ffd966;
  font-weight: 600;
  text-decoration: none;
}

.beta-banner {
    background: #fff3cd;          /* warm highlight */
    border: 1px solid #ffeeba;    /* subtle border */
    color: #856404;               /* readable amber text */
    padding: 12px 18px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.25rem;
    margin: 1rem 0;
    text-align: center;
}
