/* Alert System Styles */

.alert-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 500px;
  background-color: #000;
  border: 2px solid var(--color-primary, #00ff00);
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
  padding: 20px;
  z-index: 9999;
  color: #00ff00;
  transition: all 0.3s ease;
  font-family: "MesloLGS NF", monospace;
}

.alert-container.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -60%);
}

.alert-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #00ff00;
}

.alert-title {
  margin: 0;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: #00ff00;
}

.alert-timer {
  font-size: 1.2rem;
  font-weight: bold;
  padding: 4px 10px;
  background-color: #001200;
  border: 1px solid #00ff00;
  min-width: 80px;
  text-align: center;
}

.alert-timer.urgent {
  background-color: #200000;
  color: #ff0000;
  border-color: #ff0000;
  animation: pulse 1s infinite alternate;
}

.alert-description {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 20px;
  white-space: pre-line;
  color: #ccffcc;
}

#alertDismiss {
  display: none;
}

.alert-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.alert-action-button {
  flex: 1 0 calc(50% - 10px);
  min-width: 120px;
  padding: 10px;
  border: 1px solid #00ff00;
  background-color: #001800;
  color: #00ff00;  
  font-family: "MesloLGS NF", monospace;
  font-size: 1rem;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.alert-action-button:hover {
  background-color: #002800;
  border-color: #00ff00;
}

.alert-action-button:active {
  transform: scale(0.98);
  background-color: #003800;
}

.button-number {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 18px;
  height: 18px;
  background-color: #00ff00;
  color: #000000;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.alert-dismiss {
  width: 100%;
  padding: 10px;
  border: 1px solid #007700;
  background-color: #001200;
  color: #00bb00;
  font-family: "MesloLGS NF", monospace;  
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 5px;
}

.alert-dismiss:hover {
  background-color: #002800;
  color: #00ff00;
}

/* Alert indicator badge */
.alert-indicator {
  position: fixed;
  top: 10px;
  right: 10px;
  background-color: #ff0000;
  color: white;
  border: 2px solid #770000;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  z-index: 1000;
  animation: pulse 2s infinite;
}

.alert-indicator.hidden {
  display: none;
}

/* Animations */
@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}

/* Mobile optimizations */
@media (max-width: 600px) {
  .alert-container {
    width: 95%;
    padding: 15px;
  }
  
  .alert-title {
    font-size: 1.2rem;
  }
  
  .alert-timer {
    font-size: 1rem;
    min-width: 70px;
  }
  
  .alert-description {
    font-size: 1rem;
  }
  
  .alert-action-button {
    flex: 1 0 100%;
  }
} 