.izvestuvanja-wrap {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    width: min(400px, calc(100vw - 32px));
    pointer-events: none;
}

.izvestuvanja {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.izvestuvanje {
    position: relative;
    display: flex;
    align-items: flex-start;
    width: 100%;
    min-height: 68px;
    box-sizing: border-box;
    overflow: hidden;
    padding: 14px 42px 14px 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.16);
    color: #2b2b38;
    pointer-events: auto;
    animation: hd-toast-in 180ms ease-out;
}

.izvestuvanje--success { border-left: 4px solid #22a95a; }
.izvestuvanje--error { border-left: 4px solid #e55353; }
.izvestuvanje--warning { border-left: 4px solid #e9a323; }

.izvestuvanje .izv-left {
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.izvestuvanje .izv-name {
    flex: 1;
    min-width: 0;
}

.izvestuvanje .izv-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.izvestuvanje--success .izv-icon { background: #eaf9f0; color: #18864a; }
.izvestuvanje--error .izv-icon { background: #fff0f0; color: #d94343; }
.izvestuvanje--warning .izv-icon { background: #fff7e6; color: #b97508; }

.izvestuvanje .izv-right {
    position: absolute;
    top: 9px;
    right: 9px;
}

.izvestuvanje .izv-name p {
    margin: 1px 0 4px;
    font-size: 13px;
    line-height: 1.2;
    color: #252936;
    font-weight: 700;
}

.izvestuvanje .izv-name span {
    display: block;
    overflow-wrap: anywhere;
    color: #50505e;
    font-size: 14px;
    line-height: 1.35;
}

.izvestuvanje .close {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #8a93a3;
    cursor: pointer;
    font: inherit;
    font-size: 20px;
    line-height: 1;
    transition: background .15s ease, color .15s ease;
}

.izvestuvanje .close:hover {
    background: #f1f4f8;
    color: #2b2b38;
}

.izvestuvanje .process {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: #eef1f5;
}

.izvestuvanje .process-status {
    width: 100% !important;
    height: 100%;
    transform: scaleX(0);
    transform-origin: left center;
    animation: hd-toast-progress 3s linear forwards;
}

.izvestuvanje--success .process-status { background: #22a95a; }
.izvestuvanje--error .process-status { background: #e55353; }
.izvestuvanje--warning .process-status { background: #e9a323; }

@keyframes hd-toast-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes hd-toast-progress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

.izvestuvanje--leaving {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease;
    pointer-events: none;
}

@media (max-width: 480px) {
    .izvestuvanja-wrap {
        top: 12px;
        right: 16px;
        left: 16px;
        width: auto;
    }
    .izvestuvanje { min-height: 64px; padding: 12px 38px 12px 12px; }
    .izvestuvanje .izv-icon { width: 32px; height: 32px; flex-basis: 32px; }
    .izvestuvanje .izv-name span { font-size: 13.5px; }
}
