/* Estilos de proteção e interface de bloqueio */

/* Desabilita a seleção de texto e outros comportamentos de interação.
  A propriedade 'user-select' foi movida para uma classe específica '.no-select'
  para que possamos aplicá-la seletivamente se necessário, em vez de globalmente.
*/
* {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-tap-highlight-color: transparent;
}

/* Permite a seleção em campos de texto */
input,
textarea {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/* Proteção para imagens */
img {
  pointer-events: none; /* Esta propriedade já impede que a imagem seja arrastada */
}

/* Container para as mensagens de bloqueio (DevTools e Iframe) */
.protection-block-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-family: Arial, sans-serif;
  background: #f0f0f0;
  text-align: center;
}

/* Caixa da mensagem de acesso negado */
.access-denied-box {
  padding: 40px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.access-denied-box h2 {
  color: #e74c3c;
  margin-top: 0;
  margin-bottom: 20px;
}

.access-denied-box p {
  color: #666;
  margin-bottom: 20px;
}

.access-denied-box button {
  background: #3498db;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

/* Mensagem de bloqueio de Iframe */
.iframe-block-message h2 {
  color: #333;
}

/* Marca d'água invisível */
#invisible-watermark {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><text x="50%" y="50%" text-anchor="middle" dy=".3em" fill="rgba(0,0,0,0.02)" font-size="14" transform="rotate(-45 100 100)">Luthen Tech</text></svg>')
    repeat;
}
