/* =========================
   TEMA BASE + DARK MODE
========================= */
:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface2: #f7f9fc;
  --surface-border: rgba(0,0,0,.08);
  --text: #1e293b;
  --text-soft: #6b7280;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --danger: #dc2626;
  --warning: #e69807;
  --success: #16a34a;
  --shadow: rgba(0,0,0,.10);
  --shadow-hover: rgba(0,0,0,.18);
  --radius: 10px;
}

body.dark {
  --bg: #0f172a;
  --surface: #1e293b;
  --surface2: #243447;
  --surface-border: rgba(255,255,255,.08);
  --text: #e5e7eb;
  --text-soft: #9ca3af;
  --shadow: rgba(0,0,0,.45);
  --shadow-hover: rgba(0,0,0,.65);
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* =========================
          HEADER
========================= */
header {
  background: linear-gradient(135deg, #1e293b, #334155);
  padding: 18px 28px;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  position: relative;
}

.header-left div {
  line-height: 1.4em;
}

/* BOTÃO TEMA FIXADO ABAIXO DO MENU */
#btn-theme-toggle.theme-toggle {
  position: absolute;
  right: 30px;
  bottom: 12px;
  cursor: pointer;
  background: rgba(255,255,255,.18);
  border: none;
  padding: 7px 14px;
  border-radius: 8px;
  color: white;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: .2s ease;
}

#btn-theme-toggle.theme-toggle:hover {
  background: rgba(255,255,255,.30);
  transform: translateY(-1px);
}


/* =========================
      MENU AÇÕES HEADER
========================= */
#menu-acoes {
  position: absolute;
  top: 22px;
  right: 28px;
  display: flex;
  gap: 10px;
  padding: 8px;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  z-index: 1200;
}

@media (prefers-color-scheme: dark) {
  #menu-acoes {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
  }
}

#menu-acoes button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.18);
  color: white;
  transition: 0.2s ease;
}

#menu-acoes button:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

@media (prefers-color-scheme: dark) {
  #menu-acoes button {
    background: rgba(255, 255, 255, 0.10);
  }
  #menu-acoes button:hover {
    background: rgba(255, 255, 255, 0.22);
  }
}




/* =========================
          QUARTOS
========================= */
#quartos-container {
  padding: 22px;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.card {
  background: var(--surface);
  border-radius: 14px;
  padding: 18px;
  border: 1px solid var(--surface-border);
  box-shadow: 0 4px 12px var(--shadow);
  transition: .18s;
  cursor: pointer;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px var(--shadow-hover);
}

.card.livre { border-left: 6px solid var(--success); }
.card.ocupado { border-left: 6px solid var(--danger); }
.card.ocupado-pendente { border-left: 6px solid var(--warning); }

.card strong { font-size: 15px; font-weight: 600; }
.card span { font-size: 13px; color: var(--text-soft); }
/* =========================
   ITÁLICO — INFORMAÇÕES DOS CARDS
========================= */

/* Apenas textos informativos */
.card span {
  font-style: italic;
}

/* Garante que títulos e destaques NÃO fiquem em itálico */
.card strong {
  font-style: normal;
}


/* ================= PAINEL CAFÉ ================= */
#card-cafe {
    width: 280px;
    padding: 14px 18px;
    border-radius: 14px;

    /* 🔥 alinhamento à esquerda */
    margin-top: 22px;
    margin-left: 22px;

    display: flex;
    flex-direction: column;
    gap: 4px;

    backdrop-filter: blur(10px);
    box-shadow: 0 6px 22px rgba(0,0,0,.18);
    text-align: left;
}

/* CLARO */
body:not(.dark) #card-cafe {
    background: rgba(255,255,255, 0.75);
    border: 1px solid rgba(0,0,0, 0.12);
    color: #1e293b;
}

/* ESCURO */
body.dark #card-cafe {
    background: rgba(255,255,255, 0.10);
    border: 1px solid rgba(255,255,255, 0.18);
    color: #e5e7eb;
}

#card-cafe .titulo {
    font-weight: 600;
    font-size: 15px;
    color: #facc15;
}

#card-cafe .linha {
    font-size: 14px;
}


