:root {
  --bg: var(--bg-site);
  --card: var(--surface);
  --text: var(--text-primary);
  --muted: var(--text-secondary);
  --soft: var(--text-secondary);
  --line: #e2e8f0;
  --primary: var(--brand-primary);
  --primary-2: #2563eb;
  --danger: #ea4335;
  --radius: 12px;
}

/* 1) Layout geral */
.container-main {
  width: 100%;
  max-width: 720px;
  min-height: 100vh;
  padding: 28px;
  background-color: var(--bg);
}

.card-header {
  padding: 6px;
  margin-bottom: 32px;
}

.titulo-pagina {
  margin-bottom: 8px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.3px;
  color: var(--text);
}

.subtitulo-pagina {
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.card-header .price-badge {
  border-color: rgba(22, 163, 74, 0.36);
  background: rgba(22, 163, 74, 0.14);
  color: #166534;
}

:root[data-theme="light"] .card-header .price-badge {
  border-color: rgba(22, 163, 74, 0.36);
  background: rgba(22, 163, 74, 0.14);
  color: #166534;
}

:root[data-theme="dark"] .card-header .price-badge {
  border-color: rgba(74, 222, 128, 0.4);
  background: rgba(22, 163, 74, 0.24);
  color: #bbf7d0;
}

/* 2) Estrutura dos cards */
.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
  padding: 26px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 7px;
  background: var(--surface);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.card label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.card label .title-icon {
  margin-right: 7px;
  color: var(--brand-primary);
  font-size: 0.95em;
}

.card p {
  margin-top: -8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--soft);
}



/* 3) Inputs e selects */
.card input,
.card select {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid var(--line);
  background-color: #fff;
  font-size: 15px;
  color: var(--text);
}

.card input::placeholder {
  color: #94a3b8;
}

.card input:focus,
.card select:focus {
  outline: none;
  box-shadow: none;
  border-bottom: 2px solid var(--primary-2);
}

.input-action-group {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  width: 100%;
}

.input-action-group input {
  flex: 1;
  width: auto;
}

.input-action-group--stacked {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.input-action-group--stacked .btn-add {
  align-self: flex-start;
}

.cta-field-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.btn-cta-picker {
  width: 100%;
  text-align: left;
}

.cta-texto-preview {
  width: 100%;
  margin-top: 2px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.45;
}

.cta-phrase-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-height: 52vh;
  overflow-y: auto;
  padding-right: 2px;
  padding-bottom: 10px;
  margin-bottom: 8px;
}

.cta-phrase-option {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #dbe2ea;
  border-radius: 10px;
  background: #fff;
  color: var(--text-primary);
  text-align: left;
  font-size: 14px;
  line-height: 1.4;
}

.cta-phrase-option.is-selected {
  border-color: #2563eb;
  background: #eff6ff;
  color: var(--brand-primary);
}

#cta-phrase-modal {
  width: min(940px, calc(100% - 24px));
  max-height: 92vh;
  display: flex;
  flex-direction: column;
}

#cta-phrase-modal .cta-phrase-options {
  max-height: min(66vh, 560px);
}

#cta-phrase-modal .key-modal-actions {
  margin-top: 12px;
}

/* 4) Radio cards e botões */
.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  width: 100%;
}

.btn-option {
  flex: 1 1 180px;
  min-width: 0;
}

.btn-option input {
  display: none;
}

.btn-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #dbe2ea;
  border-radius: 10px;
  color: var(--muted);
  transition: all 0.2s ease;
}

.btn-content i {
  font-size: 0.95rem;
}

.btn-content span {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  color: inherit;
}

.btn-option:hover .btn-content {
  border-color: #cbd5e1;
  background-color: var(--surface);
}

.btn-option input:checked + .btn-content {
  border-color: var(--primary-2);
  color: var(--primary-2);
  background-color: #eff6ff;
}

.btn-add,
.botao-pergunta,
.btn-pequeno {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background-color: var(--surface);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-2);
}

.botao-pergunta {
  padding: 10px;
}

.botao-pergunta i {
  margin-right: 5px;
}

.btn-add:hover,
.botao-pergunta:hover,
.btn-pequeno:hover {
  border-color: #cbd5e1;
  background-color: var(--surface);
}

.btn-add-muted {
  color: #475569;
}

.btn-adc-cert {
  padding: 8px 12px;
  border: 1px solid #94a3b8;
  border-radius: 7px;
  background-color: #fff;
  font-size: 13px;
  color: var(--text-primary);
}

