
/* file upload button */
input[type="file"]::file-selector-button {
    border-radius: 4px;
    padding: 0 16px;
    height: 30px;
    cursor: pointer;
    background-color: #D9D9D9;
    border: 0px solid rgba(0, 0, 0, 0.16);
    box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.05);
    margin-right: 16px;
    transition: background-color 200ms;
}

/* file upload button hover state */
input[type="file"]::file-selector-button:hover {
    background-color: #f3f4f6;
}

/* file upload button active state */
input[type="file"]::file-selector-button:active {
    background-color: #e5e7eb;
}

/* change file input text */
.form_img_field {
    cursor: pointer;
    width: 100%;
    position: relative;
}

.form_img_field::-webkit-file-upload-button {
    visibility: hidden;
}

.form_img_field::before {
    position: absolute;
    content: 'Chọn ảnh';
    display: inline-block;
    background: #D9D9D9;
    border: 0;
    border-radius: 8px;
    padding: 5px 8px;
    outline: none;
    white-space: nowrap;
    -webkit-user-select: none;
    cursor: pointer;
    min-width: 110px;
    text-align: center;
  }
    