/* Common message container styles */
.message-container {
  padding: 15px;
  font-size: 16px;
  border-radius: 5px;
  position: fixed;
  bottom: 100px;
  right: 20px;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  animation: fadeInOut 5s ease forwards;
  font-family: Arial, sans-serif;
}

/* Message types */
.success-message {
  background: rgb(255, 255, 255);
  color: #000;
}

.error-message {
  background: #dc3545;
  color: #fff;
}

.alert-message {
  background: rgb(255, 255, 255);
  color: #000;
}

/* Message content styles */
.message-container p {
  margin: 0;
}

.message-container strong {
  font-weight: bold;
  margin-right: 5px;
}

/* Animation for fade in and out */
@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  10% {
    opacity: 1;
    transform: translateY(0);
  }
  90% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(20px);
    display: none;
  }
}

/* Show/Hide states */
.message-container.show {
  display: flex;
}

.message-container.hide {
  display: none;
}


.alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.90);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9998;
}

.custom-alert {
    background-color: #d4edda;
    color: #155724;
    border: 3px solid #155724;
    padding: 1rem;
    border-radius: 40px;
    font-weight: bold;
    text-align: center;
    max-width: 80%;
    z-index: 9999;
}