@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root{
  --bg: #ffffff;

  --text: #0f172a;
  --muted: rgba(15, 23, 42, 0.62);

  --card: #ffffff;
  --border: rgba(15, 23, 42, 0.10);

  --input-bg: #ffffff;
  --input-border: rgba(15, 23, 42, 0.14);

  --primary: #2563eb;
  --primary-hover: #1d4ed8;

  --ring: 0 0 0 4px rgba(37, 99, 235, 0.18);

  --shadow: 0 18px 50px rgba(2, 6, 23, 0.10);
  --shadow-soft: 0 10px 22px rgba(2, 6, 23, 0.08);

  --r12: 12px;
  --r16: 16px;
  --r20: 20px;
}

*,
*::before,
*::after{ box-sizing: border-box; }

html, body{ height:100%; }

body{
  margin:0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;

  display:flex;
  align-items:center;
  justify-content:center;
  padding: 28px;
}

/* container */
.login-container{
  width: 100%;
  max-width: 420px;
}

/* card */
.login-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r20);
  box-shadow: var(--shadow);
  padding: 28px;
}

/* header */
.login-header{
  text-align:center;
  margin-bottom: 18px;
}

.login-logo{
  height: 46px;
  width: auto;
  margin-bottom: 10px;
}

.login-title{
  margin: 0;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.login-subtitle{
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.form{ margin-top: 12px; }

.form-group{ margin: 14px 0; }

.form-label{
  display:block;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.82);
  margin-bottom: 8px;
}

.form-input{
  width:100%;
  padding: 12px 14px;
  border-radius: var(--r12);
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  color: var(--text);
  font-size: 0.95rem;
  outline:none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.form-input::placeholder{
  color: rgba(15, 23, 42, 0.45);
}

.form-input:focus{
  border-color: rgba(37, 99, 235, 0.95);
  box-shadow: var(--ring);
}

/* button */
.btn-login{
  width:100%;
  margin-top: 8px;
  padding: 12px 14px;
  border: 0;
  border-radius: var(--r12);
  cursor: pointer;

  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: #fff;

  background: var(--primary);
  box-shadow: var(--shadow-soft);
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
}

.btn-login:hover{
  background: var(--primary-hover);
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.14);
  transform: translateY(-1px);
}

.btn-login:active{
  transform: translateY(0px);
}

.btn-login:focus-visible{
  outline: none;
  box-shadow: var(--shadow-soft), var(--ring);
}

/* forgot */
.forgot-password{
  text-align:center;
  margin-top: 14px;
}

.forgot-password a{
  color: rgba(37, 99, 235, 0.95);
  text-decoration:none;
  font-weight: 700;
  font-size: 0.9rem;
}

.forgot-password a:hover{
  text-decoration: underline;
}

/* alerts (notify içeriği bu classlarla geliyorsa) */
.alert{
  padding: 12px 12px;
  border-radius: var(--r12);
  font-size: 0.9rem;
  margin: 14px 0 10px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(2, 6, 23, 0.03);
  color: rgba(15, 23, 42, 0.90);
}

.alert-danger{
  border-color: rgba(239, 68, 68, 0.28);
  background: rgba(239, 68, 68, 0.08);
  color: rgba(127, 29, 29, 0.95);
}

.alert-success{
  border-color: rgba(34, 197, 94, 0.28);
  background: rgba(34, 197, 94, 0.08);
  color: rgba(20, 83, 45, 0.95);
}

/* responsive */
@media (max-width: 420px){
  .login-card{ padding: 22px; }
  .login-title{ font-size: 1.4rem; }
}