
.notifikace-container {
    position: fixed !important;
    z-index: 99999 !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 320px;
    pointer-events: none;
}

    .notifikace-container.top-right {
        top: 16px;
        right: 16px;
        align-items: flex-end;
    }

    .notifikace-container.top-left {
        top: 16px;
        left: 16px;
        align-items: flex-start;
    }

    .notifikace-container.bottom-right {
        bottom: 16px;
        right: 16px;
        align-items: flex-end;
        flex-direction: column-reverse;
    }

    .notifikace-container.bottom-left {
        bottom: 16px;
        left: 16px;
        align-items: flex-start;
        flex-direction: column-reverse;
    }

    .notifikace-container.top-center {
        top: 16px;
        left: 50%;
        transform: translateX(-50%);
        align-items: center;
    }

    .notifikace-container.bottom-center {
        bottom: 16px;
        left: 50%;
        transform: translateX(-50%);
        align-items: center;
        flex-direction: column-reverse;
    }

.notifikace-item {
    pointer-events: all;
    background: #ffffff;
    border: 1px solid rgb(124, 151, 177);
    border-radius: 8px;
    padding: 10px 12px;
    width: 300px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    position: relative;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.25s ease, transform 0.25s ease, max-height 0.3s ease, margin 0.3s ease, padding 0.3s ease;
    max-height: 200px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(55, 115, 174, 0.15);
}

    .notifikace-item.from-left {
        transform: translateX(-30px);
    }

    .notifikace-item.from-top {
        transform: translateY(-20px);
    }

    .notifikace-item.visible {
        opacity: 1;
        transform: translate(0);
    }

    .notifikace-item.hiding {
        opacity: 0;
        transform: translateX(30px);
        max-height: 0;
        margin: 0;
        padding-top: 0;
        padding-bottom: 0;
    }


    .notifikace-item.type-info {
        border-left: 3px solid rgba(55, 115, 174, 1);
    }

    .notifikace-item.type-success {
        border-left: 3px solid #639922;
    }

    .notifikace-item.type-warning {
        border-left: 3px solid #BA7517;
    }

    .notifikace-item.type-danger {
        border-left: 3px solid #E24B4A;
    }

.notifikace-icon {
    display: flex;
    flex-shrink: 0;
    margin-top: 1px;
}

.type-info .notifikace-icon {
    color: rgba(55, 115, 174, 1);
}

.type-success .notifikace-icon {
    color: #639922;
}

.type-warning .notifikace-icon {
    color: #BA7517;
}

.type-danger .notifikace-icon {
    color: #E24B4A;
}

.notifikace-body {
    flex: 1;
    min-width: 0;
}

.notifikace-title {
    font-size: 13px;
    font-weight: 500;
    color: #222222;
    margin: 0 0 2px;
    line-height: 1.3;
}

.notifikace-text {
    font-size: 12px;
    color: #555555;
    margin: 0;
    line-height: 1.45;
}

    .notifikace-text a {
        color: rgba(55, 115, 174, 1);
        text-decoration: none;
        font-weight: 500;
    }

        .notifikace-text a:hover {
            text-decoration: underline;
        }


.notifikace-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: rgba(55, 115, 174, 1);
    border-radius: 0 0 0 8px;
    transition: width linear;
}

.type-success .notifikace-progress {
    background: #639922;
}

.type-warning .notifikace-progress {
    background: #BA7517;
}

.type-danger .notifikace-progress {
    background: #E24B4A;
}

.notifikace-zavrit {
    flex-shrink: 0;
    cursor: pointer;
    color: #888888;
    font-size: 14px;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
    margin-top: 1px;
    opacity: 0.6;
}

    .notifikace-zavrit:hover {
        opacity: 1;
    }
