@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #09090F;
  --panel: #12121A;
  --panel-2: #1A1A26;
  --cyan: #5EEAD4;
  --text: #F0F4F8;
  --text-dim: #8BA4B8;
  --text-placeholder: #566E82;
  --border: #2A2A3A;
  --danger: #FF6B6B;
  --hover-bg: #20202E;
  --label-color: #9DBBD0;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 15% 85%, rgba(94,234,212,0.05), transparent 50%),
    radial-gradient(ellipse at 85% 15%, rgba(255,139,94,0.04), transparent 45%),
    var(--bg);
}

.card {
  position: relative; z-index: 1;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px 32px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.logo {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 28px;
  text-decoration: none;
}
.logo-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 10px var(--cyan);
}
.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 16px; color: var(--cyan);
}

h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px; font-weight: 700;
  margin-bottom: 6px;
}
.subtitle {
  font-size: 14px; color: var(--text-dim);
  margin-bottom: 28px; line-height: 1.5;
}

.field { margin-bottom: 16px; }
.field label {
  display: block; font-size: 12px; font-weight: 700;
  color: var(--label-color); text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 6px;
}
.field input {
  width: 100%; background: var(--panel-2);
  border: 1.5px solid var(--border); border-radius: 9px;
  color: var(--text); padding: 11px 14px; font-size: 14px;
  font-family: 'Inter', sans-serif; outline: none;
  transition: border-color .15s;
}
.field input:focus { border-color: var(--cyan); box-shadow: 0 0 0 2px rgba(94,234,212,0.12); }
.field input::placeholder { color: var(--text-placeholder); }

.btn {
  width: 100%; background: var(--cyan); color: #06201C;
  border: none; border-radius: 9px; padding: 12px;
  font-size: 15px; font-weight: 700; font-family: 'Inter', sans-serif;
  cursor: pointer; transition: background .15s, transform .1s;
  margin-top: 8px;
}
.btn:hover { background: #7FF0DD; }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.btn-ghost {
  width: 100%; background: transparent; color: var(--text-dim);
  border: 1.5px solid var(--border); border-radius: 9px; padding: 11px;
  font-size: 14px; font-weight: 500; font-family: 'Inter', sans-serif;
  cursor: pointer; transition: background .15s, border-color .15s;
  margin-top: 8px; text-decoration: none; display: block; text-align: center;
}
.btn-ghost:hover { background: var(--hover-bg); border-color: var(--text-dim); color: var(--text); }

.divider {
  display: flex; align-items: center; gap: 12px;
  margin: 20px 0; color: var(--text-dim); font-size: 12px;
}
.divider::before, .divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

.alert {
  padding: 12px 14px; border-radius: 9px;
  font-size: 13px; line-height: 1.5; margin-bottom: 16px;
  display: none;
}
.alert.error { background: rgba(255,107,107,0.12); border: 1px solid rgba(255,107,107,0.3); color: #FF9999; }
.alert.success { background: rgba(94,234,212,0.10); border: 1px solid rgba(94,234,212,0.3); color: var(--cyan); }
.alert.show { display: block; }

.footer-link {
  text-align: center; margin-top: 20px;
  font-size: 13px; color: var(--text-dim);
}
.footer-link a { color: var(--cyan); text-decoration: none; }
.footer-link a:hover { text-decoration: underline; }

