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

.toast {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    animation: slideInRight 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 380px;
    border-left: 5px solid;
    font-weight: 500;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.toast-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-left-color: #667eea;
    color: white;
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.35);
}

.toast-success {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    border-left-color: #4CAF50;
    color: white;
    box-shadow: 0 12px 40px rgba(76, 175, 80, 0.35);
}

.toast-error {
    background: linear-gradient(135deg, #f44336 0%, #da190b 100%);
    border-left-color: #f44336;
    color: white;
    box-shadow: 0 12px 40px rgba(244, 67, 54, 0.35);
}

.toast-warning {
    background: linear-gradient(135deg, #FFC107 0%, #FFB300 100%);
    border-left-color: #FFC107;
    color: #333;
    box-shadow: 0 12px 40px rgba(255, 193, 7, 0.35);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.toast-icon {
    font-size: 22px;
    min-width: 24px;
    text-align: center;
    animation: iconBounce 0.6s ease-out;
}

.toast-message {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.2s;
    margin-left: 12px;
    color: inherit;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-close:hover {
    opacity: 1;
    transform: scale(1.2) rotate(90deg);
}

@keyframes slideInRight {
    from {
        transform: translateX(420px) rotateY(90deg);
        opacity: 0;
    }
    to {
        transform: translateX(0) rotateY(0deg);
        opacity: 1;
    }
}

@keyframes iconBounce {
    0% {
        transform: scale(0) rotate(-180deg);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

@media (max-width: 600px) {
    #toast-container {
        left: 10px;
        right: 10px;
        top: 10px;
    }
    .toast {
        max-width: 100%;
        padding: 12px 14px;
    }
    .toast-message {
        font-size: 13px;
    }
}
