title: File input field is not 100% active
body: <p>I have custom file attach field. It works fine but there's a little thing that needs to be fixed: the right side of the field is completely inactive. Also, if you move your cursor over top-left corner you can notice that this part is apparently active but CSS "cursor: pointer" option doesn't have an effect. Pretty sure I missed something simple, tell me please what is my mistake? Thank you in advance. <a href="https://jsfiddle.net/c7d6w0te/" rel="nofollow noreferrer">JSFiddle</a></p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,500&amp;subset=cyrillic');
  
  * {
    margin: 0;
    padding: 0;
  }
  
  body, html {
    height: 100%;
  }
  
  body {
    color: #fff;
    font-size: 18px;
    font-family: "Roboto";
    font-weight: 100;
    background: #333;
  }
  
  body a {
    color:#fff;
    text-decoration: none;
    outline: none;
  }
  
  #container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
  
  .file-area {
    width: 450px;
    box-sizing: border-box;
    position: relative;
  }
  .file-area input[type=file] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    cursor: pointer;
  }
  .file-area .file-dummy {
    width: 450px;
    padding: 30px;
    background: rgba(75, 58, 38, 0.3);
    border: 1px dashed rgba(255, 255, 255, 0.5);
    text-align: center;
    transition: background 0.3s ease-in-out;
  }
  .file-area .file-dummy .success {
    display: none;
  }
  .file-area:hover .file-dummy {
    background: rgba(255, 255, 255, 0.1);
  }
  .file-area input[type=file]:focus + .file-dummy {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline: -webkit-focus-ring-color auto 5px;
    outline: none;
  }
  .file-area input[type=file]:valid + .file-dummy {
    border-color: rgba(0, 255, 0, 0.4);
    background-color: rgba(0, 255, 0, 0.2);
  }
  .file-area input[type=file]:valid + .file-dummy .success {
    display: inline-block;
  }
  .file-area input[type=file]:valid + .file-dummy .default {
    display: none;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="container"&gt;
    &lt;div class="file-area"&gt;  
      &lt;input type="file" name="files" id="files" required="required"/&gt;
      &lt;div class="file-dummy"&gt;
        &lt;span class="default"&gt;Choose files&lt;/span&gt;
        &lt;span class="success"&gt;Yahoo!&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>