/* colEGE giriş sayfası (templates/login.html). Satır içi stil yerine harici
   dosya: CSP'de style-src 'unsafe-inline' gerektirmez. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text-h);
  font-family: var(--font-sans);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Arka plan efekti */
body::before {
  content: '';
  position: fixed;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--login-isik1) 0%, transparent 70%);
  pointer-events: none;
}
body::after {
  content: '';
  position: fixed;
  bottom: -20%;
  left: 20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--login-isik2) 0%, transparent 70%);
  pointer-events: none;
}

.kart {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 36px 36px;
  width: 380px;
  max-width: 95vw;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-lg);
}

/* Logo */
.logo-alan {
  text-align: center;
  margin-bottom: 32px;
}

.logo-img {
  height: 70px;
  width: auto;
  margin-bottom: 14px;
  filter: drop-shadow(0 4px 16px rgba(var(--accent-rgb),.25));
}

.logo-baslik {
  font-size: 20px;
  letter-spacing: .5px;
}

/* Marka yazısı: kabuk.css .marka (Outfit 700, --brand-grad); burada yalnız boyut */
.logo-baslik .marka { font-size: 26px; }

.logo-alt {
  font-size: 10.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-top: 4px;
}

/* Form */
.form-grup { margin-bottom: 16px; }

label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: .8px;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg);
  border: 1px solid var(--input-border);
  border-radius: 9px;
  color: var(--text-h);
  font-size: 13.5px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  font-family: inherit;
}

input[type="text"]:focus,
input[type="password"]:focus {
  border-color: var(--accent);
  box-shadow:var(--focus-ring);
}

input::placeholder { color: var(--muted); }

button[type="submit"] {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, var(--btn-1), var(--btn-2));
  border: none;
  border-radius: 9px;
  color: var(--on-accent);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 6px;
  transition: opacity .2s, transform .1s, box-shadow .2s;
  font-family: inherit;
  letter-spacing: .3px;
  box-shadow: 0 4px 20px rgba(var(--accent-rgb),.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

button[type="submit"]:hover  { opacity: .92; box-shadow: 0 6px 24px rgba(var(--accent-rgb),.4); }
button[type="submit"]:active { transform: scale(.99); }

/* Hata */
.hata {
  background: rgba(var(--red-rgb),.08);
  border: 1px solid rgba(var(--red-rgb),.2);
  border-radius: 8px;
  color: var(--red-text);
  font-size: 12.5px;
  padding: 10px 14px;
  margin-bottom: 18px;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

/* Versiyon */
.versiyon {
  text-align: center;
  margin-top: 24px;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .5px;
}

/* Tema düğmesi (static/js/tema.js; giriş sayfasında sağ üst köşede) */
.tema-dugme-sabit { position: fixed; top: 14px; right: 14px; z-index: 5; margin-left: 0; }
/* Dil seçici: tema düğmesinin solunda (SOZLESME.md: giriş sayfasında sağ üstte [Dil] [Tema]) */
.dil-secici-sabit { position: fixed; top: 14px; right: 54px; z-index: 5; }
