/* =========================
AUTH PAGE
========================= */

.auth-page {
  min-height: 100vh;
}

/* =========================
WRAPPER
========================= */

.auth-wrapper {
  width: 100%;
  min-height: 100vh;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* =========================
TOP AREA
========================= */

.top-area {
  text-align: center;

  margin-bottom: 32px;
}

.top-area strong {
  color: var(--text-main);
  font-size: 2rem;
  font-weight: 800;
}
.top-area span {
  color: var(--primary);
  font-size: 2rem;
  font-weight: 700;
}
.top-area p {
  margin-top: -3px;
  font-size: 15px;
  color: var(--text-muted);
}

/* =========================
CONTAINER
========================= */

.auth-container {
  width: 100%;
  max-width: 470px;
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow:
    0 0 30px rgba(0, 255, 136, 0.08),
    0 10px 40px rgba(0, 0, 0, 0.45);
}

/* =========================
TITLES
========================= */
.auth-container h2 {
  margin-bottom: 16px;
  font-size: 26px;
  font-weight: 700;
}
.auth-subtitle {
  margin-bottom: 26px;
  font-size: 16px;
  color: var(--text-muted);
}

/* =========================
FORM
========================= */
form label {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
  color: var(--text-main);
}

/* =========================
INPUT BOX
========================= */

.input-box {
  width: 100%;
  height: 50px;

  margin-bottom: 18px;
  padding: 0 16px;

  display: flex;
  align-items: center;

  background: var(--bg-input);

  border: 1px solid transparent;
  border-radius: var(--radius-md);

  transition: var(--transition);
}

.input-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 255, 136, 0.08);
}

/* =========================
INPUT
========================= */

.input-box input {
  flex: 1;

  background: transparent;

  border: none;
  outline: none;

  font-size: 15px;

  color: var(--text-main);
}

.input-box input::placeholder {
  color: rgba(240, 255, 248, 0.45);
}

/* =========================
ICONS
========================= */

.lucide {
  width: 20px;
  height: 20px;

  margin-right: 10px;

  stroke: rgba(255, 255, 255, 0.7);
}

/* =========================
PASSWORD TOGGLE
========================= */

.toggle-password {
  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
}

.toggle-password .lucide {
  margin-right: 0;
}

/* =========================
ACTIONS
========================= */

.actions-row {
  margin-top: 10px;

  display: flex;
  align-items: center;

  gap: 14px;
}

/* =========================
LOGIN BUTTON
========================= */

.login-btn {
  flex: 1;
  height: 52px;

  border: none;
  border-radius: var(--radius-md);

  background: var(--primary);

  color: #02130c;

  font-size: 15px;
  font-weight: 700;

  cursor: pointer;

  transition: var(--transition);
}

.login-btn:hover {
  background: var(--primary-dark);

  transform: translateY(-2px);
}

/* =========================
GOOGLE BUTTON
========================= */

.google-btn {
  width: 52px;
  height: 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: white;

  border-radius: var(--radius-md);

  text-decoration: none;

  transition: var(--transition);
}

.google-btn:hover {
  transform: translateY(-2px);
}

.google-btn img {
  width: 26px;
  height: 26px;
}

/* =========================
AUTH LINK
========================= */

.auth-link {
  margin-top: 28px;

  font-size: 14px;

  color: var(--text-muted);
}

.auth-link a {
  color: var(--primary);

  font-weight: 700;
  text-decoration: none;
}
.auth-link a:hover {
  text-decoration: underline;
}

/* =========================
TOAST
========================= */
.toast {
  position: fixed;

  top: 24px;
  right: 24px;
  min-width: 280px;
  max-width: 420px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 7px;
  background: rgba(8, 27, 20, 0.96);
  border: 1px solid rgba(0, 255, 136, 0.15);
  color: white;
  z-index: 99999;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.45),
    0 0 30px rgba(0, 255, 136, 0.06);
}

.toast-icon {
  font-size: 18px;
}

.toast-text {
  font-size: 14px;
  line-height: 1.5;
}

.toast.hidden {
  display: none;
}
.terms-text {
  margin-top: 18px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}
.terms-text a {
  color: var(--primary);
  text-decoration: none;
  transition: 0.2s ease;
}
.terms-text a:hover {
  text-decoration: underline;
  opacity: 0.9;
}
/* =========================
RESPONSIVE
========================= */
@media (max-width: 650px) {
  .auth-container {
    max-width: 100%;
    padding: 28px 22px;
  }
  .top-area strong,
  .top-area span {
    font-size: 1.7rem;
  }
  .actions-row {
    gap: 10px;
  }
}
