/* Modern Auth Tasarımı (OtoHesap v2) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at 25% 25%, #0a162e, #020710);
  color: #e9eefc;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
}

/* Hafif arka plan animasyonu */
body::before {
  content: "";
  position: absolute;
  width: 300%;
  height: 300%;
  background: conic-gradient(
    from 180deg at 50% 50%,
    #1e3a8a,
    #4f7cff,
    #17295a,
    #2563eb,
    #1e3a8a
  );
  animation: spin 15s linear infinite;
  filter: blur(180px);
  opacity: 0.3;
}
@keyframes spin { to { transform: rotate(360deg); } }

.auth-container {
  position: relative;
  background: rgba(17, 24, 39, 0.75);
  border: 1px solid rgba(79, 124, 255, 0.3);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  border-radius: 16px;
  padding: 40px 35px;
  width: 100%;
  max-width: 420px;
  backdrop-filter: blur(12px);
  z-index: 2;
  animation: fadeIn 0.7s ease forwards;
}
@keyframes fadeIn { from {opacity:0;transform:translateY(20px);} to {opacity:1;transform:translateY(0);} }

.auth-container h2 {
  text-align: center;
  font-size: 28px;
  color: #4f7cff;
  margin-bottom: 25px;
  text-shadow: 0 0 10px rgba(79,124,255,0.6);
}

/* Form */
.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"] {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(79,124,255,0.3);
  border-radius: 10px;
  color: #fff;
  padding: 12px 15px;
  font-size: 15px;
  transition: all 0.2s ease;
}

.auth-container input::placeholder {
  color: rgba(255,255,255,0.5);
}

.auth-container input:focus {
  outline: none;
  background: rgba(255,255,255,0.15);
  box-shadow: 0 0 10px rgba(79,124,255,0.6);
  border-color: #4f7cff;
}

/* Checkbox */
.checkbox-container {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d0d5f7;
  font-size: 13px;
}

.checkbox-container input {
  accent-color: #4f7cff;
  transform: scale(1.2);
  cursor: pointer;
}

/* Buton */
.auth-container button {
  background: linear-gradient(90deg, #4f7cff, #2e51c1);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  font-size: 16px;
  transition: 0.2s;
  box-shadow: 0 0 10px rgba(79,124,255,0.4);
}

.auth-container button:hover {
  background: linear-gradient(90deg, #6b8cff, #3a5ede);
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(79,124,255,0.8);
}

/* Flash mesaj */
.flash-msg, .flash, .banned {
  animation: slideDown 0.5s ease;
  margin-bottom: 15px;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  text-align: center;
  font-weight: 500;
}
.flash-msg, .flash.error, .banned { background:#dc2626; color:#fff; }
.flash.success { background:#16a34a; color:#fff; }
@keyframes slideDown { from {opacity:0; transform:translateY(-10px);} to {opacity:1; transform:translateY(0);} }

/* Link alanı */
.auth-links {
  text-align: center;
  margin-top: 18px;
  font-size: 14px;
  color: #9aa8cb;
}

.auth-links a {
  color: #4f7cff;
  text-decoration: none;
  font-weight: 600;
}

.auth-links a:hover {
  text-decoration: underline;
  color: #7b9cff;
}

/* Responsive */
@media(max-width:480px){
  .auth-container { padding: 30px 20px; width:90%; }
  .auth-container h2 { font-size:24px; }
}