.btn-cadastro {
  width: 100%;
  padding: 18px;
  border: none;
  border-radius: 999px;
  background-color: var(--primary);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.28);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #fff;
}

button {
  transition: all 0.3s ease;
}

button:active {
  transform: scale(0.98);
}

.btn-cadastro:hover {
  background-color: var(--brand-primary-hover);
  filter: none;
  transform: translateY(-1px);
}

.texto-final-cadastro {
  padding: 12px 10px;
  font-size: 13px;
  font-style: italic;
  text-align: center;
  color: var(--muted);
}

/* 5) Tags */
.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  margin-top: 4px;
}

.tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--primary-2);
  border-radius: 999px;
  background-color: #eff6ff;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary-2);
}

.remove-tag {
  
  font-size: 12px;
  opacity: 0.7;
}

.remove-tag:hover {
  opacity: 1;
}

/* 6) Upload de foto de perfil */
.profile-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.avatar-wrapper {
  width: 120px;
  height: 120px;
  overflow: hidden;
  border: 3px solid #dbe2ea;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  
}

.avatar-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.label-upload {
  
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  color: var(--primary-2);
}

.label-upload:hover {
  color: #1d4ed8;
}

#foto-input {
  display: none;
}

/* 7) Galeria de fotos */
.upload-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 30px;
  border: 2px dashed var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  
  transition: all 0.2s;
}

.upload-area:hover {
  border-color: #cbd5e1;
  background: var(--surface);
}

.upload-area i {
  font-size: 24px;
}

.preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.preview-item {
  position: relative;
  overflow: hidden;
  height: 100px;
  max-width: 100%;
  border: 1px solid #dbe2ea;
  border-radius: 8px;
}

.preview-item img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.remove-photo {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--danger);
  border: none;
  padding: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  font-size: 11px;
  line-height: 1;
  color: #fff;
  
}

.remove-photo:hover {
  transform: scale(1.1);
}

/* 8) Horários */
#lista-expediente {
  width: 100%;
}

.dia-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
  padding: 12px 0;
  border-bottom: 1px solid #e2e8f0;
}

.dia-row.fechado .horarios-inputs {
  display: none;
}

.dia-row:not(.fechado) .texto-fechado {
  display: none;
}

.dia-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 92px;
  flex-shrink: 0;
}

.dia-info strong {
  min-width: 34px;
}

.horarios-container {
  display: flex;
  flex: 1 1 190px;
  min-width: 190px;
  align-items: center;
  justify-content: flex-end;
}

.horarios-inputs {
  display: flex;
  align-items: center;
  gap: 4px;
}

.select-time {
  min-width: 64px;
  padding: 4px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
}

.texto-fechado {
  font-size: 14px;
  font-style: italic;
  color: #94a3b8;
}

/* Toggle switch */
.switch {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 20px;
  flex-shrink: 0;
}

.switch input {
  width: 0;
  height: 0;
  opacity: 0;
}

.slider {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background-color: #cbd5e1;
  transition: 0.4s;
}

.slider::before {
  content: "";
  position: absolute;
  left: 3px;
  bottom: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #fff;
  transition: 0.4s;
}

.switch input:checked + .slider {
  background-color: #2563eb;
}

.switch input:checked + .slider::before {
  transform: translateX(14px);
}

/* 9) Certificados e grids auxiliares */
.card-certificado-item {
  animation: fade-in 0.3s ease-in-out;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.certificados-panel {
  width: 100%;
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.9), #fff);
}

.certificados-passos {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: #475569;
}

.certificados-grid {
  margin-top: 2px;
}

.btn-adc-cert {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: #1e3a8a;
  font-size: 13px;
  font-weight: 700;
}

.btn-adc-cert:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-adc-cert:not(:disabled):hover {
  border-color: #93c5fd;
  background: #eff6ff;
}

.certificados-lista-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.certificados-lista-header strong {
  font-size: 13px;
  color: var(--text);
}

.certificados-count {
  min-width: 28px;
  padding: 3px 8px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.certificados-empty {
  margin: 0;
  padding: 10px 12px;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
  color: #64748b;
  font-size: 13px;
}

.certificados-empty.hidden {
  display: none;
}

.lista-certificados {
  display: grid;
  gap: 10px;
  width: 100%;
}

.item-certificado-adicionado {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #dbe4ee;
  border-radius: 11px;
  background: #fff;
}

.certificado-info {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.certificado-info strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  word-break: break-word;
}

.certificado-info span {
  font-size: 13px;
  color: var(--muted);
  word-break: break-word;
}

.btn-remover-cert {
  padding: 6px 10px;
  border: 1px solid rgba(239, 68, 68, 0.24);
  border-radius: 8px;
  background: #fff5f5;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 700;
  flex: 0 0 auto;
}

.btn-remover-cert:hover {
  border-color: #fca5a5;
  background: #ffe8e8;
}

.grid-duplo-cadastro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  width: 100%;
}

