﻿.debug {
  display: none !important;
}

.sticky th {
  position: -webkit-sticky;
  position: sticky;
  top: 50px;
  background: #f9f9f9;
  border-bottom: 1px solid rgba(128, 128, 128, 0.5);
  color: black;
}

/**/
body {
  background-color: #f2f0ef;
}

.scrollable-table-container {
    max-height: 400px; /* Set scrollable height */
    overflow-y: auto; /* Enable vertical scrolling */
}

/* 1. Container that allows the table to be wider than the screen */
.report-scroll-wrapper {
    width: 100%;
    overflow-x: auto !important;
    overflow-y: hidden;
    border: 1px solid #ddd;
    margin-top: 20px;
    background: #fff;
    min-height:300px;
}

/* 2. Force table to use full content width to prevent squashing */
.cancellations-table {
    width: max-content !important;
    min-width: 100%;
    border-collapse: collapse !important;
    margin-bottom: 0 !important;
}

    /* 3. Headers: No wrapping, clean padding */
    .cancellations-table th {
        background-color: #f8f9fa !important;
        white-space: nowrap !important;
        padding: 12px 20px !important;
        font-weight: bold;
        border: 1px solid #ddd !important;
        text-align: left;
    }

    /* 4. Cells: Normal line height, no squishing */
    .cancellations-table td {
        padding: 10px 15px !important;
        line-height: 1.4 !important; /* Fixed the 50px issue */
        white-space: nowrap;
        vertical-align: middle !important;
        border: 1px solid #ddd !important;
    }

/* 5. Specific text-heavy columns allowed to wrap */
.cell-wrap {
    white-space: normal !important;
    min-width: 250px;
    max-width: 400px;
}

/* Colors and Grouping */
.green-ecomm-row {
    background-color: #c9d648 !important;
}

.yellow-subscription-row {
    background-color: #c9d648 !important;
}

.light-grey-row {
    background-color:grey;
}


.sticky thead th {
    position: sticky;
    top: 0;
    z-index: 10;
}

.scrollable-table-container table thead th {
    position: sticky;
    top: 0;
    background: white; /* Prevents transparency when scrolling */
    z-index: 5; /* Keeps header above table rows */
    border-bottom: 2px solid #ddd;
}

table {
  background-color: white;
}

.variant-item {
    border: 1px solid #ccc; /* Light grey border */
    padding: 10px; /* Inner spacing */
    margin-bottom: 12px; /* Space between items */
    border-radius: 6px; /* Rounded corners */
    background-color: #fdfdfd; /* Subtle background */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); /* Optional shadow for depth */
}

.remove-batches-input {
  max-width: 40%;
}
.account-panel-styling {
    font-size: 18px;
    background-color: #f5f5f5;
    margin: -15px;
    border: 1px solid #ddd;
}

.display-contents {
    display:contents;
}

.account-panel-styling-failed-payment {
    font-size: 18px;
    background-color: #a94442;
    margin: -15px;
    border: 1px solid #ddd;
    color:white
}

.green-ecomm-row {
  background-color: green !important;
  color: white;
}

.green-ecomm-row:hover {
  background-color: #076407 !important;
}

.green-ecomm-row a {
  color: white;
}

.yellow-subscription-row {
  background-color: #c1c732 !important;
  color: white;
}

.yellow-subscription-row:hover {
  background-color: #828722 !important;
}

.yellow-subscription-row a {
  color: white;
}

.black {
  color: black !important;
}

.greenStatus {
  color: green;
}

.redStatus {
  color: red;
}

.amberStatus {
  color: #ffbf00;
}

.list-format > option {
  font-weight: bold;
}

.bold-text {
  font-weight: bold;
}

.product-batchcode-box {
  background-color: transparent !important;
  border-radius: 25px;
  border: 3px;
}

table tr td, table th {
  padding: 10px;
}

thead td {
  font-weight: bold;
}

