/*
 * AgendOi — sistema de design (ver secao 16 do CLAUDE.md)
 * Paleta, tipografia e componentes de toda a aplicacao do profissional.
 * Propshaft nao faz bundling — este arquivo unico e servido direto.
 */

/* ============================================================
   1. TOKENS
   ============================================================ */
:root {
  /* Paleta */
  --color-green: #1DAB61;
  --color-green-dark: #128C4A;
  --color-green-light: #D9F5E7;
  --color-yellow: #F5C518;
  --color-black: #111827;
  --color-gray-light: #F3F4F6;
  --color-gray-block: #D1D5DB;
  --color-white: #FFFFFF;

  /* Status de agendamento (secao 19.3) */
  --status-scheduled-bg: #DBEAFE;
  --status-scheduled-text: #1D4ED8;
  --status-confirmed-bg: var(--color-green);
  --status-confirmed-text: var(--color-white);
  --status-completed-bg: var(--color-gray-light);
  --status-completed-text: #4B5563;
  --status-cancelled-bg: #FEE2E2;
  --status-cancelled-text: #B91C1C;
  --status-no-show-bg: #FFEDD5;
  --status-no-show-text: #C2410C;

  /* Tipografia */
  --font-display: "Plus Jakarta Sans", "Inter", -apple-system, sans-serif;
  --font-body: "Inter", -apple-system, sans-serif;

  /* Espacamento */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;

  /* Raios — generosos: pill nos botoes, 16-24px nos cards */
  --radius-pill: 999px;
  --radius-card: 20px;
  --radius-small: 10px;

  --shadow-card: 0 1px 2px rgba(17, 24, 39, 0.06), 0 1px 3px rgba(17, 24, 39, 0.08);
  --shadow-overlay: 0 10px 40px rgba(17, 24, 39, 0.18);

  --tabbar-height: 64px;
}

/* ============================================================
   2. RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-black);
  background: var(--color-gray-light);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 var(--space-3);
  color: var(--color-black);
}

h1 { font-size: 1.75rem; font-weight: 800; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.05rem; font-weight: 600; }

p { margin: 0 0 var(--space-3); }

a { color: var(--color-green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { padding-left: 1.25em; }

img { max-width: 100%; }

/* Foco visivel sempre — nunca remover outline sem substituto acessivel */
:focus-visible {
  outline: 3px solid var(--color-yellow);
  outline-offset: 2px;
}

/* ============================================================
   3. LAYOUT SHELL
   ============================================================ */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-5);
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-block);
  position: sticky;
  top: 0;
  z-index: 20;
}

.app-header__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}
.app-header__brand:hover { text-decoration: none; }
.app-header__brand-agend { color: var(--color-black); }
.app-header__brand-oi { color: var(--color-yellow); }

.app-header__nav {
  display: none;
  align-items: center;
  gap: var(--space-5);
}

.app-header__link {
  font-weight: 500;
  color: var(--color-black);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-family: var(--font-body);
  padding: 0;
}
.app-header__link:hover { color: var(--color-green-dark); text-decoration: none; }
.app-header__link--button { text-decoration: none; }

.app-main {
  max-width: 960px;
  margin: 0 auto;
  padding: var(--space-5) var(--space-4);
  padding-bottom: calc(var(--tabbar-height) + var(--space-6));
}

/* Zona inferior de alcance do polegar — navegacao principal no mobile */
.app-tabbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--tabbar-height);
  display: flex;
  background: var(--color-white);
  border-top: 1px solid var(--color-gray-block);
  z-index: 20;
}

.app-tabbar__item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-black);
}
.app-tabbar__item:hover { text-decoration: none; color: var(--color-green-dark); }

@media (min-width: 768px) {
  .app-header__nav { display: flex; }
  .app-tabbar { display: none; }
  .app-main { padding-bottom: var(--space-6); }
}

