.podman-search .pf-c-modal-box__body {
    display: grid;
    grid-auto-flow: row;
    overflow: hidden;
    grid-template-rows: auto auto 1fr;
    grid-gap: var(--pf-global--spacer--sm);
}

.image-list-item {
    display: grid;
    grid-gap: 0 1rem;
}

.image-list-item + .image-list-item {
    border-top: 1px solid var(--pf-global--BorderColor--200);
}

.image-list-item > .image-name {
    color: var(--pf-global--Color--100);
}

@media (min-width: 768px) {
    .image-list-item {
        grid-template-columns: 1fr max-content;
    }
}

.podman-search .image-search-modal-footer-grid {
    display: grid;
    grid-template-columns: 1fr auto auto;
    grid-gap: 0.25rem;
}

.image-tag-entry {
    max-width: 15rem;
}

@media (max-width: 340px) {
    /* Shrink buttons to accommodate iPhone 5/SE */
    .podman-search .modal-footer > .btn {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }
}

.image-search-tag-form {
    margin-bottom: var(--pf-global--spacer--md);
}

.podman-search .pf-c-modal-box__footer {
    display: initial;
}

.podman-search .pf-c-data-list {
    overflow-y: auto;
}

.podman-search .pf-l-flex .pf-c-form__group:nth-child(2) {
    grid-template-columns: 2rem var(--pf-c-form--m-horizontal__group-control--md--GridColumnWidth)
}