.details-panel-contentful {
  background-color: #F2F0EF;
  border-radius: 0.5em;
  margin-top: 50px;
}
.details-panel-contentful div {
  display: inline-block;
  /*padding: 10px;*/
}
.details-panel-contentful .form-label {
  font-weight: bold;
}
.details-panel-contentful convert to css .value {
  margin-right: 50px;
}

.contentful-product-details-panel {
  margin-top: 50px;
  background-color: white;
}

.details-panel {
  background-color: white;
  border-radius: 0.5em;
  padding: 10px;
}
.details-panel div {
  display: inline-block;
  /*padding: 10px;*/
}
.details-panel .form-label {
  font-weight: bold;
}
.details-panel .value {
  margin-right: 50px;
}
.details-panel-drop {
  background-color: white;
  border-radius: 0.5em;
  padding: 10px;
  -webkit-box-shadow: 2px 4px 16px -2px rgba(186, 177, 186, 0.59);
  -moz-box-shadow: 2px 4px 16px -2px rgba(186, 177, 186, 0.59);
  box-shadow: 2px 4px 16px -2px rgba(186, 177, 186, 0.59);
  padding: 20px;
}
.details-panel-drop div {
  display: inline-block;
  /*padding: 10px;*/
}
.details-panel-drop .form-label {
  font-weight: bold;
}
.details-panel-drop .value {
  margin-right: 50px;
}

.details-panel-insert {
  padding: 20px;
  background-color: #f7f4f4;
  border-radius: 0.5em;
}

.table-100 {
  width: 100%;
}

select {
  min-width: 200px;
}

.w-100pc {
  width: 100% !important;
}

.d-none {
  display: none !important;
}

.pause-form {
  display: inline;
  margin-right: 5px;
}

#login-page {
  margin-left: 100px;
}

#order-details .d-block {
  display: block !important;
}
#order-details .d-none {
  display: none !important;
}

#pending-dispatch input[type=checkbox] {
  width: 1.4em;
  height: 1.4em;
}
#pending-dispatch .filter-dropdown {
  display: inline-block;
}
#pending-dispatch .input-w200 {
  width: 200px;
}
#pending-dispatch .w-min-100 {
  min-width: 100px;
}
#pending-dispatch .w-min-300 {
  min-width: 300px;
}

#batch-details .div-inline {
  display: inline-block;
}
#batch-details #shipmentRemoved {
  color: red;
  font-weight: bold;
}

#print-labels table {
  min-width: 800px;
}

#full-order-details table#order-details-summary {
  margin-bottom: 0px;
}
#full-order-details table, #full-order-details tr {
  width: 100%;
  border: 2px dotted #e8e8e8;
}
#full-order-details table th, #full-order-details tr th {
  background-color: #afafaf;
  color: white;
}

#batch-details input {
  max-width: 100%;
}
#batch-details div#batchScanModal {
  margin-top: 20%;
}
#batch-details div#batchScanModal .modal-dialog div.modal-content {
  background-color: #f2f0ef;
}
#batch-details tr.order-item-freegift {
  color: red;
  font-weight: bold;
}
#batch-details tr.highlight {
  background-color: #b9d9f7;
}
#batch-details .blob {
  background: black;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgb(0, 0, 0);
  margin: 10px;
  height: 20px;
  width: 20px;
  transform: scale(1);
  animation: pulse-black 2s infinite;
}
#batch-details .blob-small {
  height: 10px;
  width: 10px;
  transform: scale(1);
}
#batch-details .blob.red {
  background: rgb(255, 82, 82);
  box-shadow: 0 0 0 0 rgb(255, 82, 82);
  animation: pulse-red 1.5s infinite;
}
@keyframes pulse-red {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.7);
  }
  70% {
    transform: scale(1.3);
    box-shadow: 0 0 0 10px rgba(255, 82, 82, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 82, 82, 0);
  }
}
#batch-details div.multi-pack {
  background-color: #0099ff;
  padding: 5px;
  color: white;
  border-radius: 0.2em;
  font-weight: bold;
  font-size: 1.5em;
}
#batch-details div.single-pack {
  background-color: #ff9900;
  padding: 5px;
  color: white;
  border-radius: 0.2em;
  font-weight: bold;
  font-size: 1.5em;
}
#batch-details div.supplementary-pack {
  background-color: #66CDAA;
  padding: 5px;
  color: white;
  border-radius: 0.2em;
  font-weight: bold;
  font-size: 1.5em;
}
#batch-details div.bom-kit {
  background-color: #bd1343;
  padding: 5px;
  color: white;
  border-radius: 0.2em;
  font-weight: bold;
  font-size: 1.5em;
}
#batch-details .multi-pack {
  border-left: solid 8px #0099ff;
}
#batch-details .single-pack {
  border-left: solid 8px #ff9900;
}
#batch-details .supplementary-pack {
  border-left: solid 8px #66CDAA;
}
#batch-details .bom-kit {
  border-left: solid 8px #bd1343;
}
#batch-details div.pack-scanned {
  color: black;
  background-color: #f2f0ef;
}

