* {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont;
}

body {
  margin: 0;
  background: #f5f5f5;
}

/* Logo */
.top-logo {
  position: absolute;
  top: 20px;
  width: 100%;
  text-align: center;
  z-index: 2;
}

/* Background */
.hero {
  position: fixed;
  inset: 0;
  background: url("assets/bg.png") center / cover no-repeat;
  filter: brightness(0.9);
  z-index: -1;
}

/* Card */
.login-card {
  width: 360px;
  background: #fff;
  padding: 28px;
  border-radius: 6px;
  margin: 120px auto;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

/* Fields */
.field {
  margin-bottom: 18px;
  position: relative;
}

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

.field input {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.field input:focus {
  border-color: #005eb8;
  outline: none;
}

.error {
  color: #c41230;
  font-size: 12px;
  display: block;
  margin-top: 4px;
}

/* Show password */
.show-btn {
  position: absolute;
  right: 8px;
  top: 32px;
  border: none;
  background: none;
  color: #005eb8;
  font-size: 13px;
  cursor: pointer;
}

/* Options */
.options {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin: 15px 0;
}

/* Button */
.signin {
  width: 100%;
  padding: 12px;
  background: #005eb8;
  color: #fff;
  border: none;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
}

.signin:hover {
  background: #004a93;
}

/* Links */
.links {
  margin-top: 15px;
  font-size: 13px;
}

.links a {
  display: block;
  color: #005eb8;
  text-decoration: none;
  margin-top: 6px;
}

/* Footer */
footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: white;
  text-align: center;
  padding: 10px 0;
  font-size: 12px;
  color: #666;
}

.footer-links a {
  margin: 0 8px;
  color: #666;
  text-decoration: none;
}