.grid-duplo-cadastro .campo {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-list-builder {
  margin-top: 10px;
  display: grid;
  gap: 12px;
}

.price-list-rows {
  display: grid;
  gap: 10px;
}

.price-list-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 10px;
}

.price-list-row input {
  margin: 0;
  min-width: 0;
}

.price-list-row .price-value-input {
  text-align: right;
}

.price-list-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#endereco-fixo-campos {
  margin-top: 8px;
}

.checks-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.check-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.check-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.check-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  color: var(--text);
  
  transition: all 0.2s ease;
}

.check-item:hover span {
  border-color: #cbd5e1;
  background: var(--surface);
}

.check-item input:checked + span {
  border-color: var(--brand-primary);
  background: var(--brand-primary);
  color: #fff;
}

/* 10) Utilitários */
.hidden {
  display: none !important;
}

/* Evita o card de CTA sumir caso a classe "hidden" seja aplicada por engano no section */
.card.hidden {
  display: flex !important;
}

/* 11) Responsivo */
@media (max-width: 520px) {
  .container-main {
    padding: 18px;
  }

  .card {
    gap: 16px;
    padding: 20px;
  }

  .button-group {
    gap: 8px;
  }

  .btn-option {
    flex: 1 1 140px;
  }

  .grid-duplo-cadastro {
    grid-template-columns: 1fr;
  }

  .price-list-row {
    grid-template-columns: minmax(0, 1fr) minmax(88px, 10ch);
    gap: 8px;
  }

  .price-list-row .price-name-input,
  .price-list-row .price-value-input {
    font-size: 14px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .certificados-panel {
    padding: 12px;
    gap: 12px;
  }

  .certificados-lista-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .item-certificado-adicionado {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-remover-cert {
    align-self: flex-end;
  }

  .horarios-container {
    justify-content: flex-end;
  }

  #cta-phrase-modal {
    width: calc(100% - 14px);
    max-height: 94vh;
    padding: 14px;
  }

  #cta-phrase-modal .cta-phrase-options {
    max-height: 70vh;
  }
}

.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.44);
}

.loading-box {
  min-width: 220px;
  max-width: 92vw;
  padding: 16px 18px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 7px;
  background: var(--surface);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.24);
}

.loading-box strong {
  font-size: 14px;
  line-height: 1.35;
  color: var(--text-primary);
}

.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #cbd5e1;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: giro-loader 0.8s linear infinite;
  flex-shrink: 0;
}

@keyframes giro-loader {
  to {
    transform: rotate(360deg);
  }
}

.key-overlay {
  position: fixed;
  inset: 0;
  z-index: 1700;
  background: rgba(15, 23, 42, 0.58);
}

.key-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 1710;
  width: min(460px, calc(100% - 32px));
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 7px;
  background: var(--surface);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.22);
  transform: translate(-50%, -50%);
}

.key-modal h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
  color: var(--text);
}

.key-modal p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.key-modal input {
  width: 100%;
  display: block;
  margin-bottom: 12px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  font-size: 14px;
  color: var(--text);
}

.key-modal input::placeholder {
  color: #94a3b8;
}

.key-modal input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}

.key-token {
  width: 100%;
  margin-bottom: 14px;
  padding: 12px;
  border: 1px dashed #94a3b8;
  border-radius: 10px;
  background: var(--surface);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-align: center;
  color: var(--text-primary);
}

.key-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.key-modal-actions .btn-add,
.key-modal-actions .key-link-btn {
  flex: 1;
}

.key-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.key-main-btn {
  margin-top: 6px;
  text-decoration: none;
  text-align: center;
}

#exit-leave-btn {
  border-color: #fecaca;
  color: #b91c1c;
  background: #fff5f5;
}

