@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&display=swap');

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

:root {
  --bopp: #1FBFA0;
  --bopp-dark: #178F78;
  --bopp-light: #E8F8F4;
  --bg: #f5f7f9;
  --bg-card: #ffffff;
  --border: #e5e9ec;
  --text: #1f2a44;
  --text-muted: #5a6577;
  --text-faint: #97a1ad;
  --rot: #dc2626;
}

html, body {
  height: 100%;
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bopp-light) 100%);
  color: var(--text);
}

.login-wrap {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.logo {
  height: 56px;
  width: auto;
  margin: 0 auto 24px;
  display: block;
}

h1 {
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label span {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}

input[type="text"], input[type="password"] {
  padding: 12px 14px;
  border: 1px solid #cbd2d8;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  background: white;
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus {
  outline: none;
  border-color: var(--bopp);
  box-shadow: 0 0 0 3px var(--bopp-light);
}

button[type="submit"] {
  margin-top: 8px;
  padding: 13px 20px;
  background: var(--bopp);
  color: white;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

button[type="submit"]:hover { background: var(--bopp-dark); }
button[type="submit"]:active { transform: scale(0.98); }
button[type="submit"]:disabled { opacity: 0.6; cursor: wait; }

.error {
  font-size: 13px;
  color: var(--rot);
  font-weight: 700;
  min-height: 18px;
  text-align: center;
  margin-top: 4px;
}

.hint {
  font-size: 13px;
  color: var(--bopp-dark);
  text-align: center;
  font-weight: 700;
  min-height: 18px;
}

.footer {
  margin-top: 24px;
  font-size: 12px;
  color: var(--text-faint);
}
