body.offers-promotions-page {
  background: #eef2f7;
  color: #18263a;
  font-size: 14px;
}

body.offers-promotions-page .content-wrapper {
  min-height: calc(100vh - 50px);
  background:
    radial-gradient(circle at 78% 2%, rgba(50, 133, 227, .06), transparent 33%),
    #f4f7fb;
}

.offers-promotions-heading {
  min-height: 70px;
  padding: 21px 24px 10px;
}

.offers-promotions-heading h1 {
  margin: 0;
  color: #172438;
  font-size: 25px;
  font-weight: 600;
}

.offers-promotions-heading h1 small {
  padding-left: 9px;
  color: #7a879a;
  font-size: 13px;
  font-weight: 400;
}

.offers-promotions-heading .breadcrumb {
  top: 25px;
  right: 24px;
  font-size: 12px;
}

.offers-promotions-content {
  position: relative;
  padding: 0 18px 24px;
}

.campaign-page-actions {
  display: flex;
  height: 48px;
  align-items: flex-start;
  justify-content: flex-end;
}

.campaign-create-button {
  min-height: 38px;
  padding: 9px 17px;
  border-color: #0875ce;
  border-radius: 3px;
  background: linear-gradient(#158adf, #0874ca);
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 3px 8px rgba(8, 116, 202, .18);
}

.campaign-create-button i {
  margin-right: 7px;
}

.campaign-summary-grid {
  display: grid;
  width: calc(100% - 350px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: -48px;
  margin-bottom: 16px;
  gap: 16px;
}

.campaign-summary-card {
  display: grid;
  min-height: 104px;
  grid-template-columns: 49px minmax(0, 1fr);
  align-items: center;
  padding: 16px 17px;
  border: 1px solid #dfe5ec;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(25, 50, 80, .04);
  gap: 11px;
  transform: translate3d(0, 0, 0);
  transform-origin: center bottom;
  transition:
    transform .24s cubic-bezier(.2, .75, .25, 1),
    border-color .24s ease,
    box-shadow .24s ease;
  will-change: transform;
}

.campaign-summary-card > i {
  font-size: 39px;
  text-align: center;
  transition: transform .24s cubic-bezier(.2, .75, .25, 1);
}

@media (hover: hover) and (pointer: fine) {
  .campaign-summary-card:hover {
    z-index: 2;
    border-color: #cbd8e6;
    box-shadow: 0 13px 26px rgba(27, 55, 88, .16);
  }

  .campaign-summary-card:nth-child(1):hover {
    transform: translate3d(-2px, -7px, 0) rotate(-.35deg) scale(1.012);
  }

  .campaign-summary-card:nth-child(2):hover {
    transform: translate3d(1px, -7px, 0) rotate(.3deg) scale(1.012);
  }

  .campaign-summary-card:nth-child(3):hover {
    transform: translate3d(-1px, -7px, 0) rotate(.3deg) scale(1.012);
  }

  .campaign-summary-card:nth-child(4):hover {
    transform: translate3d(2px, -7px, 0) rotate(-.35deg) scale(1.012);
  }

  .campaign-summary-card:hover > i {
    transform: translateY(-2px) rotate(-5deg) scale(1.08);
  }

  .campaign-summary-card:active {
    transform: translate3d(0, -2px, 0) scale(1.004);
    transition-duration: .09s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .campaign-summary-card,
  .campaign-summary-card > i {
    transition: none;
  }

  .campaign-summary-card:hover,
  .campaign-summary-card:hover > i {
    transform: none;
  }
}

.campaign-summary-card strong,
.campaign-summary-card span,
.campaign-summary-card small {
  display: block;
}

.campaign-summary-card strong {
  margin-bottom: 2px;
  font-size: 23px;
  line-height: 25px;
}

.campaign-summary-card span {
  color: #1d2b40;
  font-size: 14px;
  font-weight: 600;
}

.campaign-summary-card small {
  margin-top: 4px;
  color: #667489;
  font-size: 12px;
}

.campaign-summary-card.is-blue > i,
.campaign-summary-card.is-blue strong { color: #087ee3; }
.campaign-summary-card.is-green > i,
.campaign-summary-card.is-green strong { color: #08a64b; }
.campaign-summary-card.is-orange > i,
.campaign-summary-card.is-orange strong { color: #fa9200; }
.campaign-summary-card.is-purple > i,
.campaign-summary-card.is-purple strong { color: #843ee6; }

.campaign-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
  gap: 16px;
}

.campaign-main-panel,
.campaign-side-card {
  overflow: hidden;
  border: 1px solid #dfe5ec;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(25, 50, 80, .04);
}

.campaign-filters {
  display: grid;
  grid-template-columns: minmax(210px, 1.35fr) repeat(3, minmax(130px, .75fr)) 140px;
  align-items: end;
  min-height: 75px;
  padding: 12px 14px;
  border-bottom: 1px solid #e3e8ee;
  gap: 12px;
}

.campaign-filters label {
  margin: 0;
  color: #26354a;
  font-size: 13px;
  font-weight: 600;
}

.campaign-filters .form-control {
  height: 35px;
  margin-top: 5px;
  border-color: #ccd6e1;
  border-radius: 3px;
  color: #28384c;
  font-size: 13px;
}

.campaign-search {
  position: relative;
}

.campaign-search .form-control {
  height: 35px;
  padding-right: 34px;
}

.campaign-search > i {
  position: absolute;
  top: 11px;
  right: 12px;
  color: #34475d;
  font-size: 14px;
}

.campaign-advanced-filters {
  height: 35px;
  padding: 7px 10px;
  border-color: #d3dae3;
  color: #35465a;
  font-size: 12px;
}

.campaign-advanced-filters .fa-angle-down {
  margin-left: 6px;
}

.campaign-bulk-actions {
  display: flex;
  min-height: 54px;
  align-items: center;
  padding: 9px 14px;
  border-bottom: 1px solid #e3e8ee;
  gap: 10px;
}

.campaign-bulk-actions .btn {
  min-height: 34px;
  padding: 7px 13px;
  border: 0;
  border-radius: 3px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.campaign-bulk-actions .btn i {
  margin-right: 5px;
}

.campaign-export-excel { background: #0aa24b; }
.campaign-export-pdf { background: #087bd3; }
.campaign-send-email { background: #ff9800; }
.campaign-delete-selected { background: #e53636; }
.campaign-delete-selected[disabled] { opacity: .45; }

.campaign-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.campaign-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
}

.campaign-table th,
.campaign-table td {
  padding: 9px 8px;
  border-right: 1px solid #eef1f4;
  border-bottom: 1px solid #e6eaf0;
  color: #243348;
  font-size: 12px;
  vertical-align: middle;
}

.campaign-table th:last-child,
.campaign-table td:last-child {
  border-right: 0;
}

.campaign-table th {
  height: 42px;
  background: #fbfcfd;
  color: #172438;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.campaign-table th:first-child,
.campaign-table td:first-child {
  width: 38px;
  text-align: center;
}

.campaign-row:hover td {
  background: #f8fbff;
}

.campaign-row.is-filtered-out,
.campaign-row.is-page-hidden {
  display: none;
}

.campaign-product {
  display: grid;
  min-width: 150px;
  grid-template-columns: 31px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.campaign-product img {
  width: 26px;
  height: 42px;
  object-fit: contain;
}

.campaign-product strong,
.campaign-product small {
  display: block;
}

.campaign-product strong {
  color: #0762bc;
  font-size: 12px;
  line-height: 16px;
}

.campaign-product small,
.campaign-table td:nth-child(7) small {
  margin-top: 2px;
  color: #7b8797;
  font-size: 10px;
}

.campaign-price {
  color: #069a43;
  font-size: 12px;
  white-space: nowrap;
}

.campaign-table del {
  color: #5f6d80;
  white-space: nowrap;
}

.campaign-discount {
  display: inline-block;
  padding: 3px 5px;
  border: 1px solid #58c985;
  border-radius: 3px;
  background: #effbf4;
  color: #079744;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.campaign-status {
  display: inline-block;
  padding: 4px 7px;
  border-radius: 3px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.campaign-status.is-active { background: #0ba24a; }
.campaign-status.is-paused { background: #f2a000; }
.campaign-status.is-scheduled { background: #2486db; }
.campaign-status.is-expired { background: #8a96a6; }

.campaign-row-actions {
  display: flex;
  min-width: 124px;
  align-items: center;
  gap: 6px;
}

.campaign-row-actions button {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid #d5dde6;
  border-radius: 3px;
  background: #fff;
  color: #405268;
}

.campaign-row-actions .campaign-edit {
  border-color: #298bd7;
  color: #0878cf;
}

.campaign-row-actions .campaign-toggle {
  border-color: #f1a400;
  color: #ed9900;
}

.campaign-row-actions .campaign-delete {
  border-color: #ef6767;
  color: #e63838;
}

.campaign-empty-row td {
  height: 310px;
  text-align: center;
}

.campaign-empty-row i,
.campaign-empty-row strong,
.campaign-empty-row span {
  display: block;
}

.campaign-empty-row i {
  margin-bottom: 10px;
  color: #b7c2cf;
  font-size: 44px;
}

.campaign-empty-row strong {
  color: #26364a;
  font-size: 16px;
}

.campaign-empty-row span {
  margin: 6px 0 14px;
  color: #718096;
  font-size: 12px;
}

.campaign-no-results td {
  height: 130px;
  color: #718096;
  font-size: 13px;
  text-align: center;
}

.campaign-table-footer {
  display: flex;
  min-height: 55px;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  color: #26364a;
  font-size: 12px;
}

.campaign-pagination {
  display: flex;
  align-items: center;
  gap: 6px;
}

.campaign-pagination .btn,
.campaign-pagination .form-control {
  height: 32px;
  font-size: 12px;
}

.campaign-pagination .is-current {
  border-color: #087bd3;
  background: #087bd3;
  color: #fff;
}

#campaignPageSize {
  width: 105px;
  margin-left: 8px;
}

.campaign-side-column {
  display: grid;
  gap: 14px;
}

.campaign-side-card > header {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid #e3e8ee;
}

.campaign-side-card > header h2 {
  margin: 0;
  color: #172438;
  font-size: 15px;
  font-weight: 700;
}

.campaign-side-card > header h2 i {
  margin-right: 7px;
}

.campaign-side-card > header > span {
  color: #6b788b;
  font-size: 10px;
}

.campaign-summary-list {
  margin: 0;
  padding: 12px 15px;
}

.campaign-summary-list > div {
  display: flex;
  min-height: 31px;
  align-items: center;
  justify-content: space-between;
}

.campaign-summary-list dt,
.campaign-summary-list dd {
  color: #26364a;
  font-size: 12px;
  font-weight: 600;
}

.campaign-summary-list dd {
  margin: 0;
}

.campaign-summary-list dd.is-green {
  color: #079943;
}

.campaign-chart-wrap {
  display: grid;
  min-height: 165px;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  padding: 13px 15px;
  gap: 13px;
}

.campaign-donut {
  position: relative;
  width: 102px;
  height: 102px;
  border-radius: 50%;
}

.campaign-donut span {
  position: absolute;
  inset: 25px;
  border-radius: 50%;
  background: #fff;
}

.campaign-chart-wrap ul {
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.campaign-chart-wrap li {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  align-items: center;
  margin-bottom: 8px;
  color: #344257;
  font-size: 10px;
  gap: 6px;
}

.campaign-chart-wrap li i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.campaign-chart-wrap li span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.campaign-chart-wrap li strong {
  color: #26364a;
  font-size: 10px;
}

.campaign-chart-wrap li.is-empty {
  display: block;
  color: #7b8797;
  line-height: 15px;
}

.campaign-top-products > footer {
  min-height: 40px;
  padding: 12px 15px;
  border-top: 1px solid #e3e8ee;
  color: #4d5c70;
  font-size: 11px;
}

.campaign-expiring-card {
  padding-bottom: 12px;
}

.campaign-expiry-alert {
  display: grid;
  min-height: 49px;
  grid-template-columns: 33px minmax(0, 1fr);
  align-items: center;
  margin: 9px 10px 0;
  padding: 7px 9px;
  border: 1px solid;
  border-radius: 4px;
  gap: 6px;
}

.campaign-expiry-alert > i {
  font-size: 16px;
}

.campaign-expiry-alert span,
.campaign-expiry-alert strong {
  display: block;
  font-size: 11px;
}

.campaign-expiry-alert strong {
  margin-bottom: 2px;
  color: #26364a;
  font-size: 12px;
}

.campaign-expiry-alert.is-danger {
  border-color: #f6caca;
  background: #fff3f3;
  color: #e43a3a;
}

.campaign-expiry-alert.is-warning {
  border-color: #f6dfb0;
  background: #fffaf0;
  color: #f0a000;
}

.campaign-expiry-alert.is-notice {
  border-color: #f1d6a3;
  background: #fff8e9;
  color: #ed9b00;
}

.campaign-delete-modal {
  z-index: 1090;
  padding-left: 0 !important;
}

.campaign-delete-modal .modal-dialog {
  width: 470px;
  max-width: calc(100% - 28px);
  margin: 260px auto 24px;
}

.campaign-delete-modal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 20px 65px rgba(12, 25, 45, .4);
}

.delete-modal-close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 19px;
  color: #26364a;
  font-size: 28px;
  opacity: .95;
  text-shadow: none;
}

.campaign-delete-modal .modal-body {
  padding: 24px 20px 12px;
  text-align: center;
}

.delete-warning-icon {
  display: flex;
  width: 66px;
  height: 66px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 13px;
  border-radius: 50%;
  background: #fff0f0;
  color: #dd2b2b;
}

.delete-warning-icon i {
  font-size: 36px;
}

.campaign-delete-modal .modal-title {
  margin: 0 0 10px;
  color: #172438;
  font-size: 22px;
  font-weight: 700;
}

.delete-question,
.delete-irreversible {
  margin: 0;
  color: #26364a;
  font-size: 14px;
  line-height: 21px;
}

.delete-product-card {
  display: grid;
  min-height: 93px;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  margin-top: 20px;
  padding: 12px 16px;
  border: 1px solid #dce3eb;
  border-radius: 5px;
  text-align: left;
  gap: 13px;
}

.delete-product-card img {
  width: 40px;
  height: 66px;
  object-fit: contain;
}

.delete-product-card h3 {
  margin: 0 0 7px;
  overflow: hidden;
  color: #0865c4;
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.delete-product-card p {
  margin: 0 0 4px;
  color: #26364a;
  font-size: 12px;
  line-height: 17px;
}

.delete-product-card p:last-child {
  margin-bottom: 0;
}

.delete-product-card p span b {
  color: #079b48;
}

.delete-impact-warning {
  display: grid;
  min-height: 61px;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  margin-top: 17px;
  padding: 10px 14px;
  border: 1px solid #f6caca;
  border-radius: 5px;
  background: #fff1f1;
  color: #8d2929;
  text-align: left;
  gap: 10px;
}

.delete-impact-warning i {
  color: #e32626;
  font-size: 16px;
}

.delete-impact-warning span {
  font-size: 12px;
  line-height: 18px;
}

.campaign-delete-modal .modal-footer {
  display: flex;
  justify-content: flex-end;
  padding: 8px 20px 19px;
  border-top: 0;
  gap: 12px;
}

.campaign-delete-modal .modal-footer:before,
.campaign-delete-modal .modal-footer:after {
  display: none;
}

.campaign-delete-modal .modal-footer .btn {
  min-width: 91px;
  height: 38px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
}

.campaign-delete-modal .modal-footer .btn-danger {
  min-width: 120px;
  border-color: #e21e25;
  background: #e21e25;
}

.campaign-pause-modal {
  z-index: 1080;
  padding-left: 0 !important;
}

.campaign-pause-modal .modal-dialog {
  width: 660px;
  max-width: calc(100% - 28px);
  margin: 110px auto 24px;
}

.campaign-pause-modal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 20px 65px rgba(12, 25, 45, .38);
}

.campaign-pause-modal .modal-header {
  min-height: 64px;
  padding: 20px 22px;
  border-bottom: 0;
  background: #fff;
}

.campaign-pause-modal .modal-title {
  color: #172438;
  font-size: 21px;
  font-weight: 700;
}

.campaign-pause-modal .modal-header .close {
  margin-top: -5px;
  color: #26364a;
  font-size: 29px;
  opacity: .9;
  text-shadow: none;
}

.campaign-pause-modal .modal-body {
  max-height: calc(100vh - 260px);
  padding: 0 22px 12px;
  overflow-y: auto;
}

.pause-information {
  display: grid;
  min-height: 74px;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  margin-bottom: 25px;
  padding: 14px 17px;
  border: 1px solid #cbe2fb;
  border-radius: 5px;
  background: #edf7ff;
  color: #253a52;
  gap: 10px;
}

.pause-information > i {
  color: #0874dc;
  font-size: 17px;
}

.pause-information strong,
.pause-information span {
  display: block;
  font-size: 13px;
  line-height: 20px;
}

.pause-information strong {
  color: #0865c4;
  font-weight: 600;
}

.pause-section {
  margin-bottom: 23px;
}

.pause-section > h5 {
  margin: 0 0 11px;
  color: #172438;
  font-size: 14px;
  font-weight: 700;
}

.pause-product-card {
  display: grid;
  min-height: 96px;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  padding: 12px 18px;
  border: 1px solid #d8e0e9;
  border-radius: 5px;
  gap: 15px;
}

.pause-product-card img {
  width: 40px;
  height: 68px;
  object-fit: contain;
}

.pause-product-card h3 {
  margin: 0 0 7px;
  color: #0865c4;
  font-size: 15px;
  font-weight: 700;
}

.pause-product-card p {
  margin: 0 0 5px;
  color: #26364a;
  font-size: 13px;
  line-height: 17px;
}

.pause-period-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr) 96px;
  align-items: end;
  gap: 10px;
}

.campaign-pause-modal .form-group {
  margin-bottom: 0;
}

.campaign-pause-modal label {
  margin-bottom: 6px;
  color: #344257;
  font-size: 13px;
  font-weight: 500;
}

.campaign-pause-modal .form-control {
  height: 40px;
  border-color: #ccd6e1;
  border-radius: 4px;
  box-shadow: none;
  color: #26364a;
  font-size: 13px;
}

.pause-time-field label {
  visibility: hidden;
}

.pause-summary {
  display: grid;
  min-height: 98px;
  grid-template-columns: 30px minmax(0, 1fr);
  padding: 14px 16px;
  border: 1px solid #f4b443;
  border-radius: 5px;
  background: #fff9ef;
  color: #473b2b;
  gap: 9px;
}

.pause-summary > i {
  color: #ff9800;
  font-size: 23px;
}

.pause-summary strong,
.pause-summary span {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
  line-height: 18px;
}

.pause-summary strong {
  font-weight: 500;
}

.pause-summary b {
  color: #079b48;
}

.pause-summary.is-invalid {
  border-color: #ef9b9b;
  background: #fff3f3;
}

.pause-summary.is-invalid > i,
.pause-summary.is-invalid b {
  color: #d93838;
}

.pause-note-section > label {
  display: block;
}

.campaign-pause-modal textarea.form-control {
  height: 58px;
  padding: 10px 12px;
  resize: vertical;
}

.campaign-pause-modal .modal-footer {
  display: flex;
  justify-content: flex-end;
  padding: 14px 22px 20px;
  border-top: 0;
  gap: 12px;
}

.campaign-pause-modal .modal-footer:before,
.campaign-pause-modal .modal-footer:after {
  display: none;
}

.campaign-pause-modal .modal-footer .btn {
  min-width: 102px;
  height: 39px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
}

.campaign-pause-modal .modal-footer .btn-warning {
  min-width: 135px;
  border-color: #f28a00;
  background: #f28a00;
  color: #fff;
}

.campaign-edit-modal {
  z-index: 1080;
  padding-left: 0 !important;
}

.campaign-edit-modal .modal-dialog {
  width: 630px;
  max-width: calc(100% - 28px);
  margin: 72px auto 24px;
}

.campaign-edit-modal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 20px 65px rgba(12, 25, 45, .38);
}

.campaign-edit-modal .modal-header {
  min-height: 59px;
  padding: 19px 20px;
  border-bottom: 1px solid #dfe5ec;
  background: #fff;
}

.campaign-edit-modal .modal-title {
  color: #172438;
  font-size: 20px;
  font-weight: 700;
}

.campaign-edit-modal .modal-header .close {
  margin-top: -5px;
  color: #26364a;
  font-size: 29px;
  opacity: .9;
  text-shadow: none;
}

.campaign-edit-modal .modal-body {
  max-height: calc(100vh - 190px);
  padding: 13px 19px 10px;
  overflow-y: auto;
}

.edit-campaign-section {
  margin-bottom: 15px;
}

.edit-campaign-section > h5 {
  margin: 0 0 9px;
  color: #172438;
  font-size: 12px;
  font-weight: 700;
}

.campaign-edit-modal label {
  margin-bottom: 5px;
  color: #2b3b50;
  font-size: 11px;
  font-weight: 600;
}

.campaign-edit-modal .form-group {
  margin-bottom: 10px;
}

.campaign-edit-modal .form-control,
.campaign-edit-modal .input-group-addon {
  height: 34px;
  border-color: #ccd6e1;
  border-radius: 3px;
  font-size: 12px;
}

.edit-product-card {
  display: grid;
  min-height: 86px;
  grid-template-columns: 43px minmax(0, 1fr);
  align-items: center;
  padding: 10px 15px;
  border: 1px solid #dce3eb;
  border-radius: 4px;
  gap: 12px;
}

.edit-product-card img {
  width: 35px;
  height: 60px;
  object-fit: contain;
}

.edit-product-card h3 {
  margin: 0 0 6px;
  color: #0865c4;
  font-size: 14px;
  font-weight: 700;
}

.edit-product-card p {
  margin: 0 0 4px;
  color: #26364a;
  font-size: 11px;
}

.edit-product-card p b {
  padding: 0 7px;
  color: #7a8798;
}

.edit-promotion-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.edit-promotion-type {
  display: grid;
  min-height: 62px;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  margin: 0 !important;
  padding: 9px 13px;
  border: 1px solid #d9e0e8;
  border-radius: 4px;
  background: #fff;
  gap: 8px;
  cursor: pointer;
}

.edit-promotion-type.is-selected {
  border-color: #2787ed;
  background: #f0f7ff;
  box-shadow: inset 0 0 0 1px #2787ed;
}

.edit-promotion-type > input {
  position: absolute;
  opacity: 0;
}

.edit-promotion-type > i {
  color: #738196;
  font-size: 16px;
  text-align: center;
}

.edit-promotion-type.is-selected > i {
  color: #1379e4;
}

.edit-promotion-type span strong,
.edit-promotion-type span small {
  display: block;
}

.edit-promotion-type span strong {
  margin-bottom: 3px;
  color: #1b2b40;
  font-size: 12px;
}

.edit-promotion-type.is-selected span strong {
  color: #0a66c5;
}

.edit-promotion-type span small {
  color: #647287;
  font-size: 10px;
  font-weight: 400;
}

.edit-campaign-config {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(190px, .85fr);
  align-items: start;
  gap: 18px;
}

.edit-discount-config.is-hidden,
.edit-bundle-config.is-hidden {
  display: none;
}

.edit-discount-methods > span {
  display: block;
  margin: 2px 0 4px;
  color: #526075;
  font-size: 10px;
}

.edit-discount-methods > label {
  display: grid;
  min-height: 37px;
  grid-template-columns: 16px minmax(0, 1fr) 148px;
  align-items: center;
  margin: 0 !important;
  gap: 6px;
  font-weight: 400;
}

.edit-discount-methods > label > input {
  margin: 0;
}

.edit-discount-methods .input-group {
  width: 148px;
}

.edit-price-result {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: end;
  margin-top: 6px;
  gap: 12px;
}

.edit-price-result > div:last-child {
  margin-bottom: 10px;
}

.edit-price-result > div:last-child label,
#editDiscountResult {
  display: block;
}

#editDiscountResult {
  min-height: 34px;
  padding: 9px 7px 0;
  border: 1px solid #cce9d5;
  border-radius: 4px;
  background: #edf9f1;
  color: #079b45;
  font-size: 10px;
  white-space: nowrap;
}

#editDiscountResult.is-invalid {
  border-color: #f2cccc;
  background: #fff0f0;
  color: #d93838;
}

.edit-how-it-works {
  min-height: 78px;
  margin-top: 1px;
  padding: 10px 11px;
  border: 1px solid #f1d58d;
  border-radius: 4px;
  background: #fff9e9;
  color: #314057;
}

.edit-how-it-works strong,
.edit-how-it-works span {
  display: block;
}

.edit-how-it-works strong {
  margin-bottom: 8px;
  font-size: 10px;
}

.edit-how-it-works strong i {
  color: #f0a000;
}

.edit-how-it-works span {
  font-size: 10px;
  line-height: 16px;
}

.edit-bundle-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.edit-bundle-discount {
  display: flex;
  min-height: 57px;
  justify-content: center;
  flex-direction: column;
  padding: 8px 11px;
  border: 1px solid #cde8d6;
  border-radius: 4px;
  background: #effaf3;
}

.edit-bundle-discount span {
  color: #526075;
  font-size: 10px;
}

.edit-bundle-discount strong {
  color: #079b45;
  font-size: 15px;
}

.edit-validity-section {
  padding-top: 12px;
  border-top: 1px solid #e1e6ec;
}

.edit-validity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr .8fr;
  gap: 15px;
}

#editPromotionDays {
  display: block;
  height: 34px;
  padding: 9px 9px 0;
  border: 1px solid #cde8d6;
  border-radius: 4px;
  background: #effaf3;
  color: #079b45;
  font-size: 11px;
}

.edit-note-section {
  margin-bottom: 0;
  padding-top: 11px;
  border-top: 1px solid #e1e6ec;
}

.campaign-edit-modal textarea.form-control {
  height: 48px;
  resize: vertical;
}

.campaign-edit-modal .modal-footer {
  display: flex;
  min-height: 61px;
  align-items: center;
  justify-content: flex-end;
  padding: 11px 19px;
  border-top: 1px solid #dfe5ec;
  background: #fff;
  gap: 13px;
}

.campaign-edit-modal .modal-footer:before,
.campaign-edit-modal .modal-footer:after {
  display: none;
}

.campaign-edit-modal .modal-footer .btn {
  min-width: 88px;
  min-height: 37px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
}

.campaign-edit-modal .modal-footer .btn-success {
  min-width: 155px;
  border-color: #08a248;
  background: linear-gradient(#17b65a, #099d46);
}

.campaign-analysis-modal {
  z-index: 1080;
  padding-left: 0 !important;
}

body.offers-promotions-page .modal-backdrop {
  z-index: 1070;
}

body.offers-promotions-page .modal-backdrop.in {
  opacity: .68;
}

.campaign-analysis-modal .modal-dialog {
  width: 970px;
  max-width: calc(100% - 30px);
  margin: 68px auto 24px;
}

.campaign-analysis-modal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 20px 65px rgba(12, 25, 45, .38);
}

.campaign-analysis-modal .modal-header {
  min-height: 60px;
  padding: 19px 21px;
  border-bottom: 1px solid #dfe5ec;
  background: #fff;
}

.campaign-analysis-modal .modal-title {
  color: #172438;
  font-size: 21px;
  font-weight: 700;
}

.campaign-analysis-modal .modal-header .close {
  margin-top: -5px;
  color: #26364a;
  font-size: 30px;
  opacity: .9;
  text-shadow: none;
}

.campaign-analysis-modal .modal-body {
  max-height: calc(100vh - 190px);
  padding: 16px 20px 12px;
  overflow-y: auto;
}

.analysis-product-card {
  display: grid;
  min-height: 98px;
  grid-template-columns: 48px minmax(0, 1fr) 165px;
  align-items: center;
  margin-bottom: 18px;
  padding: 12px 16px;
  border: 1px solid #dce3eb;
  border-radius: 5px;
  background: #fff;
  gap: 14px;
}

.analysis-product-card > img {
  width: 40px;
  height: 68px;
  object-fit: contain;
}

.analysis-product-info h3 {
  margin: 0 0 7px;
  color: #0865c4;
  font-size: 15px;
  font-weight: 700;
}

.analysis-product-info p {
  margin: 0 0 5px;
  color: #26364a;
  font-size: 12px;
}

.analysis-status-box {
  display: flex;
  min-height: 62px;
  justify-content: center;
  flex-direction: column;
  padding: 10px 15px;
  border: 1px solid #dce3eb;
  border-radius: 4px;
}

.analysis-status-box strong,
.analysis-status-box > span {
  display: block;
  color: #25354a;
  font-size: 12px;
}

.analysis-status-box strong {
  margin-bottom: 9px;
}

.analysis-status-box strong i {
  margin-right: 7px;
  color: #08a44a;
  font-size: 12px;
}

.analysis-status-box.is-paused strong i { color: #f0a000; }
.analysis-status-box.is-expired strong i { color: #8a96a6; }
.analysis-status-box.is-scheduled strong i { color: #2788db; }

.analysis-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 14px;
  gap: 16px;
}

.analysis-metrics-grid article {
  display: grid;
  min-height: 120px;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  padding: 18px 14px 13px;
  border: 1px solid #dfe5ec;
  border-radius: 5px;
  background: #fff;
  gap: 9px;
}

.analysis-metrics-grid article > i {
  padding-top: 2px;
  font-size: 28px;
  text-align: center;
}

.analysis-metrics-grid strong,
.analysis-metrics-grid span,
.analysis-metrics-grid small,
.analysis-metrics-grid small b {
  display: block;
}

.analysis-metrics-grid strong {
  margin-bottom: 5px;
  color: #172438;
  font-size: 17px;
}

.analysis-metrics-grid span {
  margin-bottom: 10px;
  color: #26364a;
  font-size: 12px;
}

.analysis-metrics-grid small {
  color: #758195;
  font-size: 10px;
  line-height: 17px;
}

.analysis-metrics-grid small b,
.analysis-comparison-grid b {
  color: #08a149;
  font-size: 11px;
}

.analysis-metrics-grid article.is-blue > i { color: #0b7fe7; }
.analysis-metrics-grid article.is-purple > i { color: #843fee; }
.analysis-metrics-grid article.is-orange > i { color: #f89a00; }
.analysis-metrics-grid article.is-green > i { color: #0caf57; }

.analysis-visuals-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(260px, .95fr);
  min-height: 270px;
  margin-bottom: 12px;
  border: 1px solid #dfe5ec;
  border-radius: 5px;
  background: #fff;
}

.analysis-sales-chart {
  min-width: 0;
  padding: 14px 15px 10px;
  border-right: 1px solid #e3e8ee;
}

.analysis-sales-chart > header {
  display: flex;
  min-height: 34px;
  align-items: flex-start;
  justify-content: space-between;
}

.analysis-sales-chart h5,
.analysis-location-performance h5,
.analysis-comparison h5 {
  margin: 0;
  color: #172438;
  font-size: 13px;
  font-weight: 700;
}

#analysisChartMetric {
  width: 130px;
  height: 31px;
  border-color: #d4dce5;
  font-size: 10px;
}

.analysis-line-chart {
  width: 100%;
  height: 210px;
}

.analysis-line-chart svg {
  display: block;
  width: 100%;
  height: 100%;
}

.analysis-line-chart .chart-grid {
  stroke: #e5eaf0;
  stroke-width: 1;
}

.analysis-line-chart .chart-area {
  fill: url("#analysisAreaGradient");
}

.analysis-line-chart .chart-line {
  fill: none;
  stroke: #087bea;
  stroke-width: 2.2;
}

.analysis-line-chart .chart-point {
  fill: #087bea;
  stroke: #fff;
  stroke-width: 1.5;
}

.analysis-line-chart text {
  fill: #536176;
  font-size: 9px;
}

.analysis-location-performance {
  padding: 15px 14px 10px;
}

.analysis-location-content {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  align-items: center;
  min-height: 214px;
  gap: 8px;
}

.analysis-location-donut {
  position: relative;
  width: 128px;
  height: 128px;
  margin: 0 auto;
  border-radius: 50%;
  background: conic-gradient(#147ee4 0 42%, #1fb176 42% 70%, #ffad27 70% 88%, #7545e9 88% 100%);
}

.analysis-location-donut > span {
  position: absolute;
  inset: 33px;
  border-radius: 50%;
  background: #fff;
}

#analysisLocationList {
  margin: 0;
  padding: 0;
  list-style: none;
}

#analysisLocationList li {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  margin-bottom: 11px;
  color: #344257;
  font-size: 10px;
  line-height: 15px;
  gap: 7px;
}

#analysisLocationList li i {
  width: 9px;
  height: 9px;
  margin-top: 2px;
  border-radius: 50%;
}

#analysisLocationList li strong,
#analysisLocationList li span {
  display: block;
}

#analysisLocationList li strong {
  color: #26364a;
  font-size: 10px;
}

.analysis-comparison {
  padding: 13px 4px 0;
  border-top: 1px solid #e1e6ec;
}

.analysis-comparison > header span {
  display: block;
  margin-top: 6px;
  color: #6f7c8f;
  font-size: 10px;
}

.analysis-comparison-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 12px;
}

.analysis-comparison-grid article {
  min-height: 68px;
  padding: 8px 22px;
  border-right: 1px solid #dfe5ec;
}

.analysis-comparison-grid article:last-child {
  border-right: 0;
}

.analysis-comparison-grid strong,
.analysis-comparison-grid span,
.analysis-comparison-grid b {
  display: block;
}

.analysis-comparison-grid strong {
  color: #172438;
  font-size: 14px;
}

.analysis-comparison-grid span {
  margin: 3px 0 4px;
  color: #344257;
  font-size: 10px;
}

.campaign-analysis-modal .modal-footer {
  min-height: 58px;
  padding: 10px 20px;
  border-top: 1px solid #dfe5ec;
  background: #fff;
}

.campaign-analysis-modal .modal-footer .btn {
  min-width: 78px;
  min-height: 36px;
  font-size: 12px;
}

@media (max-width: 1280px) {
  .campaign-summary-grid {
    width: 100%;
    margin-top: 0;
  }

  .campaign-page-actions {
    height: auto;
    margin-bottom: 12px;
  }

  .campaign-workspace {
    grid-template-columns: minmax(0, 1fr) 290px;
  }

  .campaign-filters {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }
}

@media (max-width: 991px) {
  .campaign-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .campaign-workspace {
    grid-template-columns: 1fr;
  }

  .campaign-side-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .campaign-analysis-modal .modal-dialog {
    width: calc(100% - 28px);
    margin-top: 55px;
  }

  .analysis-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .analysis-visuals-grid {
    grid-template-columns: 1fr;
  }

  .analysis-sales-chart {
    border-right: 0;
    border-bottom: 1px solid #e3e8ee;
  }
}

@media (max-width: 767px) {
  .offers-promotions-heading,
  .offers-promotions-content {
    padding-right: 12px;
    padding-left: 12px;
  }

  .offers-promotions-heading h1 small {
    display: block;
    padding: 7px 0 0;
  }

  .campaign-summary-grid,
  .campaign-side-column,
  .campaign-filters {
    grid-template-columns: 1fr;
  }

  .campaign-bulk-actions {
    flex-wrap: wrap;
  }

  .campaign-table-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .campaign-pagination {
    flex-wrap: wrap;
  }

  .analysis-product-card,
  .analysis-metrics-grid,
  .analysis-comparison-grid {
    grid-template-columns: 1fr;
  }

  .analysis-product-card {
    text-align: center;
  }

  .analysis-product-card > img {
    margin: 0 auto;
  }

  .analysis-comparison-grid article {
    border-right: 0;
    border-bottom: 1px solid #dfe5ec;
  }

  .analysis-location-content {
    grid-template-columns: 1fr;
  }

  .campaign-delete-modal .modal-dialog {
    width: calc(100% - 20px);
    margin: 70px auto 10px;
  }

  .campaign-pause-modal .modal-dialog {
    width: calc(100% - 20px);
    margin: 54px auto 10px;
  }

  .pause-period-grid {
    grid-template-columns: minmax(0, 1fr) 94px;
  }

  .campaign-edit-modal .modal-dialog {
    width: calc(100% - 20px);
    margin: 54px auto 10px;
  }

  .edit-promotion-types,
  .edit-campaign-config,
  .edit-validity-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  body.offers-promotions-page .main-header,
  body.offers-promotions-page .main-sidebar,
  .campaign-page-actions,
  .campaign-filters,
  .campaign-bulk-actions,
  .campaign-side-column,
  .campaign-row-actions,
  .campaign-table-footer {
    display: none !important;
  }

  body.offers-promotions-page .content-wrapper {
    margin-left: 0 !important;
  }

  .campaign-summary-grid {
    width: 100%;
  }
}
