/* auth.css */

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

body {
 min-height: 100vh;

 background: #0a0a0a;

 font-family: Inter, Arial, sans-serif;

 color: white;

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

 overflow: hidden;

 position: relative;
}

/* =========================
   BACKGROUND BLURS
========================= */

.bg-blur {
 position: fixed;

 border-radius: 50%;

 filter: blur(120px);

 opacity: 0.25;

 pointer-events: none;
}

.blur-1 {
 width: 450px;
 height: 450px;

 background: #7c3aed;

 top: -150px;
 left: -150px;
}

.blur-2 {
 width: 500px;
 height: 500px;

 background: #2563eb;

 right: -150px;
 bottom: -150px;
}

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

.auth-container {
 width: 100%;

 padding: 20px;

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

 position: relative;
 z-index: 2;
}

/* =========================
   CARD
========================= */

.auth-card {
 width: 100%;
 max-width: 460px;

 background: rgba(20, 20, 20, 0.85);

 backdrop-filter: blur(20px);

 border: 1px solid rgba(255, 255, 255, 0.08);

 border-radius: 24px;

 padding: 32px;
}

/* =========================
   LOGO
========================= */

.logo {
 text-align: center;

 font-size: 42px;
 font-weight: 800;

 margin-bottom: 25px;
}

/* =========================
   TABS
========================= */

.auth-tabs {
 display: flex;

 gap: 5px;

 background: #181818;

 border: 1px solid #252525;

 border-radius: 14px;

 padding: 5px;

 margin-bottom: 25px;
}

.tab-btn {
 flex: 1;

 border: none;

 background: transparent;

 color: #9ca3af;

 padding: 12px;

 border-radius: 10px;

 font-size: 14px;
 font-weight: 600;

 cursor: pointer;

 transition: 0.2s;
}

.tab-btn:hover {
 color: white;
}

.tab-btn.active {
 background: #7c3aed;

 color: white;
}

/* =========================
   FORM
========================= */

#loginForm,
#registerForm {
 display: flex;
 flex-direction: column;

 gap: 18px;
}

.input-group {
 display: flex;
 flex-direction: column;

 gap: 8px;
}

.input-group label {
 color: #d1d5db;

 font-size: 14px;
 font-weight: 500;
}

.input-group input {
 width: 100%;

 background: #1b1b1b;

 border: 1px solid #2a2a2a;

 color: white;

 padding: 14px;

 border-radius: 12px;

 outline: none;

 transition: 0.2s;
}

.input-group input::placeholder {
 color: #6b7280;
}

.input-group input:focus {
 border-color: #7c3aed;

 box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.25);
}

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

.submit-btn {
 width: 100%;

 border: none;

 background: #7c3aed;

 color: white;

 padding: 15px;

 border-radius: 12px;

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

 cursor: pointer;

 transition: 0.2s;

 margin-top: 5px;
}

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

 filter: brightness(1.08);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 480px) {
 .auth-card {
  padding: 24px;
 }

 .logo {
  font-size: 34px;
 }

 .tab-btn {
  padding: 11px;
 }
}