clicked {
  background-color: red;
}

.details-panel table tr td {
  vertical-align: middle;
}

.pack-header {
  width: 100%;
}
.pack-header span.pack-title {
  font-size: 18px;
}
.pack-header .pet-button {
  font-size: 22px;
  font-weight: bold;
  width: 100%;
  max-width: 100%;
}
.pack-header .pack-button {
  width: 100%;
  max-width: 100%;
}

#customer-search tr.success {
  background-color: #dff0d8;
}
#customer-search input[type=checkbox] {
  width: 20px;
  height: 20px;
}
#customer-search table td {
  vertical-align: middle;
}
#customer-search table, #customer-search input {
  width: 100%;
}

#order-search .col-md-2 {
  padding: 10px;
}
#order-search div.detail-label, #order-search div.detail-value {
  background-color: white;
}

#resumed-cancellations thead {
  background-color: #6c757d;
  color: white;
}
#resumed-cancellations thead td {
  border-collapse: collapse;
  border: 0px;
}

section #order-details .customer-header {
  font-size: 30px;
  text-align: center;
}
section #order-details .customer-status {
  font-size: 30px;
  text-align: center;
}
section #order-details .customer-details {
  text-align: center;
  font-size: 20px;
}
section #order-details .customer-copy {
  text-align: center;
  font-size: 16px;
}
section #order-details .header-button {
  background-color: #777;
  color: white;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 24px;
  font-weight: bold;
}
section #order-details .header-button:hover {
  background-color: #555;
}
section #order-details .content {
  padding: 0 18px;
  display: none;
  overflow: hidden;
  background-color: #f1f1f1;
}
section #order-details .btn-lg {
  min-width: 400px;
}

.customer-details-panel {
  background-color: white;
  -webkit-box-shadow: 2px 4px 16px -2px rgba(186, 177, 186, 0.59);
  -moz-box-shadow: 2px 4px 16px -2px rgba(186, 177, 186, 0.59);
  box-shadow: 2px 4px 16px -2px rgba(186, 177, 186, 0.59);
  padding: 20px;
}
.customer-details-panel dev {
  padding: 5px;
}

section #coupon-details {
  color: #716f6f;
}
section #coupon-details h4 {
  display: inline-block;
}
section #coupon-details .bold {
  font-weight: bold;
}
section #coupon-details a {
  font-size: 1.2em;
  font-weight: bold;
}
section #coupon-details a#selectAll {
  cursor: pointer;
  color: #5CB85C;
}
section #coupon-details .details-panel {
  -webkit-box-shadow: 2px 4px 16px -2px rgba(186, 177, 186, 0.59);
  -moz-box-shadow: 2px 4px 16px -2px rgba(186, 177, 186, 0.59);
  box-shadow: 2px 4px 16px -2px rgba(186, 177, 186, 0.59);
  padding: 20px;
}
section #coupon-details .details-panel dev {
  padding: 5px;
}
section #coupon-details .d-none {
  display: none;
}
section #coupon-details h3 {
  font-weight: bold;
}
section #coupon-details span.coupon-code {
  font-size: 0.8em;
  font-weight: normal;
}
section #coupon-details div.label-text {
  font-weight: bold;
  width: 60%;
  padding-top: 10px;
}
section #coupon-details #btnUpdateProducts, section #coupon-details #btnCancel, section #coupon-details #btnUpdate {
  float: right;
  width: 25%;
  margin: 5px;
}
section #coupon-details img {
  max-height: 20px;
  max-width: 20px;
}