/* ============================================================
   4. BOTOES E FORMULARIOS
   ============================================================ */
button,
input[type="submit"],
input[type="button"] {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--radius-pill);
  padding: var(--space-3) var(--space-5);
  background: var(--color-green);
  color: var(--color-white);
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.05s ease;
}
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  background: var(--color-green-dark);
}
button:active,
input[type="submit"]:active {
  transform: scale(0.98);
}
button:disabled,
input[type="submit"]:disabled {
  background: var(--color-gray-block);
  cursor: not-allowed;
}

button.button--secondary,
.button--secondary {
  background: var(--color-white);
  color: var(--color-black);
  border: 1px solid var(--color-gray-block);
}
button.button--secondary:hover { background: var(--color-gray-light); }

button.button--danger { background: var(--status-cancelled-text); }
button.button--danger:hover { background: #991B1B; }

label {
  display: block;
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: var(--space-1);
  margin-top: var(--space-3);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="date"],
input[type="time"],
textarea,
select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: var(--space-3);
  border: 1px solid var(--color-gray-block);
  border-radius: var(--radius-small);
  background: var(--color-white);
  color: var(--color-black);
}

input:focus, textarea:focus, select:focus {
  border-color: var(--color-green);
}

/* Selects travados apos preenchimento automatico via CEP (ver cep_lookup_controller.js) */
select[data-locked="true"] {
  background: var(--color-gray-light);
  pointer-events: none;
  color: #6B7280;
}

.field { margin-bottom: var(--space-3); }
.actions { margin-top: var(--space-5); }

/* ============================================================
   5. TELAS DE AUTENTICACAO (Devise)
   ============================================================ */
.auth-shell {
  min-height: calc(100dvh - var(--space-7));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5) 0;
}

.auth-card {
  width: 100%;
  max-width: 400px;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: var(--space-6) var(--space-5);
}

.auth-brand {
  display: block;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-5);
}
.auth-brand:hover { text-decoration: none; }

.auth-card h2 {
  text-align: center;
  margin-bottom: var(--space-5);
}

.auth-card .field p { margin: 0; }
.checkbox-field { display: flex; align-items: center; gap: var(--space-2); }
.checkbox-field input { width: auto; }
.checkbox-field label { margin: 0; }

.auth-card .actions button,
.auth-card .actions input[type="submit"] { width: 100%; }

.auth-card__hint { font-size: 0.8rem; color: #6B7280; margin: var(--space-1) 0 0; }

.field-error { font-size: 0.8rem; color: var(--status-cancelled-text); margin: var(--space-1) 0 0; font-weight: 500; }

.auth-links {
  margin-top: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  text-align: center;
  font-size: 0.9rem;
}
.auth-links p { margin: 0; }

.auth-danger-zone {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-gray-block);
}
.auth-danger-zone button { width: 100%; }

.flash {
  border-radius: var(--radius-small);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-4);
  font-weight: 500;
  font-size: 0.9rem;
}
.flash--notice { background: var(--color-green-light); color: var(--color-green-dark); }
.flash--alert { background: var(--status-cancelled-bg); color: var(--status-cancelled-text); }

#error_explanation {
  background: var(--status-cancelled-bg);
  color: var(--status-cancelled-text);
  border-radius: var(--radius-small);
  padding: var(--space-4);
  margin-bottom: var(--space-4);
}
#error_explanation h2 { font-size: 0.95rem; margin-bottom: var(--space-2); color: inherit; }
#error_explanation ul { margin: 0; padding-left: 1.1em; }

/* ============================================================
   6. CARDS, BADGES, LISTAS
   ============================================================ */
.card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.card__label {
  font-size: 0.8rem;
  color: #6B7280;
  font-weight: 500;
}

.card__value {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-black);
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  background: var(--color-gray-light);
  color: var(--color-black);
}

.badge--unhandled {
  background: var(--color-yellow);
  color: var(--color-black);
}

