/* =========================================
   BITACORA PAGE STYLES
   ========================================= */

.bitacora-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

.bitacora-header {
  margin-bottom: 3rem;
  animation: fadeDown 0.6s ease both;
}
.bitacora-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.bitacora-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ---- Timeline ---- */
.timeline {
  position: relative;
  padding-left: 3rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--purple), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  animation: fadeDown 0.5s ease both;
}
.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }

.timeline-dot {
  position: absolute;
  left: -2.45rem;
  top: 1rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--purple);
  border: 2px solid var(--bg);
  box-shadow: 0 0 10px var(--purple-glow);
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--purple-light);
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color var(--transition);
}
.timeline-card:hover { border-color: rgba(124,58,237,0.4); }

.timeline-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.timeline-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}
.tag-decision { background: rgba(124,58,237,0.15); border-color: rgba(124,58,237,0.3); color: var(--purple-light); }
.tag-problem  { background: rgba(236,72,153,0.12); border-color: rgba(236,72,153,0.3); color: #f472b6; }
.tag-change   { background: rgba(34,211,238,0.1);  border-color: rgba(34,211,238,0.3);  color: var(--cyan); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .bitacora-page { padding: 2rem 1.5rem 4rem; }
  .timeline { padding-left: 2rem; }
  .timeline-dot { left: -1.45rem; }
}
@media (max-width: 400px) {
  .bitacora-page { padding: 1.5rem 1rem 3rem; }
}
@media (min-width: 1200px) {
  .bitacora-page { max-width: 900px; padding: 3rem 4rem 5rem; }
}
