/* ============================================================
   VENTURES ADD-ON STYLES
   Link this AFTER css/style.css on: login.html, admin.html,
   venture-dashboard.html. Reuses the site's existing CSS variables
   (--maroon-900/950, --gold-300, --cream-50/100, --ink-500, --sos)
   so it matches the rest of the portal without touching style.css.
   ============================================================ */

/* Login page role toggle */
.role-toggle {
  display: flex;
  gap: 6px;
  background: var(--cream-100, #f4ede0);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 22px;
}
.role-toggle button {
  flex: 1;
  border: none;
  background: transparent;
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-500, #6b6255);
  cursor: pointer;
  transition: all .15s ease;
}
.role-toggle button.active {
  background: var(--maroon-900, #6d1a2f);
  color: #fff;
}

/* Balance / lease summary cards on the venture dashboard */
.balance-card {
  background: var(--maroon-950, #4a1120);
  color: #fbf6ec;
  border-radius: 16px;
  padding: 24px 26px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.balance-card .amount { font-size: 32px; font-weight: 700; }
.balance-card .label { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-300, #e0b64a); margin-bottom: 6px; }
.balance-card .due { font-size: 13px; color: rgba(251,246,236,.75); margin-top: 4px; }
.balance-card.paid-up { background: #1f5c3d; }

.lease-card {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}
.lease-card div strong { display: block; font-size: 15px; color: var(--maroon-900, #6d1a2f); }
.lease-card div span { font-size: 12.5px; color: var(--ink-500, #6b6255); text-transform: uppercase; letter-spacing: .04em; }

/* Extra badge colors for payments/facilities/requests */
.badge.paid { background: #e4f5ea; color: #1f5c3d; }
.badge.failed, .badge.overdue, .badge.rejected, .badge.terminated { background: #fbe6e6; color: #a32626; }
.badge.approved, .badge.occupied { background: #e4f5ea; color: #1f5c3d; }
.badge.available { background: #eef1fb; color: #2c3e8c; }
.badge.maintenance { background: #fff3d9; color: #93650a; }
.badge.inactive { background: #f1eee7; color: var(--ink-500, #6b6255); }

/* Facility picker cards (used in venture-account creation + facilities tab) */
.facility-mini { display: flex; align-items: center; gap: 10px; }
.facility-mini .swatch {
  width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0;
  background: var(--gold-300, #e0b64a); display:flex;align-items:center;justify-content:center;
  font-size: 12px; font-weight: 700; color: var(--maroon-950, #4a1120);
}

/* Pay button pulse */
.btn-pay { background: var(--gold-300, #e0b64a); color: var(--maroon-950, #4a1120); font-weight: 700; }
.btn-pay:hover { filter: brightness(1.05); }