#exit-leave-btn:hover {
  border-color: #fca5a5;
  background: #ffe8e8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --line: #364152;
  }

  .card,
  .upload-area,
  .item-certificado-adicionado,
  .preview-item,
  .key-modal,
  .loading-box,
  .key-token,
  .cta-texto-preview,
  .cta-phrase-option,
  .btn-remover-cert,
  .btn-adc-cert {
    background: #21262d;
    border-color: #21262d;
    color: var(--text-primary);
  }

  .card input,
  .card select,
  .select-time {
    background: #21262d;
    color: var(--text-primary);
    border-color: var(--line);
  }

  .card input::placeholder {
    color: #8ea4c2;
  }

  .btn-content {
    border-color: var(--line);
    background: #21262d;
    color: var(--text-secondary);
  }

  .btn-option input:checked + .btn-content {
    background: #2a313c;
    border-color: #2a313c;
    color: #eef2f7;
  }

  .upload-area:hover,
  .btn-remover-cert:hover,
  .btn-adc-cert:hover,
  .cta-phrase-option:hover {
    background: #2a313c;
    border-color: #2a313c;
  }

  .upload-area {
    border: 2px dashed var(--line);
  }

  .upload-area:hover {
    border-color: #4b5a70;
  }

  .cta-phrase-option {
    border-color: var(--line);
  }

  .cta-phrase-option:hover {
    border-color: #4b5a70;
  }

  .tag {
    background: #21262d;
    border-color: #21262d;
    color: var(--tag-text);
  }

  .check-item span {
    background: #21262d;
    border-color: #21262d;
    color: var(--text-primary);
  }

  .check-item:hover span {
    background: #2a313c;
    border-color: #2a313c;
  }

  .check-item input:checked + span {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
  }

  .remove-photo {
    box-shadow: none;
  }

  #exit-leave-btn {
    background: rgba(185, 28, 28, 0.18);
    border-color: rgba(248, 113, 113, 0.34);
    color: #fecaca;
  }
}

:root[data-theme="light"] .check-item span {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}

:root[data-theme="light"] .check-item input:checked + span {
  border-color: var(--brand-primary);
  background: var(--brand-primary);
  color: #fff;
}

:root[data-theme="dark"] .check-item span {
  background: #21262d;
  border-color: var(--line);
  color: var(--text-primary);
}

:root[data-theme="dark"] .check-item:hover span {
  background: #2a313c;
  border-color: #2a313c;
}

:root[data-theme="dark"] .check-item input:checked + span {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
}

:root[data-theme="dark"] {
  --line: #364152;
}

:root[data-theme="dark"] .card input,
:root[data-theme="dark"] .card select,
:root[data-theme="dark"] .select-time,
:root[data-theme="dark"] .btn-content {
  border-color: var(--line);
}

:root[data-theme="dark"] .price-list-row input {
  background: #21262d;
  color: var(--text-primary);
  border-color: var(--line);
}

:root[data-theme="dark"] .price-list-row input::placeholder {
  color: rgba(203, 213, 225, 0.72);
}

:root[data-theme="dark"] .price-list-actions .btn-add {
  border-color: var(--line);
  background: #21262d;
}

:root[data-theme="dark"] .price-list-actions .btn-add:hover {
  border-color: #4b5a70;
  background: #2a313c;
}

:root[data-theme="dark"] .item-certificado-adicionado {
  background: #21262d;
  border-color: var(--line);
}

:root[data-theme="dark"] .certificados-panel {
  border-color: var(--line);
  background: linear-gradient(180deg, rgba(33, 38, 45, 0.96), rgba(33, 38, 45, 0.86));
}

:root[data-theme="dark"] .certificados-passos {
  color: #cbd5e1;
}

:root[data-theme="dark"] .certificados-count {
  border-color: #3b82f6;
  background: rgba(37, 99, 235, 0.16);
  color: #bfdbfe;
}

:root[data-theme="dark"] .certificados-empty {
  border-color: var(--line);
  background: rgba(15, 23, 42, 0.5);
  color: #cbd5e1;
}

:root[data-theme="dark"] .btn-remover-cert {
  border-color: rgba(248, 113, 113, 0.26);
  background: rgba(127, 29, 29, 0.2);
  color: #fecaca;
}

:root[data-theme="dark"] .btn-adc-cert {
  border-color: var(--line);
  background: #21262d;
  color: #cfe0ff;
}

:root[data-theme="dark"] .btn-adc-cert:not(:disabled):hover {
  border-color: #4b5a70;
  background: #2a313c;
}

:root[data-theme="dark"] .btn-add-muted {
  color: #cbd5e1;
}

:root[data-theme="dark"] .upload-area {
  border: 2px dashed var(--line);
}

:root[data-theme="dark"] .upload-area:hover {
  border-color: #4b5a70;
}

:root[data-theme="dark"] .cta-phrase-option {
  border-color: var(--line);
}

:root[data-theme="dark"] .cta-phrase-option:hover {
  border-color: #4b5a70;
}
