/* === SENDERISMO EL MASTIL PC — Estilos globales === */

:root {
  --green-dark:   #1a6b3c;
  --green-mid:    #2d9e5f;
  --green-light:  #b8f0d0;
}

/* ── Hero ─────────────────────────────────────────── */
.hero-section {
  background: linear-gradient(135deg, var(--green-dark) 0%, #0f4a28 60%, #1a3a2a 100%);
  min-height: 340px;
  display: flex;
  align-items: center;
}
.hero-icon { font-size: 3.5rem; filter: drop-shadow(0 4px 8px rgba(0,0,0,.3)); }
.hero-title { color: #fff; font-size: 2.2rem; font-weight: 700; margin-bottom: .3rem; }
.hero-subtitle { color: var(--green-light); font-size: 1.1rem; }
.badge-live {
  display: inline-block;
  background: rgba(255,255,255,.15);
  color: #a8f0c0;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 20px;
  padding: .3rem .9rem;
  font-size: .85rem;
  margin-top: .5rem;
}
.btn-register { background: var(--green-mid); border: none; }
.btn-register:hover { background: var(--green-dark); }

/* ── Secciones ────────────────────────────────────── */
.section-title { color: var(--green-dark); font-weight: 700; }

/* ── Cómo funciona ────────────────────────────────── */
.step-card {
  padding: 1.5rem 1rem;
  border-radius: 12px;
  background: #f8fdf9;
  border: 1px solid #e0f0e8;
  position: relative;
}
.step-num {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--green-dark);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step-icon { font-size: 2.5rem; display: block; margin-bottom: .5rem; }

/* ── Tarjetas de sendas ───────────────────────────── */
.senda-card { transition: box-shadow .2s; border: 1px solid #e0ece8; }
.senda-card:hover { box-shadow: 0 4px 16px rgba(26,107,60,.12); }

/* ── Formulario de registro ───────────────────────── */
.form-section-title {
  color: var(--green-dark);
  font-weight: 600;
  border-bottom: 2px solid #e0f0e8;
  padding-bottom: .4rem;
  margin-bottom: 1rem;
}

/* ── Confirmación / QR ────────────────────────────── */
.codigo-badge {
  font-family: 'Courier New', monospace;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--green-dark);
  background: #f0faf4;
  border: 2px solid var(--green-light);
  border-radius: 8px;
  padding: .5rem 1rem;
  display: inline-block;
}
.qr-img {
  border: 4px solid var(--green-dark);
  border-radius: 12px;
  max-width: 220px;
}
.info-item {
  padding: .4rem .6rem;
  background: #f8fdf9;
  border-radius: 6px;
  font-size: .9rem;
}
.info-item i { margin-right: .4rem; }

/* ── Dashboard ────────────────────────────────────── */
.stat-card {
  padding: 1.2rem 1rem;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}
.stat-label {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #888;
  margin-top: .2rem;
}
.stat-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.8rem;
  opacity: .15;
}

/* ── Sidebar dashboard ────────────────────────────── */
.sidebar .nav-link { border-radius: 8px; padding: .5rem .8rem; font-size: .9rem; }
.sidebar .nav-link.active,
.sidebar .nav-link:hover { background: rgba(255,255,255,.12); color: #fff !important; }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 576px) {
  .hero-title { font-size: 1.6rem; }
  .stat-num   { font-size: 2rem; }
}
