:root {
    --gis-toast-bg-info: #2f972f;
    --gis-toast-bg-warning: #ff9400;
    --gis-toast-bg-error: #ff2a00;
    --gis-toast-text: #ffffff;
    --gis-toast-border: #ffffff;
    --gis-toast-width: 300px;
    --gis-toast-spacing: 12px;
}

.gis-toast {
    display: flex;
    align-items: center;
    gap: var(--gis-toast-spacing);
    position: fixed;
    bottom: 40px;
    right: 20px;
    z-index: 9999;
    width: var(--gis-toast-width);
    min-height: 50px;
    padding: var(--gis-toast-spacing);
    box-sizing: border-box;

    background-color: var(--gis-toast-bg-info);
    color: var(--gis-toast-text);
    border: 1px solid var(--gis-toast-border);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
    will-change: opacity, transform;
}

.gis-toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    font-size: 20px;
}

.gis-toast-body {
    flex: 1;
    display: flex;
    align-items: center;
}

.gis-toast-msg {
    font-size: 14px;
    line-height: 1.4;
    word-break: break-word;
}

.gis-toast-show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.gis-toast-hide {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

.gis-toast--warning {
    background-color: var(--gis-toast-bg-warning);
}

.gis-toast--error {
    background-color: var(--gis-toast-bg-error);
}
