.toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    width: 100%;
    max-width: 450px;
    padding: 0 20px;
    pointer-events: none;
}

.toast-container .alert {
    pointer-events: auto;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
    animation: toastIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 14px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

@keyframes toastIn {
    0% {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes toastOut {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(100px);
    }
}

.toast-container .alert-success {
    background: linear-gradient(135deg, #00b894 0%, #00a381 100%);
    color: #fff;
}

.toast-container .alert-error,
.toast-container .alert-danger {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: #fff;
}

.toast-container .alert-warning {
    background: linear-gradient(135deg, #fdcb6e 0%, #f39c12 100%);
    color: #fff;
}

.toast-container .alert-info {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    color: #fff;
}

.toast-container .alert:before {
    font-family: 'FontAwesome';
    font-size: 20px;
    display: inline-block;
    flex-shrink: 0;
}

.toast-container .alert-success:before {
    content: "\f058";
}

.toast-container .alert-error:before,
.toast-container .alert-danger:before {
    content: "\f057";
}

.toast-container .alert-warning:before {
    content: "\f06a";
}

.toast-container .alert-info:before {
    content: "\f05a";
}

.toast-container .alert .close {
    margin-right: auto;
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 22px;
    cursor: pointer;
    transition: 0.3s;
    padding: 0 5px;
}

.toast-container .alert .close:hover {
    color: #fff;
    transform: rotate(90deg);
}

.toast-container .alert .message-text {
    flex: 1;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}