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

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

:root {
  --bg: #F7F6F3; --surface: #FFFFFF; --border: #E2DFD8;
  --text: #1A1917; --text2: #6B6760; --text3: #9A9790;
  --accent: #2563EB; --font: 'Inter', system-ui, sans-serif;
}

body {
  font-family: var(--font);
  background: linear-gradient(160deg, #F6F7F2 0%, #F2F7F6 50%, #FAFAFA 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-wrapper {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-area {
  text-align: center;
  margin-bottom: 24px;
}

.brand-logo {
  height: 200px;
  width: 200px;
  object-fit: contain;
  
  margin: 0 auto 14px;
  display: block;
  
}

.brand-area .brand {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.4px;
}

.brand-area .sub {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px 36px;
  width: 100%;
  box-shadow: 0 12px 36px rgba(0,0,0,0.18);
}

h1 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 24px;
  text-align: center;
}

.field { margin-bottom: 16px; }

.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}

.field input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color 0.15s;
}

.field input:focus { border-color: var(--accent); background: #fff; }

.btn-login {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 11px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.15s;
}

.btn-login:hover { background: #1D4ED8; }

.error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 18px;
}

.footer-note {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  color: var(--text3);
}
