/* login.css - blue / white theme for Proper Properties Ltd */

/* Page layout */
body, html {
  height: 100%;
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: linear-gradient(180deg, #0d6efd 0%, #0b61a4 60%);
  color: #0b263b;
}

/* Centering panel */
.login-page {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  box-sizing: border-box;
}

/* Panel wrapper */
.login-panel {
  width: 100%;
  max-width: 960px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  align-items: center;
}

/* Brand area (left) */
.brand {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px;
}

.brand-logo {
  width: 86px;
  height: 86px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 700;
  font-size: 28px;
  box-shadow: 0 8px 18px rgba(11,38,59,0.18);
}

.brand h1 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.3px;
}

.brand-sub {
  margin: 6px 0 0 0;
  opacity: 0.95;
  font-size: 14px;
}

/* Login card */
.login-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(11,38,59,0.12);
  overflow: hidden;
}

.card-body {
  padding: 22px;
}

/* form controls */
.form-label {
  display: block;
  margin: 8px 0 6px;
  font-size: 13px;
  color: #0b263b;
}

.form-control {
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid #d6e4f0;
  box-sizing: border-box;
  transition: box-shadow .12s, border-color .12s;
  background: #fff;
  color: #0b263b;
}

.form-control:focus {
  outline: none;
  border-color: #0b61a4;
  box-shadow: 0 0 0 4px rgba(11,97,164,0.08);
}

/* buttons */
.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  background: #0d6efd;
  color: #fff;
  transition: transform .04s ease, box-shadow .08s ease;
}

.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(11,97,164,0.12); }
.btn-primary { background: #0d6efd; }

/* smaller actions */
.form-actions { margin-top: 14px; display:flex; gap:8px; justify-content:flex-end; }
.alert { padding: 10px 12px; border-radius: 8px; margin-bottom: 12px; background: #ffecec; color:#a33; border:1px solid #f1c0c0; }

/* footer */
.login-footer { color: rgba(255,255,255,0.85); margin-top: 14px; grid-column: 1 / -1; text-align: center; }

/* responsive */
@media (max-width: 900px) {
  .login-panel { grid-template-columns: 1fr; padding: 16px; gap: 16px; }
  .brand { padding: 12px; text-align:center; justify-content:center; }
  .brand-logo { width:64px; height:64px; font-size:20px; }
}

/* Forgot password link */
.forgot-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    color: #0d6efd;
    text-decoration: none;
}
.forgot-link:hover {
    text-decoration: underline;
}

