/* =========================================================
   SWC PMO · meetings.css — Sprint 10
   Cards de reunião com header colorido por tipo, deliberações
   inline, editor dinâmico no modal.
========================================================= */

.meet-modal { width: min(880px, 96vw); }

/* ── Lista de reuniões ─────────────────────────────── */
.meet-list { display: flex; flex-direction: column; gap: 14px; }

.meet-card {
  background: #161b27;
  border: 1px solid #252d3d;
  border-radius: 14px;
  overflow: hidden;
}
.meet-card__hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .015), transparent);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  border-left: 4px solid var(--c, #60a5fa);
}
.meet-card__top {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  flex: 1;
}
.meet-card__date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 84px;
}
.meet-card__date strong {
  font-size: 14px;
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1.1;
}
.meet-card__date small {
  font-size: 11px;
  color: #8892a4;
}
.meet-card__title {
  font-size: 15px;
  font-weight: 800;
  color: #f1f5f9;
  flex: 1;
  min-width: 200px;
}
.meet-card__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.meet-card__acts  { display: flex; gap: 4px; }

.meet-card__bd { padding: 14px 16px; font-size: 13px; line-height: 1.55; color: #cbd5e1; }
.meet-section { margin: 0 0 12px; }
.meet-section:last-child { margin-bottom: 0; }
.meet-section strong { color: #f1f5f9; font-weight: 700; }
.meet-section--ata {
  background: rgba(96, 165, 250, .05);
  padding: 10px 12px;
  border-radius: 8px;
  border-left: 3px solid #60a5fa;
}

/* ── Deliberações na visualização ─────────────────── */
.meet-delibs {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.meet-delib {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, .025);
  border-radius: 8px;
  border-left: 3px solid #fbbf24;
}
.meet-delib__main { flex: 1; }
.meet-delib__main strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 4px;
}
.meet-delib__meta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.meet-delib__meta small { color: #8892a4; font-size: 11px; }

/* ── Editor de deliberações no modal ──────────────── */
.meet-delib-builder {
  margin: 12px 0;
  padding: 12px;
  border: 1px dashed rgba(251, 191, 36, .25);
  border-radius: 10px;
  background: rgba(251, 191, 36, .03);
}
.meet-delib-builder__hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.meet-delib-builder__hd strong {
  font-size: 12.5px;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.meet-delibs--edit { gap: 4px; }
.meet-delib--empty {
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, .08);
  border-left: 1px dashed rgba(255, 255, 255, .08);
  color: #6b7280;
  font-size: 12px;
  text-align: center;
  padding: 12px;
}
.meet-delib--row {
  display: grid;
  grid-template-columns: 2fr 1fr 130px 130px 32px;
  gap: 6px;
  align-items: center;
  padding: 6px 8px;
  background: rgba(0, 0, 0, .25);
  border-radius: 6px;
  border-left: 3px solid #fbbf24;
}
.meet-delib--row input,
.meet-delib--row select {
  width: 100%;
  background: #11131a;
  border: 1px solid #2a3142;
  border-radius: 6px;
  color: #e8eaf0;
  font-size: 12px;
  padding: 6px 8px;
}
.meet-delib--row input:focus,
.meet-delib--row select:focus {
  border-color: rgba(251, 191, 36, .45);
  outline: none;
}
@media (max-width: 720px) {
  .meet-delib--row { grid-template-columns: 1fr; }
}