section #coupon-management .no-wrap {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
section #coupon-management .d-none {
  display: none;
}
section #coupon-management .bg-contest {
  background-color: #ccd0d1;
}
section #coupon-management .bg-discount {
  background-color: #eaeced;
}
section #coupon-management img {
  max-height: 20px;
  max-width: 20px;
  outline: double;
  outline-width: 1px;
  outline-color: #1ab81a;
}
section #coupon-management input[type=checkbox] {
  width: 30px;
  height: 30px;
  background: white;
  border-radius: 5px;
  border-color: white;
}
section #coupon-management input[type=checkbox]:focus {
  outline: 0px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
section #coupon-management input[type=checkbox]:checked {
  background-image: url("../Content/Images/TickWhiteOnGreen.png");
  background-size: 28px;
  border-color: white;
}

section #monthlyRewards a.condition-count, section #productLogicTool a.condition-count {
  font-size: 1.5em;
  text-decoration: wavy;
  font-weight: bold;
  text-align: center;
}
section #monthlyRewards .details-panel, section #productLogicTool .details-panel {
  -webkit-box-shadow: 2px 4px 16px -2px rgba(186, 177, 186, 0.59);
  -moz-box-shadow: 2px 4px 16px -2px rgba(186, 177, 186, 0.59);
  box-shadow: 2px 4px 16px -2px rgba(186, 177, 186, 0.59);
  padding: 20px;
}
section #monthlyRewards img, section #productLogicTool img {
  max-height: 20px;
  max-width: 20px;
}
section #monthlyRewards input[type=checkbox], section #productLogicTool input[type=checkbox] {
  width: 1.8em;
}

section #monthlyRewardConditions .details-panel {
  -webkit-box-shadow: 2px 4px 16px -2px rgba(186, 177, 186, 0.59);
  -moz-box-shadow: 2px 4px 16px -2px rgba(186, 177, 186, 0.59);
  box-shadow: 2px 4px 16px -2px rgba(186, 177, 186, 0.59);
  padding: 20px;
}
section #monthlyRewardConditions img {
  max-height: 20px;
  max-width: 20px;
}

section #insertExludedProducts .details-panel {
  -webkit-box-shadow: 2px 4px 16px -2px rgba(186, 177, 186, 0.59);
  -moz-box-shadow: 2px 4px 16px -2px rgba(186, 177, 186, 0.59);
  box-shadow: 2px 4px 16px -2px rgba(186, 177, 186, 0.59);
  padding: 20px;
}
section #insertExludedProducts img {
  max-height: 20px;
  max-width: 20px;
}

#bomManagement .row {
  margin: 2px;
}
#bomManagement #btnCancel, #bomManagement #btnCreate {
  padding: 10px;
  padding-left: 20px;
  padding-right: 20px;
  width: 100px;
}
#bomManagement div.kit-inputs {
  background-color: #f2f0ef;
  vertical-align: top;
  padding: 30px;
  border-radius: 5px;
}

.bg-success-double {
  background-color: #52a85f;
}

div.validation-error {
  display: inline;
  padding-left: 30px;
}

.validation-error {
  color: darkred;
  font-size: 1.5em;
}

.modal {
  box-shadow: 200px 200px 400px 200px rgba(0, 0, 0, 0.59) inset;
  -webkit-box-shadow: 200px 200px 400px 200px rgba(0, 0, 0, 0.59) inset;
  -moz-box-shadow: 200px 200px 400px 200px rgba(0, 0, 0, 0.59) inset;
}

.modal-header {
  background-color: #FF585D;
}
.modal-header h4 {
  font-weight: bold;
  color: white;
}

.modal-footer {
  background-color: #e8e6e1;
  text-align: center;
  padding: 15px;
}
.modal-footer button {
  min-width: 100px;
}

