#mobile_products_index,
#mobile_inventories_index,
#mobile_batches_index {
  .products {
    i.anticon-file {
      margin-top: 50px;
      font-size: 100px;
    }

    .product {
      overflow: hidden;
      border-bottom: 1px solid #f0f0f0;
      padding: 15px;

      .name {
        color: #2a2d30;
      }

      .number {
        float: left;
        color: #949da4;
      }

      .amount {
        float: right;
        color: #949da4;
      }
    }
  }
}

#mobile_products_show {
  .header {
    overflow: hidden;
    padding: 20px;

    .icon {
      border: solid #E4E4E4;
      border-width: 1px;
      float: left;
      margin: auto;
      width: 100%;
      height: 100%;

      img {
        display: block;
        margin: auto;
        width: 100%;
        height: 100%;
        max-width: 192px;
        max-height: 192px;
      }
    }

    .content {
      float: left;

      .detail {
        padding-top: 15px;
      }

      .name-with-number {
        margin-left: 20px;
      }
    }
  }

  .list {
    .total {
      background-color: #F2F2F2;
      padding: 10px 20px;
      border: 1px solid #E4E4E4;

      .name {
        float: left;
      }

      .value {
        float: right;
      }
    }

    .warehouses {
      .warehouse {
        padding: 20px;
        border: solid #E4E4E4;
        border-width: 0 1px 1px 1px;

        .name {
          float: left;
        }

        .amount {
          float: right;
        }
      }
    }
  }
}

#mobile_products_new,
#mobile_products_edit {
  .img-title {
    background-color: #F2F2F2;
    padding: 10px 20px;
  }

  .pic {
    margin: 10px;
    border: solid #E4E4E4 1px;
  }

  .anticon.anticon-eye-o {
    display: none !important;
  }

  .ant-upload-list-item-info:hover:before {
    opacity: 0;
  }

  .ant-upload-list-item-done,
  .ant-upload-select,
  .ant-upload-list-item-uploading {
    width: 128px;
    height: 128px;
    margin: 20px;
  }

  .ant-upload-select-picture-card i {
    font-size: 28px;
    color: #999;
  }

  .ant-upload-select-picture-card .ant-upload-text {
    margin-top: 8px;
    font-size: 14px;
    color: #666;
  }

  .ant-upload-list-item-uploading-text {
    text-align: center;
  }

  .upload {
    padding-bottom: 48px;

    .anticon.anticon-cross-circle {
      position: absolute;
      right: 0px;
      top: -8px;
      left: 90%;
      -webkit-transition: all 0.3s ease;
      transition: all 0.3s ease;
      cursor: pointer;
      font-size: 20px;
      width: 20px;
      line-height: 1;
      color: black;
      margin: 0px;
      padding: 0px;
    }
  }
}

.product-upload-item {
  width: 128px;
  height: 128px;
  margin: 20px;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #d9d9d9;
  position: relative;

  img {
    display: block;
    width: 100%;
    height: 100%;
  }

  button {
    position: absolute;
    right: -5px;
    top: -5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: black;
    border: none;
    color: white;
  }
}