/* ============================================================
   7. DASHBOARD
   ============================================================ */
.dashboard__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.top-services,
.upcoming-appointments {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: var(--space-4) var(--space-5);
  list-style: none;
  margin: 0 0 var(--space-5);
}
.top-services li,
.upcoming-appointments li {
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-gray-light);
}
.top-services li:last-child,
.upcoming-appointments li:last-child { border-bottom: none; }

/* ============================================================
   8. CALENDARIO
   ============================================================ */
.calendar__toolbar {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.toolbar-tab {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  border: 1px solid var(--color-gray-block);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-black);
}
.toolbar-tab:hover { text-decoration: none; background: var(--color-gray-light); }
.toolbar-tab.is-active {
  background: var(--color-green);
  border-color: var(--color-green);
  color: var(--color-white);
}

.calendar__filter {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-left: auto;
  font-size: 0.9rem;
  font-weight: 500;
}
.calendar__filter input { width: auto; }

/* Cancelados aparecem por padrao com opacidade reduzida (ver regra
   .appointment-card.status-cancelled mais abaixo); o toggle "Ocultar
   cancelados" (calendar_filters_controller.js) os esconde por completo. */
.calendar.hide-cancelled .appointment-card.status-cancelled { display: none; }

.calendar-grid {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: var(--space-3);
}

.calendar-day {
  flex: 1;
  min-width: 120px;
}
.calendar-grid--day .calendar-day { min-width: 100%; }

.calendar-day__header {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  padding: var(--space-2);
  position: sticky;
  top: 0;
  background: var(--color-white);
}

.calendar-day__slots {
  position: relative;
  display: grid;
  grid-template-rows: repeat(96, 12px);
  border-radius: var(--radius-small);
  overflow: hidden;
}

.calendar-slot {
  border-bottom: 1px solid rgba(17, 24, 39, 0.04);
}
/* .calendar-slot.is-available is a real <a> (see calendar/_grid.html.erb) — CSS Grid
   blockifies it automatically, we just need to strip link styling. */
.calendar-slot.is-available { background: var(--color-green-light); cursor: pointer; text-decoration: none; }
.calendar-slot.is-available:hover { background: #C3EEDA; text-decoration: none; }
.calendar-slot.is-blocked { background: var(--color-gray-block); }
.calendar-slot.is-outside { background: var(--color-white); text-decoration: none; }
.calendar-slot.is-outside:hover { background: var(--color-gray-light); cursor: pointer; text-decoration: none; }

.appointment-card {
  position: relative;
  z-index: 2;
  margin: 0 2px;
  border-radius: var(--radius-small);
  padding: var(--space-1) var(--space-2);
  font-size: 0.75rem;
  line-height: 1.3;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: grab;
  border-left: 4px solid transparent;
}
.appointment-card:active { cursor: grabbing; }

.appointment-card__body { display: flex; flex-direction: column; color: inherit; text-decoration: none; height: 100%; padding: var(--space-1) var(--space-2); }
.appointment-card__body:hover { color: inherit; text-decoration: none; }
.appointment-card__patient { font-weight: 600; }
.appointment-card__service { opacity: 0.85; }

.appointment-card.status-scheduled {
  background: var(--status-scheduled-bg); color: var(--status-scheduled-text);
  border-left-color: var(--status-scheduled-text);
}
.appointment-card.status-confirmed {
  background: var(--status-confirmed-bg); color: var(--status-confirmed-text);
  border-left-color: var(--color-green-dark);
}
.appointment-card.status-completed {
  background: var(--status-completed-bg); color: var(--status-completed-text);
  border-left-color: #9CA3AF;
}
.appointment-card.status-cancelled {
  background: var(--status-cancelled-bg); color: var(--status-cancelled-text);
  border-left-color: var(--status-cancelled-text);
  text-decoration: line-through;
  opacity: 0.7;
}
.appointment-card.status-no_show {
  background: var(--status-no-show-bg); color: var(--status-no-show-text);
  border-left-color: var(--status-no-show-text);
}

/* ============================================================
   9. CONVERSAS
   ============================================================ */
.conversation-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }

