/* ========== CONSELHEIRA DASHBOARD CSS ========== */

/* Tabs Container */
.tabs-container {
  margin-top: 1.5rem;
}

.tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 1.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tab-btn {
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tab-btn:hover {
  color: var(--primary-color);
}

.tab-btn.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.tab-btn i {
  font-size: 1rem;
}

.tab-content {
  min-height: 300px;
}

/* Progress Bar */
.progress-bar-container {
  width: 100%;
  height: 12px;
  background: var(--card-bg);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-bar {
  height: 100%;
  background: var(--primary-color);
  transition: width 0.5s ease;
  border-radius: 6px;
}

/* Children Progress Grid */
.children-progress-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

@media (min-width: 768px) {
  .children-progress-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (min-width: 1200px) {
  .children-progress-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
  }
}

.child-progress-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 0.875rem;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  min-height: 130px;
}

.child-progress-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--primary-color);
}

.child-progress-card.behind {
  border-left: 4px solid #e74c3c;
}

.child-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.child-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  flex-shrink: 0;
}

.child-details {
  flex: 1;
  min-width: 0;
}

.child-details h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.child-details p {
  margin: 0.25rem 0 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Requirements Progress */
.requirements-progress {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.theme-section {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.theme-header h3 {
  margin: 0 0 0.75rem 0;
  color: var(--text-primary);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-header h3 i {
  color: var(--primary-color);
}

.requirements-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.requirement-item {
  background: var(--bg-color);
  padding: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.requirement-item:hover {
  background: var(--card-hover);
  transform: translateX(4px);
}

.requirement-item.completed {
  border-left-color: #27ae60;
  background: rgba(39, 174, 96, 0.05);
}

.requirement-item h4 {
  margin: 0;
  color: var(--text-primary);
}

.requirement-item.completed h4 {
  color: #27ae60;
}

/* Activities List */
.activities-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.activity-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary-color);
}

.activity-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.activity-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.activity-header h4 {
  margin: 0 0 0.5rem 0;
  color: var(--text-primary);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.activity-header p {
  margin: 0;
  color: var(--text-light);
}

.activity-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.activity-details span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-icon {
  background: var(--card-hover);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.btn-icon:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

/* Floating Action Button */
.floating-action-button {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 999;
}

.floating-action-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.floating-action-button i {
  color: white;
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .floating-action-button {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
  }
}

/* Form Checkbox Grid */
.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  max-height: 200px;
  overflow-y: auto;
  padding: 0.5rem;
  background: var(--bg-color);
  border-radius: 8px;
}

@media (min-width: 768px) {
  .checkbox-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.checkbox-label:hover {
  background: var(--card-hover);
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-label.completed {
  background: rgba(39, 174, 96, 0.1);
}

.checkbox-label.completed span {
  color: #27ae60;
}

/* Requirements Select */
.requirements-select {
  max-height: 300px;
  overflow-y: auto;
  padding: 0.5rem;
  background: var(--bg-color);
  border-radius: 8px;
}

.requirement-theme-group {
  margin-bottom: 1rem;
}

.requirement-theme-group:last-child {
  margin-bottom: 0;
}

.requirement-theme-group h5 {
  margin: 0 0 0.75rem 0;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: var(--card-bg);
  border-radius: 6px;
}

/* Photo Preview Grid */
.photo-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.photo-preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.photo-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.remove-photo {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(231, 76, 60, 0.9);
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  font-size: 0.75rem;
  transition: all 0.2s ease;
}

.remove-photo:hover {
  background: #e74c3c;
  transform: scale(1.1);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .tabs {
    gap: 0.25rem;
  }
  
  .tab-btn {
    padding: 0.65rem 0.75rem;
    font-size: 0.85rem;
  }
  
  .child-avatar {
    width: 45px;
    height: 45px;
    font-size: 1.25rem;
  }
  
  .activity-header {
    flex-direction: column;
  }
  
  .btn-icon {
    align-self: flex-end;
  }
  
  .photo-preview-grid {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.5rem;
  }
}

/* Loading State */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  color: var(--text-muted);
}

.loading::after {
  content: '';
  width: 32px;
  height: 32px;
  border: 3px solid var(--border-color);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: 1rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Error Message */
.error-message {
  background: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  border-left: 4px solid #e74c3c;
}

/* Smooth Transitions */
* {
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* ═══════════════════════════════════════════════════════════════
   CLASS EMBLEM CARDS  — usados em "Minhas Classes" e "Todas as Classes"
   ═══════════════════════════════════════════════════════════════ */

.class-cards-emblem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
  padding: 0.25rem;
}

.class-emblem-card {
  background: var(--white, #fff);
  border: 2px solid var(--border-color, #e2e8f0);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.class-emblem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  border-color: var(--class-color, var(--primary-color, #2563eb));
}

/* Área do emblema */
.cec-emblem-area {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  border-bottom: 1px solid var(--border-color, #e2e8f0);
  min-height: 140px;
}

.cec-emblem-img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.15));
  transition: transform 0.2s ease;
}
.class-emblem-card:hover .cec-emblem-img {
  transform: scale(1.08);
}

.cec-emblem-fallback {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.cec-emblem-fallback i { color: #fff; }

/* Info abaixo do emblema */
.cec-info {
  padding: 0.875rem 1rem 0.5rem;
  flex: 1;
}
.cec-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary, #1e293b);
  line-height: 1.3;
}
.cec-age {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: var(--text-secondary, #64748b);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Rodapé */
.cec-footer {
  padding: 0.625rem 1rem;
  background: rgba(0,0,0,.03);
  border-top: 1px solid var(--border-color, #e2e8f0);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--class-color, var(--primary-color, #2563eb));
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.cec-footer i { font-size: 0.75rem; }

/* ═══════════════════════════════════════════════════════════════
   CLASS DASHBOARD HEADER
   ═══════════════════════════════════════════════════════════════ */

.class-dash-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 0;
  flex-wrap: wrap;
}

.cdh-emblem {
  flex-shrink: 0;
}
.cdh-emblem-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.15));
}
.cdh-emblem-fallback {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.cdh-emblem-fallback i { color: #fff; }

.cdh-info { flex: 1; min-width: 0; }
.cdh-title {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary, #1e293b);
}
.cdh-meta {
  margin: 0 0 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary, #64748b);
}
.cdh-meta span { display: flex; align-items: center; gap: 0.3rem; }
.cdh-meta i    { color: var(--primary-color, #2563eb); font-size: 0.8rem; }

.cdh-progress-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.cdh-progress-bar {
  flex: 1;
  height: 8px;
  background: #e2e8f0;
  border-radius: 99px;
  overflow: hidden;
}
.cdh-progress-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.5s ease;
}
.cdh-progress-pct {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-secondary, #64748b);
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════
   TABELA DE CRIANÇAS DA CONSELHEIRA
   ═══════════════════════════════════════════════════════════════ */

.conselheira-children-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Barra de filtro */
.cc-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  flex-wrap: wrap;
}
.cc-filter-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary, #64748b);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}
.cc-filter-label i { color: var(--primary-color, #2563eb); }
.cc-select {
  padding: 0.375rem 0.625rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.875rem;
  background: #fff;
  color: var(--text-primary, #1e293b);
  cursor: pointer;
}
.cc-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  background: rgba(37,99,235,.08);
  border: 1.5px solid rgba(37,99,235,.15);
  border-radius: 99px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary-color, #2563eb);
  margin-left: auto;
}

/* Wrap scroll da tabela */
.conselheira-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Tabela */
.conselheira-children-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.conselheira-children-table thead {
  background: linear-gradient(to bottom, #f8fafc, #f1f5f9);
  border-bottom: 2px solid var(--primary-color, #2563eb);
  position: sticky;
  top: 0;
  z-index: 5;
}
.conselheira-children-table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary, #1e293b);
  white-space: nowrap;
}
.conselheira-children-table th i { color: var(--primary-color, #2563eb); margin-right: 4px; }

.conselheira-children-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  color: var(--text-primary, #1e293b);
}
.conselheira-children-table tbody tr { transition: background 0.12s ease; }
.conselheira-children-table tbody tr:hover { background: rgba(37,99,235,.03); }
.conselheira-children-table tbody tr:last-child td { border-bottom: none; }

/* Tamanhos de colunas */
.cct-idx     { width: 42px; text-align: center; color: #94a3b8; font-size: 0.8rem; }
.cct-age     { width: 72px; text-align: center; }
.cct-room    { width: 90px; font-size: 0.875rem; color: #64748b; }
.cct-progress { min-width: 220px; }

/* Nome cell */
.cc-name-cell {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.cc-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,.15);
  text-transform: uppercase;
}
.cc-child-name { font-weight: 600; }
.cc-behind-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: rgba(239,68,68,.1);
  color: #ef4444;
  border-radius: 50%;
  font-size: 0.7rem;
  margin-left: 0.35rem;
  flex-shrink: 0;
}

/* Badge de idade */
.cc-age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(37,99,235,.08);
  color: var(--primary-color, #2563eb);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 2px 7px;
  border-radius: 99px;
  border: 1px solid rgba(37,99,235,.15);
}

/* Progress cell */
.cc-progress-cell {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.cc-progress-bar-wrap {
  width: 100%;
  height: 7px;
  background: #e2e8f0;
  border-radius: 99px;
  overflow: hidden;
}
.cc-progress-bar-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.5s ease;
  min-width: 2px;
}
.cc-progress-label {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
}
.cc-progress-pct {
  font-weight: 400;
  opacity: 0.8;
}

/* ═══════════════════════════════════════════════════════════════
   MEETING CARDS (aba Encontros)
   ═══════════════════════════════════════════════════════════════ */

.conselheira-meetings-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.conselheira-meetings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}
.cm-meetings-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary, #1e293b);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cm-meetings-title i { color: var(--primary-color, #2563eb); }

.cm-meetings-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 3rem;
  color: var(--text-secondary, #64748b);
  font-size: 0.9375rem;
}
.cm-meetings-loading i { color: var(--primary-color, #2563eb); }

/* Grid de cards de encontros — distribuição horizontal */
.cm-meeting-cards-grid {
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  align-items: start;
}

/* Card individual */
.cm-meeting-card {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.cm-meeting-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
  transform: translateY(-2px);
}
.cm-meeting-card.cm-meeting-done {
  border-color: rgba(16,185,129,.3);
  background: rgba(16,185,129,.02);
}

/* Topo do card */
.cm-mcard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.cm-mcard-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(37,99,235,.1);
  color: var(--primary-color, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.cm-mcard-icon.done {
  background: rgba(16,185,129,.12);
  color: #10b981;
}
.cm-mcard-icon i { color: inherit; }

/* Título */
.cm-mcard-title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary, #1e293b);
  line-height: 1.3;
}

/* Descrição */
.cm-mcard-desc {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-secondary, #64748b);
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Meta (data, local, requisitos) */
.cm-mcard-meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.cm-mcard-meta span {
  font-size: 0.8rem;
  color: var(--text-secondary, #64748b);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.cm-mcard-meta i { color: var(--primary-color, #2563eb); font-size: 0.75rem; }

/* Rodapé de ações */
.cm-mcard-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid #f1f5f9;
}
.cm-btn-confirm {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  background: #10b981;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.cm-btn-confirm:hover { background: #059669; transform: scale(1.02); }
.cm-btn-confirm i     { font-size: 0.75rem; color: #fff; }

.cm-btn-delete {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239,68,68,.1);
  color: #ef4444;
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.cm-btn-delete:hover { background: #ef4444; color: #fff; transform: scale(1.05); }
.cm-btn-delete i { color: inherit; }

/* Ribbon de realizdo */
.cm-mcard-done-ribbon {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  background: rgba(16,185,129,.1);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #10b981;
  margin-top: auto;
}
.cm-mcard-done-ribbon i { color: #10b981; }

/* ═══════════════════════════════════════════════════════════════
   STATUS BADGES (Font Awesome)
   ═══════════════════════════════════════════════════════════════ */

.status-fa-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}
.status-fa-badge i { font-size: 0.7rem; }

.status-scheduled { background: rgba(37,99,235,.1);   color: #2563eb; }
.status-completed { background: rgba(16,185,129,.12); color: #059669; }
.status-cancelled { background: rgba(239,68,68,.1);   color: #ef4444; }
.status-pending   { background: rgba(245,158,11,.12); color: #d97706; }
.status-approved  { background: rgba(16,185,129,.12); color: #059669; }
.status-rejected  { background: rgba(239,68,68,.1);   color: #ef4444; }

/* ═══════════════════════════════════════════════════════════════
   ESTADOS GENÉRICOS
   ═══════════════════════════════════════════════════════════════ */

.conselheira-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  gap: 0.875rem;
  text-align: center;
}
.conselheira-empty i {
  font-size: 3.5rem;
  color: #cbd5e1;
}
.conselheira-empty p {
  font-size: 1rem;
  color: var(--text-secondary, #64748b);
  margin: 0;
  max-width: 300px;
}

.conselheira-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 3rem;
  color: var(--text-secondary, #64748b);
}
.conselheira-loading i { color: var(--primary-color, #2563eb); font-size: 1.25rem; }

/* ═══════════════════════════════════════════════════════════════
   FORMULÁRIO — Novo Encontro (conselheira)
   ═══════════════════════════════════════════════════════════════ */

.form-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.form-hint {
  font-size: 0.8125rem;
  color: var(--text-secondary, #64748b);
  font-weight: 400;
  margin-left: 0.35rem;
}
.form-hint-block {
  font-size: 0.875rem;
  color: var(--text-secondary, #64748b);
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border-radius: 8px;
  border: 1.5px dashed #e2e8f0;
  text-align: center;
}

/* Scroll dos requisitos no modal */
.meeting-reqs-scroll {
  max-height: 300px;
  overflow-y: auto;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.75rem;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.meeting-req-theme {}
.meeting-req-theme-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary-color, #2563eb);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.meeting-req-theme-label i { font-size: 0.75rem; }
.meeting-req-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-left: 0.5rem;
}
.meeting-req-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.4rem 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--text-primary, #1e293b);
  transition: background 0.12s ease;
}
.meeting-req-checkbox-label:hover { background: #fff; }
.meeting-req-checkbox-label input { flex-shrink: 0; margin-top: 1px; cursor: pointer; }

/* Botão sm */
.btn-sm {
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: auto;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVO
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .class-cards-emblem-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}

@media (max-width: 768px) {
  .class-cards-emblem-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .cec-emblem-area { padding: 1.5rem 1rem; min-height: 110px; }
  .cec-emblem-img  { width: 72px; height: 72px; }

  .class-dash-header { gap: 0.875rem; }
  .cdh-emblem-img, .cdh-emblem-fallback { width: 56px; height: 56px; }
  .cdh-title { font-size: 1.25rem; }

  .form-row-3 { grid-template-columns: 1fr; }
  .cm-meeting-cards-grid { grid-template-columns: 1fr; }
  .cct-room { display: none; }
}

@media (max-width: 480px) {
  .class-cards-emblem-grid { grid-template-columns: 1fr; }
}
