/* Custom overrides for Krajee bootstrap-fileinput.
   Keep the vendor file (lib/bootstrap-fileinput/css/fileinput.min.css) pristine so
   LibMan restores don't overwrite these tweaks. Loaded immediately after the vendor
   CSS in BundleConfig so equal-specificity rules win by source order. */

/* Let the preview frame shrink to the thumbnail's actual width instead of the fixed
   213px, which otherwise leaves empty space around portrait/PDF documents.
   Height is intentionally left untouched to keep row heights consistent.
   Note: the full-render PDF rule (.kv-file-content.kv-pdf-rendered { width:400px })
   has higher specificity and is unaffected. */
.krajee-default.file-preview-frame .kv-file-content {
    width: auto;
}
