/* ==========================================================================
   GRUPO AMAS - Sistema de Gestão de Horários e Portal Web
   Cores Oficiais:
   #00256B - Azul Institucional (Autoridade e Confiança)
   #0F6E56 - Verde Saúde & Bem-Estar (Cuidado e Humanização)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #00256B;
  --primary-dark: #001948;
  --primary-light: #1e3a8a;
  --primary-subtle: #ebf1fa;
  
  --secondary: #0F6E56;
  --secondary-dark: #094a3a;
  --secondary-light: #16a34a;
  --secondary-subtle: #e6f4f1;
  
  --accent: #f59e0b;
  --danger: #ef4444;
  --success: #10b981;
  
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --border: #e2e8f0;
  --border-focus: #00256B;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.main-header {
  background-color: #ffffff;
  border-bottom: 2px solid var(--primary-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  cursor: pointer;
}

.brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.brand-info h1 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.brand-info span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Alternador de Visão (Portal do Paciente vs Dashboard da Recepção) */
.view-tabs {
  display: flex;
  background: var(--bg-subtle);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
}

.view-tab-btn {
  border: none;
  background: transparent;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.view-tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.view-tab-btn:hover:not(.active) {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-schedule-quick {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: #ffffff;
  border: none;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 10px rgba(15, 110, 86, 0.25);
  transition: var(--transition);
}

.btn-schedule-quick:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(15, 110, 86, 0.35);
}

/* ==========================================================================
   Hero Banner - Portal do Paciente
   ========================================================================== */
.hero-section {
  background: linear-gradient(135deg, #001b50 0%, #00256B 50%, #07384a 100%);
  color: #ffffff;
  padding: 48px 24px 60px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(15, 110, 86, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  max-width: 1040px;
}

.hero-title span {
  color: #38bdf8;
  white-space: nowrap;
}

.hero-description {
  font-size: 1.05rem;
  color: #e2e8f0;
  margin-bottom: 0;
  max-width: 840px;
  line-height: 1.6;
  text-wrap: balance;
}

.hero-search-card {
  background: #ffffff;
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  color: var(--text-main);
}

.hero-search-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.form-group-full {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text-main);
  background-color: var(--bg-main);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 37, 107, 0.1);
}

.btn-primary-action {
  width: 100%;
  padding: 12px;
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary-action:hover {
  background: var(--primary-dark);
}

/* ==========================================================================
   Containers e Filtros do Catálogo
   ========================================================================== */
.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 40px 24px;
}

.section-header {
  margin-bottom: 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 4px;
}

/* Filtros em Pílulas */
.filter-pills-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 24px;
  scrollbar-width: thin;
}

.filter-pill {
  white-space: nowrap;
  padding: 7px 16px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.filter-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.filter-pill:hover:not(.active) {
  border-color: var(--primary-light);
  color: var(--primary);
}

/* ==========================================================================
   Grid de Médicos e Cards
   ========================================================================== */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
}

.doctor-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.doctor-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.doctor-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
}

.doctor-card.attending-today::before {
  background: var(--secondary);
}

.doctor-card-top {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
}

.doctor-avatar-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.doctor-meta {
  flex-grow: 1;
}

.doctor-specialty-badge {
  display: inline-block;
  background: var(--secondary-subtle);
  color: var(--secondary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 4px;
}

.doctor-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.3;
}

.doctor-crm {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Indicador de Disponibilidade / Horários */
.doctor-schedule-box {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  margin: 10px 0 16px;
  font-size: 0.82rem;
}

.schedule-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  color: var(--text-main);
}

.schedule-row:last-child {
  margin-bottom: 0;
}

.schedule-label {
  font-weight: 700;
  color: var(--text-muted);
  min-width: 60px;
}

