@import "../../../utils/features.styl"

#acc-manage
  .mod-acc-head
    background #fff
    height 52px
    line-height 52px
    padding-left 16px
    border 1px solid #e7e7e8
    margin-bottom 10px
    color #5f5f64
    font-size 14px
    span
      &:last-child
        margin-left 21px

  .acc-manage-info
    background #fff
    border 1px solid #e7e7e8

    .title
      height 44px
      line-height 44px
      padding-left 16px
      border-bottom 1px solid #f2f2f2
      color #5f5f64
      font-size 14px

    .info
      font-size 12px

      .switch-user
        padding 20px 16px
        color #969696

        .company
        .personal
          display inline-block
          border 1px solid #f2f2f2
          border-radius 5px
          width 220px
          padding 10px
          margin-right 17px
          overflow hidden
          cursor pointer

          .icon
            float left
            margin-right 10px

          .info
            overflow hidden
            h3
              font-size 14px
              color #5f5f64
              margin-bottom 10px
            p
              word-break break-word

        .company
          .icon
            background url( 'images/company.png' ) no-repeat
            width image-width( 'images/company.png' )
            height image-height( 'images/company.png' )
        .personal
          .icon
            background url( 'images/personal.png' ) no-repeat
            width image-width( 'images/personal.png' )
            height image-height( 'images/personal.png' )

        .active
          position relative
          border 2px solid #22bb9a
          span
            position absolute
            background url( 'images/curr.png' ) no-repeat
            width image-width( 'images/curr.png' )
            height image-height( 'images/curr.png' )
            right 0
            bottom 0

    .base-info
      margin 0 16px

    .base-info
    .company-info
      position relative
      border-top 1px solid #f2f2f2

      h3
        position absolute
        background #fff
        top -9px
        left 0
        width 72px
        font-size 12px
        color #5f5f64

      form
        margin-left 85px
        padding 20px 0 0
        color #999c9e

        li
          margin-bottom 20px
          &:last-child
            margin-bottom 0
          .select
            display inline-block
            width 144px
            margin-right 8px
            margin-left 3px
            vertical-align middle
            &:last-child
              margin-right 0
              margin-left 0
          span
            display inline-block
            margin-right 20px
            width 100px
            text-align right
            vertical-align middle
          input
            background #f5f5f5
            border 1px solid #e7eaec
            width 298px
            height 26px
            line-height 26px
            padding 0 10px
          select
            display none

    .submit-cancel
      background #f5f5f5
      height 60px
      line-height 60px
      margin-top 40px
      text-align center

      .submit
      .cancel
        display inline-block
        width 107px
        height 38px
        line-height 38px
        border-radius 5px
        font-size 14px
        text-align center

      .submit
        background #22bb9a
        border 1px solid #1fb191
        margin-right 20px
        color #fff
        &:hover
          background #1a856e

      .cancel
        background #fff
        border 1px solid #e7eaec
        color #5f5f64
        &:hover
          background #d9d9d9

    .company-info
      margin-top 20px
      li
        .vat
          vertical-align top
        .date
          position relative
          background url( 'images/date-down.png' ) 160px center no-repeat
          display inline-block
          border 1px solid #e7eaec
          width 144px
          height 26px
          line-height 26px
          padding-left 30px
          border-radius 5px

          input[name=daterange]
            position: absolute
            right: 0
            bottom: 0
            width: 0
            height: 0
            border 0
            
          span
            vertical-align initial
            
          em
            position absolute
            background url( 'images/icon-date.png' ) no-repeat
            width image-width( 'images/icon-date.png' )
            height image-height( 'images/icon-date.png' )
            left 10px
            top 50%
            margin-top -7px
            margin-left 0
          span
            display inline
        .img
          position relative
          background #f5f5f5
          display inline-block
          width 320px
          height 150px

          input[type=file]
            position: absolute
            left 50%
            top 50%
            margin-left -44px
            margin-top -13px
            padding: 0
            width: 86px
            opacity: 0
            cursor: pointer

          img
            width 320px
            height 150px

          a
            position absolute
            background #fff
            left 50%
            top 50%
            margin-left -44px
            margin-top -13px
            width 88px
            height 26px
            border-radius 5px
            line-height 26px
            border 1px solid #e7eaec
            color #69696e
            text-align center
            font-size 12px
            &:hover
              background #d9d9d9
        em
          display block
          width 320px
          margin-left 126px
          margin-top 5px
