﻿/* One native file-upload control for Studio forms and dynamically created dialogs. */
.studio-shell input[type=file]{box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:44px;height:auto;padding:4px!important;border:1px solid var(--studio-border,#d1d5db)!important;border-radius:8px!important;background-color:var(--studio-field,#f9fafb)!important;color:var(--studio-text,#172033)!important;font-family:inherit;font-size:14px!important;line-height:32px;cursor:pointer;overflow:hidden;text-overflow:ellipsis}
.studio-shell input[type=file]::file-selector-button{box-sizing:border-box;min-height:34px;margin:0 12px 0 0;padding:7px 14px;border:0;border-radius:4px;background:var(--studio-raised,#e5e7eb);color:var(--studio-text,#172033);font-family:inherit;font-size:14px;line-height:20px;font-weight:600;cursor:pointer;transition:background-color .15s}
.studio-shell input[type=file]:hover:not(:disabled)::file-selector-button{background:#d1d5db}
html[data-studio-theme=dark] .studio-shell input[type=file]:hover:not(:disabled)::file-selector-button{background:#2d405b}
.studio-shell input[type=file]:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}
.studio-shell input[type=file]:disabled{cursor:not-allowed;opacity:.6}.studio-shell input[type=file]:disabled::file-selector-button{cursor:not-allowed}
.studio-shell input[type=file][aria-invalid=true]{border-color:#ef4444!important}
html[data-studio-density=compact] .studio-shell input[type=file]{min-height:38px;padding:3px!important;line-height:28px}html[data-studio-density=compact] .studio-shell input[type=file]::file-selector-button{min-height:30px;padding:5px 12px}
@media(max-width:640px){.studio-shell input[type=file]{font-size:14px!important}.studio-shell input[type=file]::file-selector-button{margin-right:8px;padding-inline:12px}}