/* =========================
          MODAIS
========================= */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(3px);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}
.modal.ativo { display: flex; }

.modal-content {
  background: var(--surface);
  color: var(--text);
  padding: 26px 28px;
  width: 95%;
  max-width: 680px;
  max-height: 85vh;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
  overflow-y: auto;
  position: relative;
  animation: modalZoom .20s ease;
}

@keyframes modalZoom {
  from { transform: scale(.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-content::-webkit-scrollbar { width: 6px; }
.modal-content::-webkit-scrollbar-thumb {
  background: #9ca3af;
  border-radius: 6px;
}

/* botão fechar */
.close {
  position: absolute;
  right: 16px;
  top: 14px;
  cursor: pointer;
  font-size: 20px;
  opacity: .65;
}
.close:hover { opacity: 1; }

/* =========================
    FORM + INPUTS GERAIS
========================= */
.input-group { display: flex; flex-direction: column; gap: 4px; }
.input-group label { font-size: 14px; font-weight: 600; }

.input-control,
input,
select,
textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--surface-border);
  background: var(--surface2);
  font-size: 14px;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(37,99,235,.28);
}

.btn-primary {
  background: var(--primary);
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}
.btn-primary:hover { background: var(--primary-hover); }

/* pesquisa dropdown */
/*
.search-box { position: relative; width: 100%; }
#lista-clientes {
  display: none;
  position: absolute;
  top: 46px;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 10px;
  box-shadow: 0 8px 22px var(--shadow);
  max-height: 240px;
  overflow-y: auto;
  z-index: 50;
}
#lista-clientes li {
  padding: 10px 14px;
  border-bottom: 1px solid var(--surface-border);
  cursor: pointer;
}
#lista-clientes li:hover {
  background: var(--surface2);
}

/* hospedagem */
.hospedagem-modern {
  width: 680px;
  max-height: 84vh;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-actions { display: flex; gap: 10px; }
.btn-save { background: var(--primary); color: white; padding: 10px 14px; border-radius: 8px; border: none; cursor:pointer; font-weight:600; }
.btn-pay { background: #7c3aed; color:white; padding:10px 14px; border-radius:8px; border:none; font-weight:600; cursor:pointer; }
.btn-cancel { background:#dc2626; color:white; padding:10px; border-radius:8px; border:none; cursor:pointer; }
.btn-leave { background:#16a34a; color:white; padding:10px; border-radius:8px; border:none; cursor:pointer; }

/* alerta */
.alerta {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,.55);
  z-index: 3000;
}
.alerta .alerta-box {
  background: white;
  padding: 24px 28px;
  border-radius: 12px;
  min-width: 320px;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
}

/* container onde fica pagamento + botão */
.pag-info {
    margin-top: 8px;
}

/* botão escondido por padrão */
.btn-detalhes-caixa {
    margin-top: 4px;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    font-size: 14px;
}

/* aparece quando passa o mouse no card */
.card:hover .btn-detalhes-caixa {
    opacity: 1;
    pointer-events: auto;
}

/* hover bonito */
.btn-detalhes-caixa:hover {
    text-decoration: underline;
}




/* =========================
   MODAL PESQUISAR HÓSPEDES
========================= */

#modal-clientes .modal-content {
    width: 650px !important;
    max-height: 75vh !important;
    padding: 28px 32px !important;
    border-radius: 18px !important;
    background: var(--surface);
    box-shadow: 0 10px 40px rgba(0,0,0,.25);
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
}

/* Título */
#modal-clientes h2 {
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

/* Campo de busca */
#pesquisa_cliente {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--surface-border);
    background: var(--surface2);
    color: var(--text);
    font-size: 15px;
    transition: .2s;
}

#pesquisa_cliente:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(37,99,235,.3);
    outline: none;
}

/* Lista */
#lista-clientes {
    margin-top: 10px;
    list-style: none;
    padding: 0;
    width: 100%;
    background: var(--surface);
    border-radius: 12px;
    border: 1px solid var(--surface-border);
    overflow: auto;
    max-height: 260px;
    display: none;
    box-shadow: 0 6px 18px rgba(0,0,0,.12);
    animation: listaShow .15s ease-out;
}