.darken-bg {
  filter: blur(10px);
}

#btnAdd {
  padding: 10px;
  padding-left: 20px;
  padding-right: 20px;
  width: 180px;
}

#add-upsell div {
  padding: 10px;
}

#add-upsell div.input-field {
  margin: 2px;
  float: left;
  width: 65%;
  padding: 2px;
}

#add-upsell div.label-field {
  float: left;
  width: 30%;
}

#edit-upsell div {
  padding: 10px;
}

#edit-upsell div.input-field {
  margin: 2px;
  float: left;
  width: 65%;
  padding: 2px;
}

#edit-upsell div.label-field {
  float: left;
  width: 30%;
}

.added-item {
  background-color: #5cb85c;
}

#edit-upsell {
  width: 100%;
  background-color: gainsboro;
  border-radius: 10px;
  padding: 20px;
}

div.button-container {
  width: 100%;
  align-items: center;
  text-align: center;
}

span#new-order {
  color: red;
  font-weight: bold;
  animation: blinker 1s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}
h3.process-batch {
  display: inline-block;
}

#processBatch {
  float: right;
}

#btnNextTen {
  display: inline-block;
  width: 60%;
}

#next-x {
  display: inline-block;
  font-weight: bold;
  width: 35%;
  font-size: 1.2em;
  float: right;
}

#btnNextTen {
  display: inline-block;
  width: 60%;
}

#next-x {
  display: inline-block;
  font-weight: bold;
  width: 35%;
  font-size: 1.2em;
  float: right;
}

section #productLogicTool {
  /*    #radio-dog, #radio-cat {
      margin-left: 20px;
  }*/
}
section #productLogicTool .element-space {
  padding: 8px;
}
section #productLogicTool .item-label {
  font-weight: bold;
  /*border-bottom: 1px dotted DarkGray;*/
  color: #757373;
}
section #productLogicTool .header-title {
  margin-left: -8px;
  font-size: 1.5em;
  font-weight: bold;
}
section #productLogicTool input[type=radio] {
  margin-right: 20px;
  margin-left: 10px;
}
section #productLogicTool input[type=checkbox] {
  zoom: 1.5;
  margin-top: 0px;
}
section #productLogicTool #pet-details-submit {
  margin: 0 auto;
  display: block;
  width: 60%;
}
section #productLogicTool .border-underscore {
  border-bottom: 1px dotted DarkGray;
}
section #productLogicTool .prod-title {
  background-color: #4e524f;
  padding: 5px;
  padding-left: 20px;
  color: white;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  font-weight: bold;
}
section #productLogicTool .prod-label {
  font-size: 1.3em;
  padding-left: 60px;
}
section #productLogicTool .float-right {
  float: right;
}
section #productLogicTool #table-conditions {
  font-size: 1.2em;
}
section #productLogicTool h1.modal-title {
  color: white;
}
section #productLogicTool #modal-header-conditions {
  background-color: darkgrey;
}
section #productLogicTool .hero-product {
  background-color: #59a859;
}
section #productLogicTool .hero-extra {
  background-color: #4d9998;
}
section #productLogicTool .hero-treat {
  background-color: #667ab3;
}
section #productLogicTool .wellness {
  background-color: #d169ab;
}
section #productLogicTool .food {
  background-color: #e35f59;
}
section #productLogicTool .upsell {
  background-color: #dea302;
}
section #productLogicTool .not-recommended {
  background-color: white;
  color: black !important;
}
section #productLogicTool .recommendation-level {
  padding: 5px;
  color: white;
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
  -webkit-box-shadow: 0px 8px 15px -6px rgba(0, 0, 0, 0.4);
  box-shadow: 0px 8px 15px -6px rgba(0, 0, 0, 0.4);
  /*        border: 1px solid #a6aba7;*/
}
section #productLogicTool .itch-logic {
  /*        border-left: 1px solid #a6aba7;
  border-right: 1px solid #a6aba7;*/
  padding: 5px;
  background-color: #e3e6e3;
}
section #productLogicTool .panel-recc {
  padding-left: 100px;
  padding-right: 100px;
  text-align: center;
}

