/* ==========================================================================
   TELA VERMELHA DE ALERTA - SISTEMA DE PROTEÇÃO CONTRA INSPEÇÃO
   Design: Fundo vermelho escuro (#8B0000), ícone no centro, textos obrigatórios
   ========================================================================== */

#resgaute-security-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background-color: #8B0000 !important;
  background: radial-gradient(circle at 50% 40%, #a80000 0%, #8B0000 55%, #4a0000 100%) !important;
  z-index: 2147483647 !important; /* Camada máxima absoluta */
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 30px 24px !important;
  box-sizing: border-box !important;
  color: #ffffff !important;
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif !important;
  text-align: center !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  touch-action: none !important;
  overflow: hidden !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s !important;
}

#resgaute-security-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
}

body.resgaute-security-locked {
  overflow: hidden !important;
  height: 100vh !important;
  position: fixed !important;
  width: 100% !important;
}

.resgaute-sec-card {
  max-width: 580px;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: secShake 0.6s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes secShake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-3px, 0, 0); }
  40%, 60% { transform: translate3d(3px, 0, 0); }
}

.resgaute-sec-icon-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 3px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

.resgaute-sec-icon-svg {
  width: 50px;
  height: 50px;
  stroke: #ffffff;
}

.resgaute-sec-title {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #ffffff;
  text-transform: uppercase;
  margin: 0 0 16px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.resgaute-sec-message {
  font-size: 16px;
  font-weight: 600;
  color: #ffe4e4;
  line-height: 1.6;
  margin: 0 0 20px 0;
  max-width: 480px;
}

.resgaute-sec-divider {
  width: 80px;
  height: 3px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  margin: 0 auto 20px auto;
}

.resgaute-sec-secondary {
  font-size: 13px;
  color: #fca5a5;
  line-height: 1.5;
  margin: 0 0 20px 0;
  max-width: 440px;
}

.resgaute-sec-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: 0.5px;
}

/* Responsividade Mobile */
@media (max-width: 600px) {
  .resgaute-sec-card {
    padding: 30px 20px;
    border-radius: 20px;
  }
  .resgaute-sec-icon-circle {
    width: 72px;
    height: 72px;
    margin-bottom: 18px;
  }
  .resgaute-sec-icon-svg {
    width: 40px;
    height: 40px;
  }
  .resgaute-sec-title {
    font-size: 22px;
    letter-spacing: 1.5px;
  }
  .resgaute-sec-message {
    font-size: 14px;
  }
  .resgaute-sec-secondary {
    font-size: 12px;
  }
}

