.fileUploadRoot {
    position: relative;
    min-width: 0;
    max-width: 100%;
}

/*
 * Chakra FileUpload renders the native file input outside the visible
 * trigger. Keep it completely out of the layout/overflow calculations.
 */
.fileUploadRoot input[type="file"] {
    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;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}