/* Auth/Login basic styles (approximate visual to example) */
:root {
  --brand: #0e6efd;
  --brand-600: #0b5ed7;
  --bg: #0b1020;
  --card: #11162a;
  --text: #e8ecf4;
  --muted: #a9b3c7;
  --danger: #ff4d4f;
  --border: #2a3352;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body.auth-body {
  margin: 0; background: radial-gradient(1200px 800px at 10% -10%, #1a2250, transparent),
                        radial-gradient(1200px 800px at 110% 50%, #0c133d, transparent),
                        var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
}
.auth-container {
  min-height: 100%; display: grid; place-items: center; padding: 32px; gap: 24px;
}
.brand { text-align: center; }
.brand-logo { width: 120px; height: auto; margin-bottom: 16px; }
.brand-title { margin: 0; font-size: 28px; letter-spacing: .2px; font-weight: 600; }
.brand-subtitle { margin: 8px 0 0; color: var(--muted); font-size: 16px; }

.auth-card {
  width: 100%; max-width: 546px; background: var(--card);
  border: 1px solid var(--border); border-radius: 14px; padding: 32px 26px;
  box-shadow: 0 12px 24px rgba(0,0,0,.35);
}
.auth-title { margin: 0 0 20px; font-size: 23px; }
.form-group { margin-bottom: 18px; }
label { display:block; margin-bottom: 8px; font-size: 18px; color: var(--text); }
input[type="text"], input[type="password"] {
  width: 100%; height: 57px; border-radius: 10px; border: 1px solid var(--border);
  background: #0d142a; color: var(--text); padding: 0 16px; outline: none;
  font-size: 16px;
}
input::placeholder { color: #7e8aa6; }
.help { color: var(--muted); font-size: 12px; }
.password-wrapper { position: relative; }
.btn-link { position: absolute; right: 8px; top: 8px; height: 28px; border: 0; background: transparent; color: var(--brand); cursor: pointer; }
.btn-link:hover { color: var(--brand-600); }

.btn-primary {
  width: 100%; height: 57px; border-radius: 10px; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--brand), #5b9dff);
  color: white; font-weight: 600; letter-spacing: .2px; font-size: 16px;
}
.btn-primary[disabled] { opacity: .6; cursor: not-allowed; }

.alert { background: #240d0f; color: #ffc1c1; border: 1px solid #803437; border-radius: 10px; padding: 10px 12px; margin-top: 8px; font-size: 14px; }

.auth-footer { margin-top: 12px; text-align: center; font-size: 14px; }
.link { color: var(--muted); text-decoration: none; }
.link:hover { color: var(--text); }

/* Modal */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.55); display: grid; place-items: center; }
.modal[hidden] { display: none; }
.modal-content { width: min(96vw, 520px); background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.modal-header h3 { margin: 0; font-size: 16px; }
.modal-close { background: transparent; border: 0; color: var(--muted); cursor: pointer; font-size: 20px; line-height: 1; }
.modal-body { padding: 14px; }
.tenant-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.tenant-list li { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; background: #0d142a; border: 1px solid var(--border); border-radius: 10px; }
.tenant-list button { border: 0; background: transparent; color: var(--brand); cursor: pointer; font-weight: 600; }
.tenant-list button:hover { color: var(--brand-600); }
