/* success */
.success-message {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(40, 167, 69, 0.2);
  position: relative;
  transform: scale(0.95);
  animation: popIn 0.5s ease forwards;
}

@keyframes popIn {
  0% { transform: scale(0.95); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.success-message img {
  width: 120px;
  margin-bottom: 15px;
  animation: bounce 1s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.success-message h2 {
  font-size: 28px;
  font-weight: 600;
  margin: 10px 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.success-message p {
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  margin: 15px 0;
}

.success-message .btn-success {
  background: white;
  color: #28a745;
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.success-message .btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  background: #f8f9fa;
}
/* end success */

/* error */
.error-message {
  background: linear-gradient(135deg, #dc3545 0%, #ff4d5a 100%);
  color: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(220, 53, 69, 0.2);
  position: relative;
  transform: scale(0.95);
  animation: popIn 0.5s ease forwards;
}

.error-message img {
  width: 120px;
  margin-bottom: 15px;
  animation: bounce 1s ease infinite;
}

.error-message h2 {
  font-size: 28px;
  font-weight: 600;
  margin: 10px 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.error-message p {
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  margin: 15px 0;
}

.error-message .btn-danger {
  background: white;
  color: #dc3545;
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.error-message .btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  background: #f8f9fa;
}
/* end error */