/* Toast Notifications Component */

.toast-container {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
}

.toast-container.top-right {
    top: 20px;
    right: 20px;
}

.toast-container.bottom-right {
    bottom: 20px;
    right: 20px;
}

.toast {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 0;
    margin-bottom: 10px;
    min-width: 350px;
    max-width: 500px;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease-in-out;
    pointer-events: auto;
    border-left: 4px solid;
}

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

.toast.success {
    border-left-color: #28a745;
}

.toast.success .toast-icon {
    color: #28a745;
    font-size: 24px;
}

.toast.error {
    border-left-color: #dc3545;
}

.toast.error .toast-icon {
    color: #dc3545;
}

.toast.warning {
    border-left-color: #ffc107;
}

.toast.warning .toast-icon {
    color: #ffc107;
}

.toast.info {
    border-left-color: #17a2b8;
}

.toast.info .toast-icon {
    color: #17a2b8;
}

.toast-icon {
    font-size: 24px;
    margin-right: 12px;
    flex-shrink: 0;
}

.toast-body {
    display: flex;
    align-items: center;
    padding: 20px;
    min-height: 80px;
}

.toast-message {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    color: #333;
}

.toast.success .toast-message {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

.toast-close {
    background: none;
    border: none;
    font-size: 28px;
    font-weight: 300;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    margin-left: 16px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: color 0.2s;
}

.toast-close:hover {
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .toast-container.top-right,
    .toast-container.bottom-right {
        left: 20px;
        right: 20px;
    }

    .toast {
        min-width: auto;
        max-width: none;
    }
}
