.image-upload-native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.image-upload-control {
    display: grid;
    gap: 10px;
    margin-top: 8px;
}

.image-upload-dropzone {
    display: flex;
    min-height: 86px;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 1px dashed #a9c9b3;
    border-radius: 12px;
    background: #f7faf7;
    color: #233c31;
    text-align: left;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.image-upload-dropzone:hover,
.image-upload-dropzone.is-dragging {
    border-color: #247960;
    background: #edf6ef;
    box-shadow: 0 0 0 3px #24796018;
}

.image-upload-dropzone:focus-visible {
    outline: 3px solid #83bfa0;
    outline-offset: 3px;
}

.image-upload-icon {
    display: grid;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 12px;
    background: #e5f1e8;
    color: #247960;
    font-size: 23px;
}

.image-upload-dropzone > span:last-child {
    display: grid;
    gap: 4px;
}

.image-upload-dropzone strong {
    font-size: 12px;
    font-weight: 600;
}

.image-upload-dropzone small {
    color: #718279;
    font-size: 11px;
}

.image-upload-selected {
    display: flex;
    align-items: center;
    gap: 11px;
    width: fit-content;
    max-width: 100%;
    padding: 7px 9px;
    border: 1px solid #dce7df;
    border-radius: 12px;
    background: #f7faf7;
}

.image-upload-selected[hidden],
.image-upload-dropzone[hidden] {
    display: none;
}

.image-upload-selected img {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
}

.image-upload-filename {
    max-width: min(340px, 55vw);
    color: #536c60;
    font-size: 11px;
    overflow-wrap: anywhere;
}

.image-upload-remove {
    display: grid;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #e8efea;
    color: #456256;
    font-size: 19px;
    cursor: pointer;
}

.image-upload-remove:hover {
    background: #f5dfdc;
    color: #a33b3b;
}
