/**
 * Toast Message Styles
 * Modern, responsive toast notifications
 */

#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    pointer-events: none;
}

.toast {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 16px 20px;
    margin-bottom: 12px;
    min-width: 300px;
    max-width: 400px;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
    pointer-events: auto;
    border-left: 4px solid;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-success {
    border-left-color: #4caf50;
    background: #f1f8f4;
}

.toast-error {
    border-left-color: #f44336;
    background: #fff5f5;
}

.toast-icon {
    font-size: 20px;
    font-weight: bold;
    margin-right: 12px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.toast-success .toast-icon {
    color: #4caf50;
    background: #e8f5e9;
}

.toast-error .toast-icon {
    color: #f44336;
    background: #ffebee;
}

.toast-message {
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    flex: 1;
}

.toast-success .toast-message {
    color: #2e7d32;
}

.toast-error .toast-message {
    color: #c62828;
}

/* Responsive Design */
@media (max-width: 768px) {
    #toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }

    .toast {
        min-width: auto;
        max-width: 100%;
        padding: 14px 16px;
    }

    .toast {
        transform: translateY(-100px);
    }

    .toast.show {
        transform: translateY(0);
    }
}

/* Animation for multiple toasts */
.toast:nth-child(1) {
    animation-delay: 0s;
}

.toast:nth-child(2) {
    animation-delay: 0.1s;
}

.toast:nth-child(3) {
    animation-delay: 0.2s;
}