.schedule-value {
  font-weight: 600;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.status-badge.today {
  background: #dcfce7;
  color: #15803d;
}

.status-badge.upcoming {
  background: #e0f2fe;
  color: #0369a1;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

/* Botões do Card */
.doctor-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}

.btn-card-whatsapp {
  background: #25D366;
  color: #ffffff;
  border: none;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-card-whatsapp:hover {
  background: #1eb956;
}

.btn-card-schedule {
  background: #ffffff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  padding: 9px 12px;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-card-schedule:hover {
  background: var(--primary);
  color: #ffffff;
}

/* ==========================================================================
   Seção das 3 Unidades (Barretos/SP)
   ========================================================================== */
.units-section {
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 50px 24px;
}

.units-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.unit-box {
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.unit-box.odonto-box {
  border-top-color: var(--secondary);
}

.unit-box.lab-box {
  border-top-color: #0284c7;
}

.unit-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.unit-box h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.unit-address {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.4;
}

.unit-contact-list {
  list-style: none;
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.unit-contact-list li {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-unit-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  background: var(--secondary);
  color: #ffffff;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition);
}

.btn-unit-whatsapp:hover {
  background: var(--secondary-dark);
}

/* ==========================================================================
   Modal e Gavetas
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.active {
  display: flex;
}

.modal-container {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  animation: modalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
  from { transform: scale(0.95) translateY(10px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1;
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: var(--bg-main);
}

/* ==========================================================================
   Calendário Visual Interativo de Agendamento
   ========================================================================== */
.booking-calendar-widget {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  box-shadow: var(--shadow-sm);
  margin-top: 4px;
}

.booking-calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.booking-calendar-month-label {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: capitalize;
}

.booking-calendar-nav-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  color: var(--primary);
  transition: var(--transition);
}

.booking-calendar-nav-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.booking-calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.booking-calendar-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.calendar-day-cell {
  aspect-ratio: 1;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  position: relative;
  transition: all 0.15s ease;
  user-select: none;
}

.calendar-day-cell.empty {
  visibility: hidden;
}

/* Dia Indisponível (Clarinha / Não Selecionável) */
.calendar-day-cell.disabled {
  background: #f8fafc;
  color: #cbd5e1;
  cursor: not-allowed;
  border: 1px solid #f1f5f9;
  opacity: 0.45;
}

/* Dia Bloqueado / Folga Médica */
.calendar-day-cell.blocked {
  background: #fef2f2;
  color: #ef4444;
  cursor: not-allowed;
  border: 1px dashed #fca5a5;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Dia Disponível na Escala (Destaque Verde, Clicável) */
.calendar-day-cell.available {
  background: #ecfdf5;
  color: #065f46;
  border: 1.5px solid #10b981;
  cursor: pointer;
  font-weight: 700;
}

.calendar-day-cell.available:hover {
  background: #10b981;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.35);
}

.calendar-day-cell.available:hover .capacity-indicator {
  color: #ffffff;
}

.calendar-day-cell .capacity-indicator {
  font-size: 0.65rem;
  line-height: 1;
  margin-top: 2px;
  font-weight: 700;
  color: #059669;
}

/* Dia Selecionado Ativo */
.calendar-day-cell.selected {
  background: var(--primary) !important;
  color: #ffffff !important;
  border-color: var(--primary) !important;
  box-shadow: 0 4px 12px rgba(0, 37, 107, 0.4) !important;
  transform: scale(1.04);
  font-weight: 800;
}

.calendar-day-cell.selected .capacity-indicator {
  color: #ffffff !important;
}

/* Dia de Exceção Autorizada */
.calendar-day-cell.exception-available {
  background: #fffbeb;
  color: #92400e;
  border: 1.5px dashed #f59e0b;
  cursor: pointer;
}

.calendar-day-cell.exception-available:hover {
  background: #f59e0b;
  color: #ffffff;
}

.calendar-legend {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.calendar-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.calendar-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
}

/* ==========================================================================
   Responsividade
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .units-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .view-tabs {
    justify-content: center;
  }
  .search-form-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .doctors-grid {
    grid-template-columns: 1fr;
  }
}

/* Slots de Horários Interativos & Range de Minutos */
.btn-interval-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-interval-pill:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}
.btn-interval-pill.active {
  background: var(--primary) !important;
  color: #ffffff !important;
  border-color: var(--primary) !important;
}

.booking-slot-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 6px;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.15s ease;
}
.booking-slot-btn:hover {
  border-color: var(--primary);
  background: #eff6ff;
  color: var(--primary);
  transform: translateY(-1px);
}
.booking-slot-btn.selected {
  background: var(--primary) !important;
  color: #ffffff !important;
  border-color: var(--primary) !important;
  box-shadow: 0 3px 8px rgba(0, 37, 107, 0.35) !important;
}
.booking-slot-btn.booked {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #991b1b;
}
.booking-slot-btn.booked.selected {
  background: #dc2626 !important;
  color: #ffffff !important;
  border-color: #dc2626 !important;
}

.booking-slot-wrapper {
  display: inline-flex;
  align-items: stretch;
  border-radius: 6px;
  overflow: hidden;
  border: 1.5px solid #cbd5e1;
  background: #f8fafc;
  transition: all 0.15s ease;
}
.booking-slot-wrapper.booked {
  border-color: #fca5a5;
  background: #fef2f2;
}
.booking-slot-wrapper.selected {
  border-color: var(--primary);
  box-shadow: 0 3px 8px rgba(0, 37, 107, 0.35);
}
.booking-slot-wrapper.booked.selected {
  border-color: #dc2626;
  box-shadow: 0 3px 8px rgba(220, 38, 38, 0.35);
}
.booking-slot-wrapper .booking-slot-btn {
  border: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}
.booking-slot-cancel-btn {
  background: #fee2e2;
  border: none;
  border-left: 1px solid #fca5a5;
  color: #b91c1c;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0 9px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transition: all 0.15s ease;
}
.booking-slot-cancel-btn:hover {
  background: #ef4444 !important;
  color: #ffffff !important;
}

/* Botões de Alternância de Formato de Agendamento */
.btn-format-toggle {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: transparent;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-format-toggle:hover {
  background: rgba(0, 37, 107, 0.06);
  color: var(--primary);
}
.btn-format-toggle.active {
  background: var(--primary) !important;
  color: #ffffff !important;
  border-color: var(--primary) !important;
  box-shadow: 0 2px 6px rgba(0, 37, 107, 0.25) !important;
}
