/* ===================================================
   GuardHesap Modern Auth Pages (auth.css)
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg-dark: #07090e;
  --bg-card: rgba(15, 20, 32, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --cyan: #00f0ff;
  --cyan-glow: rgba(0, 240, 255, 0.45);
  --purple: #8a2be2;
  --green: #10b981;
  --gradient-primary: linear-gradient(135deg, #00f0ff 0%, #7928ca 100%);
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
}

body {
  margin: 0;
  padding: 20px;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Ambient Işıklar */
body::before {
  content: "";
  position: fixed;
  top: -150px;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: "";
  position: fixed;
  bottom: -150px;
  right: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.auth-container {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 240, 255, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 240, 255, 0.12);
  border-radius: 24px;
  padding: 45px 38px;
  width: 100%;
  max-width: 420px;
  z-index: 2;
  overflow: hidden;
  animation: fadeInAuth 0.5s ease forwards;
}
.auth-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
}

@keyframes fadeInAuth {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-container h2 {
  font-family: 'Outfit', sans-serif;
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 25px;
  letter-spacing: -0.5px;
}

/* Mesajlar */
.flash-msg, .flash, .banned {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.5;
}
.flash-msg, .flash.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
}
.flash.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
}
.banned {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #fca5a5;
}

/* Form Elemanları */
.auth-container form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-container input[type="text"],
.auth-container input[type="email"],
.auth-container input[type="password"] {
  width: 100%;
  box-sizing: border-box;
  background: rgba(4, 7, 14, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #fff;
  padding: 14px 18px;
  font-size: 15px;
  outline: none;
  transition: all 0.25s ease;
}
.auth-container input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 20px var(--cyan-glow);
  background: rgba(10, 15, 26, 0.95);
}
.auth-container input::placeholder {
  color: #475569;
}

.auth-container button[type="submit"] {
  width: 100%;
  box-sizing: border-box;
  background: var(--gradient-primary);
  color: #040810;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
  margin-top: 6px;
}
.auth-container button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.65);
}

/* Checkbox */
.checkbox-container {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
}
.checkbox-container input {
  accent-color: var(--cyan);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* Alt Linkler */
.auth-links {
  margin-top: 24px;
  text-align: center;
}
.auth-links small {
  color: var(--text-muted);
  font-size: 13px;
}
.auth-links a {
  color: var(--cyan);
  font-weight: 700;
  text-decoration: none;
  margin-left: 4px;
  transition: 0.2s;
}
.auth-links a:hover {
  text-shadow: 0 0 10px var(--cyan-glow);
}
