/* Custom Toast Notification */
body .custom-toast {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 16px 20px;
    z-index: 99999 !important;
    display: none !important;
    min-width: 300px;
    max-width: 400px;
    animation: slideIn 0.3s ease-out;
    left: auto !important;
    bottom: auto !important;
    pointer-events: auto !important;
}

.custom-toast.show {
    display: block !important;
}

.custom-toast.slide-out {
    animation: slideOut 0.3s ease-in;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.toast-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.toast-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #28a745;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.toast-title {
    font-weight: 700;
    color: #28a745;
    font-size: 1rem;
    margin: 0;
}

.toast-message {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
}

.toast-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #999;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.toast-close:hover {
    background: #f0f0f0;
    color: #333;
}

@media (max-width: 768px) {
    body .custom-toast {
        top: auto !important;
        bottom: 80px !important;
        right: 10px !important;
        left: 10px !important;
        min-width: auto;
        max-width: none;
    }

    @keyframes slideIn {
        from {
            transform: translateY(100px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    @keyframes slideOut {
        from {
            transform: translateY(0);
            opacity: 1;
        }
        to {
            transform: translateY(100px);
            opacity: 0;
        }
    }
}
