/* assets/css/app.css */

:root {
  --bni-red:    #cc0000;
  --bni-dark:   #1a1a1a;
  --bni-gray:   #f5f5f5;
  --bni-border: #dee2e6;
}

body {
  background: #f8f9fa;
  font-family: 'Segoe UI', system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-wrap { flex: 1; }

/* Navbar */
.bni-navbar {
  background: var(--bni-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.bni-logo {
  background: var(--bni-red);
  color: #fff;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 1px;
  font-size: .9em;
}

/* Auth pages */
.auth-card {
  max-width: 440px;
  margin: 60px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  padding: 2.5rem;
}
.auth-logo {
  text-align: center;
  margin-bottom: 1.5rem;
}
.auth-logo .bni-badge {
  display: inline-block;
  background: var(--bni-red);
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  padding: 8px 18px;
  border-radius: 6px;
  letter-spacing: 2px;
}
.auth-title {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--bni-dark);
  margin-bottom: 1.5rem;
}

/* Buttons */
.btn-bni {
  background: var(--bni-red);
  color: #fff;
  border: none;
  font-weight: 600;
}
.btn-bni:hover { background: #aa0000; color: #fff; }

/* Dashboard cards */
.planner-card {
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--bni-border);
  transition: box-shadow .2s, transform .2s;
}
.planner-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
  transform: translateY(-2px);
}
.planner-card .card-header {
  background: var(--bni-red);
  color: #fff;
  border-radius: 10px 10px 0 0;
  font-weight: 700;
}
.badge-draft    { background: #6c757d; }
.badge-complete { background: #198754; }

/* Wizard */
.wizard-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
}
.wizard-steps::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--bni-border);
  z-index: 0;
}
.wizard-step {
  text-align: center;
  flex: 1;
  position: relative;
  z-index: 1;
}
.wizard-step .step-circle {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--bni-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #999;
  transition: all .3s;
}
.wizard-step.active .step-circle {
  background: var(--bni-red);
  border-color: var(--bni-red);
  color: #fff;
}
.wizard-step.done .step-circle {
  background: #198754;
  border-color: #198754;
  color: #fff;
}
.wizard-step .step-label {
  font-size: .72rem;
  color: #666;
  margin-top: 4px;
  display: block;
}
.wizard-step.active .step-label { color: var(--bni-red); font-weight: 600; }
.wizard-step.done .step-label   { color: #198754; }

.wizard-panel { display: none; }
.wizard-panel.active { display: block; }

.section-title {
  color: var(--bni-red);
  font-weight: 700;
  border-bottom: 2px solid var(--bni-red);
  padding-bottom: .4rem;
  margin-bottom: 1.2rem;
}

/* Form styling */
.form-label { font-weight: 600; font-size: .9rem; }
.form-control:focus, .form-select:focus {
  border-color: var(--bni-red);
  box-shadow: 0 0 0 .2rem rgba(204,0,0,.15);
}

/* Referral table */
.ref-table th { background: var(--bni-dark); color: #fff; }

/* Footer */
.bni-footer { background: var(--bni-dark); }

/* Responsive */
@media (max-width: 576px) {
  .wizard-step .step-label { display: none; }
  .auth-card { margin: 20px 12px; padding: 1.5rem; }
}
