:root {
  --otf-primary: #0073aa;
  --otf-border: #ccc;
  --otf-bg: #f8fafc;
  --otf-muted: #64748b;
}

/* ===== CONTENEDOR PRINCIPAL ===== */
#otf-calendar {
  margin-top: 10px;
  background: #fff;
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

/* ===== PESTAÑAS ===== */
#calendar-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

#calendar-tabs .tab-btn {
  background: #eee;
  border: 1px solid var(--otf-border);
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
  transition: 0.2s;
  font-size: 14px;
}

#calendar-tabs .tab-btn.active {
  background: var(--otf-primary);
  color: #fff;
  border-color: var(--otf-primary);
}

#calendar-tabs .tab-btn:hover {
  background: #e1f0ff;
}

/* ===== FULLCALENDAR ===== */
.fc {
  font-family: 'Inter', sans-serif;
}

.fc-toolbar-title {
  font-size: 1.3rem !important;
  color: var(--otf-primary);
}

.fc-button {
  background: var(--otf-primary) !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 6px 10px !important;
}

.fc-button:hover {
  background: #005f8b !important;
}

.fc-daygrid-day-number {
  font-weight: 600;
  color: #333;
}

.fc-event {
  font-size: 0.85rem;
  border-radius: 6px;
  padding: 2px 4px;
  border: none;
  color: #fff;
}

/* Eventos familiares (verde) */
.fc-event[data-type="familiar"] {
  background-color: #16a34a !important;
}

/* Eventos personales (azul) */
.fc-event[data-type="personal"] {
  background-color: #0073aa !important;
}

/* Hover */
.fc-event:hover {
  filter: brightness(0.9);
}
