/* File upload control — layout only.
   ------------------------------------------------------------------
   The button text of a native <input type="file"> comes from the
   visitor's browser locale, which is the behaviour we want: an English
   browser shows "Choose File", a Chinese one shows 「选择文件」.
   So we deliberately do NOT replace or override that text — this file
   only makes the control sit flush with the surrounding fields. */

.gpi-field input[type="file"],
.gpi-contact-form input[type="file"] {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 44px;
    margin: 0 !important;
    padding: 9px 12px !important;
    border: 1px solid #8c9aa5 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #172b38 !important;
    font: 14px Arial, sans-serif !important;
    box-sizing: border-box;
    cursor: pointer;
}

.gpi-field input[type="file"]::file-selector-button,
.gpi-contact-form input[type="file"]::file-selector-button {
    min-height: 26px;
    margin: 0 12px 0 0;
    padding: 3px 14px;
    border: 1px solid #b8c6cf;
    border-radius: 2px;
    background: #f2f5f7;
    color: #243946;
    font: 13px Arial, sans-serif;
    cursor: pointer;
}

.gpi-field input[type="file"]::file-selector-button:hover,
.gpi-contact-form input[type="file"]::file-selector-button:hover {
    border-color: #0672ce;
    background: #eef6fa;
    color: #0672ce;
}
