/* ═══════════════════════════════════════════════
   ASISTAN.ART — Global Styles
   ═══════════════════════════════════════════════ */

:root {
  --yellow: #FFD600;
  --yellow-dark: #E6C200;
  --yellow-light: #FFF9E0;
  --black: #0A0A0A;
  --white: #FFFFFF;
  --gray-50: #FAFAFA;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --green: #10B981;
  --green-light: #ECFDF5;
  --red: #EF4444;
  --red-light: #FEF2F2;
  --blue: #3B82F6;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --radius: 8px;
  --radius-lg: 12px;
}

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

body {
  font-family: 'Nunito', sans-serif;
  background: var(--gray-50);
  color: var(--gray-700);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-weight: 800; color: var(--black); }

/* ── Logo (bu comic kalacak) ── */
.logo {
  font-family: 'Bangers', cursive;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  transform: rotate(-2deg);
  display: inline-block;
  background: var(--white);
  padding: 2px 10px;
  border: 2px solid var(--black);
  box-shadow: 4px 4px 0 var(--black);
  color: var(--black);
}

/* ── Cards ── */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s;
}

.card:hover {
  box-shadow: var(--shadow-md);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.15s;
  background: var(--white);
  color: var(--gray-700);
}

.btn:hover {
  background: var(--gray-50);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow-dark);
  font-weight: 800;
}

.btn-primary:hover {
  background: var(--yellow-dark);
  box-shadow: var(--shadow-sm);
}

.btn-secondary {
  background: var(--white);
  color: var(--black);
}

.btn-danger {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-block { width: 100%; }

/* ── Form ── */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 0.88rem;
  color: var(--gray-600);
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--gray-700);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-input:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255,214,0,0.15);
}

.form-input::placeholder {
  color: var(--gray-400);
}

/* ── Auth Layout ── */
.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  background: var(--gray-50);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  padding: 40px 32px;
  text-align: center;
}

.auth-card .logo {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.auth-card .subtitle {
  color: var(--gray-400);
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.auth-card .form-group {
  text-align: left;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--gray-400);
  font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

.auth-footer {
  margin-top: 24px;
  font-size: 0.9rem;
}

.auth-footer a {
  color: var(--black);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-underline-offset: 3px;
}

/* ── Alert ── */
.alert {
  padding: 10px 14px;
  border: 1px solid;
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-size: 0.88rem;
  font-weight: 600;
  display: none;
}

.alert-error {
  background: var(--red-light);
  color: var(--red);
  border-color: #FEE2E2;
}

.alert-success {
  background: var(--green-light);
  color: var(--green);
  border-color: #D1FAE5;
}

.alert.show { display: block; }

/* ── Spinner ── */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--black);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Cookie Banner ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--black);
  color: var(--white);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.85rem;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.cookie-banner a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner button {
  background: var(--yellow);
  color: var(--black);
  border: none;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
}

.cookie-banner.hidden { display: none; }

/* ── Responsive ── */
@media (max-width: 480px) {
  .auth-card { padding: 28px 20px; }
  .auth-card .logo { font-size: 1.8rem; }
  .cookie-banner { flex-direction: column; text-align: center; gap: 10px; }
}
