/* =========================================
   TEMA 1: AZUL PROSOFT (PADRÃO)
   ========================================= */
:root {
  /* Fundos da Página */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-hover: #f1f7fd;

  /* Cores Oficiais Prosoft */
  --prosoft-navy: #004684;
  --prosoft-navy-deep: #002e59;
  --prosoft-cyan: #1598d5;
  --prosoft-glow: rgba(21, 152, 213, 0.25);

  /* Bordas */
  --border-subtle: #e2e8f0;

  /* Tipografia */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  /* Tags dos Cartões */
  --tag-bg: #e0f2fe;
  --tag-text: #004684;
  --tag-border: #bae6fd;

  /* Sombras e Medidas */
  --card-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  --card-shadow-hover: 0 10px 25px rgba(0, 70, 132, 0.12);
  --radius-card: 12px;
  --radius-pill: 999px;
  --transition: 0.2s ease;
}

/* =========================================
   TEMA 2: DARK MODE (ATIVADO PELO BOTÃO)
   ========================================= */
body.dark-mode {
  --bg-body: #07111d;
  --bg-surface: #0e1d30;
  --bg-surface-hover: #142842;

  --prosoft-navy: #1598d5;
  --prosoft-navy-deep: #002647;
  --prosoft-cyan: #38bdf8;
  --prosoft-glow: rgba(21, 152, 213, 0.25);

  --border-subtle: #1d3554;

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --tag-bg: rgba(21, 152, 213, 0.15);
  --tag-text: #38bdf8;
  --tag-border: rgba(21, 152, 213, 0.3);

  --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  --card-shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.45);
}

/* =========================================
   RESET E BASE
   ========================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.5;
  padding: 1.5rem 1.5rem 3rem 1.5rem;
  min-height: 100vh;
  transition: background-color var(--transition), color var(--transition);
}

.container {
  max-width: 1140px;
  margin: 0 auto;
}

/* =========================================
   HERO HEADER (BLOCO AZUL PROSOFT NO TOPO)
   ========================================= */
.hero-header {
  background: linear-gradient(135deg, #004684 0%, #002e59 100%);
  border-radius: 16px;
  padding: 1.5rem 2rem 2.75rem 2rem;
  margin-bottom: 2.75rem;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 70, 132, 0.18);
  position: relative;
  overflow: hidden;
}

.hero-header::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(21, 152, 213, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-top-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 0.85rem;
  position: relative;
  z-index: 2;
}

.hero-brand {
  justify-self: start;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #7dd3fc;
  text-transform: uppercase;
}

/* =========================================
   NAVEGAÇÃO ENTRE PÁGINAS (TOP NAV)
   ========================================= */
.top-nav {
  justify-self: center;
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-link {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid transparent;
  transition: all var(--transition);
}

.nav-link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.12);
}

.nav-link.active {
  background-color: #1598d5;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(21, 152, 213, 0.35);
}

/* =========================================
   BOTÃO DE ALTERNAR TEMA
   ========================================= */
.theme-btn {
  justify-self: end;
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.42rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  backdrop-filter: blur(4px);
  transition: all var(--transition);
}

.theme-btn:hover {
  background-color: #1598d5;
  border-color: #1598d5;
  transform: translateY(-1px);
}

@media (max-width: 820px) {
  .hero-top-bar {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
}

/* =========================================
   CONTEÚDO DO HERO HEADER E BUSCA
   ========================================= */
.hero-content {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 2.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}

.hero-icon {
  color: #38bdf8;
}

.hero-content p {
  color: #cbd5e1;
  font-size: 1rem;
  margin-bottom: 1.75rem;
}

.search-box {
  position: relative;
  max-width: 540px;
  margin: 0 auto;
}

.search-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
}

.search-box input {
  width: 100%;
  padding: 0.95rem 2.6rem 0.95rem 2.85rem;
  border-radius: var(--radius-card);
  border: 2px solid transparent;
  background-color: #ffffff;
  color: #0f172a;
  font-size: 0.95rem;
  outline: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-box input::placeholder {
  color: #64748b;
}

.search-box input:focus {
  border-color: #1598d5;
  box-shadow: 0 0 0 4px rgba(21, 152, 213, 0.35);
}

.clear-search-btn {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition), color var(--transition);
}

.clear-search-btn:hover {
  background-color: rgba(100, 116, 139, 0.15);
  color: var(--prosoft-navy);
}

body.dark-mode .search-box input {
  background-color: #0e1d30;
  color: #f1f5f9;
  border-color: #1d3554;
}

