/* Balatoni Biennále 0.1.9.24 – kompakt képkezelő és azonnali műveleti visszajelzés. */
.bb-page.bb-account-page .bbp-artwork-page .bbp-artwork-detail__header {
    gap: 5px 14px;
    padding: 14px 18px;
    border-radius: 0 !important;
}

.bb-page.bb-account-page .bbp-artwork-page .bbp-artwork-detail__header h2 {
    min-width: 0;
    max-width: 100%;
    font-size: 26px;
    line-height: 1.15;
    overflow-wrap: anywhere;
    word-break: normal;
}

.bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__images {
    padding: 22px;
    border-radius: 0 !important;
}

.bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin: 16px 0 18px;
    padding: 0;
    border: 0;
    border-radius: 0 !important;
}

.bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-item {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr) auto;
    grid-template-rows: auto;
    gap: 14px;
    align-items: center;
    margin: 0;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid #E8E8E8;
    border-radius: 0 !important;
    background: transparent;
}

.bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-item:first-child {
    border-top: 1px solid #E8E8E8;
}

.bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-preview {
    display: block;
    width: 118px;
    height: 82px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0 !important;
    background: #F5F5F5;
}

.bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-preview img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
}

.bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
    margin: 0;
}

.bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-meta > div {
    display: block;
    padding: 0;
    border: 0;
}

.bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-meta dt,
.bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-meta dd {
    display: inline;
    margin: 0;
}

.bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-number dt {
    font-size: 11px;
}

.bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-number dd {
    margin-left: 5px;
}

.bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-filename dd,
.bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-size dd {
    display: block;
    overflow-wrap: anywhere;
}

.bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-filename dt,
.bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-size dt {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.bb-page.bb-account-page .bbp-artwork-page .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-view {
    display: none;
}

.bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-replace,
.bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-remove {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #BD3418;
    border-radius: 0 !important;
    background: #FFFFFF;
    color: #BD3418;
    cursor: pointer;
}

.bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-replace:hover,
.bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-remove:hover,
.bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-replace:focus-within,
.bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-remove:focus-within {
    background: #BD3418;
    color: #FFFFFF;
}

.bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-replace svg,
.bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-remove svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-file-input,
.bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-remove input {
    position: absolute !important;
    width: 1px !important;
    min-width: 1px !important;
    max-width: 1px !important;
    height: 1px !important;
    min-height: 1px !important;
    max-height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-remove:has(input:checked) {
    background: #BD3418;
    color: #FFFFFF;
}

.bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-item.is-pending-replacement .bbp-self-service__image-replace,
.bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-item.is-pending-removal .bbp-self-service__image-remove {
    background: #BD3418;
    color: #FFFFFF;
}

.bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-item.is-pending-removal .bbp-self-service__image-preview img {
    opacity: 0.28;
    filter: grayscale(1);
}

.bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-pending {
    grid-column: 1 / -1;
    display: block;
    width: 100%;
    margin: 0;
    padding: 9px 12px;
    border: 0;
    border-left: 4px solid #BD3418;
    border-radius: 0 !important;
    background: #FFF4F1;
    color: #33130D;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-pending[data-state="removal"] {
    background: #F2F2F2;
    color: #222222;
}

.bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-pending[hidden] {
    display: none !important;
}

.bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-add,
.bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-add input,
.bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-add input[type="file"]::file-selector-button {
    border-radius: 0 !important;
}

@media (max-width: 620px) {
    .bb-page.bb-account-page .bbp-artwork-page .bbp-artwork-detail__header {
        gap: 5px 8px;
        padding: 13px 14px;
    }

    .bb-page.bb-account-page .bbp-artwork-page .bbp-artwork-detail__header h2 {
        font-size: clamp(20px, 5.8vw, 22px);
        line-height: 1.17;
    }

    .bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__images {
        padding: 16px;
    }

    .bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-item {
        grid-template-columns: 86px minmax(0, 1fr) auto;
        gap: 10px;
        padding: 10px 0;
    }

    .bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-preview {
        width: 86px;
        height: 66px;
    }

    .bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-actions {
        flex-direction: column;
        gap: 6px;
    }

    .bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-replace,
    .bb-page.bb-account-page .bbp-artwork-page .bbp-self-service__image-remove {
        width: 34px;
        height: 34px;
    }
}
