/**
 * Estilos para Sistema de Alertas Customizados
 */

/* Sistema de Alertas Customizados */
.custom-alert-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(3px);
}

.custom-alert-overlay.show {
  opacity: 1;
  visibility: visible;
}

.custom-alert {
  background: white;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(-30px) scale(0.9);
  transition: all 0.3s ease;
  max-width: 400px;
  width: 90%;
  overflow: hidden;
  position: relative;
}

.custom-alert-overlay.show .custom-alert {
  transform: translateY(0) scale(1);
}

.custom-alert-header {
  padding: 25px 25px 0 25px;
  text-align: center;
}

.custom-alert-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 600;
}

.custom-alert-icon.success {
  background: linear-gradient(135deg, #4caf50, #45a049);
  color: white;
}

.custom-alert-icon.error {
  background: linear-gradient(135deg, #f44336, #d32f2f);
  color: white;
}

.custom-alert-icon.info {
  background: linear-gradient(135deg, #2196f3, #1976d2);
  color: white;
}

.custom-alert-icon.warning {
  background: linear-gradient(135deg, #ff9800, #f57c00);
  color: white;
}

.custom-alert-title {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.custom-alert-message {
  font-size: 14px;
  color: #6c757d;
  line-height: 1.5;
  margin: 0 0 25px 0;
}

.custom-alert-actions {
  padding: 0 25px 25px 25px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.custom-alert-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 80px;
}

.custom-alert-btn.primary {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
}

.custom-alert-btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.custom-alert-btn.success {
  background: linear-gradient(135deg, #28a745, #1e7e34);
  color: white;
}

.custom-alert-btn.success:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.custom-alert-btn.secondary {
  background: #6c757d;
  color: white;
}

.custom-alert-btn.secondary:hover {
  background: #5a6268;
  transform: translateY(-1px);
}

/* Animação de entrada */
@keyframes alertBounceIn {
  0% {
    opacity: 0;
    transform: translateY(-50px) scale(0.3);
  }
  50% {
    opacity: 1;
    transform: translateY(0) scale(1.05);
  }
  70% {
    transform: translateY(0) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.custom-alert.bounce-in {
  animation: alertBounceIn 0.5s ease-out;
}

/* Responsivo para alertas */
@media (max-width: 480px) {
  .custom-alert {
    max-width: 320px;
    margin: 20px;
  }
  
  .custom-alert-header {
    padding: 20px 20px 0 20px;
  }
  
  .custom-alert-actions {
    padding: 0 20px 20px 20px;
    flex-direction: column;
  }
  
  .custom-alert-btn {
    width: 100%;
  }
} 