/* assets/style.css */
:root {
  --bg: #0a2540;
  --panel: rgba(255,255,255,0.92);
  --accent: #f0807b;
  --text: #0b1723;
}

* { box-sizing: border-box; }
html, body {
  height: 100%;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
}

body {
  background: var(--bg) url('/assets/background.jpg') no-repeat center center fixed;
  background-size: cover;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: var(--panel);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  overflow: hidden;
}

.header {
  padding: 24px 24px 12px;
  text-align: center;
}

.header .brand {
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #0b3e82;
  font-size: 22px;
}
.header .subtitle {
  color: #335;
  font-size: 13px;
  opacity: 0.85;
}

.form {
  padding: 24px;
}

label {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  color: #223;
}

input[type="text"], input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccd6e0;
  border-radius: 10px;
  outline: none;
  font-size: 16px;
}

input[type="text"]:focus, input[type="password"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26,115,232,0.15);
}

.button {
  width: 100%;
  padding: 12px 14px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
}

.button:hover { filter: brightness(0.95); }

.footer {
  padding: 12px 24px 24px;
  text-align: center;
  font-size: 12px;
  color: #445;
}

.error {
  background: #ffe9e9;
  border: 1px solid #ffb7b7;
  color: #7a1b1b;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
}
