/* Bet On Her Partner Portal */
:root {
  --bg: #0e0f13;
  --panel: #16181f;
  --border: #262a35;
  --text: #e8eaf0;
  --text-dim: #8b8fa3;
  --accent: #ff3366;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
}

.hidden { display: none !important; }

/* ── Login ── */
#screen-login {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}

.login-card {
  width: 100%;
  max-width: 380px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  text-align: center;
}

.login-card h1 { font-size: 24px; }
.login-sub { color: var(--accent); font-weight: 600; margin: 4px 0 24px; }
.login-card label { display: block; text-align: left; font-size: 13px; color: var(--text-dim); margin-bottom: 6px; }
.login-error { color: #ff8a8a; font-size: 13px; margin-top: 12px; }
.login-sent-msg { font-size: 14px; line-height: 1.5; margin-bottom: 16px; }

/* ── Manager ── */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}
.topbar h1 { font-size: 20px; }
.topbar-user { font-size: 12px; color: var(--text-dim); }

.panels {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}
.panel h3 { margin-bottom: 12px; font-size: 16px; }
.hint { font-size: 12.5px; color: var(--text-dim); margin-bottom: 12px; line-height: 1.4; }

label { display: block; font-size: 13px; color: var(--text-dim); margin-bottom: 12px; }
input[type="text"], input[type="email"], input[type="datetime-local"], textarea {
  width: 100%;
  margin-top: 5px;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
}
input:focus, textarea:focus { outline: none; border-color: var(--accent); }
.checkline { display: flex; align-items: center; gap: 8px; color: var(--text); }
.checkline input { width: auto; margin: 0; }

.btn {
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.btn:disabled { opacity: 0.5; cursor: default; }
.btn-primary { background: var(--accent); color: white; width: 100%; }
.btn-secondary { background: var(--border); color: var(--text); }
.btn-danger { background: #c0392b; color: white; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.actions { display: flex; gap: 8px; margin-top: 4px; }
.actions .btn-primary { width: auto; }

.badge {
  background: var(--border);
  border-radius: 10px;
  padding: 2px 8px;
  font-size: 11px;
  color: var(--text-dim);
}

.list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.row-main { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.row-main small { color: var(--text-dim); font-size: 12px; }
.row-addable { cursor: pointer; }
.row-addable:hover { border-color: var(--accent); }
.add { color: var(--accent); font-size: 13px; font-weight: 600; }
.empty { color: var(--text-dim); font-size: 13px; padding: 8px 2px; }

.subform {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 12px;
}

/* ── Modal ── */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-content {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  width: 100%;
  max-width: 420px;
}
.modal-content h3 { margin-bottom: 12px; }
.modal-actions { display: flex; gap: 10px; margin-top: 18px; }
.push-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  margin: 12px 0;
}
.push-card-title { font-weight: 700; font-size: 14px; }
.push-card-body { font-size: 13.5px; color: var(--text-dim); margin-top: 4px; }

/* ── Toast ── */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  z-index: 100;
}
.toast-success { background: #1e4620; color: #a3e0a8; }
.toast-error { background: #4a1d1d; color: #ff9c9c; }
