#alert-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.alert {
    min-width: 320px;
    max-width: 420px;
    padding: 16px 20px;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    line-height: 1.4;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    animation: slideIn .4s ease forwards;
    opacity: 0;
}

.alert.success { background: linear-gradient(135deg,#2ecc71,#27ae60); }
.alert.info    { background: linear-gradient(135deg,#3498db,#2980b9); }
.alert.error   { background: linear-gradient(135deg,#e74c3c,#c0392b); }

.alert.hide {
    animation: slideOut .35s ease forwards;
}

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

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