.modal-restrito-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(2px);
  animation: fadeIn 0.3s ease forwards;
}

.modal-restrito-box {
  background: #121212; /* cor escura do fundo */
  padding: 32px 40px;
  border-radius: 12px;
  border: 2px solid #00cfff; /* borda azul brilhante */
  box-shadow:
    0 0 10px #00cfff,
    0 0 20px #00cfff,
    0 0 30px #00cfff,
    0 0 40px #00cfff;
  text-align: center;
  max-width: 400px;
  width: 90%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #00cfff; /* texto azul neon */
  animation: scaleUp 0.3s ease forwards;
}



.modal-restrito-box p {
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: #ffffff;
  line-height: 1.5;
}

.modal-restrito-box button {
  background: linear-gradient(90deg, #ef4444, #dc2626);
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.modal-restrito-box button:hover {
  background: linear-gradient(90deg, #dc2626, #b91c1c);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.6);
}

.modal-restrito-box button:active {
  transform: scale(0.96);
  box-shadow: 0 3px 10px rgba(220, 38, 38, 0.5);
}


@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scaleUp {
  0%   { transform: scale(0.95); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