section #promo-help-page .details-panel {
  -webkit-box-shadow: 2px 4px 16px -2px rgba(186, 177, 186, 0.59);
  -moz-box-shadow: 2px 4px 16px -2px rgba(186, 177, 186, 0.59);
  box-shadow: 2px 4px 16px -2px rgba(186, 177, 186, 0.59);
  padding: 20px;
}
section #promo-help-page p {
  padding-left: 20px;
  font-size: 1.2em;
}
section #promo-help-page h2 {
  color: darkgray;
  font-weight: bold;
  font-size: 24px;
}
section #promo-help-page img {
  -webkit-box-shadow: 2px 4px 16px -2px rgba(186, 177, 186, 0.59);
  -moz-box-shadow: 2px 4px 16px -2px rgba(186, 177, 186, 0.59);
  box-shadow: 2px 4px 16px -2px rgba(186, 177, 186, 0.59);
  padding: 20px;
}
section #promo-help-page tr.bg-info td {
  font-size: 1.2em;
  font-weight: bold;
}

section #box-type-report thead tr th {
  background-color: #337ab7;
  color: white;
}
section #box-type-report .details-panel {
  -webkit-box-shadow: 2px 4px 16px -2px rgba(186, 177, 186, 0.59);
  -moz-box-shadow: 2px 4px 16px -2px rgba(186, 177, 186, 0.59);
  box-shadow: 2px 4px 16px -2px rgba(186, 177, 186, 0.59);
  padding: 10px;
}
section #box-type-report table {
  width: 100%;
}
section #box-type-report input {
  min-width: 200px;
  margin-right: 50px;
  margin-left: 10px;
}

section#product-details tr.bg-info td {
  font-size: 1.2em;
  font-weight: bold;
}
section#product-details td.db-match {
  margin: auto;
}
section#product-details td.db-match img {
  width: 25px;
  height: 25px;
  margin: auto;
  display: block;
}
section#product-details td.db-match button {
  display: block;
  margin: auto;
}
section#product-details h4 {
  font-size: 1.25em;
  font-weight: bold;
}

section#awaiting-release .details-panel {
  -webkit-box-shadow: 2px 4px 16px -2px rgba(186, 177, 186, 0.59);
  -moz-box-shadow: 2px 4px 16px -2px rgba(186, 177, 186, 0.59);
  box-shadow: 2px 4px 16px -2px rgba(186, 177, 186, 0.59);
  padding: 20px;
  text-align: center;
}
section#awaiting-release #checkAll {
  float: left;
  width: auto;
  width: 30px;
  height: 30px;
  zoom: 1.25 !important;
}
section#awaiting-release span.select-label {
  margin-left: 20px;
  padding-top: 15px;
  vertical-align: middle;
}
section#awaiting-release .table-counts tr td {
  text-align: left;
  padding-left: 20px;
}
section#awaiting-release .table-counts tr th {
  background-color: darkgrey;
}

.btn-submit {
  max-width: 200px;
  float: left;
}

section#stock-details .modal-body div.row {
  padding: 10px;
}
section#stock-details table th {
  background-color: #FF585D;
  color: white;
  padding: 10px;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 1.25em;
}

#selectedProductIds {
  min-height: 800px;
  border-style: none;
  overflow-x: hidden;
  display: flex;
}
#selectedProductIds option {
  background-color: red;
  height: 30px;
  margin: auto;
  vertical-align: middle;
  padding-top: 7px;
}

section#address-details div.address-label {
  padding: 7px;
  font-weight: bold;
}

section#remove-pet div.label-reason {
  padding: 10px;
  font-weight: bold;
}
section#remove-pet .btn-div {
  width: 100%;
}
section#remove-pet .btn-div #removePet {
  min-width: 200px;
  margin-right: 50px;
  /*            display:block;
              margin: 0 auto;*/
}
section#remove-pet .btn-div #msg-select {
  font-size: 18px;
}
