/* ── Base ─────────────────────────────────────────────── */
html {
  font-size: 14px;
}

/* ── Primary gradient (navbar + card headers) ─────────── */
.bg-gradient-primary {
  background: linear-gradient(135deg, #1a237e 0%, #283593 50%, #1565c0 100%) !important;
}

/* ── Hero Section ─────────────────────────────────────── */
.hero-section {
  background: linear-gradient(135deg, #0d1b4b 0%, #1a237e 40%, #283593 70%, #0d47a1 100%);
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.hero-overlay { position: relative; z-index: 1; }
.text-white-75 { color: rgba(255,255,255,.8); }

/* ── Event Type Cards (landing + dashboard) ───────────── */
.event-type-card {
  transition: transform .2s, box-shadow .2s;
  cursor: default;
}
.event-type-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.1) !important;
}

/* ── Feature Cards ────────────────────────────────────── */
.feature-card {
  background: #f8f9ff;
  border: 1px solid #e8eaf6;
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(63,81,181,.12);
}

/* ── Step circles ─────────────────────────────────────── */
.step-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a237e, #1565c0);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(26,35,126,.35);
}

/* ── Dashboard Event Cards ────────────────────────────── */
.event-card { transition: transform .2s, box-shadow .2s; }
.event-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.12) !important; }

.event-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Event Type Button Grid (Create/Edit form) ─────────── */
.event-type-btn {
  font-size: .82rem;
  padding: .4rem .6rem;
  text-align: left !important;
}

/* ── Auth Cards ───────────────────────────────────────── */
.rounded-top-4 { border-radius: 1rem 1rem 0 0 !important; }

/* ── Navbar active event indicator ───────────────────── */
.navbar .active.fw-semibold { color: #fff !important; }

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}