:root {
  --price-table-highlight-color: #e9e9e9;
}

/* when ObjectPageDynamicHeaderTitle is empty, we want to reduce its height */
.header-height-fixer {
  padding: 0 !important;
  min-height: 1rem !important;
}

.sapUiTableHeaderRow {
  background-color: var(--price-table-highlight-color) !important;
  /* background-color: #e31e251f; */
}

.sapUiTableHeaderCell:not(.sapUiTableRowActionHeaderCell):hover {
  background-color: var(--price-table-highlight-color) !important;
}

.sapUiTableHeaderRow {
  background-color: var(--price-table-highlight-color) !important;
  /* background-color: #e31e251f; */
}

.sapUiTableCellFirst {
  background-color: var(--price-table-highlight-color) !important;
}

.bold-currency-md {
  font-size: 1.2em !important;
  font-weight: 500 !important;
}

.yellowBackground {
  background-color: #feed00 !important;
}

.sapMGTHdrContent .sapMTextLineClamp {
  color: black !important;
  font-weight: 400 !important;
  font-size: 1.2rem;
}

.sapMGTHdrIconImage {
  color: black !important;
}

.sapMTileCntFtrTxt {
  color: #e31e25 !important;
}

.redBackround {
  background-color: #e31e25 !important;
}

.blackBackround {
  background-color: #000000 !important;
}

.whiteBackround {
  background-color: #ffffff !important;
}

.whiteText,
.whiteText .sapMBtnDefault .sapMBtnIcon {
  color: white !important;
}

.blackText {
  color: black !important;
}

.ghostText {
  color: #c1c1c1 !important;
}

.footerLogoText {
  font-size: 0.9rem !important;
}

.transparentBackground .sapMBtnEmphasized {
  background-color: transparent !important;
  border-color: transparent !important;
}

/*  */
/* Remove border radius from GenericTile elements */
.sapMGT,
.sapMGTFocusDiv {
  border-radius: 2px !important;
  border-color: hsla(0, 0%, 0%, 0.15) !important;
  border-width: 1px !important;
  box-shadow: none !important;
}

.sapMGT .sapMGTHdrIconImage {
  font-size: 1.9rem !important;
}

/* form */
.sapUiFormResGrid,
.sapMInputBase,
.sapMInput,
.sapMInputBaseContentWrapper {
  border-radius: 2px !important;
}

.oneSpaceMarginLeft {
  margin-left: 0.3rem;
}

/* login form */
.loginButton .sapMBtnInner {
  border-radius: 2px !important;
  padding-block: 5px !important;
  height: fit-content !important;
}

.loginButton .sapMBtnInner {
  border-width: 0 !important;
  background-color: #e31e25 !important;
  color: white !important;
  font-size: 1rem !important;
}

.loginButton .sapMBtnIconRight {
  color: white !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
  border: 2px rgb(130, 130, 255) solid !important;
}

/* status */
.sapMObjStatusWarning .sapMObjStatusWrapper {
  background-color: rgb(231, 231, 0) !important;
  border-color: rgb(209, 209, 0) !important;
}

.sapMObjStatusWarning .sapMObjStatusText {
  color: black !important;
  font-weight: 400 !important;
}

.sapMLIBHighlightWarning {
  background-color: rgb(209, 209, 0) !important;
}

.sapMObjStatusIndication03 .sapMObjStatusWrapper {
  background-color: #fad6e8 !important;
  border-color: #f8c2de !important;
}

.sapMObjStatusIndication03 .sapMObjStatusText {
  color: #a00c0d !important;
  font-weight: 600 !important;
  text-shadow: none !important;
}

/* !printable media */
.print-page {
  padding-inline: 2rem !important;
}

.print-header {
  margin-top: 3rem !important;
}

.print-content {
  padding: 1rem !important;
}

.print-content-title {
  width: 100% !important;
  border-bottom: 1px rgb(255, 0, 0) solid !important;
  padding-bottom: 5px !important;
  margin-top: 2rem !important;
}

.print-content-row {
  padding-top: 10px !important;
  padding-inline: 1rem !important;
}

.print-content-row-m {
  padding-top: 10px !important;
  padding-inline: 2rem !important;

  page-break-inside: avoid !important;
  break-inside: avoid !important;
}

.print-page-break {
  page-break-before: always !important;
}

.sapMBar {
  background-color: #f5f6f7 !important;
}

@media print {
  .print-page {
    scrollbar-width: 0 !important;
  }

  .print-page::-webkit-scrollbar {
    display: none !important;
  }

  .no-print,
  .sapMPageHeader {
    display: none !important;
  }

  .sapMNavItem,
  .sapMPage,
  .sapMPage > section {
    position: static !important;
    height: auto !important;
    overflow: visible !important;
  }

  .sapMNav {
    height: auto !important;
    overflow: visible !important;
  }
}

.audit-log-item:not(:last-child) {
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 0.0625rem dashed #d9d9d9;
}

.work-order-price-table-inside-dialog {
  max-width: 50rem;
}

html.sap-desktop .sapMTBActive.sapMTBFocused,
html.sap-desktop .sapFDynamicPageTitle.sapFDynamicPageTitleFocus,
.sapUxAPObjectPageSubSection:focus,
*:focus {
  box-shadow: none !important;
  outline: none !important;
}
