/* Toaster Container */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
    /* Allow clicks through container */
}

/* Base Toast Style */
.toast-message {
    min-width: 300px;
    max-width: 400px;
    padding: 15px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    border-left: 5px solid;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideInRight 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: all 0.3s ease;
    pointer-events: auto;
    /* Enable clicks on toast */
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #333;
}

/* Toast States */
.toast-message.success {
    border-left-color: #4CAF50;
    background: rgba(232, 245, 233, 0.95);
}

.toast-message.success i {
    color: #4CAF50;
}

.toast-message.error {
    border-left-color: #F44336;
    background: rgba(255, 235, 238, 0.95);
}

.toast-message.error i {
    color: #F44336;
}

.toast-message.info {
    border-left-color: #2196F3;
    background: rgba(227, 242, 253, 0.95);
}

.toast-message.info i {
    color: #2196F3;
}

/* Icon Style */
.toast-icon {
    margin-right: 12px;
    font-size: 18px;
}

/* Close Animation */
.toast-message.closing {
    animation: slideOutRight 0.4s forwards;
}

/* Keyframes */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* Responsive */
@media (max-width: 480px) {
    .toast-container {
        right: 10px;
        left: 10px;
        top: 10px;
    }

    .toast-message {
        min-width: auto;
        width: 100%;
    }
}