/* ======================================================
   DOKABIO · AUTH GLASS UI
   Login · Register · Reset
   (TemplateMo Glassmorphism – AUTH ONLY)
====================================================== */

/* ---------- ROOT ---------- */
:root {
  --emerald: #059669;
  --emerald-light: #34d399;
  --gold: #d4a574;

  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.14);

  --text-primary: #ffffff;
  --text-secondary: rgba(255,255,255,.75);
  --text-muted: rgba(255,255,255,.45);
}

/* ---------- RESET ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ---------- BODY ---------- */
body.login-page {
  font-family: 'Outfit', system-ui, sans-serif;
  min-height: 100vh;
  overflow: hidden;
  color: var(--text-primary);
}

/* ---------- BACKGROUND ---------- */
.background {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(16,185,129,.18), transparent 55%),
    radial-gradient(ellipse 70% 45% at 80% 60%, rgba(212,165,116,.14), transparent 55%),
    linear-gradient(135deg, #0a0f0d, #0f172a);
  z-index: -3;
}

/* ---------- ORBS ---------- */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .45;
  z-index: -2;
}

.orb-1 {
  width: 420px;
  height: 420px;
  background: #059669;
  top: 10%;
  left: 10%;
}

.orb-2 {
  width: 360px;
  height: 360px;
  background: #d4a574;
  bottom: 15%;
  right: 12%;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: #34d399;
  bottom: 5%;
  left: 35%;
}

/* ---------- LAYOUT ---------- */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}

/* ---------- GLASS CARD ---------- */
.login-card {
  width: 100%;
  max-width: 440px;
  padding: 48px 40px;
  border-radius: 22px;
  background: var(--glass-bg);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--glass-border);
  box-shadow:
    0 30px 60px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.15);
  position: relative;
  animation: fadeUp .6s ease;
}

.login-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.12),
    transparent 40%
  );
  pointer-events: none;
}

/* ---------- HEADER ---------- */
.login-header {
  text-align: center;
  margin-bottom: 36px;
}

.login-logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 30px;
  color: #fff;
  box-shadow: 0 14px 40px rgba(16,185,129,.4);
}

.login-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 8px;
}

.login-subtitle {
  font-size: 14px;
  color: var(--text-muted);
}

/* ---------- FORM ---------- */
.form-group {
  margin-bottom: 22px;
}

.form-label {
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  font-size: 15px;
  transition: .25s ease;
}

.form-input::placeholder {
  color: rgba(255,255,255,.35);
}

.form-input:focus {
  outline: none;
  border-color: var(--emerald-light);
  box-shadow: 0 0 0 3px rgba(52,211,153,.18);
}

/* ---------- BUTTON ---------- */
.btn-primary {
  width: 100%;
  margin-top: 10px;
  padding: 14px;
  border-radius: 14px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-light));
  box-shadow: 0 10px 30px rgba(16,185,129,.45);
  transition: .25s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(16,185,129,.6);
}

/* ---------- DIVIDER ---------- */
.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.18);
}

.divider span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- SOCIAL ---------- */
.social-login {
  display: flex;
  gap: 12px;
  margin-bottom: 26px;
}

.social-btn {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.16);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .25s ease;
}

.social-btn:hover {
  background: rgba(255,255,255,.08);
  border-color: var(--emerald-light);
}

/* ---------- FOOTER ---------- */
.login-footer {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}

.login-footer a {
  color: var(--emerald-light);
  text-decoration: none;
}

.login-footer a:hover {
  color: var(--gold);
}

/* ---------- ANIMATION ---------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- MOBILE ---------- */
@media (max-width: 480px) {
  .login-card {
    padding: 36px 24px;
  }
}
.social-login {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.social-btn {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .25s ease;
}

.social-btn svg {
  width: 24px;
  height: 24px;
}

.social-btn:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

.social-btn:active {
  transform: scale(.96);
}
