/* ═══════════════════════════════════════════════════════════════
 * [time_event_info] — Event Info Bar & Cards
 * Dependency: tc-design-system (--tc-* Custom Properties)
 * ═══════════════════════════════════════════════════════════════ */

/* ── Bar Layout ─────────────────────────────────────────────── */
.tc-event-info-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  background: var(--tc-bg);
  border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius);
  box-shadow: var(--tc-shadow-sm);
  overflow: hidden;
}

.tc-event-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  flex: 1;
  min-width: 140px;
}

.tc-event-info-divider {
  width: 1px;
  height: 40px;
  background: var(--tc-border);
  flex-shrink: 0;
}

.tc-event-info-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.tc-event-info-content {
  display: flex;
  flex-direction: column;
}

.tc-event-info-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--tc-text-muted);
  margin-bottom: 2px;
}

.tc-event-info-value {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--tc-text);
}

/* ── Status Colors ──────────────────────────────────────────── */
.tc-event-info-value--available { color: var(--tc-success, #059669); }
.tc-event-info-value--warning   { color: var(--tc-warning, #d97706); }
.tc-event-info-value--full      { color: var(--tc-danger,  #dc2626); }

/* ── Cards Layout ───────────────────────────────────────────── */
.tc-event-info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}

.tc-event-info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 18px 14px;
  background: var(--tc-bg);
  border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius);
  box-shadow: var(--tc-shadow-sm);
}

.tc-event-info-card .tc-event-info-icon {
  font-size: 22px;
}

/* ── Responsive: bar → stack on mobile ──────────────────────── */
@media (max-width: 600px) {
  .tc-event-info-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .tc-event-info-divider {
    width: 100%;
    height: 1px;
  }
  .tc-event-info-item {
    min-width: unset;
  }
}
