/* Toast Notification System - Premium Redesign */
.toast__container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 450px;
    pointer-events: none;
}

.toast {
    background: rgba(17, 26, 45, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    animation: toastSlideDown 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: calc(100% - 30px);
    margin: 0 15px;
    pointer-events: auto;
    position: relative;
}

.toast.error {
    border-top: 3px solid #ff4d4d;
    background: rgba(30, 15, 15, 0.95);
}

.toast.success {
    border-top: 3px solid #09ff8d;
    background: rgba(15, 30, 20, 0.95);
}

.toast__icon {
    font-size: 28px;
    flex-shrink: 0;
    margin-top: 2px;
}

.toast.error .toast__icon {
    color: #ff4d4d;
}

.toast.success .toast__icon {
    color: #09ff8d;
}

.toast__content {
    flex: 1;
}

.toast__title {
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 4px;
    letter-spacing: -0.3px;
}

.toast.error .toast__title {
    color: #ff4d4d;
}

.toast.success .toast__title {
    color: #09ff8d;
}

.toast__message {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.5;
    font-weight: 500;
}

.toast__close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    position: absolute;
    top: 12px;
    right: 12px;
    transition: color 0.2s;
}

.toast__close:hover {
    color: #fff;
}

@keyframes toastSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes toastFadeOut {
    from {
        transform: scale(1);
        opacity: 1;
    }

    to {
        transform: scale(0.9);
        opacity: 0;
    }
}

.toast.removing {
    animation: toastFadeOut 0.3s ease-out forwards;
}

@media (max-width: 576px) {
    .toast__container {
        top: 10px;
        max-width: 100%;
    }

    .toast {
        padding: 12px 15px;
    }
}