/**
 * RISPro Toast Notification Styles
 *
 * @package RISPro
 * @since 2.0.0
 */

#rispro-toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.rispro-toast {
    padding: 14px 24px;
    background: var(--rispro-text);
    color: white;
    border-radius: var(--rispro-radius);
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: auto;
    max-width: 350px;
}

.rispro-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.rispro-toast-success {
    background: var(--rispro-success);
}

.rispro-toast-error {
    background: var(--rispro-error);
}

.rispro-toast-info {
    background: var(--rispro-secondary);
}

.rispro-toast-warning {
    background: #f39c12;
}

/* Mobile positioning */
@media (max-width: 600px) {
    #rispro-toast-container {
        left: 20px;
        right: 20px;
        bottom: 10px;
    }

    .rispro-toast {
        max-width: none;
        text-align: center;
    }
}
