/* TT_STOCKTAKE_GLOBAL_CLASS_OVERRIDE_V1 */

html body .stocktake-screen-v2,
html body .stocktake-screen-v2 *{
  font-family: Arial, "Segoe UI", sans-serif !important;
  box-sizing: border-box !important;
  letter-spacing: 0 !important;
}

html body .stocktake-screen-v2{
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 315px !important;
  height: calc(100vh - 92px) !important;
  max-height: calc(100vh - 92px) !important;
  overflow: hidden !important;
  background: #fff !important;
  color: #1f2937 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
}

html body .stocktake-left-v2{
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  background: #fff !important;
}

/* Header */
html body .stocktake-title-v2{
  height: 46px !important;
  min-height: 46px !important;
  padding: 7px 12px !important;
  gap: 9px !important;
  border-bottom: 1px solid #d7e1ee !important;
  background: #fff !important;
}

html body .stocktake-title-v2 h2{
  margin: 0 !important;
  font-size: 19px !important;
  font-weight: 500 !important;
  line-height: 1.1 !important;
  color: #111827 !important;
}

html body .stocktake-title-v2 button[data-stocktake-back]{
  width: 30px !important;
  min-width: 30px !important;
  height: 30px !important;
  border: 1px solid #c8d6e6 !important;
  border-radius: 4px !important;
  background: #fff !important;
  color: #111827 !important;
  font-size: 15px !important;
  font-weight: 400 !important;
}

/* Search */
html body .stocktake-search-v2{
  height: 32px !important;
  max-width: 480px !important;
  border: 1px solid #1a73e8 !important;
  border-radius: 4px !important;
  background: #fff !important;
  box-shadow: none !important;
}

html body .stocktake-search-v2 input{
  height: 30px !important;
  min-height: 30px !important;
  padding: 0 9px !important;
  border: 0 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #243044 !important;
}

html body .stocktake-search-v2 input::placeholder{
  color: #7b8ca3 !important;
  font-weight: 400 !important;
}

html body .stocktake-search-v2 button,
html body [data-stocktake-add-first]{
  height: 30px !important;
  min-height: 30px !important;
  min-width: 34px !important;
  border: 0 !important;
  border-left: 1px solid #d7e1ee !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #111827 !important;
  font-size: 15px !important;
  font-weight: 400 !important;
}

/* Tabs */
html body .stocktake-tabs-v2{
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 12px !important;
  gap: 16px !important;
  border-bottom: 1px solid #d7e1ee !important;
  background: #fff !important;
}

html body .stocktake-tabs-v2 button{
  height: 36px !important;
  padding: 0 2px !important;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #52657d !important;
  font-size: 13px !important;
  font-weight: 400 !important;
}

html body .stocktake-tabs-v2 button.active{
  color: #0b74de !important;
  font-weight: 500 !important;
  border-bottom-color: #0b74de !important;
}

/* Table */
html body .stocktake-table-v2{
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow: auto !important;
  border: 0 !important;
  border-top: 1px solid #d7e1ee !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

html body .stocktake-head-v2{
  height: 34px !important;
  min-height: 34px !important;
  background: #eef6ff !important;
  border-bottom: 1px solid #d7e1ee !important;
}

html body .stocktake-head-v2 span{
  display: flex !important;
  align-items: center !important;
  padding: 0 9px !important;
  color: #334155 !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
}

html body .stocktake-row-v2{
  height: 38px !important;
  min-height: 38px !important;
  border-bottom: 1px solid #e5edf6 !important;
  background: #fff !important;
}

html body .stocktake-row-v2 span{
  display: flex !important;
  align-items: center !important;
  padding: 0 9px !important;
  color: #1f2937 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
}

html body .stocktake-row-v2 b,
html body .stocktake-row-v2 strong{
  color: #111827 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

/* Empty */
html body .stocktake-empty-v2{
  min-height: 170px !important;
  padding-top: 48px !important;
  color: #66758a !important;
  font-size: 13px !important;
  font-weight: 400 !important;
}

html body .stocktake-empty-v2 b{
  display: block !important;
  margin-bottom: 6px !important;
  color: #1f2937 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
}

html body .stocktake-empty-v2 p{
  color: #66758a !important;
  font-size: 13px !important;
  font-weight: 400 !important;
}

/* Sidebar */
html body .stocktake-side-v2{
  width: 315px !important;
  min-width: 315px !important;
  height: 100% !important;
  overflow: auto !important;
  padding: 10px 12px !important;
  border-left: 1px solid #d7e1ee !important;
  background: #f7f9fc !important;
  color: #1f2937 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
}

html body .stocktake-side-v2 > *{
  margin-bottom: 8px !important;
}

html body .stocktake-side-v2 label,
html body .stocktake-side-v2 h3,
html body .stocktake-side-v2 b,
html body .stocktake-status-v2{
  color: #1f2937 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
}

html body .stocktake-number-v2{
  color: #111827 !important;
  font-size: 18px !important;
  font-weight: 500 !important;
}

html body .stocktake-side-v2 input{
  width: 100% !important;
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 9px !important;
  border: 1px solid #c8d6e6 !important;
  border-radius: 4px !important;
  background: #fff !important;
  color: #1f2937 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
}

html body .stocktake-side-v2 textarea{
  width: 100% !important;
  min-height: 62px !important;
  max-height: 76px !important;
  padding: 7px 9px !important;
  border: 1px solid #c8d6e6 !important;
  border-radius: 4px !important;
  background: #fff !important;
  resize: vertical !important;
  color: #1f2937 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
}

html body .stocktake-recent-v2{
  min-height: 88px !important;
  border: 1px solid #d7e1ee !important;
  border-radius: 4px !important;
  background: #fff !important;
  overflow: hidden !important;
}

html body .stocktake-recent-v2 h3{
  margin: 0 !important;
  padding: 7px 9px !important;
  background: #eaf4ff !important;
  border-bottom: 1px solid #d7e1ee !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

html body .stocktake-recent-v2 p{
  margin: 8px 9px !important;
  color: #66758a !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
}

html body .stocktake-side-v2 button{
  position: static !important;
  width: 100% !important;
  height: 38px !important;
  min-height: 38px !important;
  margin-top: 7px !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}
