/* Info Alert Banner */
.info-alert-banner {
  position: relative;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 600px;
  background: linear-gradient(135deg, #b91d25 0%, #f92e3c 100%);
  color: white;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgb(211 39 50), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: infoSlideDown 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
  z-index: 500;
  text-align: center;
}
  
.info-alert-banner i.info-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.info-alert-banner .info-message {
  flex: 1;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
}

.info-alert-banner .info-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.info-alert-banner .info-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.info-alert-banner .info-close i {
  color: white;
  font-size: 18px;
}

@keyframes infoSlideDown {
  from {
    transform: translateX(-50%) translateY(-120%);
    opacity: 0;
  }
  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .info-alert-banner {
    width: 95%;
    max-width: none;
    top: 70px;
    padding: 14px 16px;
  }
  
  .info-alert-banner .info-message {
    font-size: 13px;
  }
}

/* Custom Alert System */
.custom-alert {
  position: fixed;
  top: 20px;
  right: 20px;
  max-width: 400px;
  color: white;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInRight 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
  z-index: 500;
  transition: all 0.3s ease;
}

/* Alert Types */
.custom-alert.alert-error {
  background: linear-gradient(135deg, #ff1744 0%, #ff4569 100%);
}

.custom-alert.alert-success {
  background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
}

.custom-alert.alert-welcome {
  background: linear-gradient(135deg, #DA292E 0%, #f44336 100%);
}

.custom-alert i {
  font-size: 24px;
  flex-shrink: 0;
}

.custom-alert .alert-message {
  flex: 1;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
}

.custom-alert .alert-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.custom-alert .alert-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.custom-alert .alert-close i {
  color: white;
  font-size: 18px;
}

@keyframes slideInRight {
  from {
    transform: translateX(120%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(120%);
    opacity: 0;
  }
}

.custom-alert.removing {
  animation: slideOutRight 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

/* Stack multiple alerts */
.custom-alert:nth-child(2) { top: 110px; }
.custom-alert:nth-child(3) { top: 200px; }
.custom-alert:nth-child(4) { top: 290px; }

/* Responsive */
@media (max-width: 768px) {
  .custom-alert {
    right: 10px;
    left: 10px;
    max-width: none;
  }
}