
:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --background: #f8fafc;
    --success: #28a745;
    --error: #dc3545;
}

.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1060;
}

.toast {
    opacity: 0;
    margin-bottom: 0.5rem;
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.toast.show {
    animation: fadeIn 0.5s forwards;
}

.toast.hide {
    animation: fadeOut 0.5s forwards;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .toast-container {
        top: 0.5rem;
        right: 0.5rem;
        left: 0.5rem;
    }
    
    .toast {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .toast-container {
        top: 0;
        right: 0;
        left: 0;
        width: 100%;
        padding: 0.5rem;
    }
    
    .toast {
        width: 100%;
        border-radius: 0;
    }
}