/* animação */
@keyframes listaShow {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Itens da lista */
#lista-clientes li {
    padding: 12px 14px;
    font-size: 15px;
    border-bottom: 1px solid var(--surface-border);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: .15s;
}

#lista-clientes li:hover {
    background: var(--surface2);
}

#lista-clientes li:last-child {
    border-bottom: none;
}

/* Scroll bonito */
#lista-clientes::-webkit-scrollbar {
    width: 8px;
}

#lista-clientes::-webkit-scrollbar-thumb {
    background: rgba(150,150,150,0.35);
    border-radius: 6px;
}

/* Botão fechar */
#close-clientes {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 22px;
    cursor: pointer;
    opacity: .6;
}

#close-clientes:hover {
    opacity: 1;
}

/* =========================
   AJUSTE MODAL HOSPEDAGEM
========================= */

.hospedagem-modern {
  width: 700px;
  max-height: 86vh;
  background: var(--surface);
  border-radius: 18px;
  padding: 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Cabeçalho */
.hospedagem-modern .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.hospedagem-modern h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

/* Blocos visuais */
.section-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 6px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Inputs */
.input-label {
  font-size: 14px;
  font-weight: 600;
}

.input-control {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--surface-border);
  background: var(--surface2);
}

.input-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(37,99,235,.28);
  outline: none;
}

/* Linhas modernas para organizar */
.input-row {
  display: flex;
  gap: 12px;
  width: 100%;
}

.input-col {
  flex: 1;
}

.check-modern {
  width: 22px;
  height: 22px;
  cursor: pointer;
}

/* Café resumo */
#cafeResumo {
  border-radius: 10px;
  padding: 8px 10px;
  background: var(--surface2);
  font-weight: 600;
}

/* Botões */
.modal-actions {
  display: flex;
  gap: 12px;
}

.modal-actions button {
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

/* =========================
   MODAL PAGAMENTO MODERNO
========================= */

.pg-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
}

.pg-label {
  width: 180px;
  font-weight: 600;
}

.pg-escondido {
  display: none !important;
}

.pg-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}

.pg-btn-add {
  background: #2563eb;
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.pg-btn-rem {
  background: #dc2626;
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.pg-btn-ok {
  background: #16a34a;
  color: white;
  padding: 10px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.pg-btn-cancel {
  background: #6b7280;
  color: white;
  padding: 10px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

/* PESQUISA HOSPEDE COM LISTA*/
.input-autocomplete {
  position: relative;
  width: 100%;
}

.dropdown-list {
  position: absolute;
  top: 42px;
  width: 100%;
  max-height: 260px;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,.20);
  z-index: 2000;
  padding: 0;
  margin: 4px 0 0 0;
  list-style: none;
  display: none;
  animation: dropdownShow .15s ease-out;
}

.dropdown-list li {
  padding: 10px 14px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--surface-border);
}

.dropdown-list li:last-child {
  border-bottom: none;
}

.dropdown-list li:hover {
  background: var(--surface2);
}

.dropdown-list .nome {
  font-weight: 600;
}

.dropdown-list .telefone {
  color: var(--text-soft);
  font-size: 13px;
}

@keyframes dropdownShow {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* BOTAO APAGAR OBSERVAÇAO*/
.obs-row {
  display: flex;
  align-items: flex-start;
  width: 100%;
  gap: 6px;
}

.obs-row textarea {
  flex: 1;
  min-height: 60px;
  resize: vertical;
}

.btn-remover-obs.small {
  background: #b91c1c;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}

.btn-remover-obs.small:hover {
  background: #7f1d1d;
}

/* BOTAO CAFE AVULSO*/
.cafe-box {
  width: 420px;
  padding: 18px 22px;
  border-radius: 14px;
  background: #fff;
  font-family: inter, sans-serif;
}

.cafe-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.cafe-row label {
  font-size: 14px;
  font-weight: 500;
  min-width: 140px;
  color: #374151;
}

.cafe-row input,
.cafe-row select {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
}

.cafe-row input:focus,
.cafe-row select:focus {
  border-color: #2563eb;
  outline: none;
}

.cafe-total {
  margin-top: 6px;
  font-weight: 600;
  font-size: 16px;
  color: #111827;
}

.btn-confirmar-cafe {
  width: 100%;
  margin-top: 14px;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #92400e;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  font-weight: 600;
}

.btn-confirmar-cafe:hover {
  background: #78350f;
}

/* MODAL RELATORIO*/
#modal-relatorio select {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  background:white;
  font-size:14px;
}

#btn-gerar-relatorio-modal,
#btn-exportar-pdf {
  padding: 10px 12px;
  border-radius: 6px;
  border:1px solid #d1d5db;
  cursor:pointer;
  font-weight:500;
}

#btn-gerar-relatorio-modal:hover {
  background:#e0e7ff;
}

#btn-exportar-pdf:hover {
  background:#f5f5f5;
}

