/* login.php — standalone centered card, doesn't use the topbar/.page layout from app.css */

body.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  /* Abstract data/network photo (Conny Schneider, via Unsplash) behind a translucent black
     overlay — darkens it enough for the card to stand out while still showing the photo. */
  background-image:
    linear-gradient(160deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .68) 100%),
    url('../img/login-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.login-card {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(26, 86, 219, .12), 0 2px 8px rgba(0, 0, 0, .06);
  padding: 2.5rem 2rem 2rem;
  text-align: center;
}

.login-logo {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
}

.login-card h1 {
  font-family: 'Raleway', sans-serif;
  font-weight: 200;
  font-size: 1.5rem;
  letter-spacing: .04em;
  margin: 0 0 1.5rem;
  color: #1a1a1a;
}

.login-card .status.login-error,
.login-card .status.login-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  text-align: center;
  margin-bottom: 1.25rem;
  padding: .7rem 1rem;
  border: none;
  border-radius: 8px;
  font-size: .85rem;
}
.login-card .status.login-error svg,
.login-card .status.login-notice svg { flex-shrink: 0; }

.login-card .status.login-error {
  background: #fdecea;
  color: #b3261e;
  box-shadow: 0 1px 3px rgba(217, 48, 37, .1);
}
.login-card .status.login-notice {
  background: #e6f6ea;
  color: #1e7b34;
  box-shadow: 0 1px 3px rgba(52, 168, 83, .1);
}

.login-form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.login-form label {
  font-size: .85rem;
  color: #444;
  margin-top: .6rem;
}

.login-form input {
  padding: .6rem .7rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: .95rem;
}
.login-form input:focus {
  outline: none;
  border-color: #1a56db;
  box-shadow: 0 0 0 3px rgba(26, 86, 219, .15);
}

.login-form button {
  margin-top: 1.25rem;
  padding: .7rem 1rem;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, #1b3a6b 0%, #0b1c3d 100%);
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}
.login-form button:hover { background: linear-gradient(135deg, #2c5090 0%, #16305c 100%); }
