/* =============================================================================
   FreshInventoryCalendar.razor.css — Blazor scoped styles
   Radzen components used: RadzenDatePicker (Inline), RadzenDataList, RadzenAccordion
   Radzen internal (.rz-*) overrides live in wwwroot/css/radzen-overrides.css.
   ============================================================================= */

/* ── Card shell ─────────────────────────────────────────────────────────── */
.fic-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 14px;
  color: #111827;
}

/* ── Month label ────────────────────────────────────────────────────────── */
.fic-month-label {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 16px;
  text-align: left;
  line-height: 1.25;
}

/* ── Legend ─────────────────────────────────────────────────────────────── */
.fic-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}

.fic-legend-dot {
  display: block;
  width: 8px;
  height: 8px;
  background-color: #ef4444;
  border-radius: 50%;
  flex-shrink: 0;
}

.fic-legend-label {
  font-size: 12px;
  color: #374151;
}

/* ── Divider ─────────────────────────────────────────────────────────────── */
.fic-divider {
  border: none;
  border-top: 2px solid #D8E3E9;
  margin: 16px 0;
  height: 0;
}

/* ── Event section ───────────────────────────────────────────────────────── */
.fic-section-title {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 12px;
  line-height: 1.25;
}

/* ── Event items (rendered inside RadzenDataList template) ───────────────── */
/* Template content is part of this component's render tree, so scoped CSS   */
/* applies. Radzen wrapper elements (.rz-*) are stripped in radzen-overrides. */
.fic-event-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
}

.fic-event-date {
  font-size: 14px;
  color: #374151;
  line-height: 1.4;
}

.fic-event-date--past {
  color: #6b7280;
}

.fic-event-empty {
  font-size: 13px;
  color: #9ca3af;
  margin: 8px 0 0;
}

/* ── Collapsible section header ──────────────────────────────────────────── */
.fic-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  padding: 4px 0;
  margin-bottom: 12px;
}

  .fic-section-header .fic-section-title {
    margin: 0;
  }

.fic-collapse-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fic-collapse-icon--expanded {
  /* State is handled by switching SVG in markup */
}

.fic-card .rz-datalist-data > li {
    border:none !important;
}

.fic-datepicker .rz-state-active.rz-calendar-today {
  border-radius: 4px !important;
  border: 1px solid #0C60A5 !important;
  background: rgba(12, 96, 165, 0.10) !important;
  color:black !important;
}
