/* frontend/css/toast.css */

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #333;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 1rem;
    max-width: 350px;
    pointer-events: none;
}

.toast-container.show {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.toast-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    line-height: 1;
}

.toast-message {
    flex-grow: 1;
}

/* Different types of toasts */
.toast-container.toast-success {
    background-color: #28a745;
}

.toast-container.toast-error {
    background-color: #dc3545;
}

.toast-container.toast-warning {
    background-color: #ffc107;
    color: #333;
}

.toast-container.toast-info {
    background-color: #17a2b8;
} 