/* Shared Proxima notifications */

.proxima-toast-stack {
    position: fixed;
    top: 42px;
    right: 16px;
    z-index: 100100;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(420px, calc(100vw - 24px));
    pointer-events: none;
}

.proxima-toast {
    pointer-events: auto;
    display: grid;
    grid-template-columns: 28px 1fr 20px;
    align-items: start;
    gap: 10px;
    padding: 12px 12px 12px 10px;
    border-radius: 10px;
    border: 1px solid #dcdcde;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.18);
    transform: translateX(24px);
    opacity: 0;
    transition: opacity 180ms ease, transform 180ms ease;
}

.proxima-toast.is-visible {
    transform: translateX(0);
    opacity: 1;
}

.proxima-toast-icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    background: #e9eff5;
    color: #2c3338;
}

.proxima-toast-message {
    font-size: 13px;
    line-height: 1.45;
    color: #1d2327;
    word-break: break-word;
    margin-top: 2px;
}

.proxima-toast-close {
    border: 0;
    background: transparent;
    color: #646970;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    width: 20px;
    height: 20px;
    padding: 0;
}

.proxima-toast-close:hover {
    color: #1d2327;
}

.proxima-toast--success {
    border-left: 4px solid #128641;
}

.proxima-toast--success .proxima-toast-icon {
    background: #e8f7ef;
    color: #0c6b33;
}

.proxima-toast--error {
    border-left: 4px solid #b32d2e;
}

.proxima-toast--error .proxima-toast-icon {
    background: #fceaea;
    color: #8f1d1f;
}

.proxima-toast--warning {
    border-left: 4px solid #b26200;
}

.proxima-toast--warning .proxima-toast-icon {
    background: #fff1dc;
    color: #8a4b00;
}

.proxima-toast--info {
    border-left: 4px solid #2271b1;
}

.proxima-toast--info .proxima-toast-icon {
    background: #e7f2fb;
    color: #185a8f;
}

@media screen and (max-width: 782px) {
    .proxima-toast-stack {
        top: 54px;
        right: 10px;
        left: 10px;
        width: auto;
    }
}

.proxima-notice-hidden {
    display: none !important;
}
