/* Toast Notification System */
#sgs-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.sgs-toast {
    max-width: 500px;
    padding: 7px 10px;
    background-color: #fff;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    opacity: 0;
    transform: translateX(400px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: auto;
    border-left: 4px solid;
}

.sgs-toast.sgs-toast-show {
    opacity: 1;
    transform: translateX(0);
}

.sgs-toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.sgs-toast-icon {
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    flex-shrink: 0;
    display: none;
}

.sgs-toast-message {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.sgs-toast-close {
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: color 0.2s ease;
    margin: 0;
    min-height: unset;
}

.sgs-toast-close:hover {
    color: #333;
}

/* Toast Types */
.sgs-toast-success {
    border-left-color: #28a745;
    background-color: #f8fff9;
}

.sgs-toast-success .sgs-toast-icon {
    color: #28a745;
}

.sgs-toast-error {
    border-left-color: #dc3545;
    background-color: #fff5f5;
}

.sgs-toast-error .sgs-toast-icon {
    color: #dc3545;
}

.sgs-toast-info {
    border-left-color: #17a2b8;
    background-color: #f0f9ff;
}

.sgs-toast-info .sgs-toast-icon {
    color: #17a2b8;
}

.sgs-toast-warning {
    border-left-color: #ffc107;
    background-color: #fffbf0;
}

.sgs-toast-warning .sgs-toast-icon {
    color: #ffc107;
}

/* Responsive */
@media (max-width: 768px) {
    #sgs-toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }

    .sgs-toast {
        min-width: auto;
        max-width: 100%;
    }
}