#relatorio-modal-result {
  font-size:14px;
}

/* ============================
   CARD — STATUS LIMPEZA
=============================== */
/* ===== LIMPEZA (LIGHT) ===== */
.card.limpeza {
    background: #e2e8f0;        /* cinza claro */
    border-left: 6px solid #64748b;
    color: #1e293b;             /* texto visível */
}

/* botão dentro do card limpeza */
.card.limpeza .btn-limpeza {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    margin-top: 8px;
    cursor: pointer;
    font-weight: 600;
}
.card.limpeza .btn-limpeza:hover {
    background: #2563eb;
}

/* ===== LIMPEZA (DARK MODE) ===== */
body.dark .card.limpeza {
    background: #334155 !important; /* cinza escuro */
    color: #e2e8f0 !important;      /* texto claro */
    border-left: 6px solid #94a3b8 !important;
}

body.dark .card.limpeza .btn-limpeza {
    background: #0ea5e9 !important;
    color: #0f172a !important;
}

body.dark .card.limpeza .btn-limpeza:hover {
    background: #0284c7 !important;
}

/* ========================
   AJUSTE MODAL HOSPEDAGEM (DARK MODE)
======================== */
body.dark .hospedagem-modern {
    background: var(--surface);
    color: var(--text);
}

body.dark .hospedagem-modern label,
body.dark .hospedagem-modern span,
body.dark .hospedagem-modern h2,
body.dark .hospedagem-modern strong {
    color: var(--text) !important;
}

body.dark .hospedagem-modern input,
body.dark .hospedagem-modern select,
body.dark .hospedagem-modern textarea {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    color: #e5e7eb !important;
}

body.dark .hospedagem-modern input::placeholder,
body.dark .hospedagem-modern textarea::placeholder {
    color: #94a3b8 !important;
}
/* ========================
   AJUSTE MODAL CAFÉ AVULSO (DARK MODE)
======================== */
body.dark #modal-cafe-avulso .modal-content {
    background: var(--surface);
    color: var(--text);
}

body.dark #modal-cafe-avulso label,
body.dark #modal-cafe-avulso span,
body.dark #modal-cafe-avulso strong {
    color: var(--text) !important;
}

body.dark #modal-cafe-avulso input,
body.dark #modal-cafe-avulso select,
body.dark #modal-cafe-avulso textarea {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    color: #e5e7eb !important;
}

body.dark #modal-cafe-avulso input::placeholder,
body.dark #modal-cafe-avulso textarea::placeholder {
    color: #94a3b8 !important;
}

body.dark #modal-cafe-avulso .cafe-total {
    color: #38bdf8 !important;
}

/* ======================================
   FIX CAFÉ POR DIA — DARK MODE REAL
====================================== */

/* Container do café por dia */
body.dark .hospedagem-modern .section-block:has(.cafe-por-dia),
body.dark .hospedagem-modern .cafe-por-dia,
body.dark .hospedagem-modern .cafe-lista,
body.dark .hospedagem-modern #cafePorDia {
    background: #1e293b !important; /* igual ao modal */
    border: 1px solid #334155 !important;
}

/* Caso o fundo esteja vindo branco fixo */
body.dark .hospedagem-modern div[style*="background"] {
    background: #1e293b !important;
}

