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

:root {
  --blue:        #2563eb;
  --blue-dark:   #1d4ed8;
  --blue-soft:   #dbeafe;
  --bg:          #eff6ff;
  --card:        #ffffff;
  --text:        #0c1a3a;
  --muted:       #6b7a9a;
  --border:      #bfdbfe;
  --error-bg:    #fee2e2;
  --error-text:  #991b1b;
  --radius:      16px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-wrap {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.login-card {
  width: 100%;
  background: var(--card);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: 0 4px 32px rgba(37,99,235,0.10);
  border: 1px solid var(--border);
}

.login-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}

.login-logo img {
  width: 190px;
  height: auto;
  object-fit: contain;
}

.login-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  text-align: center;
}

.login-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  text-align: center;
}

.error-msg {
  background: var(--error-bg);
  color: var(--error-text);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 18px;
  text-align: center;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.field input {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.10);
}

.field input::placeholder {
  color: var(--muted);
}

.btn-login {
  margin-top: 8px;
  padding: 13px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  width: 100%;
  letter-spacing: 0.3px;
}

.btn-login:hover  {
  background: var(--blue-dark);
  box-shadow: 0 4px 16px rgba(37,99,235,0.25);
}
.btn-login:active { transform: scale(0.98); }

.login-footer {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