/* =========================================
   SEÇÕES E TÍTULOS
   ========================================= */
.section {
  margin-bottom: 2.75rem;
}

.section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--prosoft-navy);
  margin-bottom: 1.15rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--border-subtle);
}

.section-header-flex .section-title {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.custom-links-toolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-toolbar-link {
  background-color: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 0.42rem 0.78rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-toolbar-link:hover {
  border-color: var(--prosoft-cyan);
  color: var(--prosoft-navy);
}

.btn-toolbar-link.active-toolbar-btn {
  border-color: var(--prosoft-cyan);
  color: var(--prosoft-navy);
  background-color: var(--tag-bg);
}

.btn-add-link {
  background-color: #004684;
  color: #ffffff;
  border: none;
  padding: 0.46rem 0.95rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-add-link:hover {
  background-color: #1598d5;
  transform: translateY(-1px);
}

/* =========================================
   GRID E CARTÕES
   ========================================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.card {
  position: relative;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--prosoft-navy);
  border-radius: var(--radius-card);
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition), background-color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-3px);
  background-color: var(--bg-surface-hover);
  border-color: var(--prosoft-cyan);
  border-left-color: var(--prosoft-cyan);
  box-shadow: var(--card-shadow-hover);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.card-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: var(--tag-bg);
  color: var(--prosoft-navy);
  border: 1px solid var(--tag-border);
  font-size: 1.25rem;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.card:hover .card-icon {
  background-color: var(--prosoft-navy);
  color: #ffffff;
  border-color: var(--prosoft-navy);
}

body.dark-mode .card:hover .card-icon {
  background-color: var(--prosoft-cyan);
  color: #07111d;
  border-color: var(--prosoft-cyan);
}

.card-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background-color: var(--tag-bg);
  color: var(--tag-text);
  border: 1px solid var(--tag-border);
}

.card-top-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  min-width: 0;
  flex: 1;
}

.card-top-right .card-tag {
  max-width: 115px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-top-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  flex-shrink: 0;
}

.card h3 {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  transition: color var(--transition);
}

.card:hover h3 {
  color: var(--prosoft-navy);
}

.btn-card-action {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: transform 0.15s ease, color 0.15s ease;
}

.btn-card-action:hover {
  transform: scale(1.18);
  color: var(--prosoft-navy);
}

.btn-card-action.delete:hover {
  color: #ef4444;
}

.empty-custom-links {
  background-color: var(--bg-surface);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 1.1rem 1.25rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.empty-search {
  text-align: center;
  padding: 2.25rem 1.5rem;
  background-color: var(--bg-surface);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-card);
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

/* =========================================
   MODAL BASE
   ========================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 17, 29, 0.68);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 999;
}

.modal-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  padding: 1.5rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--border-subtle);
  gap: 0.75rem;
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.1rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px 6px;
}

.modal-close-btn:hover {
  color: var(--text-primary);
}

/* =========================================
   ESTILOS EXCLUSIVOS DA PÁGINA DE NOTAS
   ========================================= */
.template-card {
  border-style: dashed;
  border-left: 3px solid var(--prosoft-cyan);
  cursor: pointer;
}

.nota-card {
  cursor: pointer;
}

.nota-card.pinned-nota {
  box-shadow: 0 4px 14px rgba(0, 70, 132, 0.12);
}

.btn-card-action.pin-btn.ativo {
  color: #f59e0b;
  transform: scale(1.1);
}

.nota-preview {
  font-size: 0.84rem;
  color: var(--text-secondary);
  white-space: pre-line;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.nota-footer {
  font-size: 0.74rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.55rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.badge-bug {
  background-color: rgba(220, 38, 38, 0.12);
  color: #dc2626;
  border-color: rgba(220, 38, 38, 0.3);
}

body.dark-mode .badge-bug {
  background-color: rgba(248, 113, 113, 0.15);
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.3);
}

.notas-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 0.75rem 1rem;
  box-shadow: var(--card-shadow);
}

.notas-chips-filtro {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.filter-chip {
  background-color: var(--bg-body);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-chip:hover {
  border-color: var(--prosoft-cyan);
  color: var(--prosoft-navy);
}

.filter-chip.active {
  background-color: #004684;
  border-color: #004684;
  color: #ffffff;
}

body.dark-mode .filter-chip.active {
  background-color: #1598d5;
  border-color: #1598d5;
  color: #ffffff;
}

/* Preview de Checklist nos Cards */
.card-checklist-preview {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.card-check-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.card-check-row input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--prosoft-navy);
  cursor: pointer;
  flex-shrink: 0;
}

.card-check-row.done span {
  text-decoration: line-through;
  color: var(--text-muted);
}

.card-check-more {
  font-size: 0.74rem;
  color: var(--prosoft-navy);
  font-weight: 600;
  margin-top: 0.15rem;
}

/* Barra de progresso no card e no modal */
.checklist-progress-wrap {
  margin-top: 0.35rem;
  margin-bottom: 0.55rem;
}

.checklist-progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.checklist-progress-bar {
  width: 100%;
  height: 6px;
  background-color: var(--border-subtle);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.checklist-progress-fill {
  height: 100%;
  background-color: var(--prosoft-cyan);
  border-radius: var(--radius-pill);
  transition: width 0.25s ease, background-color 0.25s ease;
}

.checklist-progress-fill.complete {
  background-color: #10b981;
}

/* Modal Expandido da Nota */
.modal-box-nota {
  max-width: 780px;
  max-height: 92vh;
  overflow-y: auto;
}

.modal-nota-top-fields {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: 1;
  min-width: 0;
  position: relative;
}

.emoji-picker-group {
  display: inline-flex;
  align-items: center;
  background-color: var(--bg-body);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.15rem 0.35rem;
  flex-shrink: 0;
}

.emoji-direct-input {
  width: 36px;
  text-align: center;
  font-size: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-primary);
  outline: none;
}

.btn-emoji-palette {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  cursor: pointer;
  padding: 0.25rem 0.3rem;
  border-radius: 6px;
}

.btn-emoji-palette:hover {
  background-color: var(--tag-bg);
  color: var(--prosoft-navy);
}

.emoji-popover {
  position: absolute;
  top: 115%;
  left: 0;
  z-index: 50;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.65rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  width: 268px;
}

.emoji-popover-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
  display: block;
}

.emoji-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.3rem;
}

.emoji-choice-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 1.2rem;
  padding: 0.28rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.emoji-choice-btn:hover {
  background-color: var(--tag-bg);
  border-color: var(--tag-border);
  transform: scale(1.12);
}

.modal-nota-title-input {
  width: 100%;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--prosoft-navy);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
}

.modal-nota-title-input:focus {
  outline: none;
  border-color: var(--prosoft-cyan);
  background-color: var(--bg-body);
}

.modal-nota-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.modal-nota-meta-left,
.modal-nota-meta-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.nota-select-mini {
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-body);
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 600;
  outline: none;
}