/* Datas */
body.dark .hospedagem-modern .cafe-por-dia span,
body.dark .hospedagem-modern .cafe-lista span {
    color: #e5e7eb !important;
    font-weight: 500;
}

/* Inputs */
body.dark .hospedagem-modern .cafe-por-dia input,
body.dark .hospedagem-modern .cafe-lista input {
    background: #0f172a !important;
    border: 1px solid #475569 !important;
    color: #ffffff !important;
}

/* ESTILO BOTAO FATURAR */
.pg-faturamento {
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.pg-btn-faturar {
    width: 100%;
    background: #1e40af;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.pg-btn-faturar:hover {
    background: #1d4ed8;
}
/* ===== MODO CLARO (já está OK) ===== */
.card.faturado {
    border-left: 6px solid #2563eb;
    background: #eff6ff;
}


/* ===== MODO ESCURO ===== */
body.dark .card.faturado {
    background: #1e293b; /* fundo escuro igual aos outros cards */
    border-left: 6px solid #3b82f6;
    color: #e2e8f0; /* texto claro */
}

/* títulos */
body.dark .card.faturado strong {
    color: #f1f5f9;
}

/* textos secundários */
body.dark .card.faturado span,
body.dark .card.faturado div {
    color: #cbd5f5;
}

/* pagamento */
body.dark .card.faturado .linha-pagamento {
    color: #93c5fd;
}

/* Campos fiscais opcionais e preparação da NFS-e no checkout */
.fiscal-fields { margin: 12px 0; padding: 12px; border: 1px solid #d1d5db; border-radius: 10px; }
.fiscal-fields summary { cursor: pointer; font-weight: 600; margin-bottom: 10px; }
.fiscal-fields > label, .nfse-modal-content label { display: block; margin: 8px 0 4px; font-weight: 600; }
.fiscal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 8px 0; }
.fiscal-grid input, .fiscal-fields select, .nfse-modal-content input, .nfse-modal-content select,
.nfse-modal-content textarea { box-sizing: border-box; width: 100%; min-width: 0; padding: 10px; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit; }
.nfse-modal-content { width: min(620px, calc(100vw - 32px)); max-height: 88vh; overflow: auto; }
.nfse-modal-content p { color: #475569; line-height: 1.45; }
.nfse-modal-content textarea { min-height: 76px; resize: vertical; }
.btn-nfse-checkout { width: 100%; padding: 12px; border: 0; border-radius: 9px; background: #1776a5; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.btn-nfse-checkout:disabled { opacity: .55; cursor: not-allowed; }
.nfse-acoes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nfse-confirmacao { display: flex !important; align-items: flex-start; gap: 8px; padding: 10px; border-radius: 8px; background: #fff7ed; color: #9a3412; }
.nfse-modal-content .nfse-confirmacao input { width: auto; margin-top: 4px; }
.nfse-resumo { margin: 12px 0; padding: 12px; border: 1px solid #dbe4ee; border-radius: 9px; background: #f8fafc; }
.nfse-resumo h3 { margin: 0 0 8px; color: #334155; font-size: 1rem; }
.nfse-resumo p { margin: 4px 0; line-height: 1.35; overflow-wrap: anywhere; }
.nfse-servico-fixo { margin: 12px 0 4px; padding: 10px; border-radius: 8px; background: #f1f5f9; color: #334155; }
.nfse-link-button { margin-top: 8px; padding: 7px 10px; border: 1px solid #94a3b8; border-radius: 7px; background: #fff; color: #075985; font: inherit; cursor: pointer; }
.nfse-download { display: inline-block; margin-top: 10px; color: #075985; font-weight: 600; }
.nfse-status { margin: 12px 0; padding: 10px 12px; border-radius: 8px; background: #eff6ff; color: #1e3a8a; line-height: 1.4; }
.nfse-status[data-tipo="erro"] { background: #fef2f2; color: #991b1b; }
.nfse-status[data-tipo="sucesso"] { background: #ecfdf5; color: #065f46; }
@media (max-width: 520px) { .fiscal-grid, .nfse-acoes { grid-template-columns: 1fr; } }
