/* ===== Custom Toast Notification ===== */
.toast {
    position: fixed;
    top: 25px;
    right: 30px;
    border-radius: 12px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(15px);
    padding: 20px 35px 20px 25px;
    border: 1px solid rgba(168, 85, 247, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform: translateX(calc(100% + 30px));
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.35);
    z-index: 10100;
}

.toast.active {
    transform: translateX(0%);
}

.toast .toast-content {
    display: flex;
    align-items: center;
}

.toast-content i {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    width: 35px;
    background-color: #a855f7;
    color: #fff;
    font-size: 20px;
    border-radius: 50%;
}

.toast.error .toast-content i {
    background-color: #ef4444;
}

.toast.error {
    border-color: rgba(239, 68, 68, 0.3);
}

.toast .toast-msg {
    display: flex;
    flex-direction: column;
    margin: 0 20px;
}

.toast-msg .text {
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    white-space: nowrap;
}

.toast-msg .text.text-1 {
    font-weight: 600;
    color: #a855f7;
}

.toast.error .text-1 {
    color: #ef4444;
}

.toast .close {
    position: absolute;
    top: 10px;
    right: 15px;
    padding: 5px;
    cursor: pointer;
    opacity: 0.7;
    transition: 0.3s;
    color: #fff;
}

.toast .close:hover {
    opacity: 1;
}

.toast .progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
}

.toast .progress:before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background-color: #a855f7;
}

.toast.error .progress:before {
    background-color: #ef4444;
}

.progress.active:before {
    animation: progress 5s linear forwards;
}

@keyframes progress {
    100% {
        right: 100%;
    }
}

@media (max-width: 768px) {
    .toast {
        top: 15px;
        right: 15px;
        width: calc(100% - 30px);
        transform: translateY(-150%);
    }

    .toast.active {
        transform: translateY(0%);
    }
}