/* The dark overlay background */
.cyber-overlay {
  display: none;
  /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(2px);
}

/* The actual popup box */
.cyber-box {
  width: 350px;
  background: #050505;
  border: 2px solid #ff0055;
  /* Neon Red */
  box-shadow: 0 0 15px #ff0055, inset 0 0 10px rgba(255, 0, 85, 0.2);
  font-family: 'Courier New', Courier, monospace;
  color: #ff0055;
  position: relative;
  padding: 2px;

  /* Cyber angled corner cut */
  clip-path: polygon(0 0,
      100% 0,
      100% 85%,
      95% 100%,
      0 100%);
}

/* Header strip */
.cyber-header {
  background: #ff0055;
  color: #000;
  padding: 5px 10px;
  font-weight: bold;
  letter-spacing: 2px;
  font-size: 14px;
}

/* Message area */
.cyber-content {
  padding: 20px;
  text-align: center;
  font-size: 16px;
  text-shadow: 0 0 2px #ff0055;
}

/* The Alert Button (Renamed) */
.cyber-alert-btn {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  border-top: 1px solid #ff0055;
  color: #ff0055;
  padding: 15px;
  cursor: pointer;
  font-family: 'Courier New', monospace;
  font-weight: bold;
  text-transform: uppercase;
  transition: 0.2s;
}

.cyber-alert-btn:hover {
  background: #ff0055;
  color: #000;
  box-shadow: 0 0 20px #ff0055;
}

/* --- SUCCESS THEME OVERRIDES --- */

/* Change border and shadow to Green */
.cyber-box.success {
  border-color: #00ff9d;
  /* Neon Green */
  box-shadow: 0 0 15px #00ff9d, inset 0 0 10px rgba(0, 255, 157, 0.2);
  color: #00ff9d;
}

/* Change Header Background */
.cyber-box.success .cyber-header {
  background: #00ff9d;
}

/* Change Button Colors */
.cyber-box.success .cyber-alert-btn {
  border-top-color: #00ff9d;
  color: #00ff9d;
}

.cyber-box.success .cyber-alert-btn:hover {
  background: #00ff9d;
  box-shadow: 0 0 20px #00ff9d;
}
