.siganos_form {
  /* File upload container */
  .ginput_container_fileupload {
    position: relative;
    min-height: 58px;
    background-color: #f5f4f4;
    background-image: url(../images/icon-pdf.svg);
    background-repeat: no-repeat;
    background-position: center right 10px;
    background-size: auto 65%;
    overflow: hidden;
  }

  /* Hide the file input visually but keep it functional */
  input[type='file'] {
    margin-top: 0 !important;
    position: absolute;
    z-index: 222;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    top: 0;
    left: 0;
  }

  /* Filename - shown when file is selected */
  .ginput_container_fileupload .filename {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    padding: 19px 60px 19px 25px; /* Right padding for icon space */
    display: flex;
    align-items: center;
    line-height: 20px;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    pointer-events: none;
    z-index: 1;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
  }

  /* Hide filename when empty */
  .ginput_container_fileupload .filename:empty {
    display: none;
  }

  /* Max file size rules - shown when no file is selected */
  .gform_fileupload_rules {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    padding: 19px 60px 19px 25px; /* Right padding for icon space */
    display: flex;
    align-items: center;
    line-height: 20px;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    pointer-events: none;
    z-index: 1;
    margin: 0;
  }

  /* Hide max file size when filename is shown */
  .ginput_container_fileupload .filename:not(:empty) ~ .gform_fileupload_rules {
    display: none;
  }
}