.conversation-row {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: var(--space-4);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-1) var(--space-3);
}
.conversation-row.is-unhandled { border: 2px solid var(--color-yellow); }

.conversation-row__patient { font-family: var(--font-display); font-weight: 700; grid-column: 1; }
.conversation-row__state { font-size: 0.85rem; color: #6B7280; grid-column: 1; }
.conversation-row__last-message { font-size: 0.75rem; color: #9CA3AF; grid-column: 1; }
.conversation-row__bot-status { font-size: 0.8rem; font-weight: 600; grid-column: 2; grid-row: 1; text-align: right; }
.conversation-row__hint { grid-column: 1 / -1; font-size: 0.75rem; color: #9CA3AF; font-style: italic; margin: var(--space-2) 0 0; }

/* ============================================================
   10. ONBOARDING
   ============================================================ */
.onboarding {
  max-width: 480px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: var(--space-6);
}

.onboarding__errors {
  background: var(--status-cancelled-bg);
  color: var(--status-cancelled-text);
  border-radius: var(--radius-small);
  padding: var(--space-3) var(--space-4);
  list-style: none;
  margin: 0 0 var(--space-4);
}

/* ============================================================
   11. FEEDBACK ASSINCRONO — obrigatorio em toda chamada externa
   ============================================================ */
.spinner {
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 2px solid var(--color-gray-block);
  border-top-color: var(--color-green);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: -0.15em;
}

@keyframes spin { to { transform: rotate(360deg); } }

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.overlay__panel {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-overlay);
  padding: var(--space-6);
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .spinner { animation-duration: 1.4s; }
}

/* ============================================================
   12. AREA ADMINISTRATIVA — layout visualmente distinto (fundo escuro)
   para impossibilitar confusao entre area admin e area do profissional
   (ver secao 20.12).
   ============================================================ */
.admin-body {
  margin: 0;
  background: var(--color-black);
  color: #E5E7EB;
  font-family: var(--font-body);
  min-height: 100vh;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-5);
  background: #1F2937;
  border-bottom: 1px solid #374151;
}

.admin-header__brand { font-family: var(--font-display); font-weight: 700; color: #E5E7EB; }
.admin-header__brand strong { color: var(--color-yellow); }

.admin-header__nav { display: flex; align-items: center; gap: var(--space-4); }
.admin-header__nav a { color: #D1D5DB; font-weight: 500; font-size: 0.9rem; }
.admin-header__nav a:hover { color: var(--color-white); text-decoration: none; }
.admin-header__nav button {
  background: none; border: 1px solid #4B5563; color: #D1D5DB;
  padding: var(--space-1) var(--space-3); font-size: 0.85rem;
}
.admin-header__nav button:hover { background: #374151; }

.admin-main { max-width: 1100px; margin: 0 auto; padding: var(--space-5); }

.admin-banner {
  background: var(--color-yellow);
  color: var(--color-black);
  font-weight: 700;
  text-align: center;
  padding: var(--space-2);
  position: sticky;
  top: 0;
  z-index: 50;
}

.admin-table { width: 100%; border-collapse: collapse; background: #1F2937; border-radius: var(--radius-small); overflow: hidden; }
.admin-table th, .admin-table td { text-align: left; padding: var(--space-3); border-bottom: 1px solid #374151; }
.admin-table th { font-family: var(--font-display); font-size: 0.8rem; text-transform: uppercase; color: #9CA3AF; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover { background: #232f3f; }
.admin-table a { color: #E5E7EB; font-weight: 600; }
.admin-table a:hover { color: var(--color-yellow); }

.admin-empty-state {
  background: #1F2937; border: 1px dashed #374151; border-radius: var(--radius-small);
  padding: var(--space-6); text-align: center; color: #9CA3AF;
}

.admin-tag {
  display: inline-block; font-size: 0.75rem; font-weight: 700; padding: 2px var(--space-2);
  border-radius: var(--radius-pill); background: #374151; color: #E5E7EB;
}
.admin-tag--success { background: #14312270; color: #6EE7B7; }
.admin-tag--danger { background: #7F1D1D; color: #FCA5A5; }
.admin-tag--warning { background: #78350F; color: #FCD34D; }
.admin-tag--neutral { background: #374151; color: #9CA3AF; }

.admin-section { background: #1F2937; border: 1px solid #262f3d; border-radius: var(--radius-card); padding: var(--space-5); margin-bottom: var(--space-4); }
.admin-section h2 {
  font-family: var(--font-display); font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.04em; color: #9CA3AF; margin-bottom: var(--space-3); font-weight: 700;
}
.admin-section p { color: #E5E7EB; margin: 0 0 var(--space-2); }
.admin-section p:last-child { margin-bottom: 0; }
.admin-section .label { color: #9CA3AF; }

.admin-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-5); }
.admin-actions form { margin: 0; }
.admin-actions button { background: #374151; }
.admin-actions button:hover { background: #4B5563; }
.admin-actions button.button--danger { background: #B91C1C; }
.admin-actions button.button--danger:hover { background: #991B1B; }

.admin-body pre {
  background: #111827; color: #D1D5DB; border: 1px solid #374151; border-radius: var(--radius-small);
  padding: var(--space-4); overflow-x: auto; font-size: 0.85rem; line-height: 1.5;
}

.admin-page-header { margin-bottom: var(--space-6); }
.admin-page-header h1 { font-size: 1.5rem; margin-bottom: var(--space-1); color: #F9FAFB; }
.admin-page-header p { color: #9CA3AF; margin: 0; font-size: 0.9rem; }

.admin-metrics-section { margin-bottom: var(--space-6); }
.admin-metrics-section h2 {
  font-family: var(--font-display); font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.04em; color: #9CA3AF; margin-bottom: var(--space-3); font-weight: 700;
}

.admin-metrics-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--space-3); }
.admin-metric-card {
  background: #1F2937; border: 1px solid #262f3d; border-radius: var(--radius-small);
  padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2);
}
.admin-metric-label { font-family: var(--font-display); font-size: 0.75rem; text-transform: uppercase; color: #9CA3AF; }
.admin-metric-value { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; color: #F9FAFB; }

.admin-metric-card--hero {
  grid-column: span 2;
  background: linear-gradient(135deg, #1F2937, #172230);
  border-color: #2c3a4d;
}
.admin-metric-card--hero .admin-metric-value { font-size: 2.5rem; color: var(--color-green); }
@media (max-width: 480px) { .admin-metric-card--hero { grid-column: span 1; } }

.admin-auth-shell { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: var(--space-5); }
.admin-auth-card { width: 100%; max-width: 380px; background: #1F2937; border-radius: var(--radius-card); padding: var(--space-6) var(--space-5); }
.admin-auth-brand { display: block; text-align: center; font-family: var(--font-display); font-weight: 700; color: #E5E7EB; margin-bottom: var(--space-5); font-size: 1.1rem; }
.admin-auth-brand:hover { text-decoration: none; }
.admin-auth-brand strong { color: var(--color-yellow); }
.admin-auth-card h2 { color: #E5E7EB; text-align: center; font-size: 1.1rem; }
.admin-auth-card label { color: #D1D5DB; }
.admin-auth-card input { background: #111827; border-color: #374151; color: #E5E7EB; }
.admin-auth-card .actions button { width: 100%; }

.admin-header__nav a.is-active { color: var(--color-yellow); }

/* ============================================================
   13. MISSION CONTROL JOBS — reskin escuro de uma engine externa
   (ver layouts/mission_control/jobs/application.html.erb). A engine
   usa Bulma e nao expoe hook de tema — mantemos as classes dela
   (tabelas, filtros, botoes de retry/discard dependem disso) e so
   reskinamos as cores para bater com o resto do admin, escopado em
   .mc-shell para nao vazar pro app do profissional.
   ============================================================ */
.mc-shell { color: #E5E7EB; font-family: var(--font-body); }
.mc-shell .section { background: transparent; padding: var(--space-5) 0; }

.mc-shell .title, .mc-shell .subtitle { color: #F9FAFB; font-family: var(--font-display); }
.mc-shell .subtitle { color: #9CA3AF; }
.mc-shell a { color: var(--color-yellow); }
.mc-shell a:hover { color: var(--color-yellow); text-decoration: underline; }

.mc-shell .navbar,
.mc-shell .navbar-menu,
.mc-shell .navbar-brand { background: transparent; }
.mc-shell .navbar-item, .mc-shell .navbar-link { color: #D1D5DB; background: transparent; }
.mc-shell .navbar-link:hover, .mc-shell .navbar-item:hover,
.mc-shell .navbar-link:focus, .mc-shell .navbar-item:focus { background: #1F2937; color: #FFFFFF; }
.mc-shell .navbar-link::after { border-color: #9CA3AF; }
.mc-shell .navbar-dropdown { background: #1F2937; border-color: #374151; }

.mc-shell .tabs { scrollbar-color: #4B5563 transparent; }
.mc-shell .tabs::-webkit-scrollbar { height: 6px; }
.mc-shell .tabs::-webkit-scrollbar-track { background: transparent; }
.mc-shell .tabs::-webkit-scrollbar-thumb { background: #4B5563; border-radius: 999px; }
.mc-shell .tabs ul { border-bottom-color: #374151; }
.mc-shell .tabs.is-boxed li a { color: #D1D5DB; border-color: transparent; background: transparent; }
.mc-shell .tabs.is-boxed li a:hover { background: #1F2937; border-color: #374151; }
.mc-shell .tabs.is-boxed li.is-active a {
  background: #1F2937; border-color: #374151 #374151 transparent; color: var(--color-yellow);
}

.mc-shell .table { background: #1F2937; color: #E5E7EB; }
.mc-shell .table th { color: #9CA3AF; border-color: #374151; }
.mc-shell .table td { border-color: #374151; }
.mc-shell .table.is-hoverable tbody tr:hover { background: #263041; }

.mc-shell .tag { background: #374151; color: #E5E7EB; }
.mc-shell .tag.is-danger { background: #7F1D1D; color: #FCA5A5; }
.mc-shell .tag.is-warning { background: #78350F; color: #FCD34D; }

.mc-shell .box { background: #1F2937; color: #E5E7EB; }

.mc-shell .button { background: #374151; color: #E5E7EB; border-color: #4B5563; }
.mc-shell .button:hover { background: #4B5563; color: #FFFFFF; }
.mc-shell .button.is-danger { background: #B91C1C; color: #FFFFFF; border-color: transparent; }
.mc-shell .button.is-danger:hover { background: #991B1B; }
.mc-shell .button.is-warning { background: #78350F; color: #FCD34D; border-color: transparent; }

.mc-shell .message { background: #1F2937; }
.mc-shell .message-body { border-color: #374151; color: #E5E7EB; background: #1F2937; }
.mc-shell .message.is-success .message-body { border-color: var(--color-green); }
.mc-shell .message.is-danger .message-body { border-color: #B91C1C; }

.mc-shell input, .mc-shell select, .mc-shell .input, .mc-shell .select select {
  background: #111827; border-color: #374151; color: #E5E7EB;
}
.mc-shell .select:not(.is-multiple):not(.is-loading)::after { border-color: #9CA3AF; }
.mc-shell .field.has-addons .control { color: #E5E7EB; }
