@charset "UTF-8";
/**
 * Botiga — White Label settings (Settings > White Label).
 *
 * Section controls + Agency upgrade modal.
 * Compiled by gulp (autoprefixer adds vendor prefixes) to
 * assets/css/admin/botiga-white-label.css and .min.css.
 */
/* -----------------------------------------------------------------------------
 * Section
 * -------------------------------------------------------------------------- */
.botiga-dashboard-white-label-header {
  margin-bottom: 20px;
}
.botiga-dashboard-white-label-header h2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  font-size: 20px;
  line-height: 30px;
}

.botiga-dashboard-white-label-fields {
  max-width: 520px;
}

.botiga-dashboard-white-label-option {
  margin-bottom: 18px;
}
.botiga-dashboard-white-label-option label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.botiga-dashboard-white-label-field {
  width: 100%;
  min-height: 36px;
}

textarea.botiga-dashboard-white-label-field {
  min-height: 72px;
  padding: 8px 10px;
  line-height: 1.5;
  resize: vertical;
}

/* -----------------------------------------------------------------------------
 * Plugin-specific fields (injected by Botiga Pro)
 * -------------------------------------------------------------------------- */
.botiga-dashboard-white-label-plugin-fields {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e2e4e7;
}
.botiga-dashboard-white-label-plugin-fields h3 {
  font-size: 16px;
  line-height: 24px;
  margin: 0 0 24px;
}

.botiga-dashboard-white-label-option-check {
  margin-bottom: 12px;
}
.botiga-dashboard-white-label-option-check label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  font-weight: 400;
  margin-bottom: 0;
  cursor: pointer;
}
.botiga-dashboard-white-label-option-check input[type=checkbox] {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  margin: 0;
}

.botiga-dashboard-white-label-toggle {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 12px;
  margin-bottom: 26px;
}

.botiga-dashboard-white-label-toggle-text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 2px;
  line-height: 1.4;
}

.botiga-dashboard-white-label-switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  margin-top: 2px;
  cursor: pointer;
}
.botiga-dashboard-white-label-switch input {
  border: 0;
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
}
.botiga-dashboard-white-label-switch input:checked + .botiga-dashboard-white-label-switch-track {
  background: #3858e9;
}
.botiga-dashboard-white-label-switch input:checked + .botiga-dashboard-white-label-switch-track:before {
  -webkit-transform: translateX(18px);
          transform: translateX(18px);
}

.botiga-dashboard-white-label-switch-track {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #c5c5c5;
  border-radius: 24px;
  -webkit-transition: background 200ms ease;
  transition: background 200ms ease;
}
.botiga-dashboard-white-label-switch-track:before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  -webkit-transition: -webkit-transform 200ms ease;
  transition: -webkit-transform 200ms ease;
  transition: transform 200ms ease;
  transition: transform 200ms ease, -webkit-transform 200ms ease;
}

.botiga-dashboard-white-label-actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.botiga-dashboard-white-label-feedback {
  font-weight: 500;
}
.botiga-dashboard-white-label-feedback.is-success {
  color: #3fb28f;
}
.botiga-dashboard-white-label-feedback.is-error {
  color: #d63638;
}

.botiga-dashboard-white-label-notice {
  background: #fcf6e1;
  border: 1px solid #f0e2a8;
  border-radius: 4px;
  padding: 12px 16px;
  margin-bottom: 24px;
}

/* Locked state: fields greyed and inert; the toggle stays clickable so it can
 * open the upgrade modal. */
.botiga-dashboard-white-label-locked .botiga-dashboard-white-label-option {
  opacity: 0.55;
}
.botiga-dashboard-white-label-locked .botiga-dashboard-white-label-field {
  pointer-events: none;
}

/* -----------------------------------------------------------------------------
 * Upgrade modal
 * -------------------------------------------------------------------------- */
.botiga-wl-modal {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100000;
}
.botiga-wl-modal.is-active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.botiga-wl-modal-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
}

.botiga-wl-modal-dialog {
  position: relative;
  z-index: 1;
  width: 502px;
  max-width: calc(100% - 40px);
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
          box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.botiga-wl-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 0;
  background: none;
  padding: 0;
  font-size: 22px;
  line-height: 1;
  color: #a7aaad;
  cursor: pointer;
}

.botiga-wl-modal-body {
  padding: 26px 64px 34px;
  text-align: center;
}

.botiga-wl-modal-icon {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  margin-bottom: 16px;
  color: #a7aaad;
}

.botiga-wl-modal-title {
  margin: 0 0 18px;
  font-size: 22px;
  line-height: 27px;
  font-weight: 700;
  color: #2c3338;
}

.botiga-wl-modal-text {
  margin: 0 auto 22px;
  max-width: 374px;
  font-size: 17px;
  line-height: 24px;
  font-weight: 400;
  color: #50575e;
}

.botiga-wl-modal-cta.button.button-primary {
  min-height: 40px;
  padding: 0 20px;
  font-size: 15px;
  line-height: 1;
  border-radius: 4px;
  margin-top: 18px;
}

.botiga-wl-modal-bonus {
  position: relative;
  padding: 26px 48px 18px;
  background: #f0f3fe;
  font-size: 15px;
  line-height: 20px;
  text-align: center;
  color: #50575e;
}
.botiga-wl-modal-bonus strong {
  font-weight: 700;
}
.botiga-wl-modal-bonus .botiga-wl-modal-discount {
  color: #00a32a;
  font-weight: 700;
}

.botiga-wl-modal-check {
  position: absolute;
  top: 0;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 5px solid #fff;
}

.botiga-wl-modal-footer {
  padding: 14px 40px 18px;
  text-align: center;
  font-size: 13px;
  color: #a7aaad;
  line-height: 1;
}
.botiga-wl-modal-footer a {
  color: #a7aaad;
  text-decoration: underline;
}