
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

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

body {
  font-family: 'DM Sans', sans-serif;
  background: #020617;
  color: #e2e8f0;
  min-height: 100vh;
  overflow-x: hidden;
}

header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 60px;
  background: rgba(2,6,23,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.logo { display:flex;align-items:center;text-decoration:none;color:white;gap:10px; }
.logo img { width:36px; }
.logo-text { font-family:'Syne',sans-serif;font-weight:800;font-size:13px;line-height:1.2;letter-spacing:0.5px; }
.logo-text span { font-size:11px;color:#6366f1;font-weight:600; }
.hamburger { display:none;font-size:22px;cursor:pointer;background:none;border:none;color:white; }
.nav-right { display:flex;align-items:center; }
.menu { display:flex;list-style:none;gap:22px; }
.menu a { text-decoration:none;color:#94a3b8;font-size:12.5px;letter-spacing:0.4px;transition:.2s;font-weight:500; }
.menu a:hover,.menu a.active { color:#fff; }
.btn-action {
  margin-left:20px;padding:8px 20px;border-radius:20px;
  background:linear-gradient(135deg,#6366f1,#8b5cf6);
  color:white;text-decoration:none;font-size:12.5px;font-weight:600;
  transition:.2s;letter-spacing:.3px;
}
.btn-action:hover { transform:scale(1.04);box-shadow:0 0 18px rgba(99,102,241,.5); }

.auth-page {
  display: flex;
  min-height: 100vh;
  padding-top: 68px;
}

.auth-left {
  width: 46%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  position: relative;
  z-index: 2;
}

.form-card {
  width: 100%;
  max-width: 400px;
  background: rgba(15,23,42,0.95);
  border: 1px solid rgba(99,102,241,0.15);
  border-radius: 24px;
  padding: 40px 36px;
  box-shadow: 0 32px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.03);
  backdrop-filter: blur(20px);
  animation: cardIn .5s cubic-bezier(.22,1,.36,1) both;
}
@keyframes cardIn {
  from { opacity:0;transform:translateY(18px); }
  to   { opacity:1;transform:translateY(0); }
}

.card-logo {
  display:flex;align-items:center;gap:10px;margin-bottom:28px;
  text-decoration:none;
}
.card-logo-icon {
  width:40px;height:40px;border-radius:12px;
  background:linear-gradient(135deg,#6366f1,#8b5cf6);
  display:flex;align-items:center;justify-content:center;font-size:18px;
  box-shadow:0 8px 24px rgba(99,102,241,.4);
}
.card-logo-text { font-family:'Syne',sans-serif;font-weight:800;font-size:15px;color:white; }
.card-logo-text span { color:#6366f1; }

.form-card h2 {
  font-family:'Syne',sans-serif;font-weight:700;font-size:22px;
  color:#f1f5f9;margin-bottom:6px;
}
.form-card .subtitle {
  font-size:13.5px;color:#64748b;margin-bottom:28px;line-height:1.5;
}

.btn-google {
  width:100%;padding:12px 16px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.1);
  background:rgba(255,255,255,0.05);
  color:#e2e8f0;font-size:14px;font-weight:500;
  cursor:pointer;transition:.2s;
  display:flex;align-items:center;justify-content:center;gap:10px;
  margin-bottom:6px;font-family:'DM Sans',sans-serif;
}
.btn-google:hover {
  background:rgba(255,255,255,0.09);
  border-color:rgba(255,255,255,0.18);
  transform:translateY(-1px);
}


.auth-divider {
  display:flex;align-items:center;gap:12px;
  margin:20px 0;color:#334155;font-size:12px;
}
.auth-divider::before,.auth-divider::after {
  content:'';flex:1;height:1px;background:#1e293b;
}

.field { margin-bottom:16px; }
.field label {
  display:block;font-size:12px;font-weight:500;
  color:#94a3b8;margin-bottom:6px;letter-spacing:.3px;
}
.field input {
  width:100%;padding:11px 14px;
  border-radius:10px;border:1px solid #1e293b;
  background:#0f172a;color:#f1f5f9;
  font-size:14px;font-family:'DM Sans',sans-serif;
  transition:.2s;outline:none;
}
.field input:focus {
  border-color:rgba(99,102,241,.5);
  box-shadow:0 0 0 3px rgba(99,102,241,.12);
}
.field input::placeholder { color:#334155; }

.pw-wrap { position:relative; }
.pw-wrap input { padding-right:40px; }
.pw-toggle {
  position:absolute;right:12px;top:50%;transform:translateY(-50%);
  background:none;border:none;cursor:pointer;color:#475569;padding:2px;
  display:flex;align-items:center;
}
.pw-toggle:hover { color:#94a3b8; }

.field-row { display:flex;gap:12px; }
.field-row .field { flex:1; }

.check-row {
  display:flex;align-items:center;gap:8px;
  margin-bottom:20px;
}
.check-row input[type=checkbox] {
  width:16px;height:16px;accent-color:#6366f1;cursor:pointer;flex-shrink:0;
}
.check-row label { font-size:12.5px;color:#64748b;cursor:pointer;line-height:1.4; }
.check-row a { color:#6366f1;text-decoration:none; }
.check-row a:hover { text-decoration:underline; }

.forgot-row {
  display:flex;justify-content:flex-end;
  margin-top:-8px;margin-bottom:20px;
}
.forgot-row a { font-size:12px;color:#6366f1;text-decoration:none; }
.forgot-row a:hover { text-decoration:underline; }

.btn-primary {
  width:100%;padding:13px;border:none;border-radius:12px;
  background:linear-gradient(135deg,#6366f1,#8b5cf6);
  color:white;font-size:14px;font-weight:600;
  cursor:pointer;transition:.2s;font-family:'DM Sans',sans-serif;
  letter-spacing:.3px;
  box-shadow:0 8px 24px rgba(99,102,241,.3);
}
.btn-primary:hover { transform:translateY(-1px);box-shadow:0 12px 32px rgba(99,102,241,.4); }
.btn-primary:active { transform:translateY(0); }
.btn-primary:disabled { opacity:.5;cursor:not-allowed;transform:none; }

.auth-footer-link {
  text-align:center;margin-top:22px;
  font-size:13px;color:#475569;
}
.auth-footer-link a { color:#6366f1;text-decoration:none;font-weight:500; }
.auth-footer-link a:hover { text-decoration:underline; }

.auth-toast {
  position:fixed;bottom:28px;left:50%;transform:translateX(-50%) translateY(20px);
  background:#0f172a;border:1px solid #1e293b;
  color:#e2e8f0;padding:12px 22px;border-radius:12px;
  font-size:13.5px;font-weight:500;
  opacity:0;pointer-events:none;transition:.3s;
  z-index:9999;white-space:nowrap;
  box-shadow:0 8px 32px rgba(0,0,0,.5);
}
.auth-toast.show { opacity:1;transform:translateX(-50%) translateY(0); }
.auth-toast.error { border-color:rgba(239,68,68,.3);color:#fca5a5; }
.auth-toast.success { border-color:rgba(34,197,94,.3);color:#86efac; }

.field-error { font-size:11.5px;color:#f87171;margin-top:4px;display:none; }
.field.has-error input { border-color:rgba(239,68,68,.5); }
.field.has-error .field-error { display:block; }

.auth-right {
  flex:1;
  background: linear-gradient(135deg,#020617 0%,#0f172a 50%,#0a0f1e 100%);
  position:relative;overflow:hidden;
  display:flex;align-items:center;justify-content:center;
}
.auth-right-inner {
  position:relative;z-index:2;
  text-align:center;padding:40px;
  max-width:420px;
}
.auth-right-icon {
  font-size:64px;margin-bottom:24px;
  animation:floatIcon 3s ease-in-out infinite;
}
@keyframes floatIcon { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.auth-right h3 {
  font-family:'Syne',sans-serif;font-weight:700;font-size:26px;
  color:#f1f5f9;margin-bottom:12px;line-height:1.3;
}
.auth-right p { font-size:14px;color:#64748b;line-height:1.7; }
.auth-right-features { margin-top:32px;display:flex;flex-direction:column;gap:14px;text-align:left; }
.auth-feature {
  display:flex;align-items:center;gap:14px;
  background:rgba(15,23,42,.6);border:1px solid rgba(99,102,241,.12);
  border-radius:12px;padding:14px 16px;
}
.auth-feature-icon { font-size:20px;flex-shrink:0; }
.auth-feature-text { font-size:13px;color:#94a3b8;line-height:1.4; }
.auth-feature-text strong { color:#e2e8f0;display:block;font-size:13.5px;margin-bottom:2px; }

.auth-glow {
  position:absolute;border-radius:50%;filter:blur(80px);pointer-events:none;
}
.auth-glow-1 {
  width:400px;height:400px;
  background:radial-gradient(circle,rgba(99,102,241,.25),transparent 70%);
  top:-10%;right:10%;
}
.auth-glow-2 {
  width:300px;height:300px;
  background:radial-gradient(circle,rgba(139,92,246,.2),transparent 70%);
  bottom:10%;left:5%;
}
.auth-glow-3 {
  width:200px;height:200px;
  background:radial-gradient(circle,rgba(16,185,129,.1),transparent 70%);
  bottom:30%;right:30%;
}

.auth-note {
  font-size:11.5px;color:#334155;text-align:center;
  margin-top:16px;line-height:1.5;
}

@media(max-width:900px){
  .auth-right { display:none; }
  .auth-left { width:100%;padding:28px 20px; }
  .navbar { padding:14px 20px; }
  .menu {
    position:absolute;top:66px;right:0;
    background:#020617;width:200px;
    flex-direction:column;gap:0;display:none;
    border-radius:10px;border:1px solid #1e293b;
  }
  .menu li { padding:13px 16px;border-bottom:1px solid #1e293b; }
  .menu li:last-child { border-bottom:none; }
  .menu.show { display:flex; }
  .btn-action { display:none; }
  .hamburger { display:block; }
}
@media(max-width:480px){
  .form-card { padding:28px 22px; }
  .form-card h2 { font-size:20px; }
}
