:root {
    --helmSpacing: .25rem;
    --helmNormalIconColor: #e1e1e160;
    --helmInfoIconColor: #e7f0ff;
    --helmSuccessIconColor: #ecfdf5;
    --helmWarningIconColor: #fff7ed;
    --helmErrorIconColor: #fef2f2;
    --helmCustomIconColor: #f3f4f6;
}

.helmToast--normal .helmToast-icon { background-color: var(--helmNormalIconColor); color: #2b2b2b; }
.helmToast--info .helmToast-icon { background-color: var(--helmInfoIconColor); color: #1d4ed8; }
.helmToast--success .helmToast-icon { background-color: var(--helmSuccessIconColor); color: #047857; }
.helmToast--warning .helmToast-icon { background-color: var(--helmWarningIconColor); color: #c2410c; }
.helmToast--error .helmToast-icon { background-color: var(--helmErrorIconColor); color: #b91c1c; }
.helmToast--custom .helmToast-icon { background-color: var(--helmCustomIconColor); color: #4b5563; }


.helm-container {
    position: fixed;
    display: flex;
    flex-direction: column;
    gap: calc(var(--helmSpacing) * 2);
    pointer-events: none;
}

.helm-top-right { right: 20px; top: 20px; align-items: flex-end; }
.helm-top-left { left: 20px; top: 20px; align-items: flex-start; }
.helm-bottom-right { right: 20px; bottom: 20px; align-items: flex-end; }
.helm-bottom-left { left: 20px; bottom: 20px; align-items: flex-start; }

.helmToast {
    max-width: 320px;
    width: 100%;
    padding: calc(var(--helmSpacing) * 4);
}

.helmToast-description {
    font-size: 12px;
    font-weight: 300;
}


.helmToast {
    width: 320px;
    padding: calc(var(--helmSpacing) * 3) calc(var(--helmSpacing) * 3);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: calc(var(--helmSpacing) * 4);
    border-radius: 10px;
    background-color: #fff;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    transform: translateY(8px);
    opacity: 0;
    transition: transform .18s ease, opacity .18s ease;
    pointer-events: auto; /* clickable */
}

.helmToast--show {
    transform: translateY(0);
    opacity: 1;
}

.helmToast--hide {
    opacity: 0;
    transform: translateY(8px);
}

.helmToast-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: calc(var(--helmSpacing) * 10);
    width: calc(var(--helmSpacing) * 12);
    border-radius: calc(var(--helmSpacing) * 2);
    background-color: var(--helmNormalIconColor);
}


.helmToast-icon svg {
    width: calc(var(--helmSpacing) * 6);
    height: calc(var(--helmSpacing) * 6);
}

.helmToast-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: calc(var(--helmSpacing) * 8);
    width: calc(var(--helmSpacing) * 8);
    transition: background-color 0.1s ease;
}

.helmToast-close:hover {
    background-color: var(--helmNormalIconColor);
    border-radius: calc(var(--helmSpacing) * 2);
    cursor: pointer;
}

.helmToast-close svg {
    height: calc(var(--helmSpacing) * 6);
    width: calc(var(--helmSpacing) * 6);
}

.helmToast-content {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: calc(var(--helmSpacing) * 3);
}

.helmToast-text {
    display: flex;
    flex-direction: column;
    gap: calc(var(--helmSpacing) * 0.5);
}

.helmToast-header {
    font-size: 16px;
    font-weight: 400;
    color: #111827;
}

.helmToast-description {
    font-size: 13px;
    line-height: 1.4;
    color: #4b5563;
}