.nota-select-mini:focus {
  border-color: var(--prosoft-cyan);
}

.modal-nota-textarea {
  width: 100%;
  height: 280px;
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-body);
  color: var(--text-primary);
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  resize: vertical;
}

.modal-nota-textarea:focus {
  outline: none;
  border-color: var(--prosoft-cyan);
}

.modal-nota-textarea-compact {
  height: 155px;
}

/* Seção de Checklist dentro do Modal */
.modal-checklist-box {
  margin-top: 0.85rem;
  background-color: var(--bg-body);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.85rem 1rem;
}

.modal-checklist-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.modal-checklist-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--prosoft-navy);
}

.modal-checklist-tools {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.btn-check-tool {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-check-tool:hover {
  border-color: var(--prosoft-cyan);
  color: var(--prosoft-navy);
}

.checklist-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-height: 210px;
  overflow-y: auto;
  margin-bottom: 0.65rem;
  padding-right: 0.2rem;
}

.checklist-item-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.38rem 0.6rem;
}

.checklist-item-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--prosoft-navy);
  cursor: pointer;
  flex-shrink: 0;
}

.checklist-item-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 0.86rem;
  outline: none;
}

.checklist-item-row.done .checklist-item-input {
  text-decoration: line-through;
  color: var(--text-muted);
}

.btn-remove-check-item {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 2px 5px;
  border-radius: 4px;
}

.btn-remove-check-item:hover {
  color: #ef4444;
  background-color: rgba(239, 68, 68, 0.1);
}

.checklist-add-row {
  display: flex;
  gap: 0.5rem;
}

.checklist-new-input {
  flex: 1;
  padding: 0.48rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-surface);
  color: var(--text-primary);
  font-size: 0.85rem;
  outline: none;
}

.checklist-new-input:focus {
  border-color: var(--prosoft-cyan);
}

.modal-nota-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.save-indicator {
  font-size: 0.8rem;
  font-weight: 600;
  color: #10b981;
}

/* =========================================
   RODAPÉ E UTILITÁRIOS
   ========================================= */
.footer {
  text-align: center;
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.hidden {
  display: none !important;
}
