/**
 * compartilhar.css
 * O botão só aparece em telas estreitas (celular) — em telas largas
 * (computador) fica escondido, já que o compartilhamento nativo com
 * arquivo de imagem só funciona em navegadores de celular.
 */

.sci-caixa-botao {
  display: none; /* escondido por padrão (desktop) */
  margin: 24px 0;
  text-align: center;
}

@media (max-width: 782px) {
  .sci-caixa-botao {
    display: block;
  }
}

.sci-botao-compartilhar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.sci-botao-compartilhar:active {
  transform: scale(0.97);
}

/* ---------------- MODAL ---------------- */
.sci-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.sci-modal.sci-aberto {
  display: flex;
}

.sci-modal-conteudo {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  max-width: 420px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  text-align: center;
}

.sci-fechar {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: #333;
  padding: 6px;
}

.sci-canvas-wrap {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #eee;
}

#sci-canvas {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.sci-carregando {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #666;
  background: #eee;
}

.sci-dica {
  font-size: 13px;
  color: #666;
  margin: 14px 0 4px;
}

.sci-acoes {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.sci-botao-secundario,
.sci-botao-primario {
  flex: 1;
  border: none;
  border-radius: 999px;
  padding: 13px 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.sci-botao-secundario {
  background: #F0F0F0;
  color: #222;
}

.sci-botao-primario {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: #fff;
}

.sci-botao-secundario:active,
.sci-botao-primario:active {
  transform: scale(0.97);
}
