﻿/* Toast Notifications CSS */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 400px;
}

.toast {
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

    .toast.show {
        transform: translateX(0);
        opacity: 1;
    }

    .toast.hide {
        transform: translateX(100%);
        opacity: 0;
    }

.progress-bar {
    height: 3px;
    border-radius: 0 0 8px 8px;
    animation: progress 4s linear;
}

@keyframes progress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

.bounce-in {
    animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3) translateX(100%);
        opacity: 0;
    }

    50% {
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1) translateX(0);
        opacity: 1;
    }
}

.success-icon {
    animation: checkmark 0.6s ease-in-out 0.3s both;
}

@keyframes checkmark {
    0% {
        stroke-dashoffset: 100;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .toast {
        transform: translateY(-100%);
    }

        .toast.show {
            transform: translateY(0);
        }

        .toast.hide {
            transform: translateY(-100%);
        }
}
