/*
 * The MonkeyPC: My Account theme for Blesta
 * Loaded after Blesta's own styles and the Look and Feel theme colours,
 * so everything here wins. Brand colours live in the variables below.
 */
:root {
  --mpc-forest: #402408;
  --mpc-forest-2: #5a3513;
  --mpc-leaf: #48b01c;
  --mpc-leaf-dark: #2a7a0d;
  --mpc-light-green: #8be05a;
  --mpc-mint: #e8f4d7;
  --mpc-amber: #f6c945;
  --mpc-line: #e9d8b4;
  --mpc-bg: #fdf8ec;
  --mpc-cream: #f6edd6;
  --mpc-muted: #6b4a22;
  --mpc-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --mpc-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mpc-radius: 20px;
}

/* ---------- Base ---------- */
html, body { font-size: 16px; }
body,
.panel .panel-heading .panel-title {
  background: var(--mpc-bg) !important;
  color: var(--mpc-forest);
  font-family: var(--mpc-body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--mpc-head);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--mpc-forest);
}
a, a:hover { color: var(--mpc-leaf-dark) !important; }
a:hover { text-decoration: underline; }
hr { border-top-color: var(--mpc-line); }
.text-muted, small.text-muted { color: var(--mpc-muted) !important; }
::selection { background: var(--mpc-amber); color: var(--mpc-forest); }
:focus-visible { outline: 3px solid var(--mpc-amber); outline-offset: 2px; }

/* ---------- Header ---------- */
.mpc-header {
  background: #ffffff;
  border-bottom: 1px solid var(--mpc-line);
  position: relative;
  z-index: 20;
}
.mpc-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.mpc-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  color: var(--mpc-forest) !important;
}
.mpc-brand img { width: 40px; height: 40px; display: block; }
.mpc-wordmark {
  font: 800 21px/1 var(--mpc-head);
  letter-spacing: -0.03em;
  color: var(--mpc-forest);
  white-space: nowrap;
}
.mpc-wordmark b { font-weight: 800; color: var(--mpc-leaf); }
.mpc-tag {
  margin-left: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--mpc-cream);
  color: var(--mpc-forest);
  font: 700 11.5px/1.2 var(--mpc-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.mpc-navbar { padding: 0; flex: 1 1 auto; justify-content: flex-end; }
.mpc-navbar .navbar-collapse { flex-grow: 0; }
.mpc-nav-lists { display: flex; align-items: center; gap: 4px 16px; }
.mpc-navbar .navbar-nav { align-items: center; gap: 2px; }
.mpc-navbar .navbar-nav .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 14px !important;
  border-radius: 999px;
  color: var(--mpc-forest) !important;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none !important;
}
.mpc-navbar .navbar-nav .nav-link i { color: var(--mpc-muted); font-size: 14px; }
.mpc-navbar .navbar-nav .nav-link:hover,
.mpc-navbar .navbar-nav .show > .nav-link { background: var(--mpc-cream); }
.mpc-navbar .navbar-nav .nav-item.active > .nav-link {
  background: var(--mpc-forest);
  color: #ffffff !important;
}
.mpc-navbar .navbar-nav .nav-item.active > .nav-link i { color: var(--mpc-amber); }
.mpc-navbar .navbar-nav:last-child .nav-link {
  border: 1px solid var(--mpc-line);
  background: #ffffff;
}
.mpc-navbar .navbar-nav:last-child .nav-link:hover { background: var(--mpc-cream); }
.mpc-navbar .navbar-toggler {
  border: 1px solid var(--mpc-line);
  border-radius: 12px;
  padding: 8px 10px;
}
.mpc-lang ul { list-style: none; margin: 0; padding: 0; }
.mpc-lang .dropdown-toggle { color: var(--mpc-forest) !important; font-weight: 600; }
.mpc-staff { margin-left: auto; }

/* Dropdown menus */
.dropdown-menu {
  border: 1px solid var(--mpc-line);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 16px 32px -18px rgba(64, 36, 8, 0.35);
}
.dropdown-item,
ul.dropdown-menu li a {
  border-radius: 10px;
  padding: 8px 12px;
  color: var(--mpc-forest) !important;
  font-weight: 500;
  text-decoration: none !important;
}
.dropdown-item i { color: var(--mpc-muted); }
.dropdown-item:hover, .dropdown-item:focus,
ul.dropdown-menu li a:hover, ul.dropdown-menu li a:focus {
  background: var(--mpc-cream) !important;
  color: var(--mpc-forest) !important;
}
.dropdown-divider { border-top-color: var(--mpc-line); }

@media (max-width: 767.98px) {
  .mpc-navbar { flex: 0 0 auto; position: static; }
  .mpc-navbar .navbar-collapse {
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(100% + 8px);
    background: #ffffff;
    border: 1px solid var(--mpc-line);
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 20px 40px -24px rgba(64, 36, 8, 0.45);
  }
  .mpc-header-inner { position: relative; }
  .mpc-nav-lists { flex-direction: column; align-items: stretch; width: 100%; }
  .mpc-navbar .navbar-nav { align-items: stretch; width: 100%; }
  .mpc-navbar .navbar-nav .nav-link { width: 100%; }
  .mpc-navbar .navbar-nav .dropdown-menu { border: 0; box-shadow: none; padding: 0 0 0 12px; }
  nav.navbar .navbar-nav .show .dropdown-menu > a { color: var(--mpc-forest) !important; }
  .mpc-tag { display: none; }
}

/* ---------- Page title ---------- */
.title.mpc-title {
  height: auto;
  margin: 24px 0 24px;
  background: transparent !important;
}
.title.mpc-title .container-md { padding-left: 15px; }
.title.mpc-title h3 {
  display: block;
  margin: 0;
  padding: 26px 32px;
  border-radius: 24px;
  background: radial-gradient(90% 160% at 0% 0%, rgba(246, 201, 69, 0.12) 0%, rgba(246, 201, 69, 0) 60%), linear-gradient(135deg, #4a2b0c 0%, #361d06 100%);
  color: #ffffff !important;
  font: 800 28px/1.15 var(--mpc-head);
  letter-spacing: -0.02em;
}

/* ---------- Layout ---------- */
.container-md { max-width: 1200px; }
.row.login { padding-top: 24px; }

/* ---------- Cards and widgets ---------- */
.card,
.card-blesta,
.panel-blesta {
  border: 1px solid var(--mpc-line) !important;
  border-radius: var(--mpc-radius) !important;
  background: #ffffff;
  margin-bottom: 20px;
  overflow: hidden;
}
.card-blesta > .card-header,
.panel .card-blesta > .panel-heading {
  margin: 0;
  width: auto;
  padding: 16px 22px;
  background: #ffffff !important;
  color: var(--mpc-forest) !important;
  border-bottom: 1px solid var(--mpc-line);
  font: 700 18px/1.3 var(--mpc-head);
}
.card-body, .panel .panel-body { padding: 18px 22px; }
.card-footer, .panel-footer {
  background: var(--mpc-bg);
  border-top: 1px solid var(--mpc-line);
  padding: 14px 22px;
}
.card-body h4, .panel .panel-body h4 { border-bottom-color: var(--mpc-line); }
.card-nav { margin: 0 0 14px; }
.card-links { padding: 0 0 6px; font-size: 14px; }
.card-links > li + li:before { color: var(--mpc-line); }
.card-links > .active a, .card-links > .active { color: var(--mpc-forest) !important; font-weight: 700; }

/* Dashboard number cards */
.cards .card {
  min-height: 112px;
  padding: 18px 22px;
  background: #ffffff;
  color: var(--mpc-forest);
  font-family: var(--mpc-body);
  box-shadow: 0 10px 24px -20px rgba(64, 36, 8, 0.35);
}
.cards a:hover .card { border-color: var(--mpc-amber) !important; }
.cards .card .card-content .card-value {
  font: 800 38px/1 var(--mpc-head);
  letter-spacing: -0.02em;
}
.cards .card .card-content .card-label {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--mpc-muted);
}

/* My info sidebar */
#my-info address { margin: 0; line-height: 1.6; }

/* ---------- Side menu (list groups) ---------- */
.list-group { border-radius: var(--mpc-radius); overflow: hidden; }
.list-group-item {
  border-color: var(--mpc-line) !important;
  color: var(--mpc-forest) !important;
  padding: 12px 18px;
}
.list-group-item i { color: var(--mpc-muted); }
a.list-group-item:hover, a.list-group-item:focus,
.list-group.list-options a.list-group-item:hover {
  background-color: var(--mpc-cream) !important;
}
.list-group-item.active,
a.list-group-item.active,
a.list-group-item.active:hover,
a.list-group-item.active:focus {
  background-color: var(--mpc-forest) !important;
  color: #ffffff !important;
  font-weight: 600;
}
.list-group-item.active i { color: var(--mpc-amber); }

/* ---------- Buttons ---------- */
.btn {
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  padding: 8px 18px;
}
.btn-sm, .btn-xs { padding: 5px 12px; font-size: 13.5px; }
body .btn-primary,
body .btn-success {
  background-color: var(--mpc-forest) !important;
  border-color: var(--mpc-forest) !important;
  color: #ffffff !important;
}
body .btn-primary:hover, body .btn-primary:focus,
body .btn-success:hover, body .btn-success:focus {
  background-color: var(--mpc-forest-2) !important;
  border-color: var(--mpc-forest-2) !important;
  color: #ffffff !important;
}
body .btn-warning {
  background-color: var(--mpc-amber) !important;
  border-color: var(--mpc-amber) !important;
  color: var(--mpc-forest) !important;
}
body .btn-light,
body .btn-default,
body .btn-secondary {
  background: var(--mpc-cream) !important;
  border-color: var(--mpc-line) !important;
  color: var(--mpc-forest) !important;
}
body .btn-light:hover,
body .btn-default:hover,
body .btn-secondary:hover { background: #efe2c4 !important; border-color: #e0cda4 !important; }
.btn i { margin-right: 2px; }
a.btn, a.btn:hover { text-decoration: none !important; }
a.btn-primary, a.btn-success, a.btn-primary:hover, a.btn-success:hover { color: #ffffff !important; }
a.btn-light, a.btn-default, a.btn-secondary, a.btn-warning { color: var(--mpc-forest) !important; }

/* ---------- Forms ---------- */
.form-control, .custom-select, select.form-control {
  border: 1.5px solid var(--mpc-line);
  border-radius: 12px;
  min-height: 44px;
  color: var(--mpc-forest);
  background-color: #ffffff;
}
.form-control:focus, .custom-select:focus {
  border-color: #d9a400;
  box-shadow: 0 0 0 3px rgba(246, 201, 69, 0.3);
}
label { font-weight: 600; color: var(--mpc-forest); }
.input-group-text { background: var(--mpc-cream); border-color: var(--mpc-line); }

/* ---------- Tables ---------- */
table { border-color: var(--mpc-line) !important; }
.table { color: var(--mpc-forest); background: #ffffff; }
.table > thead > tr > th {
  background: var(--mpc-cream) !important;
  color: var(--mpc-muted) !important;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 14px !important;
}
.table > thead > tr > th > a { color: var(--mpc-muted) !important; }
.table > tbody > tr > td, .table > tbody > tr > th { padding: 12px 14px !important; vertical-align: middle; }
.table-curved { border-radius: 16px; }
.table-curved td, .table-curved th, .table td, .table th { border-color: var(--mpc-line) !important; }
.table-curved td, .table-curved th { border-left-color: transparent !important; }
.table-curved tr > td:first-child, .table-curved tr > th:first-child { border-left-color: var(--mpc-line) !important; }
.table-curved th:first-child { border-radius: 16px 0 0 0; }
.table-curved th:last-child { border-radius: 0 16px 0 0; }
.table-curved tr:last-child td:first-child { border-radius: 0 0 0 16px; }
.table-curved tr:last-child td:last-child { border-radius: 0 0 16px 0; }
.table-striped > tbody > tr:nth-child(2n) > td,
.table-striped > tbody > tr:nth-child(2n) > th { background-color: #fffcf4 !important; }
.table-hover > tbody > tr:hover > td,
.table-hover > tbody > tr:hover > th { background-color: var(--mpc-cream) !important; }

/* ---------- Alerts, badges, pagination, tabs ---------- */
.alert { border-radius: 16px; border-width: 1px; }
.alert-info { background: var(--mpc-cream); border-color: var(--mpc-line); color: var(--mpc-forest); }
.alert-success { background: var(--mpc-mint); border-color: #b9dc98; color: var(--mpc-leaf-dark); }
.alert-warning { background: #fdf0c4; border-color: #f0d27a; color: #6b4700; }
.badge { border-radius: 999px; padding: 0.4em 0.75em; font-weight: 700; }
body .badge-success { background: var(--mpc-mint) !important; color: var(--mpc-leaf-dark) !important; }
body .badge-info { background: #e9eefc !important; color: #2f4fa8 !important; }
body .badge-warning { background: #fdf0c4 !important; color: #8a5a00 !important; }
body .badge-danger { background: #fde4df !important; color: #a1260f !important; }
body .badge-primary, body .badge-dark { background: var(--mpc-forest) !important; color: #ffffff !important; }
body .badge-secondary, body .badge-light, body .badge-default { background: var(--mpc-cream) !important; color: var(--mpc-forest) !important; }
.card-links .badge { background: var(--mpc-cream); color: var(--mpc-forest); }
.pagination .page-link { color: var(--mpc-forest) !important; border-color: var(--mpc-line); }
.pagination .page-item.active .page-link,
div.pagination ul.pagination li.active .page-link,
div.pagination ul.pagination li.active a {
  background: var(--mpc-forest) !important;
  border-color: var(--mpc-forest) !important;
  color: #ffffff !important;
}
.nav-tabs { border-bottom-color: var(--mpc-line); }
.nav-tabs .nav-link { border-radius: 12px 12px 0 0; color: var(--mpc-forest) !important; font-weight: 600; }
.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
  border-color: var(--mpc-line) var(--mpc-line) #ffffff;
  color: var(--mpc-forest) !important;
}
.nav-pills .nav-link { border-radius: 999px; color: var(--mpc-forest) !important; }
.nav-pills .nav-link.active { background: var(--mpc-forest) !important; color: #ffffff !important; }

/* Modals */
.modal-content { border: 0; border-radius: 24px; overflow: hidden; }
.modal-header { border-bottom-color: var(--mpc-line); }
.modal-footer { border-top-color: var(--mpc-line); }
.modal-header h5 { font-family: var(--mpc-head); font-weight: 700; }

/* ---------- Login and other pages without the header ---------- */
.mpc-login-brand { display: flex; justify-content: center; padding: 40px 16px 8px; }
.mpc-login-brand .mpc-brand img { width: 48px; height: 48px; }
.mpc-login-brand .mpc-wordmark { font-size: 26px; }
.row.login h2 { font-size: 32px; }
.row.login h2 i { color: var(--mpc-amber); }
.row.login .panel-blesta { box-shadow: 0 18px 40px -26px rgba(64, 36, 8, 0.45); }
.row.login .panel-footer a { font-weight: 600; }

/* ---------- Footer ---------- */
.mpc-footer {
  margin-top: 48px;
  background: var(--mpc-forest);
  color: #d9c7a6;
  padding: 36px 0;
}
.mpc-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}
.mpc-footer-brand { display: flex; align-items: center; gap: 12px; }
.mpc-footer-brand img { width: 36px; height: 36px; }
.mpc-footer .mpc-wordmark { color: #ffffff; font-size: 19px; }
.mpc-footer .mpc-wordmark b { color: var(--mpc-light-green); }
.mpc-footer-brand small { display: block; margin-top: 5px; font-size: 13.5px; color: #d9c7a6; }
.mpc-footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; margin: 0; padding: 0; }
.mpc-footer-links a, .mpc-footer-links a:hover { color: #ffffff !important; font-weight: 600; font-size: 14.5px; }
.mpc-footer-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.mpc-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 600;
  font-size: 13.5px;
}
.mpc-pill::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50% 50% 50% 0;
  background: var(--mpc-light-green);
  transform: rotate(-45deg);
}
.mpc-pill-since::before { border-radius: 50%; background: var(--mpc-amber); transform: none; }
.mpc-powered { margin: 18px 0 0; text-align: center; font-size: 12.5px; color: #bfa983; }
.mpc-powered a, .mpc-powered a:hover { color: #d9c7a6 !important; }

@media (max-width: 575.98px) {
  .title.mpc-title h3 { font-size: 23px; padding: 20px 22px; border-radius: 20px; }
  .mpc-wordmark { font-size: 18px; }
  .card-body, .panel .panel-body { padding: 16px; }
}

/* ---------- Light / dark switch ---------- */
.mpc-theme-toggle {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--mpc-line);
  background: #ffffff;
  color: var(--mpc-forest);
  cursor: pointer;
}
.mpc-theme-toggle:hover { background: var(--mpc-cream); }
.mpc-theme-toggle .mpc-sun { display: none; }
html[data-theme="dark"] .mpc-theme-toggle .mpc-sun { display: block; }
html[data-theme="dark"] .mpc-theme-toggle .mpc-moon { display: none; }
.mpc-login-brand { position: relative; }
.mpc-login-brand .mpc-theme-toggle { position: absolute; right: 16px; top: 16px; }
@media (max-width: 767.98px) { .mpc-header .mpc-theme-toggle { order: 2; } .mpc-navbar { order: 3; } }

/* ---------- Dark mode (matches the website) ---------- */
html[data-theme="dark"] {
  color-scheme: dark;
  --mpc-ink: #f4e9d8;
  --mpc-bg: #17110a;
  --mpc-surface: #221910;
  --mpc-surface-2: #2b2015;
  --mpc-line: #3d2e1e;
  --mpc-muted: #cbb79a;
  --mpc-cream: #2b2015;
  --mpc-leaf-dark: #9be36a;
}
html[data-theme="dark"] body,
html[data-theme="dark"] .panel .panel-heading .panel-title { background: var(--mpc-bg) !important; color: var(--mpc-ink); }
html[data-theme="dark"] h1, html[data-theme="dark"] h2, html[data-theme="dark"] h3, html[data-theme="dark"] h4,
html[data-theme="dark"] h5, html[data-theme="dark"] h6, html[data-theme="dark"] label,
html[data-theme="dark"] .mpc-wordmark, html[data-theme="dark"] address { color: var(--mpc-ink); }
html[data-theme="dark"] .mpc-header { background: #1d150d; border-color: var(--mpc-line); }
html[data-theme="dark"] .mpc-brand { color: var(--mpc-ink) !important; }
html[data-theme="dark"] .mpc-tag { background: var(--mpc-surface-2); color: var(--mpc-amber); }
html[data-theme="dark"] .mpc-navbar .navbar-nav .nav-link { color: var(--mpc-ink) !important; }
html[data-theme="dark"] .mpc-navbar .navbar-nav .nav-link:hover,
html[data-theme="dark"] .mpc-navbar .navbar-nav .show > .nav-link { background: var(--mpc-surface-2); }
html[data-theme="dark"] .mpc-navbar .navbar-nav .nav-item.active > .nav-link { background: var(--mpc-amber); color: var(--mpc-forest) !important; }
html[data-theme="dark"] .mpc-navbar .navbar-nav .nav-item.active > .nav-link i { color: var(--mpc-forest); }
html[data-theme="dark"] .mpc-navbar .navbar-nav:last-child .nav-link { background: var(--mpc-surface-2); border-color: var(--mpc-line); }
html[data-theme="dark"] .mpc-navbar .navbar-toggler { border-color: var(--mpc-line); background: var(--mpc-surface-2); }
html[data-theme="dark"] .mpc-navbar .navbar-toggler-icon { filter: invert(1) sepia(.3); }
html[data-theme="dark"] .mpc-theme-toggle { background: var(--mpc-surface-2); border-color: var(--mpc-line); color: var(--mpc-amber); }
html[data-theme="dark"] .dropdown-menu { background: var(--mpc-surface); border-color: var(--mpc-line); box-shadow: 0 16px 32px -18px rgba(0, 0, 0, 0.6); }
html[data-theme="dark"] .dropdown-item, html[data-theme="dark"] ul.dropdown-menu li a { color: var(--mpc-ink) !important; }
html[data-theme="dark"] .dropdown-item:hover, html[data-theme="dark"] .dropdown-item:focus,
html[data-theme="dark"] ul.dropdown-menu li a:hover { background: var(--mpc-surface-2) !important; color: #fff !important; }
@media (max-width: 767.98px) {
  html[data-theme="dark"] .mpc-navbar .navbar-collapse { background: var(--mpc-surface); border-color: var(--mpc-line); }
  html[data-theme="dark"] nav.navbar .navbar-nav .show .dropdown-menu > a { color: var(--mpc-ink) !important; }
}
html[data-theme="dark"] .title.mpc-title h3 { background: radial-gradient(90% 160% at 0% 0%, rgba(246, 201, 69, 0.14) 0%, rgba(246, 201, 69, 0) 60%), linear-gradient(135deg, #4f2f10 0%, #3a2108 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05); }

/* Cards, panels, lists */
html[data-theme="dark"] .card, html[data-theme="dark"] .card-blesta, html[data-theme="dark"] .panel-blesta,
html[data-theme="dark"] .cards .card { background: var(--mpc-surface); border-color: var(--mpc-line) !important; color: var(--mpc-ink); box-shadow: none; }
html[data-theme="dark"] .card-blesta > .card-header,
html[data-theme="dark"] .panel .card-blesta > .panel-heading { background: var(--mpc-surface) !important; color: var(--mpc-ink) !important; border-color: var(--mpc-line); }
html[data-theme="dark"] .card-footer, html[data-theme="dark"] .panel-footer { background: #1d150d; border-color: var(--mpc-line); }
html[data-theme="dark"] .list-group-item { background: var(--mpc-surface); color: var(--mpc-ink) !important; }
html[data-theme="dark"] a.list-group-item:hover, html[data-theme="dark"] a.list-group-item:focus { background-color: var(--mpc-surface-2) !important; }
html[data-theme="dark"] .list-group-item.active, html[data-theme="dark"] a.list-group-item.active,
html[data-theme="dark"] a.list-group-item.active:hover { background-color: var(--mpc-amber) !important; color: var(--mpc-forest) !important; }
html[data-theme="dark"] .list-group-item.active i { color: var(--mpc-forest); }
html[data-theme="dark"] hr { border-top-color: var(--mpc-line); }

/* Buttons */
html[data-theme="dark"] body .btn-primary, html[data-theme="dark"] body .btn-success,
html[data-theme="dark"] a.btn-primary, html[data-theme="dark"] a.btn-success { background-color: var(--mpc-amber) !important; border-color: var(--mpc-amber) !important; color: var(--mpc-forest) !important; }
html[data-theme="dark"] body .btn-primary:hover, html[data-theme="dark"] body .btn-success:hover { background-color: #e6b92f !important; border-color: #e6b92f !important; }
html[data-theme="dark"] body .btn-light, html[data-theme="dark"] body .btn-default, html[data-theme="dark"] body .btn-secondary,
html[data-theme="dark"] a.btn-light, html[data-theme="dark"] a.btn-default, html[data-theme="dark"] a.btn-secondary { background: var(--mpc-surface-2) !important; border-color: var(--mpc-line) !important; color: var(--mpc-ink) !important; }
html[data-theme="dark"] body .btn-light:hover, html[data-theme="dark"] body .btn-default:hover, html[data-theme="dark"] body .btn-secondary:hover { background: #35281b !important; }

/* Forms */
html[data-theme="dark"] .form-control, html[data-theme="dark"] .custom-select, html[data-theme="dark"] select.form-control,
html[data-theme="dark"] textarea { background-color: var(--mpc-bg); border-color: var(--mpc-line); color: var(--mpc-ink); }
html[data-theme="dark"] .form-control:focus { background-color: #1d150d; color: var(--mpc-ink); border-color: var(--mpc-amber); }
html[data-theme="dark"] .form-control::placeholder { color: #8f7c62; }
html[data-theme="dark"] .input-group-text { background: var(--mpc-surface-2); border-color: var(--mpc-line); color: var(--mpc-ink); }

/* Tables */
html[data-theme="dark"] .table { background: var(--mpc-surface); color: var(--mpc-ink); }
html[data-theme="dark"] .table > tbody > tr > td, html[data-theme="dark"] .table > tbody > tr > th,
html[data-theme="dark"] .table-striped > tbody > tr:nth-of-type(odd), html[data-theme="dark"] .table tbody tr { background-color: var(--mpc-surface) !important; color: var(--mpc-ink); }
html[data-theme="dark"] .table > thead > tr > th { background: #1d150d !important; color: var(--mpc-muted) !important; }
html[data-theme="dark"] .table-striped > tbody > tr:nth-child(2n) > td,
html[data-theme="dark"] .table-striped > tbody > tr:nth-child(2n) > th { background-color: #1f170e !important; }
html[data-theme="dark"] .table-hover > tbody > tr:hover > td,
html[data-theme="dark"] .table-hover > tbody > tr:hover > th { background-color: var(--mpc-surface-2) !important; }

/* Alerts, badges, tabs, pagination, modals */
html[data-theme="dark"] .alert-info { background: var(--mpc-surface-2); border-color: var(--mpc-line); color: var(--mpc-ink); }
html[data-theme="dark"] .alert-success { background: #1f2a17; border-color: #2f3d24; color: #9be36a; }
html[data-theme="dark"] .alert-warning { background: #2e2408; border-color: #5a4610; color: #f6d56b; }
html[data-theme="dark"] body .badge-success { background: #253520 !important; color: #9be36a !important; }
html[data-theme="dark"] body .badge-info { background: #1f2740 !important; color: #a9bdf5 !important; }
html[data-theme="dark"] body .badge-warning { background: #3a2d08 !important; color: #f6d56b !important; }
html[data-theme="dark"] body .badge-danger { background: #3f1a12 !important; color: #f4a490 !important; }
html[data-theme="dark"] body .badge-secondary, html[data-theme="dark"] body .badge-light, html[data-theme="dark"] body .badge-default,
html[data-theme="dark"] .card-links .badge { background: var(--mpc-surface-2) !important; color: var(--mpc-ink) !important; }
html[data-theme="dark"] .card-links > .active a, html[data-theme="dark"] .card-links > .active { color: var(--mpc-ink) !important; }
html[data-theme="dark"] .nav-tabs .nav-link { color: var(--mpc-ink) !important; }
html[data-theme="dark"] .nav-tabs .nav-link.active, html[data-theme="dark"] .nav-tabs .nav-item.show .nav-link { background: var(--mpc-surface); border-color: var(--mpc-line) var(--mpc-line) var(--mpc-surface); }
html[data-theme="dark"] .nav-pills .nav-link { color: var(--mpc-ink) !important; }
html[data-theme="dark"] .nav-pills .nav-link.active { background: var(--mpc-amber) !important; color: var(--mpc-forest) !important; }
html[data-theme="dark"] .pagination .page-link { background: var(--mpc-surface); color: var(--mpc-ink) !important; }
html[data-theme="dark"] .pagination .page-item.active .page-link,
html[data-theme="dark"] div.pagination ul.pagination li.active a { background: var(--mpc-amber) !important; border-color: var(--mpc-amber) !important; color: var(--mpc-forest) !important; }
html[data-theme="dark"] .modal-content { background: var(--mpc-surface); color: var(--mpc-ink); }
html[data-theme="dark"] .close { color: var(--mpc-ink); text-shadow: none; }
html[data-theme="dark"] .text-muted, html[data-theme="dark"] small.text-muted { color: var(--mpc-muted) !important; }
html[data-theme="dark"] .row.login .panel-blesta { box-shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.7); }
html[data-theme="dark"] .mpc-footer { background: #110c07; border-top: 1px solid var(--mpc-line); }

/* ---------- Login page ---------- */
.mpc-login {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  max-width: 980px;
  margin: 8px auto 0;
  border-radius: 28px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--mpc-line);
  box-shadow: 0 30px 60px -36px rgba(64, 36, 8, 0.45);
}
.mpc-login-side {
  padding: 48px 44px;
  color: #ffffff;
  background: radial-gradient(90% 120% at 0% 0%, rgba(246, 201, 69, 0.14) 0%, rgba(246, 201, 69, 0) 60%), linear-gradient(135deg, #4a2b0c 0%, #361d06 100%);
}
.mpc-login-side h1 { margin: 0 0 10px; color: #ffffff !important; font: 800 40px/1.05 var(--mpc-head); letter-spacing: -0.02em; }
.mpc-login-side p { margin: 0 0 26px; color: rgba(255, 241, 220, 0.86); font-size: 17px; }
.mpc-login-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mpc-login-ticks li { position: relative; padding-left: 30px; font-weight: 600; color: #ffffff; }
.mpc-login-ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--mpc-amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3L14.5 7' fill='none' stroke='%23402408' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.mpc-login-card { padding: 44px 44px 36px; }
.mpc-login-card h2 { margin: 0 0 6px; font: 800 28px/1.15 var(--mpc-head); letter-spacing: -0.02em; }
.mpc-login-sub { margin: 0 0 22px; color: var(--mpc-muted); font-size: 15.5px; }
.mpc-login-card .form-group { margin-bottom: 16px; }
.mpc-login-card label { margin-bottom: 6px; font-size: 15px; }
.mpc-login-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 4px 0 18px; font-size: 14.5px; }
.mpc-login-remember { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; cursor: pointer; }
.mpc-login-remember input { width: 17px; height: 17px; accent-color: #402408; }
.mpc-login-btn { min-height: 50px; font-size: 16px !important; }
.mpc-login-forgot { margin: 14px 0 0; text-align: center; font-size: 14.5px; }
.mpc-login-foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--mpc-line);
  color: var(--mpc-muted);
  font-size: 14.5px;
}
.mpc-login-foot a { font-weight: 700; }
.row.login .hidden { display: none !important; }
@media (max-width: 767.98px) {
  .mpc-login { grid-template-columns: 1fr; border-radius: 22px; }
  .mpc-login-side { padding: 28px 24px; }
  .mpc-login-side h1 { font-size: 30px; }
  .mpc-login-side p { margin-bottom: 18px; }
  .mpc-login-ticks { gap: 8px; }
  .mpc-login-card { padding: 28px 22px 26px; }
}
html[data-theme="dark"] .mpc-login { background: var(--mpc-surface); border-color: var(--mpc-line); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.8); }
html[data-theme="dark"] .mpc-login-side { background: radial-gradient(90% 120% at 0% 0%, rgba(246, 201, 69, 0.14) 0%, rgba(246, 201, 69, 0) 60%), linear-gradient(135deg, #4f2f10 0%, #3a2108 100%); }
html[data-theme="dark"] .mpc-login-remember input { accent-color: #f6c945; }

/* ---------- Front page (Tools > CMS, page "/") ---------- */
.mpc-portal { width: 100%; padding: 0 15px; }
.mpc-portal-intro { max-width: 46em; margin: 0 0 26px; font-size: 18px; color: var(--mpc-muted); }
.mpc-portal-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
a.mpc-tile, a.mpc-tile:hover { text-decoration: none !important; }
.mpc-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 22px 22px;
  border-radius: 22px;
  border: 1px solid var(--mpc-line);
  background: #ffffff;
  color: var(--mpc-forest) !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.mpc-tile:hover { transform: translateY(-2px); border-color: var(--mpc-amber); box-shadow: 0 16px 32px -22px rgba(64, 36, 8, 0.45); }
.mpc-tile::before {
  content: "";
  width: 46px;
  height: 46px;
  margin-bottom: 8px;
  border-radius: 14px;
  background: var(--mpc-cream) center/24px no-repeat;
}
.mpc-tile-title { font: 800 20px/1.2 var(--mpc-head); letter-spacing: -0.01em; }
.mpc-tile-text { font-size: 15px; line-height: 1.5; color: var(--mpc-muted); }
.mpc-tile-go { margin-top: auto; padding-top: 10px; font-weight: 700; font-size: 15px; color: var(--mpc-leaf-dark); }
.mpc-tile--main { background: radial-gradient(90% 120% at 0% 0%, rgba(246, 201, 69, 0.14) 0%, rgba(246, 201, 69, 0) 60%), linear-gradient(135deg, #4a2b0c 0%, #361d06 100%); border-color: transparent; color: #ffffff !important; }
.mpc-tile--main .mpc-tile-text { color: rgba(255, 241, 220, 0.86); }
.mpc-tile--main .mpc-tile-go { color: var(--mpc-amber); }
.mpc-tile--main::before { background-color: var(--mpc-amber); }
.mpc-tile--login::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23402408' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4M10 17l5-5-5-5M15 12H3'/%3E%3C/svg%3E"); }
.mpc-tile--order::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23402408' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='7' rx='2'/%3E%3Crect x='3' y='13' width='18' height='7' rx='2'/%3E%3Cpath d='M7 7.5h.01M7 16.5h.01'/%3E%3C/svg%3E"); }
.mpc-tile--help::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23402408' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20V3H6.5A2.5 2.5 0 0 0 4 5.5z'/%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 0 6.5 22H20v-5'/%3E%3C/svg%3E"); }
.mpc-tile--ticket::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23402408' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E"); }
.mpc-portal-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin: 22px 0 8px;
  padding: 26px 30px;
  border-radius: 22px;
  border: 1px solid var(--mpc-line);
  background: var(--mpc-cream);
}
.mpc-portal-strip h3 { margin: 0 0 4px; font: 800 22px/1.2 var(--mpc-head); }
.mpc-portal-strip p { margin: 0; color: var(--mpc-muted); font-size: 15.5px; }
.mpc-portal-strip .btn { padding: 12px 24px; }
.mpc-portal-help { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--mpc-muted); }
.mpc-portal-help li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--mpc-amber); vertical-align: 1px; }
@media (max-width: 991.98px) { .mpc-portal-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) {
  .mpc-portal-tiles { grid-template-columns: 1fr; }
  .mpc-portal-strip { padding: 22px; }
  .mpc-portal-intro { font-size: 16.5px; }
}
html[data-theme="dark"] .mpc-tile { background: var(--mpc-surface); color: var(--mpc-ink) !important; }
html[data-theme="dark"] .mpc-tile::before { background-color: #f6c945; }
html[data-theme="dark"] .mpc-tile--main { background: radial-gradient(90% 120% at 0% 0%, rgba(246, 201, 69, 0.14) 0%, rgba(246, 201, 69, 0) 60%), linear-gradient(135deg, #4f2f10 0%, #3a2108 100%); }
html[data-theme="dark"] .mpc-tile:hover { box-shadow: 0 16px 32px -22px rgba(0, 0, 0, 0.8); }
html[data-theme="dark"] .mpc-portal-strip { background: #1f170e; }

/* ---------- Website header and footer (fetched from WordPress) ---------- */
.hg-chrome--header { position: relative; z-index: 30; }
.hg-chrome--footer { margin-top: 48px; }
/* My Account bar under the website header */
.mpc-subnav { background: #ffffff; border-bottom: 1px solid var(--mpc-line); position: relative; z-index: 20; }
.mpc-subnav-inner { display: flex; align-items: center; gap: 10px 18px; min-height: 58px; flex-wrap: wrap; }
.mpc-subnav-label {
  flex: none;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--mpc-cream);
  color: var(--mpc-forest);
  font: 700 11.5px/1.2 var(--mpc-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mpc-subnav .mpc-navbar { flex: 1 1 auto; justify-content: space-between; }
.mpc-subnav .mpc-navbar .navbar-collapse { flex-grow: 1; }
.mpc-subnav .mpc-nav-lists { width: 100%; justify-content: space-between; }
.mpc-subnav .mpc-navbar .navbar-nav .nav-link { min-height: 38px; font-size: 14.5px; }
html[data-theme="dark"] .mpc-subnav { background: #1a130b; border-color: var(--mpc-line); }
html[data-theme="dark"] .mpc-subnav-label { background: var(--mpc-surface-2); color: var(--mpc-amber); }
@media (max-width: 767.98px) {
  .mpc-subnav-inner { position: relative; min-height: 54px; justify-content: space-between; }
  .mpc-subnav .mpc-navbar { flex: 0 0 auto; }
}
/* Keep the website header and footer colours (Blesta colours every link green) */
body .hg-chrome a:hover { text-decoration: none; }
body .hg-chrome .site-name, body .hg-chrome .site-name:hover { color: inherit !important; }
body .hg-chrome .primary-nav a, body .hg-chrome .primary-nav a:hover { color: #402408 !important; }
body .hg-chrome .header-cta, body .hg-chrome .header-cta:hover { color: #ffffff !important; }
body .hg-chrome .site-footer a { color: #e9dcc3 !important; }
body .hg-chrome .site-footer a:hover { color: #ffffff !important; text-decoration: underline; }
html[data-theme="dark"] body .hg-chrome .primary-nav a, html[data-theme="dark"] body .hg-chrome .primary-nav a:hover { color: #f4e9d8 !important; }
html[data-theme="dark"] body .hg-chrome .header-cta, html[data-theme="dark"] body .hg-chrome .header-cta:hover { color: #402408 !important; }
body .hg-chrome .logo { margin: 0; }
@media (max-width: 560px) { body .hg-chrome .header-inner { gap: 12px; } }
@media (max-width: 420px) {
  body .hg-chrome .header-inner { gap: 10px; }
  body .hg-chrome .site-name { gap: 8px; }
  body .hg-chrome .site-mark { width: 34px; height: 34px; }
  body .hg-chrome .site-wordmark { font-size: 19px; }
  body .hg-chrome .nav-toggle { padding: 8px 13px; }
  body .hg-chrome .theme-toggle { width: 38px; height: 38px; }
}
.mpc-login-gap { height: 36px; }
.mpc-powered--chrome { margin: 0; padding: 0 0 18px; background: var(--mpc-forest); }
html[data-theme="dark"] .mpc-powered--chrome { background: #110c07; }
body .hg-chrome--footer { margin-top: 48px; }

/* ---------- Order page (/order/) ---------- */
.mpc-order{padding:6px 0 48px;font-family:var(--mpc-body)}
.mpc-order__intro{margin:4px 0 26px}
.mpc-order__intro h2{font-family:var(--mpc-head);font-weight:800;font-size:30px;letter-spacing:-.01em;margin:0 0 6px;color:var(--mpc-forest)}
.mpc-order__intro p{margin:0;color:var(--mpc-muted);font-size:17px}
.mpc-order__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}
.mpc-ocard{position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid var(--mpc-line);border-radius:24px;padding:32px 32px 30px;box-shadow:0 1px 0 rgba(64,36,8,.04),0 18px 40px -28px rgba(64,36,8,.35);overflow:hidden}
.mpc-ocard::after{content:"";position:absolute;right:-60px;top:-60px;width:200px;height:200px;border-radius:50%;background:radial-gradient(circle,rgba(246,201,69,.28),rgba(246,201,69,0) 70%);pointer-events:none}
.mpc-ocard--domains::after{background:radial-gradient(circle,rgba(72,176,28,.20),rgba(72,176,28,0) 70%)}
.mpc-ocard__icon{width:58px;height:58px;border-radius:16px;display:grid;place-items:center;background:var(--mpc-forest);color:var(--mpc-amber);margin-bottom:18px}
.mpc-ocard--domains .mpc-ocard__icon{background:var(--mpc-leaf-dark);color:#fff}
.mpc-ocard__eyebrow{margin:0 0 4px;font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--mpc-leaf-dark)}
.mpc-ocard h3{font-family:var(--mpc-head);font-weight:800;font-size:25px;line-height:1.2;margin:0 0 12px;color:var(--mpc-forest)}
.mpc-ocard__price{margin:0 0 16px;color:var(--mpc-muted)}
.mpc-ocard__price strong{font-family:var(--mpc-head);font-size:36px;font-weight:800;color:var(--mpc-forest);letter-spacing:-.02em}
.mpc-ocard__price small{font-size:15px}
.mpc-ocard__list{list-style:none;margin:0 0 22px;padding:0;display:grid;gap:9px}
.mpc-ocard__list li{position:relative;padding-left:30px;font-size:16px;line-height:1.45}
.mpc-ocard__list li::before{content:"";position:absolute;left:0;top:2px;width:20px;height:20px;border-radius:50%;background:var(--mpc-mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a7a0d' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat}
.mpc-ocard__plans{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:auto 0 18px}
.mpc-ocard__plans a{display:flex;flex-direction:column;align-items:center;gap:2px;padding:12px 8px;border:1.5px solid var(--mpc-line);border-radius:14px;text-decoration:none;color:var(--mpc-forest);background:var(--mpc-bg);transition:border-color .15s,transform .15s}
.mpc-ocard__plans a:hover{border-color:var(--mpc-leaf);transform:translateY(-2px);text-decoration:none}
.mpc-ocard__plans a b{font-family:var(--mpc-head);font-size:17px}
.mpc-ocard__plans a span{font-size:14px;color:var(--mpc-muted)}
.mpc-ocard__plans a.is-pop{border-color:var(--mpc-amber);background:#fdf0c4}
.mpc-obtn{display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:15px 28px;border-radius:999px;background:var(--mpc-forest);color:#fff !important;font-weight:700;font-size:16.5px;text-decoration:none !important;transition:background .15s}
.mpc-obtn:hover{background:var(--mpc-forest-2)}
.mpc-ocard .mpc-obtn{width:100%}
.mpc-obtn--ghost{background:#fff;color:var(--mpc-forest) !important;border:1.5px solid var(--mpc-forest)}
.mpc-obtn--ghost:hover{background:var(--mpc-amber)}
.mpc-osearch{display:flex;gap:8px;margin:auto 0 12px;padding:6px;border:1.5px solid var(--mpc-line);border-radius:999px;background:var(--mpc-bg)}
.mpc-osearch input{flex:1;min-width:0;border:0;background:transparent;padding:10px 16px;font-size:16.5px;color:var(--mpc-forest);outline:0}
.mpc-osearch button{border:0;border-radius:999px;background:var(--mpc-leaf-dark);color:#fff;font-weight:700;font-size:16px;padding:11px 26px;cursor:pointer}
.mpc-osearch button:hover{background:var(--mpc-forest)}
.mpc-osearch:focus-within{border-color:var(--mpc-leaf)}
.mpc-ocard__alt{margin:0;font-size:15px;color:var(--mpc-muted);text-align:center}
.mpc-ocard__alt a{color:var(--mpc-leaf-dark);font-weight:700}
.mpc-order__help{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:22px;margin-top:26px;padding:24px 30px;border-radius:24px;background:radial-gradient(circle at 95% 50%,rgba(246,201,69,.22),rgba(246,201,69,0) 45%),var(--mpc-forest);color:#f6edd6}
.mpc-order__monkey{width:58px;height:58px;border-radius:50%;background:var(--mpc-amber);display:grid;place-items:center;font-size:30px}
.mpc-order__help h3{font-family:var(--mpc-head);font-weight:800;font-size:21px;margin:0 0 4px;color:#fff}
.mpc-order__help p{margin:0;font-size:15.5px;opacity:.9}
.mpc-order__helpbtns{display:flex;gap:10px}
.mpc-order__help .mpc-obtn--ghost{background:transparent;color:#fff !important;border-color:rgba(255,255,255,.5);padding:12px 22px}
.mpc-order__help .mpc-obtn--ghost:hover{background:var(--mpc-amber);color:var(--mpc-forest) !important;border-color:var(--mpc-amber)}
.mpc-order__trust{list-style:none;padding:0;margin:22px 0 0;display:flex;flex-wrap:wrap;justify-content:center;gap:10px 28px;font-size:15px;color:var(--mpc-muted)}
.mpc-order__trust span{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--mpc-mint);color:var(--mpc-leaf-dark);font-weight:800;font-size:12px;margin-right:4px}
@media (max-width:860px){
  .mpc-order__grid{grid-template-columns:1fr}
  .mpc-order__help{grid-template-columns:1fr;text-align:left}
  .mpc-order__intro h2{font-size:25px}
  .mpc-ocard{padding:26px 22px}
}
/* dark */
html[data-theme="dark"] .mpc-order__intro h2,html[data-theme="dark"] .mpc-ocard h3,html[data-theme="dark"] .mpc-ocard__price strong{color:#f6edd6}
html[data-theme="dark"] .mpc-order__intro p,html[data-theme="dark"] .mpc-ocard__price,html[data-theme="dark"] .mpc-ocard__alt,html[data-theme="dark"] .mpc-order__trust{color:#d9c6a5}
html[data-theme="dark"] .mpc-ocard{background:#2e1a07;border-color:#4a2e12;color:#f4e9d8}
html[data-theme="dark"] .mpc-ocard__plans a,html[data-theme="dark"] .mpc-osearch{background:#24140a;border-color:#4a2e12;color:#f6edd6}
html[data-theme="dark"] .mpc-ocard__plans a span{color:#d9c6a5}
html[data-theme="dark"] .mpc-ocard__plans a.is-pop{background:#3d2a0a;border-color:var(--mpc-amber)}
html[data-theme="dark"] .mpc-osearch input{color:#f6edd6}
html[data-theme="dark"] .mpc-ocard .mpc-obtn{background:var(--mpc-amber);color:var(--mpc-forest) !important}
html[data-theme="dark"] .mpc-ocard__list li::before{background-color:#2f4a1c}
html[data-theme="dark"] .mpc-order__help{background:radial-gradient(circle at 95% 50%,rgba(246,201,69,.16),rgba(246,201,69,0) 45%),#24140a;border:1px solid #4a2e12}
.mpc-otlds{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}
.mpc-otlds span{display:inline-flex;align-items:baseline;gap:6px;padding:7px 14px;border-radius:999px;background:var(--mpc-mint);font-size:14.5px;color:var(--mpc-leaf-dark)}
.mpc-otlds b{font-family:var(--mpc-head);font-size:16px;color:var(--mpc-forest)}
html[data-theme="dark"] .mpc-otlds span{background:#2f4a1c;color:#cfe8b8}
html[data-theme="dark"] .mpc-otlds b{color:#fff}
.mpc-osearch-wrap{margin:auto 0 0}
.mpc-osearch-wrap .mpc-osearch{margin:0 0 12px}
.mpc-linkbtn{border:0;background:none;padding:0;font:inherit;font-weight:700;color:var(--mpc-leaf-dark);text-decoration:underline;cursor:pointer}
.mpc-linkbtn:hover{color:var(--mpc-forest)}
html[data-theme="dark"] .mpc-linkbtn{color:var(--mpc-light-green)}
.mpc-order__monkey img{display:block;width:40px;height:auto}

/* ---------- Order steps (plans, set up, checkout) ---------- */
.mpc-steps-wrap{padding-left:15px;padding-right:15px}
.mpc-steps{list-style:none;margin:6px 0 26px;padding:0;display:flex;gap:10px;counter-reset:none}
.mpc-steps li{flex:1;display:flex;align-items:center;gap:10px;padding:12px 16px;border-radius:14px;background:#fff;border:1px solid var(--mpc-line);color:var(--mpc-muted);font-weight:600;font-size:15px}
.mpc-steps__n{flex:none;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--mpc-cream);color:var(--mpc-muted);font-family:var(--mpc-head);font-weight:800;font-size:14px}
.mpc-steps li.is-done{color:var(--mpc-leaf-dark)}
.mpc-steps li.is-done .mpc-steps__n{background:var(--mpc-mint);color:var(--mpc-leaf-dark)}
.mpc-steps li.is-now{background:var(--mpc-forest);border-color:var(--mpc-forest);color:#fff}
.mpc-steps li.is-now .mpc-steps__n{background:var(--mpc-amber);color:var(--mpc-forest)}
@media (max-width:700px){.mpc-steps li{padding:10px}.mpc-steps li:not(.is-now) .mpc-steps__t{display:none}.mpc-steps li:not(.is-now){flex:none}}

/* ---------- Set up your plan ---------- */
.mpc-ordering #package-config > form > .row > .col-md-6:first-child{background:#fff;border:1px solid var(--mpc-line);border-radius:24px;padding:28px 30px;box-shadow:0 18px 40px -30px rgba(64,36,8,.35);align-self:flex-start}
.mpc-ordering #package-config > form > .row{row-gap:22px}
@media (min-width:768px){.mpc-ordering #package-config > form > .row > .col-md-6:first-child{margin-left:10px;max-width:calc(50% - 10px)}}
.mpc-ordering #package-config > form > .row > .col-md-6:last-child{padding-left:26px}
.mpc-ordering #package-config .section-title h3,.mpc-ordering #summary-details .section-title h3{font-family:var(--mpc-head);font-weight:800;font-size:25px;margin:0 0 4px}
.mpc-ordering #package-config .section-title h3 i,.mpc-ordering #summary-details .section-title h3 i{color:var(--mpc-leaf-dark);font-size:20px;margin-right:4px}
.mpc-ordering #package-config .section-title p,.mpc-ordering #summary-details .section-title p{color:var(--mpc-muted);font-size:15.5px;margin:0 0 18px}
.mpc-ordering #package-config h4{font-family:var(--mpc-head);font-weight:800;font-size:18px;margin:22px 0 10px}
.mpc-ordering #package-config h5{font-family:var(--mpc-head);font-weight:800;font-size:18px;margin:24px 0 4px;padding-top:20px;border-top:1px solid var(--mpc-line)}
.mpc-ordering #package-config label{font-weight:700;font-size:14.5px}
.mpc-ordering #package-config .form-control{height:auto;padding:13px 16px;border-radius:14px;border:1.5px solid var(--mpc-line);font-size:16.5px;background-color:var(--mpc-bg)}
.mpc-ordering #package-config .form-control:focus{border-color:var(--mpc-leaf);box-shadow:0 0 0 4px rgba(72,176,28,.15);background-color:#fff}
.mpc-hint{color:var(--mpc-muted);font-size:14.5px;margin:0 0 12px}
.mpc-included{margin-top:24px;padding:18px 20px;border-radius:16px;background:var(--mpc-bg);border:1px solid var(--mpc-line)}
.mpc-included h4{margin:0 0 10px !important;font-size:16px !important}
.mpc-included ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:7px 16px}
.mpc-included li{position:relative;padding-left:26px;font-size:14.5px;line-height:1.4}
.mpc-included li::before{content:"";position:absolute;left:0;top:1px;width:18px;height:18px;border-radius:50%;background:var(--mpc-mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a7a0d' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/11px no-repeat}
.mpc-guarantee{margin:14px 0 0;padding-top:12px;border-top:1px dashed var(--mpc-line);font-size:14px;font-weight:600;color:var(--mpc-leaf-dark)}
.mpc-guarantee span{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;background:var(--mpc-leaf-dark);color:#fff;font-size:11px;margin-right:6px}
@media (max-width:560px){.mpc-included ul{grid-template-columns:1fr}}

/* ---------- Order summary ---------- */
.mpc-ordering #summary-details .card-order{background:#fff !important;border:1px solid var(--mpc-line);border-radius:24px;padding:22px 22px 18px !important;box-shadow:0 18px 40px -30px rgba(64,36,8,.35)}
.mpc-ordering #summary-details .table{margin:0;background:transparent}
.mpc-ordering #summary-details thead th{background:transparent !important;border:0 !important;border-bottom:1px solid var(--mpc-line) !important;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--mpc-muted);padding:0 4px 10px !important}
.mpc-ordering #summary-details thead th:nth-child(2){width:1%;font-size:0}
.mpc-ordering #summary-details thead th:last-child{text-align:right}
.mpc-ordering #summary-details td{border:0 !important;padding:12px 4px !important;vertical-align:top;font-size:15px}
.mpc-ordering #summary-details tbody td:nth-child(2){color:var(--mpc-muted);white-space:nowrap;font-size:13px;padding-top:15px !important}
.mpc-ordering #summary-details td strong{font-weight:700}
.mpc-ordering #summary-details td.price-col{float:none !important;text-align:right}
.mpc-ordering #summary-details hr{border-color:var(--mpc-line);margin:4px 0}
.mpc-ordering #summary-details .total-due{text-align:right}
.mpc-ordering #summary-details .total-due small{display:block;color:var(--mpc-muted);font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.1em}
.mpc-ordering #summary-details .total-due h4{font-family:var(--mpc-head);font-weight:800;font-size:34px;margin:2px 0 10px;color:var(--mpc-forest)}
.mpc-ordering #summary-details .total-due p{font-size:14px;color:var(--mpc-muted)}
.mpc-ordering #summary-details .total-due p strong{color:var(--mpc-forest)}
.mpc-ordering #summary-details a[href="#coupon_box"]{color:var(--mpc-leaf-dark);font-size:14.5px}
.mpc-ordering #empty_cart{background:none !important;border:0 !important;box-shadow:none !important;color:var(--mpc-muted) !important;font-size:13.5px;font-weight:600;padding:8px 4px;margin-top:6px;text-decoration:underline}
.mpc-ordering #empty_cart:hover{color:#a3271a !important}
.mpc-ordering #package-config button[type="submit"].btn-success{float:right;border-radius:999px;padding:15px 30px;font-size:17px;font-weight:700;background:var(--mpc-forest) !important;border-color:var(--mpc-forest) !important;color:#fff !important}
.mpc-ordering #package-config button[type="submit"].btn-success:hover{background:var(--mpc-forest-2) !important}
@media (max-width:767px){
  .mpc-ordering #package-config > form > .row > .col-md-6:last-child{padding-left:15px}
  .mpc-ordering #package-config > form > .row > .col-md-6:first-child{margin:0 10px;padding:22px 18px}
  .mpc-ordering #package-config button[type="submit"].btn-success{width:100%}
}
/* dark */
html[data-theme="dark"] .mpc-steps li{background:#2e1a07;border-color:#4a2e12;color:#d9c6a5}
html[data-theme="dark"] .mpc-steps__n{background:#24140a;color:#d9c6a5}
html[data-theme="dark"] .mpc-steps li.is-now{background:var(--mpc-amber);border-color:var(--mpc-amber);color:var(--mpc-forest)}
html[data-theme="dark"] .mpc-steps li.is-now .mpc-steps__n{background:var(--mpc-forest);color:var(--mpc-amber)}
html[data-theme="dark"] .mpc-steps li.is-done{color:var(--mpc-light-green)}
html[data-theme="dark"] .mpc-steps li.is-done .mpc-steps__n{background:#2f4a1c;color:var(--mpc-light-green)}
html[data-theme="dark"] .mpc-ordering #package-config > form > .row > .col-md-6:first-child,
html[data-theme="dark"] .mpc-ordering #summary-details .card-order{background:#2e1a07 !important;border-color:#4a2e12;color:#f4e9d8}
html[data-theme="dark"] .mpc-ordering #package-config .form-control{background-color:#24140a;border-color:#4a2e12;color:#f6edd6}
html[data-theme="dark"] .mpc-included{background:#24140a;border-color:#4a2e12}
html[data-theme="dark"] .mpc-hint,html[data-theme="dark"] .mpc-ordering #summary-details .total-due small,html[data-theme="dark"] .mpc-ordering #summary-details .total-due p{color:#d9c6a5}
html[data-theme="dark"] .mpc-ordering #summary-details .total-due h4,html[data-theme="dark"] .mpc-ordering #summary-details .total-due p strong{color:#fff}
html[data-theme="dark"] .mpc-guarantee{color:var(--mpc-light-green)}
html[data-theme="dark"] .mpc-ordering #package-config button[type="submit"].btn-success{background:var(--mpc-amber) !important;border-color:var(--mpc-amber) !important;color:var(--mpc-forest) !important}
html[data-theme="dark"] .mpc-ordering #summary-details td,html[data-theme="dark"] .mpc-ordering #summary-details tr{background:transparent !important;color:#f4e9d8}

/* ---------- Plan list (order/main/packages) ---------- */
.mpc-ordering .section-title h3{font-family:var(--mpc-head);font-weight:800;font-size:28px;margin:0 0 4px}
.mpc-ordering .section-title p.format{color:var(--mpc-muted);font-size:16.5px;margin:0 0 22px}
.mpc-plan-row{justify-content:center;row-gap:24px}
.mpc-plan-row > .package-boxes{flex:1 1 300px;max-width:380px}
.mpc-ordering .package-boxes .package{position:relative;height:100%;display:flex;flex-direction:column;background:#fff;border:1.5px solid var(--mpc-line) !important;border-radius:24px !important;padding:28px 26px 24px;box-shadow:0 18px 40px -30px rgba(64,36,8,.35);transition:border-color .15s,box-shadow .15s,transform .15s;overflow:visible}
.mpc-ordering .package-boxes .package:hover{transform:translateY(-2px)}
.mpc-ordering .package-boxes .package.selected{border-color:var(--mpc-leaf) !important;box-shadow:0 0 0 4px rgba(72,176,28,.14),0 18px 40px -30px rgba(64,36,8,.35)}
.mpc-ordering .package-boxes .package.mpc-popular{border-color:var(--mpc-amber) !important}
.mpc-plan-badge{position:absolute;top:-13px;left:50%;transform:translateX(-50%);background:var(--mpc-amber);color:var(--mpc-forest);font-weight:800;font-size:12px;letter-spacing:.08em;text-transform:uppercase;padding:5px 14px;border-radius:999px;white-space:nowrap}
.mpc-ordering .package .package-name.card-header{background:none !important;border:0 !important;padding:0 !important;text-align:left}
.mpc-ordering .package .package-name h4{font-family:var(--mpc-head);font-weight:800;font-size:26px;margin:0;color:var(--mpc-forest)}
.mpc-plan-tag{margin:2px 0 0;color:var(--mpc-muted);font-size:15px}
.mpc-plan-price{margin:16px 0 4px}
.mpc-plan-price strong{font-family:var(--mpc-head);font-weight:800;font-size:40px;letter-spacing:-.02em;color:var(--mpc-forest)}
.mpc-plan-price span{color:var(--mpc-muted);font-size:16px;margin-left:2px}
.mpc-ordering .package .price-box{padding:0 !important;margin:8px 0 6px;background:none !important;border:0 !important}
.mpc-ordering .package .price-box .instructions{font-size:13px;font-weight:700;color:var(--mpc-muted);text-transform:uppercase;letter-spacing:.08em;margin-bottom:6px}
.mpc-ordering .package .price-box select{width:100%;height:auto;padding:11px 14px;border-radius:12px;border:1.5px solid var(--mpc-line);background-color:var(--mpc-bg);font-size:15.5px}
.mpc-plan-features{list-style:none;margin:16px 0 20px !important;padding:16px 0 0 !important;border-top:1px solid var(--mpc-line);display:grid;gap:9px}
.mpc-plan-features li{position:relative;padding-left:28px;font-size:15px;line-height:1.4}
.mpc-plan-features li::before{content:"";position:absolute;left:0;top:1px;width:19px;height:19px;border-radius:50%;background:var(--mpc-mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a7a0d' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/11px no-repeat}
.mpc-ordering .package .order.card-footer{margin-top:auto;padding:0 !important;background:none !important;border:0 !important}
.mpc-ordering .package .order .btn{border-radius:999px !important;padding:13px 20px;font-weight:700;font-size:16px}
.mpc-ordering .package .unselected-btn .btn{background:#fff !important;border:1.5px solid var(--mpc-forest) !important;color:var(--mpc-forest) !important}
.mpc-ordering .package .unselected-btn .btn:hover{background:var(--mpc-amber) !important;border-color:var(--mpc-amber) !important}
.mpc-ordering .package .selected-btn .btn{background:var(--mpc-mint) !important;border:1.5px solid var(--mpc-leaf) !important;color:var(--mpc-leaf-dark) !important}
.mpc-plan-actions{margin-top:8px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.mpc-plan-actions > .float-right{float:none !important;margin-left:auto;text-align:right}
.mpc-plan-help{display:flex;flex-wrap:wrap;align-items:center;gap:8px 22px;font-size:15px}
.mpc-plan-help .mpc-guarantee{margin:0;padding:0;border:0}
.mpc-plan-help a{color:var(--mpc-leaf-dark);font-weight:700;text-decoration:underline}
.mpc-plan-actions .btn-group{display:flex;align-items:center;gap:14px}
.mpc-plan-actions .btn-group .btn-secondary{background:none !important;border:0 !important;box-shadow:none !important;color:var(--mpc-muted) !important;font-size:14.5px;font-weight:600;padding:8px 4px;text-decoration:underline;border-radius:0 !important}
.mpc-plan-actions .btn-group .btn-success{border-radius:999px !important;padding:15px 32px;font-size:17px;font-weight:700;background:var(--mpc-forest) !important;border-color:var(--mpc-forest) !important;color:#fff !important}
.mpc-plan-actions small{display:block;margin-top:8px;color:var(--mpc-muted);font-size:13.5px}
@media (max-width:767px){.mpc-plan-actions > .float-right{margin-left:0;text-align:left;width:100%}.mpc-plan-actions .btn-group{width:100%;flex-direction:row-reverse;justify-content:space-between}}
html[data-theme="dark"] .mpc-ordering .package-boxes .package{background:#2e1a07;border-color:#4a2e12 !important;color:#f4e9d8}
html[data-theme="dark"] .mpc-ordering .package .package-name h4,html[data-theme="dark"] .mpc-plan-price strong{color:#fff}
html[data-theme="dark"] .mpc-plan-tag,html[data-theme="dark"] .mpc-plan-price span,html[data-theme="dark"] .mpc-ordering .section-title p.format{color:#d9c6a5}
html[data-theme="dark"] .mpc-ordering .package .price-box select{background-color:#24140a;border-color:#4a2e12;color:#f6edd6}
html[data-theme="dark"] .mpc-plan-features{border-color:#4a2e12}
html[data-theme="dark"] .mpc-ordering .package .unselected-btn .btn{background:transparent !important;border-color:#f6edd6 !important;color:#f6edd6 !important}
html[data-theme="dark"] .mpc-ordering .package .selected-btn .btn{background:#2f4a1c !important;color:var(--mpc-light-green) !important}
html[data-theme="dark"] .mpc-plan-actions .btn-group .btn-success{background:var(--mpc-amber) !important;border-color:var(--mpc-amber) !important;color:var(--mpc-forest) !important}
html[data-theme="dark"] .mpc-plan-help a{color:var(--mpc-light-green)}
.mpc-ordering .package-boxes .package{opacity:1 !important;text-align:left !important;margin:10px 0 0 !important}
.mpc-ordering .package-boxes .package:not(.selected){background:#fffdf8}
.mpc-ordering .package .package-name h4{padding:0 !important}
.mpc-ordering .package p.mpc-plan-tag{border:0 !important;padding:0 !important;margin:2px 0 0 !important}
.mpc-ordering .package .price-box{min-height:0 !important}
.mpc-ordering .package .price-box p{display:none}
.mpc-plan-price{text-align:left}
html[data-theme="dark"] .mpc-ordering .package-boxes .package:not(.selected){background:#291706}
/* Order page plan buttons: clearly clickable */
.mpc-ocard__plans a{position:relative;z-index:2;cursor:pointer}
.mpc-ocard__plans a em{font-style:normal;font-size:12.5px;font-weight:700;color:var(--mpc-leaf-dark);margin-top:3px;opacity:.85}
.mpc-ocard__plans a:hover em{opacity:1;text-decoration:underline}
.mpc-ocard .mpc-obtn{position:relative;z-index:2}
html[data-theme="dark"] .mpc-ocard__plans a em{color:var(--mpc-light-green)}
/* Steps you've done are links back */
.mpc-steps li{padding:0}
.mpc-steps li > a,.mpc-steps li > .mpc-steps__in{display:flex;align-items:center;gap:10px;width:100%;padding:12px 16px;color:inherit;text-decoration:none !important;border-radius:14px}
.mpc-steps li.is-done{cursor:pointer;transition:border-color .15s,background .15s}
.mpc-steps li.is-done:hover{border-color:var(--mpc-leaf);background:var(--mpc-mint)}
.mpc-steps li.is-done a:hover .mpc-steps__t{text-decoration:underline}
@media (max-width:700px){.mpc-steps li > a,.mpc-steps li > .mpc-steps__in{padding:10px}}
html[data-theme="dark"] .mpc-steps li.is-done:hover{background:#2f4a1c}

/* Plans: click anywhere on a plan to choose it */
.mpc-ordering .package-boxes .package:not(.selected){cursor:pointer}
.mpc-ordering .package-boxes .package:not(.selected) select{pointer-events:none}
.mpc-ordering .package-boxes .package:not(.selected):hover{border-color:var(--mpc-leaf) !important}

/* Group list (forms with more than one group) */
.mpc-groups{display:grid;gap:14px;border:0}
.mpc-groups a.list-group-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 26px !important;border:1.5px solid var(--mpc-line) !important;border-radius:20px !important;background:#fff;text-decoration:none !important;transition:border-color .15s,transform .15s}
.mpc-groups a.list-group-item:hover{border-color:var(--mpc-leaf) !important;transform:translateY(-2px)}
.mpc-groups a.list-group-item h4{margin:0;font-family:var(--mpc-head);font-weight:800;font-size:22px;color:var(--mpc-forest) !important}
.mpc-groups__go{flex:none;font-weight:700;color:var(--mpc-leaf-dark);font-size:15px}
html[data-theme="dark"] .mpc-groups a.list-group-item{background:#2e1a07;border-color:#4a2e12 !important}
html[data-theme="dark"] .mpc-groups a.list-group-item h4{color:#fff !important}
html[data-theme="dark"] .mpc-groups__go{color:var(--mpc-light-green)}
/* "Setting up your plan…" while we skip straight to the next step */
.mpc-going{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;background:rgba(253,248,236,.94);font-family:var(--mpc-head);font-weight:800;font-size:22px;color:var(--mpc-forest)}
.mpc-going > div{display:flex;align-items:center;gap:14px}
.mpc-going__spin{width:26px;height:26px;border-radius:50%;border:3px solid var(--mpc-line);border-top-color:var(--mpc-leaf);animation:mpcspin .8s linear infinite}
@keyframes mpcspin{to{transform:rotate(360deg)}}
html[data-theme="dark"] .mpc-going{background:rgba(28,16,6,.94);color:#fff}

/* ---------- Basket (Check and pay) ---------- */
.mpc-cart .section-title h3{font-family:var(--mpc-head);font-weight:800;font-size:25px;margin:0 0 4px}
.mpc-cart .section-title h3 i{color:var(--mpc-leaf-dark);font-size:20px;margin-right:4px}
.mpc-cart .section-title p{color:var(--mpc-muted);font-size:15.5px;margin:0 0 18px}
.mpc-cart .card-order{background:#fff !important;border:1px solid var(--mpc-line);border-radius:24px;padding:22px 26px 18px !important;box-shadow:0 18px 40px -30px rgba(64,36,8,.35)}
.mpc-cart .table{margin:0;background:transparent}
.mpc-cart__table thead th{background:transparent !important;border:0 !important;border-bottom:1px solid var(--mpc-line) !important;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--mpc-muted);padding:0 4px 10px !important;border-radius:0 !important}
.mpc-cart__table thead th:nth-child(2),.mpc-cart__table thead th:nth-child(3),.mpc-cart__row > td:nth-child(2),.mpc-cart__row > td:nth-child(3){display:none}
.mpc-cart__table thead th:last-child{text-align:right}
.mpc-cart .table td{border:0 !important;background:transparent !important;padding:14px 4px !important;vertical-align:top}
.mpc-cart__row + .mpc-cart__row td{border-top:1px solid var(--mpc-line-soft,#f1e8d3) !important}
.mpc-cart__name{font-family:var(--mpc-head);font-weight:800;font-size:18px;color:var(--mpc-forest)}
.mpc-cart__detail{color:var(--mpc-muted);font-size:14.5px;margin-top:2px}
.mpc-cart__links{display:flex;gap:16px;margin-top:8px}
.mpc-cart__link{background:none;border:0;padding:0;font:inherit;font-size:14px;font-weight:700;color:var(--mpc-leaf-dark) !important;text-decoration:underline;cursor:pointer}
.mpc-cart__link--rm{color:#a3271a !important}
.mpc-cart .price-col strong{font-family:var(--mpc-head);font-size:17px}
.mpc-cart hr{border-color:var(--mpc-line);margin:4px 0}
.mpc-cart .total-due{text-align:right}
.mpc-cart .total-due small{display:block;color:var(--mpc-muted);font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.1em}
.mpc-cart .total-due h4{font-family:var(--mpc-head);font-weight:800;font-size:34px;margin:2px 0 8px;color:var(--mpc-forest)}
.mpc-cart .total-due p{font-size:14.5px;color:var(--mpc-muted);margin:0}
.mpc-cart__morewrap{margin-top:14px;text-align:right}
.mpc-cart__more{font-weight:700;font-size:15px;color:var(--mpc-leaf-dark) !important;text-decoration:underline}
html[data-theme="dark"] .mpc-cart .card-order{background:#2e1a07 !important;border-color:#4a2e12}
html[data-theme="dark"] .mpc-cart__name,html[data-theme="dark"] .mpc-cart .total-due h4{color:#fff}
html[data-theme="dark"] .mpc-cart__detail,html[data-theme="dark"] .mpc-cart .total-due small,html[data-theme="dark"] .mpc-cart .total-due p{color:#d9c6a5}
html[data-theme="dark"] .mpc-cart__link,html[data-theme="dark"] .mpc-cart__more{color:var(--mpc-light-green) !important}
html[data-theme="dark"] .mpc-cart__link--rm{color:#f0a596 !important}
.mpc-cart__table thead tr,.mpc-cart__table tbody tr,.mpc-cart .table tr{background:transparent !important}
.mpc-cart__table thead th{background-color:transparent !important;background-image:none !important}
.mpc-cart__table.table-striped tbody tr:nth-of-type(odd){background:transparent !important}
.mpc-cart .table td:first-child{font-size:15px}
/* Continue bar above the plans */
.mpc-plan-top{flex:0 0 100%;max-width:100%;margin:0 15px 26px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px 14px 24px;border-radius:999px;background:#fff;border:1.5px solid var(--mpc-line);box-shadow:0 14px 30px -26px rgba(64,36,8,.4)}
.mpc-plan-top__chosen{font-size:16px;color:var(--mpc-forest)}
.mpc-plan-top__chosen span{color:var(--mpc-muted)}
.mpc-plan-top__chosen b{font-family:var(--mpc-head);font-weight:800;font-size:18px}
.mpc-plan-top__chosen em{font-style:normal;color:var(--mpc-muted);margin-left:4px}
.mpc-plan-top__go{flex:none;border:0;border-radius:999px;padding:13px 30px;background:var(--mpc-forest);color:#fff;font-weight:700;font-size:16.5px;cursor:pointer}
.mpc-plan-top__go:hover{background:var(--mpc-forest-2)}
@media (max-width:600px){.mpc-plan-top{border-radius:20px;flex-direction:column;align-items:stretch;text-align:center;padding:16px}.mpc-plan-top__go{width:100%}}
html[data-theme="dark"] .mpc-plan-top{background:#2e1a07;border-color:#4a2e12}
html[data-theme="dark"] .mpc-plan-top__chosen{color:#fff}
html[data-theme="dark"] .mpc-plan-top__chosen span,html[data-theme="dark"] .mpc-plan-top__chosen em{color:#d9c6a5}
html[data-theme="dark"] .mpc-plan-top__go{background:var(--mpc-amber);color:var(--mpc-forest)}

/* ---------- Support > Open a ticket ---------- */
.mpc-support{padding:22px 0 50px;font-family:var(--mpc-body)}
.mpc-support__hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:30px 40px;border-radius:30px;color:#f6edd6;background:radial-gradient(120% 180% at 0% 0%,rgba(246,201,69,.14),rgba(246,201,69,0) 55%),linear-gradient(135deg,#5a3513 0%,#3a2108 100%);margin-bottom:24px}
.mpc-support__crumbs{margin:0 0 6px;font-size:14px;opacity:.8}
.mpc-support__crumbs a{color:inherit;text-decoration:none}
.mpc-support__crumbs a:hover{text-decoration:underline}
.mpc-support__hero h2{font-family:var(--mpc-head);font-weight:800;font-size:34px;line-height:1.1;margin:0 0 8px;color:#fff}
.mpc-support__hero p{margin:0;font-size:16.5px;opacity:.92}
.mpc-support__mine{flex:none;padding:12px 22px;border-radius:999px;border:1.5px solid rgba(255,255,255,.35);background:rgba(255,255,255,.08);color:#fff !important;font-weight:700;text-decoration:none !important}
.mpc-support__mine:hover{background:var(--mpc-amber);border-color:var(--mpc-amber);color:var(--mpc-forest) !important}
.mpc-support__grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;align-items:start}
.mpc-support__main,.mpc-side-card{background:#fbf8f1;border:1px solid var(--mpc-line);border-radius:24px}
.mpc-support__main{padding:30px 28px 28px}
.mpc-support__main > h3{font-family:var(--mpc-head);font-weight:800;font-size:23px;margin:0 0 4px}
.mpc-support__lead{color:var(--mpc-muted);font-size:15.5px;margin:0 0 20px}
.mpc-dept-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.mpc-dept{position:relative;display:flex;gap:16px;align-items:flex-start;padding:20px 52px 20px 20px;border:1px solid var(--mpc-line);border-radius:18px;background:#fffcf5;color:var(--mpc-forest) !important;text-decoration:none !important;transition:border-color .15s,transform .15s,box-shadow .15s}
.mpc-dept:hover{border-color:var(--mpc-leaf);transform:translateY(-2px);box-shadow:0 14px 30px -24px rgba(64,36,8,.5)}
.mpc-dept--urgent{background:#fdf1ea;border-color:#f2c8b6;margin-bottom:16px}
.mpc-dept--urgent:hover{border-color:#d9663f}
.mpc-dept__icon{flex:none;width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:var(--mpc-cream);color:var(--mpc-forest)}
.mpc-dept--green .mpc-dept__icon{background:var(--mpc-mint);color:var(--mpc-leaf-dark)}
.mpc-dept--urgent .mpc-dept__icon{background:#f9d8c8;color:#b2401c}
.mpc-dept__body{display:flex;flex-direction:column;gap:4px;min-width:0}
.mpc-dept__title{font-family:var(--mpc-head);font-weight:800;font-size:18.5px;line-height:1.25}
.mpc-dept__desc{color:var(--mpc-muted);font-size:15px;line-height:1.45}
.mpc-dept__time{align-self:flex-start;display:inline-flex;align-items:center;gap:5px;margin-top:8px;padding:4px 11px;border-radius:999px;background:var(--mpc-cream);color:var(--mpc-muted);font-size:13px;font-weight:700}
.mpc-dept--urgent .mpc-dept__time{background:#f9d8c8;color:#a3271a}
.mpc-dept__arrow{position:absolute;top:20px;right:20px;color:var(--mpc-muted);transition:transform .15s,color .15s}
.mpc-dept:hover .mpc-dept__arrow{transform:translateX(3px);color:var(--mpc-leaf-dark)}
.mpc-support__side{display:grid;gap:20px}
.mpc-side-card{padding:24px}
.mpc-side-card h3{font-family:var(--mpc-head);font-weight:800;font-size:18.5px;margin:0 0 14px}
.mpc-side-card p{margin:0;color:var(--mpc-muted);font-size:15px;line-height:1.55}
.mpc-side-card a{color:var(--mpc-leaf-dark);font-weight:700;text-decoration:none}
.mpc-side-card a:hover{text-decoration:underline}
.mpc-times{margin:0}
.mpc-times div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px dashed var(--mpc-line);font-size:15px}
.mpc-times dt{font-weight:400;color:var(--mpc-muted)}
.mpc-times dd{margin:0;font-weight:700;text-align:right;color:var(--mpc-forest)}
.mpc-times__note{margin:16px 0 0 !important;padding:12px 14px;border-radius:12px;background:var(--mpc-mint);color:var(--mpc-forest) !important;font-size:14.5px !important}
.mpc-times__note b{color:var(--mpc-leaf-dark)}
@media (max-width:991px){.mpc-support__grid{grid-template-columns:1fr}}
@media (max-width:640px){
  .mpc-support__hero{flex-direction:column;align-items:flex-start;padding:24px 22px;border-radius:22px}
  .mpc-support__hero h2{font-size:27px}
  .mpc-support__main{padding:22px 16px}
  .mpc-dept-grid{grid-template-columns:1fr}
  .mpc-dept{padding:16px 44px 16px 16px;gap:12px}
  .mpc-dept__icon{width:42px;height:42px}
  .mpc-dept__arrow{top:16px;right:14px}
}
html[data-theme="dark"] .mpc-support__main,html[data-theme="dark"] .mpc-side-card{background:#2a1806;border-color:#4a2e12}
html[data-theme="dark"] .mpc-dept{background:#33200b;border-color:#4a2e12;color:#f6edd6 !important}
html[data-theme="dark"] .mpc-dept--urgent{background:#3d1f12;border-color:#6b3420}
html[data-theme="dark"] .mpc-dept__icon,html[data-theme="dark"] .mpc-dept__time{background:#24140a;color:#e9d8b4}
html[data-theme="dark"] .mpc-dept--green .mpc-dept__icon{background:#2f4a1c;color:var(--mpc-light-green)}
html[data-theme="dark"] .mpc-dept--urgent .mpc-dept__icon,html[data-theme="dark"] .mpc-dept--urgent .mpc-dept__time{background:#5a2617;color:#f6b39e}
html[data-theme="dark"] .mpc-dept__desc,html[data-theme="dark"] .mpc-support__lead,html[data-theme="dark"] .mpc-side-card p,html[data-theme="dark"] .mpc-times dt{color:#d9c6a5}
html[data-theme="dark"] .mpc-support__main > h3,html[data-theme="dark"] .mpc-side-card h3,html[data-theme="dark"] .mpc-times dd{color:#fff}
html[data-theme="dark"] .mpc-times div{border-color:#4a2e12}
html[data-theme="dark"] .mpc-times__note{background:#2f4a1c;color:#f4e9d8 !important}
html[data-theme="dark"] .mpc-times__note b,html[data-theme="dark"] .mpc-side-card a{color:var(--mpc-light-green)}
.mpc-support__crumbs a{color:#f6edd6 !important}
.mpc-support__grid{grid-template-columns:minmax(0,1fr) 310px}
.mpc-dept__time{white-space:normal;max-width:100%;line-height:1.35}
.mpc-dept__time svg{flex:none}
@media (max-width:991px){.mpc-support__grid{grid-template-columns:1fr}}
@media (max-width:420px){.mpc-dept__time{white-space:normal}}

/* ---------- Monthly / yearly switch on the plan list (1.8.0) ---------- */
.mpc-cycle{display:flex;justify-content:center;margin:0 0 26px}
.mpc-cycle__in{display:inline-flex;gap:4px;padding:5px;background:#fff;border:1px solid var(--mpc-line);border-radius:999px}
.mpc-cycle button{display:inline-flex;align-items:center;gap:8px;border:0;background:none;border-radius:999px;padding:11px 20px;font:700 16px var(--mpc-body);color:var(--mpc-forest);cursor:pointer;white-space:nowrap}
.mpc-cycle button[aria-pressed="true"]{background:var(--mpc-forest);color:#fff}
.mpc-cycle em{font-style:normal;font-size:12.5px;font-weight:700;padding:3px 10px;border-radius:999px;background:var(--mpc-amber);color:var(--mpc-forest)}
.mpc-has-cycle .package .price-box{display:none !important}
.mpc-plan-billed{display:block;margin-top:4px;color:var(--mpc-muted);font-size:14.5px}
.mpc-plan-billed b{display:inline-block;margin-left:6px;font-size:12.5px;padding:2px 9px;border-radius:999px;background:var(--mpc-mint);color:var(--mpc-leaf-dark)}
.mpc-plan-features li.is-perk{font-weight:700}
.mpc-freedomain{margin:22px 0 0;padding:14px 16px;border-radius:14px;background:var(--mpc-mint);color:var(--mpc-leaf-dark);font-size:15px;line-height:1.5}
.mpc-freedomain b{color:var(--mpc-forest)}
.mpc-freedomain + h5{margin-top:18px}
@media (max-width:560px){.mpc-cycle__in{width:100%}.mpc-cycle button{flex:1 1 auto;justify-content:center;padding:10px;font-size:14.5px;gap:6px}.mpc-cycle em{font-size:11.5px;padding:2px 8px}}
html[data-theme="dark"] .mpc-cycle__in{background:#2e1a07;border-color:#4a2e12}
html[data-theme="dark"] .mpc-cycle button{color:#f6edd6}
html[data-theme="dark"] .mpc-cycle button[aria-pressed="true"]{background:var(--mpc-amber);color:var(--mpc-forest)}
html[data-theme="dark"] .mpc-plan-billed{color:#d9c6a5}
html[data-theme="dark"] .mpc-plan-billed b{background:#2f4a1c;color:var(--mpc-light-green)}
html[data-theme="dark"] .mpc-freedomain{background:#2f4a1c;color:var(--mpc-light-green)}
html[data-theme="dark"] .mpc-freedomain b{color:#fff}
html[data-theme="dark"] .mpc-cycle button[aria-pressed="true"] em{background:var(--mpc-forest);color:var(--mpc-amber)}

/* ---------- Basket and checkout (1.9.0): order and account on the left, summary on the right ---------- */
.mpc-title-sub{display:block;font-family:var(--mpc-body);font-weight:500;font-size:16px;letter-spacing:0;margin-top:6px;opacity:.85}
.mpc-co{display:grid !important;grid-template-columns:minmax(0,1fr) 360px;gap:24px;align-items:start;margin-bottom:40px}
.mpc-co__main{min-width:0}
.mpc-co__side{position:sticky;top:20px;min-width:0}
.mpc-co .mpc-cart,.mpc-co__acct,.mpc-co__sum{background:#fff;border:1px solid var(--mpc-line);border-radius:22px;padding:26px 28px;margin-bottom:20px;box-shadow:0 18px 40px -30px rgba(64,36,8,.35)}
.mpc-co .mpc-cart .card-order{background:transparent !important;border:0 !important;box-shadow:none !important;padding:0 !important;margin:0}
.mpc-co .mpc-cart .section-title h3,.mpc-co__acct .section-title h3{display:flex;align-items:center;gap:10px;font-family:var(--mpc-head);font-weight:800;font-size:23px;margin:0 0 4px}
.mpc-co .section-title h3 i{display:none}
.mpc-co .section-title p{color:var(--mpc-muted);font-size:15.5px;margin:0 0 18px}
.mpc-co__n{flex:none;width:30px;height:30px;border-radius:50%;background:var(--mpc-forest);color:#fff;display:grid;place-items:center;font-size:15px}
.mpc-co .mpc-cart__table thead{display:none}
.mpc-co .mpc-cart__row > td:not(:first-child){display:none}
.mpc-co .mpc-cart__row > td:first-child{display:block;padding:0 0 12px !important}
.mpc-item{display:flex;gap:18px;border:1px solid var(--mpc-line);border-radius:18px;padding:18px 20px;background:#fffdf7}
.mpc-item__badge{flex:none;width:56px;height:56px;border-radius:16px;background:var(--mpc-forest);color:var(--mpc-amber);display:grid;place-items:center;font:800 24px var(--mpc-head)}
.mpc-item__body{flex:1;min-width:0}
.mpc-item__top{display:flex;justify-content:space-between;gap:12px;align-items:baseline;flex-wrap:wrap}
.mpc-item__name{font:800 22px var(--mpc-head);color:var(--mpc-forest)}
.mpc-item__term{font:600 13px var(--mpc-body);background:var(--mpc-cream);color:var(--mpc-forest-2);border-radius:999px;padding:3px 10px;margin-left:6px;vertical-align:middle}
.mpc-item__price{font:800 22px var(--mpc-head);color:var(--mpc-forest);white-space:nowrap}
.mpc-item__price small{font:500 14px var(--mpc-body);color:var(--mpc-muted)}
.mpc-item__meta{color:var(--mpc-muted);font-size:15px;margin:2px 0 10px}
.mpc-item__perks{list-style:none;margin:0 0 10px;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:4px 18px;font-size:15px}
.mpc-item__perks li{padding-left:26px;position:relative}
.mpc-item__perks li:before{content:"\2713";position:absolute;left:0;top:3px;width:18px;height:18px;border-radius:50%;background:var(--mpc-mint);color:var(--mpc-leaf-dark);font-size:11px;font-weight:800;display:grid;place-items:center}
.mpc-item--small{padding:12px 16px}.mpc-item--small .mpc-item__badge{width:36px;height:36px;font-size:18px;border-radius:12px}
.mpc-item--small .mpc-item__name,.mpc-item--small .mpc-item__price{font-size:17px}
.mpc-co .mpc-cart__links{margin-top:4px}
.mpc-co .mpc-cart__morewrap{text-align:left;margin-top:4px}
.mpc-co__up{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff6dc;border:1px solid #f1dc9a;border-radius:18px;padding:18px 22px;margin-bottom:20px}
.mpc-co__up h3{font-family:var(--mpc-head);font-weight:800;font-size:19px;margin:0}
.mpc-co__up p{margin:2px 0 0;font-size:15px;color:var(--mpc-muted)}
a.mpc-co__upbtn{white-space:nowrap;background:var(--mpc-forest);color:#fff !important;border-radius:999px;padding:10px 20px;font-weight:700;font-size:15px;text-decoration:none !important}
.mpc-co__acct{display:block;max-width:none;flex:none}
.mpc-co__acct > .row{margin:0}
.mpc-co__acct > .row > [class*="col-"]{padding:0;max-width:100%;flex:0 0 100%}
.mpc-co__acct .card.mpc-co__who{background:transparent !important;border:0 !important;box-shadow:none;margin:0 !important}
.mpc-co__who .card-body{display:flex;align-items:center;gap:14px;padding:0 !important;flex-wrap:wrap}
.mpc-co__who .card-body > .float-right{order:9;margin-left:auto;float:none !important}
.mpc-co__who h4{font:800 18px var(--mpc-head) !important;margin:0 !important}
.mpc-co__av{width:48px;height:48px;border-radius:50%;background:var(--mpc-mint);color:var(--mpc-leaf-dark);display:grid;place-items:center;font:800 18px var(--mpc-head)}
.mpc-co__signed{display:block;color:var(--mpc-muted);font-size:15px}
.mpc-co__logout{background:none;border:0;padding:0;font:600 14px var(--mpc-body);color:var(--mpc-muted);text-decoration:underline;cursor:pointer}
.mpc-co__hide{display:none !important}
.mpc-co__acct.is-client .form-group:empty{display:none}
.mpc-co__sum h2{font-family:var(--mpc-head);font-weight:800;font-size:21px;margin:0 0 8px}
.mpc-co__line{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px dashed var(--mpc-line);font-size:15px}
.mpc-co__line span:last-child{font-weight:700;white-space:nowrap}
.mpc-co__free{color:var(--mpc-leaf-dark)}
.mpc-co__totals .table{margin:0;background:transparent}
.mpc-co__totals td{border:0 !important;border-bottom:1px dashed var(--mpc-line) !important;padding:9px 0 !important;font-size:15px;background:transparent !important}
.mpc-co__totals td.price-col{float:none !important;text-align:right}
.mpc-co__due .total-due{text-align:right;padding:16px 0 4px;max-width:none;flex:none}
.mpc-co__due .total-due small{display:block;font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--mpc-muted)}
.mpc-co__due .total-due h4{font:800 44px/1.1 var(--mpc-head);margin:0 0 12px;color:var(--mpc-forest)}
.mpc-co__due .total-due h4 strong{font-weight:800}
.mpc-co__due .total-due p{font-size:15px;color:var(--mpc-muted);margin:0 0 16px}
.mpc-co__due .total-due p strong{color:var(--mpc-forest)}
.mpc-co__tos{font-size:14.5px;margin-bottom:12px}
.mpc-co__tos .form-group{margin:0}.mpc-co__tos label{font-weight:500}
.mpc-co__pay{display:block;width:100%;border:0;cursor:pointer;background:var(--mpc-amber);color:var(--mpc-forest);border-radius:999px;padding:15px;font:800 18px var(--mpc-head);box-shadow:0 6px 16px rgba(230,185,47,.35)}
.mpc-co__pay:hover{background:#e6b92f}
.mpc-co__next{text-align:center;font-size:14px;color:var(--mpc-muted);margin:10px 0 0}
.mpc-co__trust{list-style:none;margin:18px 0 0;padding:16px 0 0;border-top:1px solid var(--mpc-line);font-size:14px;display:grid;gap:7px}
.mpc-co__trust li{padding-left:24px;position:relative}
.mpc-co__trust li:before{content:"\2713";position:absolute;left:0;color:var(--mpc-leaf-dark);font-weight:800}
@media (max-width:900px){
  .mpc-co{grid-template-columns:minmax(0,1fr)}
  .mpc-co__side{position:static}
  .mpc-co .mpc-cart,.mpc-co__acct,.mpc-co__sum{padding:22px 18px}
  .mpc-item{padding:16px}.mpc-item__badge{width:46px;height:46px;font-size:20px}
  .mpc-item__perks{grid-template-columns:1fr}
  .mpc-co__up{flex-direction:column;align-items:flex-start}
}
html[data-theme="dark"] .mpc-co .mpc-cart,html[data-theme="dark"] .mpc-co__acct,html[data-theme="dark"] .mpc-co__sum{background:var(--mpc-surface);border-color:var(--mpc-line);box-shadow:none}
html[data-theme="dark"] .mpc-co .mpc-cart .card-order{background:transparent !important}
html[data-theme="dark"] .mpc-item{background:var(--mpc-surface-2);border-color:var(--mpc-line)}
html[data-theme="dark"] .mpc-item__badge{background:#3a2810}
html[data-theme="dark"] .mpc-item__name,html[data-theme="dark"] .mpc-item__price,html[data-theme="dark"] .mpc-co__due .total-due h4,html[data-theme="dark"] .mpc-co__due .total-due p strong{color:#fff}
html[data-theme="dark"] .mpc-item__term{background:#3a2c1c;color:var(--mpc-ink)}
html[data-theme="dark"] .mpc-item__perks li:before,html[data-theme="dark"] .mpc-co__av{background:#2a3a1a;color:#9be36a}
html[data-theme="dark"] .mpc-co__n{background:var(--mpc-amber);color:var(--mpc-forest)}
html[data-theme="dark"] .mpc-co__up{background:#2e2410;border-color:#5a4718}
html[data-theme="dark"] a.mpc-co__upbtn{background:var(--mpc-amber);color:var(--mpc-forest) !important}
html[data-theme="dark"] .mpc-co__logout{color:var(--mpc-muted)}
.mpc-co .mpc-cart .card-order,.mpc-co .mpc-cart__table,.mpc-co .mpc-cart__table tbody,.mpc-co .mpc-cart__table tr{border:0 !important;box-shadow:none !important;overflow:visible}
.mpc-co .mpc-cart__row:last-child > td:first-child{padding-bottom:0 !important}
.mpc-co__tos .checkbox label{display:block;margin:0;padding-left:26px;position:relative}
.mpc-co__tos input[type="checkbox"]{position:absolute;left:0;top:4px;width:16px;height:16px;margin:0}
.mpc-co .mpc-cart .card-order.table-responsive{overflow:visible}
.mpc-co .mpc-cart__table,.mpc-co .mpc-cart__table tbody,.mpc-co .mpc-cart__row{display:block;width:100%}
@media (max-width:900px){.mpc-co__who .card-body > .float-right{flex-basis:100%;margin-left:62px}}
.mpc-co .mpc-cart__row > td:first-child,.mpc-co .mpc-item{white-space:normal !important;width:100%;min-width:0;overflow-wrap:anywhere}
/* 1.9.1: account box spacing (Blesta's own #create-account and .row rules were squashing it) */
#create-account.mpc-co__acct{padding:26px 28px 28px !important;margin:0 0 20px !important;width:auto !important}
#create-account.mpc-co__acct .row{margin-left:0 !important;margin-right:0 !important}
#create-account.mpc-co__acct .row > [class*="col-"]{padding-left:0 !important;padding-right:0 !important}
#create-account.mpc-co__acct .card.mpc-co__who{margin:4px 0 0 !important}
#create-account.mpc-co__acct .mpc-co__who .card-body{gap:16px;padding:6px 0 0 !important}
#create-account.mpc-co__acct .mpc-co__whoname{line-height:1.35}
#create-account.mpc-co__acct .mpc-co__signed{margin-top:2px}
#create-account.mpc-co__acct .form-group:last-child,#create-account.mpc-co__acct form{margin-bottom:0}
@media (max-width:900px){#create-account.mpc-co__acct{padding:22px 18px 22px !important}}
/* 1.9.2: prices in the body font (Bricolage's £ looks odd at large sizes); dark mode fixes */
.mpc-item__price,.mpc-co__due .total-due h4,.mpc-co__due .total-due h4 strong{font-family:var(--mpc-body) !important;font-weight:700 !important;letter-spacing:-.02em}
html[data-theme="dark"] #create-account.mpc-co__acct{background:var(--mpc-surface) !important;border:1px solid var(--mpc-line) !important;border-top-color:var(--mpc-line) !important;box-shadow:none !important;outline:0 !important}
html[data-theme="dark"] #create-account.mpc-co__acct .card,html[data-theme="dark"] #create-account.mpc-co__acct .card-body{background:transparent !important;border:0 !important;box-shadow:none !important}
html[data-theme="dark"] .mpc-cart__link--rm{color:#ffb4a3 !important}
html[data-theme="dark"] .mpc-co__tos label,html[data-theme="dark"] .mpc-co__tos{color:var(--mpc-ink)}
html[data-theme="dark"] .mpc-co__line,html[data-theme="dark"] .mpc-co__totals td{border-bottom-color:#4a3926 !important}
html[data-theme="dark"] .mpc-co__trust{border-top-color:#4a3926}
html[data-theme="dark"] .mpc-co__pay{box-shadow:none}
html[data-theme="dark"] .mpc-item{background:#2b2015 !important}
/* 1.9.3: payment page */
.mpc-pay .mpc-co{margin-left:0;margin-right:0;padding:0}
.mpc-co__card{background:#fff;border:1px solid var(--mpc-line);border-radius:22px;padding:26px 28px;margin-bottom:20px;box-shadow:0 18px 40px -30px rgba(64,36,8,.35)}
.mpc-pay .section-title h3{display:flex;align-items:center;gap:10px;font-family:var(--mpc-head);font-weight:800;font-size:23px;margin:0 0 4px}
.mpc-pay .section-title p{color:var(--mpc-muted);font-size:15.5px;margin:0 0 18px}
.mpc-pay__how .card-order{background:transparent !important;border:0 !important;box-shadow:none !important;margin:0}
.mpc-pay__how .card-order > .card-body{padding:0 !important}
.mpc-pay__how h4{font-family:var(--mpc-head);font-weight:800;font-size:17px;margin:4px 0 10px}
.mpc-pay__how .form-control{height:auto;padding:12px 14px;border-radius:14px;border:1.5px solid var(--mpc-line);font-size:16px}
.mpc-pay__opt{display:flex !important;align-items:center;gap:12px;border:1.5px solid var(--mpc-line);border-radius:16px;padding:14px 16px;margin:0 0 10px;font-weight:700;cursor:pointer;background:#fffdf7}
.mpc-pay__opt input{width:18px;height:18px;margin:0}
.mpc-pay__opt.is-on{border-color:var(--mpc-leaf);box-shadow:0 0 0 4px rgba(72,176,28,.15)}
.mpc-pay__none{background:#fff6dc;border:1px solid #f1dc9a;border-radius:16px;padding:16px 18px;font-size:15.5px;color:var(--mpc-forest)}
.mpc-pay__totals .card-order{background:transparent !important;border:0 !important;box-shadow:none !important;padding:0 !important;margin:0}
.mpc-pay__totals .table{margin:0;background:transparent}
.mpc-pay__totals td{border:0 !important;border-bottom:1px dashed var(--mpc-line) !important;padding:9px 0 !important;font-size:15px;background:transparent !important}
.mpc-pay__totals hr{display:none}
.mpc-pay__totals .row{margin:0}
.mpc-pay__totals .row > .col-md-6:first-child{display:none}
.mpc-pay__totals .total-due{text-align:right;padding:16px 0 8px;max-width:100%;flex:0 0 100%}
.mpc-pay__totals .total-due small{display:block;font-size:0;color:var(--mpc-muted)}
.mpc-pay__totals .total-due small:after{content:"To pay today";font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.mpc-pay__totals .total-due h4{font:700 44px/1.1 var(--mpc-body) !important;letter-spacing:-.02em;margin:0 0 12px;color:var(--mpc-forest)}
.mpc-pay__agree{font-size:14.5px;margin-bottom:12px}
.mpc-pay__agree .form-group{margin:0 0 8px}
.mpc-pay__agree .checkbox label{display:block;margin:0;padding-left:26px;position:relative;font-weight:500}
.mpc-pay__agree input[type="checkbox"]{position:absolute;left:0;top:4px;width:16px;height:16px;margin:0}
.mpc-co__side .mpc-co__pay{float:none !important}
.mpc-pay #payment_confirmation:empty{display:none}
@media (max-width:900px){.mpc-co__card{padding:22px 18px}}
html[data-theme="dark"] .mpc-co__card{background:var(--mpc-surface);border-color:var(--mpc-line);box-shadow:none}
html[data-theme="dark"] .mpc-pay__opt{background:#2b2015;border-color:var(--mpc-line);color:var(--mpc-ink)}
html[data-theme="dark"] .mpc-pay__none{background:#2e2410;border-color:#5a4718;color:var(--mpc-ink)}
html[data-theme="dark"] .mpc-pay__totals .total-due h4{color:#fff}
html[data-theme="dark"] .mpc-pay__totals td{border-bottom-color:#4a3926 !important;color:var(--mpc-ink)}
html[data-theme="dark"] .mpc-pay__agree{color:var(--mpc-ink)}
.mpc-pay__totals .table-responsive,.mpc-pay__totals .table,.mpc-pay__totals tbody,.mpc-pay__totals tr{border:0 !important;box-shadow:none !important;border-radius:0 !important;background:transparent !important}
.mpc-pay__totals td .price-col{font-weight:700}
.mpc-pay__opt{font:700 16px var(--mpc-body) !important;color:var(--mpc-forest)}
.mpc-pay__opt input,.mpc-pay__agree input,.mpc-co__tos input{accent-color:var(--mpc-leaf)}
.mpc-pay__how h4{border:0 !important;padding:0 !important}
.mpc-pay__totals tbody tr:only-child{display:none}
.mpc-pay__totals .table-responsive{padding:0 !important;margin:0 !important}
.mpc-pay__totals td{border-radius:0 !important;box-shadow:none !important}
/* 1.9.5: order summary beside the set-up page */
.mpc-ordering #summary-details.mpc-sum .section-title h3{font-size:21px}
.mpc-ordering #summary-details.mpc-sum .section-title h3 i{display:none}
.mpc-ordering #summary-details.mpc-sum .card-order{padding:24px 26px !important}
.mpc-sum thead{display:none}
.mpc-sum .mpc-sum__row > td:nth-child(2){display:none}
.mpc-sum .mpc-sum__row > td{border-bottom:1px dashed var(--mpc-line) !important;padding:10px 0 !important}
.mpc-sum__name{font-weight:700;font-size:15.5px;color:var(--mpc-forest)}
.mpc-sum__meta{font-size:13.5px;color:var(--mpc-muted)}
.mpc-ordering #summary-details.mpc-sum hr{display:none}
.mpc-sum table + hr + table tbody tr:only-child{display:none}
.mpc-sum .row.p-2{margin:0;padding:0 !important}
.mpc-sum .row.p-2 > .col-md-6{max-width:100%;flex:0 0 100%;padding:0}
.mpc-sum .row.p-2 > .col-md-6:first-child:not(:has(a)){display:none}
.mpc-ordering #summary-details.mpc-sum .total-due{padding-top:14px}
.mpc-ordering #summary-details.mpc-sum .total-due h4{font:700 40px/1.1 var(--mpc-body) !important;letter-spacing:-.02em}
.mpc-sum .mpc-co__pay{margin-top:10px}
.mpc-sum__up{margin-top:16px;background:#fff6dc;border:1px solid #f1dc9a;border-radius:16px;padding:14px 16px;font-size:14.5px;line-height:1.5}
.mpc-sum__up a{font-weight:700}
html[data-theme="dark"] .mpc-sum__name{color:#fff}
html[data-theme="dark"] .mpc-sum .mpc-sum__row > td{border-bottom-color:#4a3926 !important}
html[data-theme="dark"] .mpc-sum__up{background:#2e2410;border-color:#5a4718;color:var(--mpc-ink)}
html[data-theme="dark"] .mpc-ordering #summary-details.mpc-sum .card-order{background:var(--mpc-surface) !important;border-color:var(--mpc-line)}
.mpc-sum .table,.mpc-sum .table tbody,.mpc-sum .table tr,.mpc-sum .table td{background:transparent !important;box-shadow:none !important;border-radius:0 !important;border-top:0 !important;border-left:0 !important;border-right:0 !important}
.mpc-sum .table{border:0 !important;margin:0}
.mpc-sum .mpc-sum__row > td.price-col{float:none !important;text-align:right;font-weight:700;white-space:nowrap}
/* 1.9.6: the "You've chosen" bar was 30px too wide, which pushed the whole page sideways */
.mpc-plan-top{flex:0 0 calc(100% - 30px) !important;max-width:calc(100% - 30px) !important;box-sizing:border-box}
/* 1.9.8: banner with the steps inside it, like the order mockup */
.mpc-hero{display:flex;align-items:center;justify-content:space-between;gap:20px 28px;flex-wrap:wrap;padding:28px 36px;border-radius:28px;color:#fff;background:radial-gradient(circle at 92% 0%,rgba(246,201,69,.22),rgba(246,201,69,0) 45%),linear-gradient(135deg,#4a2b0c 0%,#361d06 100%)}
.mpc-hero__text{min-width:0;flex:1 1 320px}
.title.mpc-title .mpc-hero h3{background:none !important;padding:0 !important;border-radius:0;box-shadow:none !important;font-size:34px;line-height:1.1}
.mpc-hero__sub{margin:8px 0 0;color:#ecdfca;font-size:16.5px}
.mpc-hero .mpc-title-sub{display:none}
.mpc-hero-steps{margin:0 !important;flex:0 1 auto;gap:8px !important;flex-wrap:wrap}
.mpc-hero-steps li{flex:none !important;padding:7px 16px 7px 7px !important;border-radius:999px !important;background:rgba(255,255,255,.08) !important;border:1px solid rgba(255,255,255,.22) !important;color:#ecdfca !important;font-size:15px}
.mpc-hero-steps li a,.mpc-hero-steps li .mpc-steps__in{display:flex;align-items:center;gap:8px;color:inherit !important;text-decoration:none !important}
.mpc-hero-steps .mpc-steps__n{width:26px;height:26px;font-size:13px;background:rgba(255,255,255,.16) !important;color:#fff !important}
.mpc-hero-steps li.is-done .mpc-steps__n{background:var(--mpc-leaf) !important;color:#fff !important}
.mpc-hero-steps li.is-now{background:#fff !important;border-color:#fff !important;color:var(--mpc-forest) !important}
.mpc-hero-steps li.is-now .mpc-steps__n{background:var(--mpc-amber) !important;color:var(--mpc-forest) !important}
.mpc-steps-wrap{display:none}
@media (max-width:700px){
  .mpc-hero{padding:22px 20px;border-radius:22px}
  .title.mpc-title .mpc-hero h3{font-size:27px}
  .mpc-hero-steps li:not(.is-now) .mpc-steps__t{display:inline !important}
  .mpc-hero-steps li{font-size:13px;padding:6px 12px 6px 6px !important}
}
html[data-theme="dark"] .mpc-hero{background:radial-gradient(circle at 92% 0%,rgba(246,201,69,.16),rgba(246,201,69,0) 45%),linear-gradient(135deg,#4f2f10 0%,#3a2108 100%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.05)}
html[data-theme="dark"] .title.mpc-title .mpc-hero h3{background:none !important;box-shadow:none !important}
html[data-theme="dark"] .mpc-hero-steps li.is-now{background:var(--mpc-amber) !important;border-color:var(--mpc-amber) !important;color:#2a1a0b !important}
html[data-theme="dark"] .mpc-hero-steps li.is-now .mpc-steps__n{background:#2a1a0b !important;color:var(--mpc-amber) !important}
.mpc-hero-steps li a,.mpc-hero-steps li .mpc-steps__in{padding:0 !important;margin:0 !important;min-height:0 !important;background:none !important;border:0 !important}
.mpc-hero-steps li{line-height:1.2}
@media (max-width:700px){.mpc-hero-steps li.is-done .mpc-steps__t{display:none !important}.mpc-hero-steps li.is-done{padding:6px !important}}
/* 1.9.9: domain search results: offer hosting with the free domain */
.mpc-dom-hosting{display:flex;align-items:center;justify-content:space-between;gap:16px 24px;flex-wrap:wrap;background:#fff6dc;border:1px solid #f1dc9a;border-radius:20px;padding:20px 24px;margin:0 0 22px}
.mpc-dom-hosting__text{flex:1 1 340px;min-width:0}
.mpc-dom-hosting h4{font-family:var(--mpc-head);font-weight:800;font-size:20px;margin:0 0 4px;color:var(--mpc-forest)}
.mpc-dom-hosting p{margin:0;font-size:15.5px;color:var(--mpc-muted)}
.mpc-dom-hosting p b{color:var(--mpc-forest)}
.mpc-dom-hosting__btns{display:flex;gap:10px;flex-wrap:wrap}
a.mpc-dom-hosting__btn{display:inline-block;border-radius:999px;padding:10px 18px;font-weight:700;font-size:15px;text-decoration:none !important;border:1.5px solid var(--mpc-forest);color:var(--mpc-forest) !important;background:#fff}
a.mpc-dom-hosting__btn.is-main{background:var(--mpc-forest);color:#fff !important}
html[data-theme="dark"] .mpc-dom-hosting{background:#2e2410;border-color:#5a4718}
html[data-theme="dark"] .mpc-dom-hosting h4,html[data-theme="dark"] .mpc-dom-hosting p b{color:#fff}
html[data-theme="dark"] .mpc-dom-hosting p{color:var(--mpc-ink)}
html[data-theme="dark"] a.mpc-dom-hosting__btn{background:transparent;border-color:var(--mpc-amber);color:var(--mpc-amber) !important}
html[data-theme="dark"] a.mpc-dom-hosting__btn.is-main{background:var(--mpc-amber);color:#2a1a0b !important}

/* ---------- 2.0: help guides (dashboard box + Open a ticket suggestions) ---------- */
.mpc-gi { display: inline-grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--mpc-mint); color: var(--mpc-leaf-dark); }
.mpc-gi svg { width: 58%; height: 58%; }
.mpc-guide { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--mpc-line); color: var(--mpc-forest) !important; text-decoration: none !important; transition: border-color .15s ease, transform .15s ease; }
.mpc-guide:hover { border-color: var(--mpc-amber); transform: translateY(-1px); }
.mpc-guide__text { min-width: 0; }
.mpc-guide strong { display: block; font-size: 15.5px; line-height: 1.3; }
.mpc-guide small { display: block; color: var(--mpc-muted); font-size: 13px; margin-top: 2px; }
.mpc-guide__go { margin-left: auto; font-style: normal; font-weight: 700; color: var(--mpc-leaf-dark); }

.mpc-gsuggest { margin: 4px 0 20px; padding: 18px 20px; border-radius: 18px; background: var(--mpc-mint); border: 1px solid rgba(72, 176, 28, .35); }
.mpc-gsuggest[hidden] { display: none; }
.mpc-gsuggest__title { margin: 0 0 2px; font-size: 19px; }
.mpc-gsuggest__lead { margin: 0 0 12px; font-size: 15px; color: var(--mpc-muted); }
.mpc-gsuggest__list { display: flex; flex-direction: column; gap: 8px; }
.mpc-gsuggest__still { margin: 12px 0 0; font-size: 14.5px; color: var(--mpc-muted); }

.mpc-ghelp { margin: 0 0 24px; padding: 24px 26px; border-radius: var(--mpc-radius); background: #fff; border: 1px solid var(--mpc-line); display: grid; grid-template-columns: minmax(240px, 1fr) 1.4fr; gap: 6px 28px; align-items: start; }
.mpc-ghelp__head h2 { margin: 0 0 4px; font-size: 24px; }
.mpc-ghelp__head p { margin: 0; color: var(--mpc-muted); font-size: 15.5px; }
.mpc-ghelp__search { display: flex; align-items: center; gap: 8px; padding: 5px 5px 5px 16px; border: 1px solid var(--mpc-line); border-radius: 999px; background: #fff; align-self: center; }
.mpc-ghelp__search:focus-within { border-color: var(--mpc-amber); box-shadow: 0 0 0 3px rgba(246, 201, 69, .45); }
.mpc-ghelp__search svg { width: 20px; height: 20px; flex: none; color: var(--mpc-muted); }
.mpc-ghelp__search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--mpc-forest); padding: 8px 2px; outline: none; }
.mpc-ghelp__search button { flex: none; border: 0; border-radius: 999px; background: var(--mpc-amber); color: var(--mpc-forest); font-weight: 700; font-size: 15px; padding: 9px 20px; }
.mpc-ghelp__label { grid-column: 1 / -1; margin: 14px 0 0; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--mpc-muted); }
.mpc-ghelp__label[hidden], .mpc-ghelp__none[hidden] { display: none; }
.mpc-ghelp__list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.mpc-ghelp__list .mpc-guide { background: var(--mpc-cream); border-color: transparent; }
.mpc-ghelp__list .mpc-guide:hover { border-color: var(--mpc-amber); }
.mpc-ghelp__none { grid-column: 1 / -1; margin: 14px 0 0; color: var(--mpc-muted); }
.mpc-ghelp__all { grid-column: 1 / -1; justify-self: start; margin-top: 12px; font-weight: 700; }
@media (max-width: 767.98px) {
  .mpc-ghelp { grid-template-columns: minmax(0, 1fr); padding: 20px 18px; }
  .mpc-ghelp > * { min-width: 0; }
  .mpc-ghelp__search { margin-top: 12px; }
  .mpc-ghelp__list { grid-template-columns: minmax(0, 1fr); }
  .mpc-gsuggest { padding: 16px; }
  .mpc-guide__go { display: none; }
}
html[data-theme="dark"] .mpc-guide { background: var(--mpc-surface); border-color: var(--mpc-line); color: var(--mpc-ink) !important; }
html[data-theme="dark"] .mpc-gsuggest { background: #253520; border-color: rgba(155, 227, 106, .25); }
html[data-theme="dark"] .mpc-gi { background: #253520; }
html[data-theme="dark"] .mpc-ghelp { background: var(--mpc-surface); border-color: var(--mpc-line); }
html[data-theme="dark"] .mpc-ghelp__search { background: var(--mpc-surface-2); border-color: var(--mpc-line); }
html[data-theme="dark"] .mpc-ghelp__search input { color: var(--mpc-ink); }
html[data-theme="dark"] .mpc-ghelp__list .mpc-guide { background: var(--mpc-surface-2); border-color: transparent; }

/* ---------- 2.1: Support > Tickets list ---------- */
#client_tickets .card-nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 18px; }
#client_tickets .card-nav > .clearfix { display: none; }
#client_tickets .card-nav .float-left, #client_tickets .card-nav .float-right { float: none !important; display: flex; align-items: center; gap: 8px; }
#client_tickets .card-nav .float-right { margin-left: auto; }
#client_tickets .card-links { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 16px; }
#client_tickets .card-links > li { margin: 0; padding: 0; }
#client_tickets .card-links > li + li:before { display: none; content: none; }
#client_tickets .card-links a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border: 1px solid var(--mpc-line); border-radius: 999px; background: #fff; color: var(--mpc-forest) !important; font-weight: 600; text-decoration: none !important; white-space: nowrap; }
#client_tickets .card-links a:hover { border-color: var(--mpc-leaf); }
#client_tickets .card-links > .active a { background: var(--mpc-forest); border-color: var(--mpc-forest); color: #fff !important; }
#client_tickets .card-links .badge { min-width: 22px; padding: 2px 7px; background: var(--mpc-cream); color: var(--mpc-forest); font-size: 12.5px; }
#client_tickets .card-links > .active .badge { background: rgba(255,255,255,.2); color: #fff; }
#client_tickets .card-nav .float-right .btn { border-radius: 999px !important; font-weight: 700; }
#client_tickets .card-nav .float-right .btn:not(.filter-toggle) { padding: 9px 20px; background: var(--mpc-amber) !important; border-color: var(--mpc-amber) !important; color: var(--mpc-forest) !important; }
#client_tickets .card-nav .float-right .btn:not(.filter-toggle):hover { background: #e6b92f !important; border-color: #e6b92f !important; }
#client_tickets .card-nav .filter-toggle { display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0; cursor: pointer; }
#client_tickets .widget_filter_form .card { border-radius: 16px !important; margin-bottom: 18px; }
#client_tickets .table-responsive { border: 1px solid var(--mpc-line); border-radius: 16px; }
#client_tickets .table { margin: 0; border: 0; }
#client_tickets .table > thead > tr > th { padding: 12px 16px !important; border: 0 !important; background: var(--mpc-cream) !important; font: 700 12.5px var(--mpc-body); letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; border-radius: 0 !important; }
#client_tickets .table > thead > tr > th > a { color: var(--mpc-muted) !important; text-decoration: none !important; }
#client_tickets .table > thead > tr > th > a:hover { color: var(--mpc-forest) !important; }
#client_tickets .table > thead > tr > th > a.desc:after, #client_tickets .table > thead > tr > th > a.asc:after { content: ""; display: inline-block; margin-left: 6px; border: 4px solid transparent; vertical-align: 1px; }
#client_tickets .table > thead > tr > th > a.desc:after { border-top-color: currentColor; border-bottom: 0; }
#client_tickets .table > thead > tr > th > a.asc:after { border-bottom-color: currentColor; border-top: 0; }
#client_tickets .table > tbody > tr > td { padding: 15px 16px !important; border: 0 !important; border-top: 1px solid var(--mpc-line) !important; border-radius: 0 !important; background: #fff !important; }
#client_tickets .table > tbody > tr:hover > td { background: #fffaf0 !important; }
#client_tickets .table > tbody > tr > td:first-child a { font-weight: 700; color: var(--mpc-leaf-dark); }
#client_tickets .table > tbody > tr > td:nth-child(4) { font-weight: 600; }
#client_tickets .mpc-pri { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 700; }
body #client_tickets .mpc-pri--low { background: var(--mpc-mint) !important; color: var(--mpc-leaf-dark) !important; }
body #client_tickets .mpc-pri--medium { background: var(--mpc-amber) !important; color: var(--mpc-forest) !important; }
body #client_tickets .mpc-pri--high { background: #f2a35e !important; color: var(--mpc-forest) !important; }
body #client_tickets .mpc-pri--critical, body #client_tickets .mpc-pri--emergency { background: #c8452a !important; color: #fff !important; }
.mpc-stat { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; }
.mpc-stat:before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--mpc-amber); flex: none; }
.mpc-stat--client:before { background: var(--mpc-leaf); }
.mpc-stat--closed:before { background: #a99a86; }
#client_tickets .btn-group .btn { border-radius: 999px 0 0 999px !important; padding: 6px 14px; font-weight: 700; font-size: 14.5px; }
#client_tickets .btn-group .btn.dropdown-toggle { border-radius: 0 999px 999px 0 !important; padding: 6px 10px; }
#client_tickets .btn-group .dropdown-menu { border-radius: 14px; border-color: var(--mpc-line); }
.mpc-tickets-help { margin: 18px 0 0; padding: 14px 18px; border-radius: 14px; background: var(--mpc-mint); color: var(--mpc-forest); font-size: 15.5px; }
.mpc-tickets-help a { color: var(--mpc-leaf-dark) !important; font-weight: 700; text-decoration: underline !important; }
@media (max-width: 700px) {
  #client_tickets .card-nav .float-right { margin-left: 0; width: 100%; }
  #client_tickets .card-nav .float-right .btn:not(.filter-toggle) { flex: 1; text-align: center; }
  #client_tickets .table-responsive { border: 0; border-radius: 0; overflow: visible; }
  #client_tickets .table, #client_tickets .table tbody, #client_tickets .table tr, #client_tickets .table td { display: block; width: 100%; }
  #client_tickets .table thead { display: none; }
  #client_tickets .table > tbody > tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin: 0 0 12px; padding: 14px 16px; border: 1px solid var(--mpc-line); border-radius: 16px; background: #fff; }
  #client_tickets .table > tbody > tr > td { padding: 0 !important; border: 0 !important; background: transparent !important; width: auto; }
  #client_tickets .table > tbody > tr > td:nth-child(4) { grid-column: 1 / -1; order: -1; font: 700 18px/1.3 var(--mpc-head); }
  #client_tickets .table > tbody > tr > td:nth-child(2), #client_tickets .table > tbody > tr > td:nth-child(5) { text-align: right; }
  #client_tickets .table > tbody > tr > td:nth-child(3), #client_tickets .table > tbody > tr > td:nth-child(5) { color: var(--mpc-muted); font-size: 14.5px; }
  #client_tickets .table > tbody > tr > td:nth-child(5):before { content: "Last reply "; }
  #client_tickets .table > tbody > tr > td:nth-child(6), #client_tickets .table > tbody > tr > td:last-child { grid-column: 1 / -1; }
  #client_tickets .table > tbody > tr > td:last-child { margin-top: 6px; }
}
html[data-theme="dark"] #client_tickets .card-links a { background: var(--mpc-surface-2); color: var(--mpc-ink) !important; }
html[data-theme="dark"] #client_tickets .card-links > .active a { background: var(--mpc-amber); border-color: var(--mpc-amber); color: #402408 !important; }
html[data-theme="dark"] #client_tickets .card-links > .active .badge { background: rgba(64,36,8,.15) !important; color: #402408 !important; }
html[data-theme="dark"] #client_tickets .table > thead > tr > th { background: #1d150d !important; }
html[data-theme="dark"] #client_tickets .table > thead > tr > th > a:hover { color: var(--mpc-ink) !important; }
html[data-theme="dark"] #client_tickets .table > tbody > tr > td { background: var(--mpc-surface) !important; color: var(--mpc-ink); }
html[data-theme="dark"] #client_tickets .table > tbody > tr:hover > td { background: var(--mpc-surface-2) !important; }
html[data-theme="dark"] body #client_tickets .mpc-pri--low { background: #253520 !important; color: #9be36a !important; }
html[data-theme="dark"] .mpc-tickets-help { background: #253520; color: var(--mpc-ink); }
html[data-theme="dark"] .mpc-tickets-help a { color: #9be36a !important; }
@media (max-width: 700px) {
  html[data-theme="dark"] #client_tickets .table > tbody > tr { background: var(--mpc-surface); }
  html[data-theme="dark"] #client_tickets .table > tbody > tr > td { background: transparent !important; }
}

/* ---------- 2.1: Support > a ticket (summary, reply box, conversation) ---------- */
#client_ticket_reply > .card-header { font-size: 21px; }
#client_ticket_reply .card-body > .card.bg-light { padding: 0 !important; margin-bottom: 24px !important; border-radius: 18px !important; background: #fff !important; overflow: hidden; }
#client_ticket_reply .card-body > .card.bg-light > .row { margin: 0; }
#client_ticket_reply .card-body > .card.bg-light .col-md-12 { padding: 16px 20px; background: var(--mpc-cream); border-bottom: 1px solid var(--mpc-line); }
#client_ticket_reply .card-body > .card.bg-light .col-md-12 hr { display: none; }
#client_ticket_reply .card-body > .card.bg-light .col-md-12 p { margin: 0; font: 700 21px/1.3 var(--mpc-head); }
#client_ticket_reply .card-body > .card.bg-light .col-md-3 { padding: 14px 20px; }
#client_ticket_reply .card-body > .card.bg-light .col-md-3 + .col-md-3 { border-left: 1px solid var(--mpc-line); }
#client_ticket_reply .card-body > .card.bg-light .col-md-3 p { margin: 0; }
#client_ticket_reply .card-body > .card.bg-light label { display: block; margin: 0 0 3px; color: var(--mpc-muted); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
#client_ticket_reply .mpc-pri { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 700; }
body #client_ticket_reply .mpc-pri--low { background: var(--mpc-mint) !important; color: var(--mpc-leaf-dark) !important; }
body #client_ticket_reply .mpc-pri--medium { background: var(--mpc-amber) !important; color: var(--mpc-forest) !important; }
body #client_ticket_reply .mpc-pri--high { background: #f2a35e !important; color: var(--mpc-forest) !important; }
body #client_ticket_reply .mpc-pri--critical, body #client_ticket_reply .mpc-pri--emergency { background: #c8452a !important; color: #fff !important; }

/* Reply box */
#client_ticket_reply #create_ticket > .form-group:first-of-type > label { font: 700 19px/1.3 var(--mpc-head); margin: 0 0 10px; }
#client_ticket_reply .toastui-editor-defaultUI { border: 1px solid var(--mpc-line); border-radius: 16px; overflow: hidden; background: #fff; }
#client_ticket_reply .toastui-editor-defaultUI-toolbar { background: var(--mpc-cream); border-bottom: 1px solid var(--mpc-line); padding: 0 12px; }
#client_ticket_reply .toastui-editor-toolbar-group button { border-radius: 8px; }
#client_ticket_reply .toastui-editor-toolbar-icons { background-color: transparent; border-color: transparent; }
#client_ticket_reply .toastui-editor-defaultUI-toolbar button:not(:disabled):hover { background-color: #fff; border-color: var(--mpc-line); }
#client_ticket_reply .toastui-editor-toolbar-divider { background-color: var(--mpc-line); }
#client_ticket_reply .toastui-editor-mode-switch { background: var(--mpc-cream); border-top: 1px solid var(--mpc-line); padding: 6px 10px; height: auto; }
#client_ticket_reply .toastui-editor-mode-switch .tab-item { border: 1px solid transparent; border-radius: 999px; background: transparent; color: var(--mpc-muted); margin: 0 0 0 4px; height: auto; line-height: 1.6; padding: 1px 12px; font-weight: 600; }
#client_ticket_reply .toastui-editor-mode-switch .tab-item.active { background: #fff; border-color: var(--mpc-line); color: var(--mpc-forest); }
#client_ticket_reply .toastui-editor-contents, #client_ticket_reply .toastui-editor-contents p { font-family: var(--mpc-body); font-size: 16px; color: var(--mpc-forest); }
#client_ticket_reply #create_ticket .form-group:has(.drag-drop) > label { display: none; }
#client_ticket_reply #create_ticket .form-group:has(.drag-drop) > div:not(.mpc-x) { border-radius: 16px !important; border-color: var(--mpc-line) !important; color: var(--mpc-muted); }
#client_ticket_reply #create_ticket .btn[data-toggle="collapse"] { border-radius: 999px !important; padding: 8px 18px; font-weight: 700; }
#client_ticket_reply #create_ticket > .btn-group { display: flex; gap: 10px; }
#client_ticket_reply #create_ticket > .btn-group > .btn { border-radius: 999px !important; padding: 10px 22px; font-weight: 700; }
#client_ticket_reply #create_ticket > .btn-group > .btn-light { order: 2; background: var(--mpc-amber) !important; border-color: var(--mpc-amber) !important; color: var(--mpc-forest) !important; }
#client_ticket_reply #create_ticket > .btn-group > .btn-light:hover { background: #e6b92f !important; border-color: #e6b92f !important; }
#client_ticket_reply #create_ticket > .btn-group > .btn-danger { order: 1; background: transparent !important; border: 1px solid #e3b3a6 !important; color: #b23a1d !important; }
#client_ticket_reply #create_ticket > .btn-group > .btn-danger:hover { background: #fdf1ea !important; }
#client_ticket_reply .card-body > hr { border-color: var(--mpc-line); margin: 22px 0; visibility: hidden; }

/* Conversation: one continuous box (mpc-tickets.js wraps it in .mpc-convo) */
.mpc-convo { border: 1px solid var(--mpc-line); border-radius: 18px; overflow: hidden; background: #fff; }
#client_ticket_reply .marbot10 { padding: 0; margin: 0 !important; max-width: none; flex: none; }
#client_ticket_reply .marbot10 .alert { margin: 0; padding: 11px 20px !important; border: 0; border-radius: 0; background: #fff; color: var(--mpc-muted); text-align: center; font-size: 14.5px; }
#client_ticket_reply .marbot10 .alert p { margin: 0; }
#client_ticket_reply .marbot10 .alert p:before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--mpc-amber); vertical-align: 1px; }
#client_ticket_reply .marbot10 .alert b { color: var(--mpc-forest); font-weight: 600; }
#client_ticket_reply .ticket-reply { margin: 0; border-top: 1px solid var(--mpc-line); }
.mpc-convo > :first-child, .mpc-convo > :first-child.ticket-reply { border-top: 0 !important; }
.mpc-convo > * + .marbot10 { border-top: 1px solid var(--mpc-line); }
#client_ticket_reply .ticket-reply .top-bar { padding: 10px 20px; margin: 0; background: var(--mpc-cream); border-bottom: 1px solid var(--mpc-line); color: var(--mpc-muted); font-style: italic; font-size: 15px; }
#client_ticket_reply .ticket-reply .top-bar p { margin: 0; }
#client_ticket_reply .ticket-reply .top-bar b { font-style: normal; color: var(--mpc-forest); margin: 0 .3em 0 .35em; }
#client_ticket_reply .ticket-reply .top-bar.staff-reply { background: var(--mpc-mint); color: var(--mpc-leaf-dark); }
#client_ticket_reply .ticket-reply .replier { flex: 0 0 230px; max-width: 230px; padding: 22px 20px; border-right: 1px solid var(--mpc-line); text-align: center; }
#client_ticket_reply .ticket-reply .replier img { display: block; width: 186px !important; max-width: 100%; height: auto; aspect-ratio: 1; margin: 0 auto; padding: 0; object-fit: cover; border: 1px solid var(--mpc-line); border-radius: 18px; background: var(--mpc-cream); }
#client_ticket_reply .ticket-reply .replier p { margin: 12px 0 0; line-height: 1.3; }
#client_ticket_reply .ticket-reply .replier strong { font-size: 17px; }
#client_ticket_reply .ticket-reply .replier small, .mpc-team-badge { display: inline-block; margin-top: 6px; padding: 2px 11px; border-radius: 999px; background: var(--mpc-leaf); color: #fff; font-size: 12.5px; font-weight: 700; }
#client_ticket_reply .ticket-reply.mpc-staff-row { box-shadow: inset 4px 0 0 var(--mpc-leaf); }
#client_ticket_reply .ticket-reply.mpc-staff-row .replier { background: linear-gradient(180deg, var(--mpc-mint), rgba(232,244,215,.35)); }
#client_ticket_reply .ticket-reply .response { flex: 1 1 0; max-width: none; padding: 20px 28px 24px; min-width: 0; overflow-wrap: anywhere; }
#client_ticket_reply .ticket-reply .response a { color: var(--mpc-leaf-dark); text-decoration: underline; text-underline-offset: 3px; }
#client_ticket_reply .ticket-reply .response p:last-child { margin-bottom: 0; }
@media (max-width: 700px) {
  #client_ticket_reply .card-body > .card.bg-light .col-md-3 { flex: 0 0 50%; max-width: 50%; }
  #client_ticket_reply .card-body > .card.bg-light .col-md-3 + .col-md-3 { border-left: 0; }
  #client_ticket_reply .card-body > .card.bg-light .col-md-3:nth-of-type(odd) { border-left: 1px solid var(--mpc-line); }
  #client_ticket_reply .card-body > .card.bg-light .col-md-3:nth-of-type(n+4) { border-top: 1px solid var(--mpc-line); }
  #client_ticket_reply #create_ticket > .btn-group { float: none !important; width: 100%; flex-wrap: wrap; }
  #client_ticket_reply #create_ticket > .btn-group > .btn-light { flex: 1; }
  #client_ticket_reply .ticket-reply .replier { flex: 0 0 100%; max-width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 16px; text-align: left; border-right: 0; border-bottom: 1px solid var(--mpc-line); }
  #client_ticket_reply .ticket-reply .replier img { width: 72px !important; flex: none; margin: 0; border-radius: 14px; }
  #client_ticket_reply .ticket-reply .replier p { margin: 0; text-align: left !important; }
  #client_ticket_reply .ticket-reply.mpc-staff-row .replier { background: linear-gradient(90deg, var(--mpc-mint), rgba(232,244,215,.2)); }
  #client_ticket_reply .ticket-reply .response { flex: 0 0 100%; padding: 16px; }
  #client_ticket_reply .ticket-reply .top-bar { padding: 9px 16px; font-size: 14px; }
  #client_ticket_reply .marbot10 .alert { font-size: 13px; padding: 10px 14px !important; }
}

/* Ticket page in dark mode */
html[data-theme="dark"] #client_ticket_reply #create_ticket,
html[data-theme="dark"] #client_ticket_reply #create_ticket .form-group { background: transparent !important; }
html[data-theme="dark"] #client_ticket_reply label { color: var(--mpc-ink) !important; }
html[data-theme="dark"] #client_ticket_reply .card-body > .card.bg-light { background: var(--mpc-surface) !important; border-color: var(--mpc-line) !important; }
html[data-theme="dark"] #client_ticket_reply .card-body > .card.bg-light .col-md-12 { background: var(--mpc-surface-2); }
html[data-theme="dark"] #client_ticket_reply .card-body > .card.bg-light p { color: var(--mpc-ink); }
html[data-theme="dark"] #client_ticket_reply .card-body > .card.bg-light label { color: var(--mpc-muted) !important; }
html[data-theme="dark"] body #client_ticket_reply .mpc-pri--low { background: #253520 !important; color: #9be36a !important; }
html[data-theme="dark"] #client_ticket_reply .toastui-editor-defaultUI { background: #1d150d; border-color: var(--mpc-line); }
html[data-theme="dark"] #client_ticket_reply .toastui-editor-defaultUI-toolbar,
html[data-theme="dark"] #client_ticket_reply .toastui-editor-mode-switch { background: var(--mpc-surface-2); border-color: var(--mpc-line); }
html[data-theme="dark"] #client_ticket_reply .toastui-editor-toolbar-icons { filter: invert(1) hue-rotate(180deg) brightness(.85); border-color: transparent; background-color: transparent; }
html[data-theme="dark"] #client_ticket_reply .toastui-editor-defaultUI-toolbar button:not(:disabled):hover { background-color: #d6c7b2; border-color: transparent; }
html[data-theme="dark"] #client_ticket_reply .toastui-editor-main, html[data-theme="dark"] #client_ticket_reply .toastui-editor-ww-container,
html[data-theme="dark"] #client_ticket_reply .toastui-editor-md-container, html[data-theme="dark"] #client_ticket_reply .toastui-editor md-container,
html[data-theme="dark"] #client_ticket_reply .toastui-editor-main-container, html[data-theme="dark"] #client_ticket_reply .ProseMirror { background: #1d150d !important; color: var(--mpc-ink); }
html[data-theme="dark"] #client_ticket_reply .toastui-editor-contents, html[data-theme="dark"] #client_ticket_reply .toastui-editor-contents p,
html[data-theme="dark"] #client_ticket_reply .toastui-editor-md-container .ProseMirror { color: var(--mpc-ink) !important; }
html[data-theme="dark"] #client_ticket_reply .toastui-editor-md-preview { background: #1d150d; }
html[data-theme="dark"] #client_ticket_reply .toastui-editor-mode-switch .tab-item { color: var(--mpc-muted); }
html[data-theme="dark"] #client_ticket_reply .toastui-editor-mode-switch .tab-item.active { background: var(--mpc-surface); border-color: var(--mpc-line); color: var(--mpc-ink); }
html[data-theme="dark"] #client_ticket_reply .toastui-editor-defaultUI .toastui-editor-md-splitter { background-color: var(--mpc-line); }
html[data-theme="dark"] #client_ticket_reply .toastui-editor-popup, html[data-theme="dark"] #client_ticket_reply .toastui-editor-dropdown-toolbar { background: var(--mpc-surface); border-color: var(--mpc-line); color: var(--mpc-ink); }
html[data-theme="dark"] #client_ticket_reply #create_ticket .form-group:has(.drag-drop) div { background: transparent !important; color: var(--mpc-muted) !important; border-color: var(--mpc-line) !important; }
html[data-theme="dark"] #client_ticket_reply #create_ticket > .btn-group > .btn-light { background: var(--mpc-amber) !important; border-color: var(--mpc-amber) !important; color: #402408 !important; }
html[data-theme="dark"] #client_ticket_reply #create_ticket > .btn-group > .btn-danger { border-color: #6b3324 !important; color: #ff9b80 !important; }
html[data-theme="dark"] #client_ticket_reply #create_ticket > .btn-group > .btn-danger:hover { background: #3f1a12 !important; }
html[data-theme="dark"] .mpc-convo { background: var(--mpc-surface); border-color: var(--mpc-line); }
html[data-theme="dark"] #client_ticket_reply .marbot10 .alert { background: var(--mpc-surface); color: var(--mpc-muted); }
html[data-theme="dark"] #client_ticket_reply .marbot10 .alert b { color: var(--mpc-ink); }
html[data-theme="dark"] #client_ticket_reply .ticket-reply, html[data-theme="dark"] .mpc-convo > * + .marbot10 { border-color: var(--mpc-line); }
html[data-theme="dark"] #client_ticket_reply .ticket-reply .top-bar { background: var(--mpc-surface-2); color: var(--mpc-muted); border-color: var(--mpc-line); }
html[data-theme="dark"] #client_ticket_reply .ticket-reply .top-bar b { color: var(--mpc-ink); }
html[data-theme="dark"] #client_ticket_reply .ticket-reply .top-bar.staff-reply { background: #253520; color: #9be36a; }
html[data-theme="dark"] #client_ticket_reply .ticket-reply .replier { border-color: var(--mpc-line); }
html[data-theme="dark"] #client_ticket_reply .ticket-reply .replier img { border-color: var(--mpc-line); background: var(--mpc-surface-2); }
html[data-theme="dark"] #client_ticket_reply .ticket-reply.mpc-staff-row .replier { background: linear-gradient(180deg, #253520, rgba(37,53,32,.35)); }
html[data-theme="dark"] #client_ticket_reply .ticket-reply .replier small, html[data-theme="dark"] .mpc-team-badge { background: #3d8f1a; }
html[data-theme="dark"] #client_ticket_reply .ticket-reply .response { color: var(--mpc-ink); }
html[data-theme="dark"] #client_ticket_reply .ticket-reply .response a { color: #9be36a; }
@media (max-width: 700px) {
  html[data-theme="dark"] #client_ticket_reply .ticket-reply.mpc-staff-row .replier { background: linear-gradient(90deg, #253520, rgba(37,53,32,.2)); }
}

/* ---------- Banana Boost (2.3): dashboard box, Order page strip, basket ---------- */
.mpc-banana{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:22px 26px;margin:0 0 26px;padding:26px 28px;background:#fff;border:1px solid var(--mpc-line);border-radius:22px;font-family:var(--mpc-body);color:var(--mpc-forest);overflow:hidden}
.mpc-banana::after{content:"";position:absolute;left:-70px;bottom:-90px;width:240px;height:240px;border-radius:50%;background:radial-gradient(circle,rgba(246,201,69,.26),rgba(246,201,69,0) 70%);pointer-events:none}
.mpc-banana > *{position:relative;z-index:1}
.mpc-banana__icon{width:58px;height:58px;border-radius:16px;display:grid;place-items:center;background:var(--mpc-amber);color:var(--mpc-forest);align-self:start}
.mpc-banana__icon svg{width:34px;height:34px}
.mpc-banana__eyebrow{margin:0 0 2px;font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#a0700a}
.mpc-banana h2,.mpc-banana h3{font-family:var(--mpc-head);font-weight:800;font-size:23px;line-height:1.2;margin:0 0 6px;color:var(--mpc-forest)}
.mpc-banana__text p{margin:0 0 6px;font-size:16px;line-height:1.5;color:var(--mpc-muted)}
.mpc-banana__text .mpc-banana__small{margin:0;font-size:14.5px}
.mpc-banana__small a{color:var(--mpc-leaf-dark);font-weight:700;text-decoration:underline}
.mpc-banana__opts{display:grid;grid-template-columns:repeat(2,minmax(140px,1fr));gap:12px}
.mpc-banana__opt{position:relative;display:flex;flex-direction:column;align-items:center;gap:1px;padding:16px 14px 14px;border:1.5px solid var(--mpc-line);border-radius:16px;background:var(--mpc-bg);color:var(--mpc-forest) !important;text-decoration:none !important;transition:border-color .15s,transform .15s}
.mpc-banana__opt:hover{border-color:var(--mpc-amber);transform:translateY(-2px)}
.mpc-banana__opt b{font-size:15.5px;font-weight:700}
.mpc-banana__opt strong{font-family:var(--mpc-head);font-size:30px;font-weight:800;letter-spacing:-.02em;line-height:1.15}
.mpc-banana__opt em{font-style:normal;margin-top:6px;padding:6px 18px;border-radius:999px;background:var(--mpc-forest);color:#fff;font-weight:700;font-size:14.5px}
.mpc-banana__opt.is-best{border-color:var(--mpc-amber);background:#fdf0c4}
.mpc-banana__opt.is-best em{background:var(--mpc-amber);color:var(--mpc-forest)}
.mpc-banana__tag{position:absolute;top:-11px;left:50%;transform:translateX(-50%);white-space:nowrap;padding:2px 10px;border-radius:999px;background:var(--mpc-forest);color:var(--mpc-amber);font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.mpc-banana--order{margin:26px 0 0;border-radius:24px;padding:28px 32px;box-shadow:0 1px 0 rgba(64,36,8,.04),0 18px 40px -28px rgba(64,36,8,.35)}
@media (max-width:991px){
  .mpc-banana{grid-template-columns:auto minmax(0,1fr)}
  .mpc-banana__opts{grid-column:1 / -1}
}
@media (max-width:575px){
  .mpc-banana{grid-template-columns:1fr;padding:22px 18px;gap:14px}
  .mpc-banana__icon{width:48px;height:48px;border-radius:14px}
  .mpc-banana__icon svg{width:28px;height:28px}
  .mpc-banana h2,.mpc-banana h3{font-size:21px}
  .mpc-banana__opts{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}
  .mpc-banana__opt strong{font-size:26px}
}
html[data-theme="dark"] .mpc-banana{background:var(--mpc-surface);border-color:var(--mpc-line);color:var(--mpc-ink)}
html[data-theme="dark"] .mpc-banana--order{background:#2e1a07;border-color:#4a2e12}
html[data-theme="dark"] .mpc-banana h2,html[data-theme="dark"] .mpc-banana h3{color:#f6edd6}
html[data-theme="dark"] .mpc-banana__text p{color:#d9c6a5}
html[data-theme="dark"] .mpc-banana__eyebrow{color:var(--mpc-amber)}
html[data-theme="dark"] .mpc-banana__small a{color:var(--mpc-light-green)}
html[data-theme="dark"] .mpc-banana__opt{background:#24140a;border-color:#4a2e12;color:#f6edd6 !important}
html[data-theme="dark"] .mpc-banana__opt.is-best{background:#3d2a0a;border-color:var(--mpc-amber)}
html[data-theme="dark"] .mpc-banana__opt em{background:var(--mpc-surface-2);color:#f6edd6;box-shadow:inset 0 0 0 1px #4a2e12}
html[data-theme="dark"] .mpc-banana__opt.is-best em{background:var(--mpc-amber);color:var(--mpc-forest);box-shadow:none}
html[data-theme="dark"] .mpc-banana__tag{background:var(--mpc-amber);color:var(--mpc-forest)}

/* Basket: a banana badge, and "Add something else" choices */
.mpc-item__badge--banana{background:var(--mpc-amber) !important;color:var(--mpc-forest) !important}
.mpc-item__badge--banana svg{width:60%;height:60%}
.mpc-cart__add{text-align:left}
.mpc-cart__addtitle{margin:0 0 8px;font-weight:700;font-size:15px;color:var(--mpc-forest)}
.mpc-cart__addlist{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}
.mpc-cart__addopt{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1.5px dashed var(--mpc-line);border-radius:14px;background:var(--mpc-bg);color:var(--mpc-forest) !important;text-decoration:none !important;transition:border-color .15s}
.mpc-cart__addopt:hover{border-color:var(--mpc-leaf);border-style:solid}
.mpc-cart__addopt--banana:hover{border-color:var(--mpc-amber)}
.mpc-cart__addopt b{display:block;font-size:15.5px}
.mpc-cart__addopt small{display:block;font-size:13.5px;color:var(--mpc-muted)}
.mpc-cart__addicon{flex:none;width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:var(--mpc-mint);color:var(--mpc-leaf-dark);font-weight:800;font-size:20px}
.mpc-cart__addopt--banana .mpc-cart__addicon{background:var(--mpc-amber);color:var(--mpc-forest)}
.mpc-cart__addicon svg{width:24px;height:24px}
html[data-theme="dark"] .mpc-cart__addtitle{color:var(--mpc-ink)}
html[data-theme="dark"] .mpc-cart__addopt{background:var(--mpc-surface-2);border-color:#4a2e12;color:var(--mpc-ink) !important}
html[data-theme="dark"] .mpc-cart__addopt small{color:var(--mpc-muted)}
html[data-theme="dark"] .mpc-cart__addicon{background:#2f4a1c;color:var(--mpc-light-green)}
html[data-theme="dark"] .mpc-cart__addopt--banana .mpc-cart__addicon{background:var(--mpc-amber);color:var(--mpc-forest)}

/* Dark mode for light Blesta boxes found by mpc-dark.js (2.3), e.g. Add Payment Account */
html[data-theme="dark"] .mpc-darkfix{background-color:var(--mpc-surface-2) !important;border-color:var(--mpc-line) !important;color:var(--mpc-ink) !important;border-radius:14px}
html[data-theme="dark"] .mpc-darkfix label,html[data-theme="dark"] .mpc-darkfix .help-block,html[data-theme="dark"] .mpc-darkfix small{color:var(--mpc-ink) !important;opacity:1}
html[data-theme="dark"] .mpc-darkfix:has(> iframe),html[data-theme="dark"] .mpc-darkfix:has(.StripeElement),html[data-theme="dark"] .mpc-darkfix:has(iframe[name^="__privateStripe"]){background-color:transparent !important;padding:0 !important}

/* Dark mode (2.3): the chosen tab (e.g. Add Contact) and table scroll bars (e.g. Email History) */
html[data-theme="dark"] .nav-tabs .nav-link.active, html[data-theme="dark"] .nav-tabs .nav-item.show .nav-link { color: var(--mpc-ink) !important; background: var(--mpc-surface-2); }
html[data-theme="dark"] .table-responsive { scrollbar-color: #4a2e12 transparent; }
html[data-theme="dark"] .table-responsive::-webkit-scrollbar { height: 8px; background: transparent; }
html[data-theme="dark"] .table-responsive::-webkit-scrollbar-thumb { background: #4a2e12; border-radius: 8px; }
html[data-theme="dark"] .mpc-darktext, html[data-theme="dark"] .mpc-darktext i { color: #e0cfb4 !important; }
html[data-theme="dark"] .mpc-darkblue { background-color: var(--mpc-amber) !important; border-color: var(--mpc-amber) !important; color: var(--mpc-forest) !important; }
html[data-theme="dark"] .card > .mpc-darkfix:first-child { border-radius: 19px 19px 0 0; }
.mpc-cart__empty{margin:6px 0 14px;padding:16px 18px;border-radius:14px;background:var(--mpc-cream);font-size:16px}
.mpc-cart__empty a{color:var(--mpc-leaf-dark);font-weight:700;text-decoration:underline}
html[data-theme="dark"] .mpc-cart__empty{background:var(--mpc-surface-2)}
html[data-theme="dark"] .mpc-cart__empty a{color:var(--mpc-light-green)}

/* Banana Boost choice page (2.3) */
.mpc-hide{display:none !important}
.mpc-banana-page .package-boxes .package .price-box{display:none !important}
.mpc-banana-page .package-boxes .package .package-name h4{font-size:26px}
.mpc-banana-page .package-boxes .package .order{margin-top:auto}
.mpc-banana-page .package-boxes .package .mpc-plan-price{margin-bottom:14px}
.mpc-banana-page .package-boxes .package p,.mpc-banana-page .package-boxes .package .package-description{font-size:16px;line-height:1.5;color:var(--mpc-muted);border:0 !important;padding:0 !important;margin:0 0 18px !important}
html[data-theme="dark"] .mpc-banana-page .package-boxes .package p,html[data-theme="dark"] .mpc-banana-page .package-boxes .package .package-description{color:#d9c6a5}

/* ---------- Dashboard tidy (2.3) ---------- */
/* Banana Boost: slim box at the top of the right column */
.mpc-bb{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:center;margin:0 0 22px;padding:18px 20px;background:#fff;border:1px solid var(--mpc-line);border-radius:20px;overflow:hidden;font-family:var(--mpc-body)}
.mpc-bb::after{content:"";position:absolute;right:-50px;top:-60px;width:180px;height:180px;border-radius:50%;background:radial-gradient(circle,rgba(246,201,69,.3),rgba(246,201,69,0) 70%);pointer-events:none}
.mpc-bb > *{position:relative;z-index:1}
.mpc-bb__icon{width:48px;height:48px;border-radius:14px;background:var(--mpc-amber);display:grid;place-items:center;color:var(--mpc-forest)}
.mpc-bb__icon svg{width:28px;height:28px}
.mpc-bb h2{margin:0 0 3px;font:800 19px/1.25 var(--mpc-head);color:var(--mpc-forest)}
.mpc-bb p{margin:0;font-size:14.5px;line-height:1.45;color:var(--mpc-muted)}
.mpc-bb p a{color:var(--mpc-leaf-dark);font-weight:700;text-decoration:underline}
.mpc-bb__opts{display:flex;gap:8px}
.mpc-bb__opt{display:flex;flex-direction:column;align-items:center;min-width:92px;padding:8px 16px;border-radius:14px;border:1.5px solid var(--mpc-line);background:var(--mpc-bg);color:var(--mpc-forest) !important;text-decoration:none !important;line-height:1.2;transition:border-color .15s,transform .15s}
.mpc-bb__opt:hover{border-color:var(--mpc-amber);transform:translateY(-2px)}
.mpc-bb__opt small{font-size:13px;font-weight:600}
.mpc-bb__opt b{font:800 20px var(--mpc-head)}
.mpc-bb__opt.is-best{border-color:var(--mpc-amber);background:#fdf0c4}
@media (max-width:991px){.mpc-bb{grid-template-columns:auto minmax(0,1fr)}.mpc-bb__opts{grid-column:1/-1}.mpc-bb__opt{flex:1}}
html[data-theme="dark"] .mpc-bb{background:var(--mpc-surface);border-color:var(--mpc-line)}
html[data-theme="dark"] .mpc-bb h2{color:var(--mpc-ink)}
html[data-theme="dark"] .mpc-bb p{color:#d9c6a5}
html[data-theme="dark"] .mpc-bb p a{color:var(--mpc-light-green)}
html[data-theme="dark"] .mpc-bb__opt{background:#24140a;border-color:#4a2e12;color:#f6edd6 !important}
html[data-theme="dark"] .mpc-bb__opt.is-best{background:#3d2a0a;border-color:var(--mpc-amber)}

/* Number cards: calm white cards with an icon, instead of Blesta's bright colours */
#mpc-content .right_content .cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:0 0 22px}
#mpc-content .right_content .cards > *{max-width:none;width:auto;flex:none;padding:0;margin:0}
#mpc-content .right_content .cards a{text-decoration:none !important;display:block;height:100%}
#mpc-content .cards .card{height:100%;min-height:0;margin:0 !important;padding:16px 16px 14px !important;background:#fff !important;border:1px solid var(--mpc-line) !important;border-radius:18px !important;box-shadow:none !important;color:var(--mpc-forest) !important;text-align:left !important}
#mpc-content .cards .card *{color:inherit}
#mpc-content .cards .card .card-content{width:100%;padding:0 !important;display:flex;flex-direction:column;gap:6px;align-items:flex-start;text-align:left !important}
#mpc-content .cards .card .card-value{font:800 30px/1 var(--mpc-head) !important;color:var(--mpc-leaf-dark) !important;margin:0}
#mpc-content .cards .card .card-label{margin:0;font-size:14.5px;font-weight:600;color:var(--mpc-muted) !important}
.mpc-card-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--mpc-mint);color:var(--mpc-leaf-dark);font-size:16px}
.mpc-card-icon i{color:inherit !important}
.mpc-card-icon--amber{background:#fdf0c4;color:#8a5a00}
#mpc-content .cards a:hover .card{border-color:var(--mpc-amber) !important}
@media (max-width:1199px){#mpc-content .right_content .cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:575px){#mpc-content .right_content .cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
html[data-theme="dark"] #mpc-content .cards .card{background:var(--mpc-surface) !important;border-color:var(--mpc-line) !important;color:var(--mpc-ink) !important}
html[data-theme="dark"] #mpc-content .cards .card .card-value{color:var(--mpc-light-green) !important}
html[data-theme="dark"] #mpc-content .cards .card .card-label{color:#d9c6a5 !important}
html[data-theme="dark"] .mpc-card-icon{background:#2f4a1c;color:var(--mpc-light-green)}
html[data-theme="dark"] .mpc-card-icon--amber{background:#3d2a0a;color:var(--mpc-amber)}

/* Left column: same rounded white cards and buttons as the rest of My Account */
#my-info .card{border-radius:20px !important;overflow:hidden;margin-bottom:22px}
#my-info .card-header{font:700 16px var(--mpc-head);background:#fff !important}
#my-info .card-footer{background:transparent !important;border-top:0 !important;padding:0 20px 18px}
#my-info .card-footer .btn{border-radius:999px !important;background:var(--mpc-cream) !important;border:1px solid var(--mpc-line) !important;color:var(--mpc-forest) !important;font-weight:700;padding:8px}
#my-info .alert-info{margin:0;border-radius:14px}
#my-info .list-options,#my-info .amounts .list-group{border:1px solid var(--mpc-line);border-radius:20px;overflow:hidden;margin-bottom:22px}
#my-info .list-options .list-group-item,#my-info .amounts .list-group-item{border:0 !important;background:#fff !important;color:var(--mpc-forest) !important;font-size:15px}
#my-info .amounts .list-group-item + .list-group-item{border-top:1px solid var(--mpc-line) !important}
#my-info .list-options .list-group-item-text{margin:0;padding-right:28px}
#my-info a.list-group-item:hover{background:var(--mpc-cream) !important}
html[data-theme="dark"] #my-info .card-header{background:var(--mpc-surface) !important}
html[data-theme="dark"] #my-info .card-footer .btn{background:var(--mpc-surface-2) !important;border-color:var(--mpc-line) !important;color:var(--mpc-ink) !important}
html[data-theme="dark"] #my-info .list-options,html[data-theme="dark"] #my-info .amounts .list-group{border-color:var(--mpc-line)}
html[data-theme="dark"] #my-info .list-options .list-group-item,html[data-theme="dark"] #my-info .amounts .list-group-item{background:var(--mpc-surface) !important;color:var(--mpc-ink) !important}
html[data-theme="dark"] #my-info a.list-group-item:hover{background:var(--mpc-surface-2) !important}
#my-info .card .list-group{border:0 !important;border-radius:0 !important;overflow:visible}
#my-info address a{word-break:break-all}

/* 2.3: Banana Boost page laid out like the hosting checkout */
.mpc-bbco__card{background:#fff;border:1px solid var(--mpc-line);border-radius:22px;padding:26px 28px;margin-bottom:20px;box-shadow:0 18px 40px -30px rgba(64,36,8,.35)}
.mpc-bbco__card h3{display:flex;align-items:center;gap:10px;font:800 23px var(--mpc-head);margin:0 0 4px;color:var(--mpc-forest)}
.mpc-bbco__sub{color:var(--mpc-muted);font-size:15.5px;margin:0 0 20px}
.mpc-bbco__card form{padding:0;margin:0}
.mpc-bbco .mpc-plan-row{margin:0 -8px}
.mpc-bbco .mpc-plan-row > .package-boxes{flex:0 0 50%;max-width:50%;padding:0 8px}
.mpc-bbco .package-boxes .package{margin:14px 0 0 !important;height:calc(100% - 14px)}
.mpc-bbco__how ol{list-style:none;counter-reset:s;margin:14px 0 0;padding:0;display:grid;gap:12px}
.mpc-bbco__how li{counter-increment:s;position:relative;padding-left:40px;font-size:15.5px;line-height:1.5;color:var(--mpc-muted)}
.mpc-bbco__how li b{color:var(--mpc-forest)}
.mpc-bbco__how li:before{content:counter(s);position:absolute;left:0;top:0;width:28px;height:28px;border-radius:50%;background:var(--mpc-mint);color:var(--mpc-leaf-dark);display:grid;place-items:center;font:800 14px var(--mpc-head)}
.mpc-bbco__line{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px dashed var(--mpc-line);font-size:15.5px}
.mpc-bbco__line span:last-child{font-weight:700;white-space:nowrap}
.mpc-bbco__total{display:flex;justify-content:space-between;align-items:baseline;padding:18px 0 2px}
.mpc-bbco__total span{font:800 18px var(--mpc-head);color:var(--mpc-forest)}
.mpc-bbco__total b{font:800 40px/1 var(--mpc-head);color:var(--mpc-forest)}
.mpc-bbco__once{font-size:14.5px;color:var(--mpc-muted);margin:6px 0 18px}
.mpc-bbco__go{display:block;width:100%;border:0;cursor:pointer;background:var(--mpc-leaf-dark);color:#fff;border-radius:999px;padding:16px;font:800 19px var(--mpc-head);box-shadow:0 8px 20px -8px rgba(42,122,13,.6)}
.mpc-bbco__go:hover{background:#246a0b}
.mpc-bbco__inc{background:var(--mpc-mint);border:1px solid #cfe7b3;border-radius:16px;padding:16px 18px;margin-top:18px;font-size:15px;line-height:1.5;color:var(--mpc-muted)}
.mpc-bbco__inc b{display:block;color:var(--mpc-leaf-dark);font:800 16px var(--mpc-head);margin-bottom:4px}
@media (max-width:991px){
  .mpc-bbco__card{padding:22px 18px}
  .mpc-bbco .mpc-plan-row > .package-boxes{flex:0 0 100%;max-width:100%}
}
html[data-theme="dark"] .mpc-bbco__card{background:var(--mpc-surface);border-color:var(--mpc-line);box-shadow:none}
html[data-theme="dark"] .mpc-bbco__card h3,html[data-theme="dark"] .mpc-bbco__how li b,html[data-theme="dark"] .mpc-bbco__total span,html[data-theme="dark"] .mpc-bbco__total b{color:#fff}
html[data-theme="dark"] .mpc-bbco__sub,html[data-theme="dark"] .mpc-bbco__how li,html[data-theme="dark"] .mpc-bbco__once{color:#d9c6a5}
html[data-theme="dark"] .mpc-bbco__how li:before{background:#2a3a1a;color:#9be36a}
html[data-theme="dark"] .mpc-bbco__go{background:#3f9a1a}
html[data-theme="dark"] .mpc-bbco__inc{background:#22301a;border-color:#34482a;color:#d9c6a5}
html[data-theme="dark"] .mpc-bbco__inc b{color:#9be36a}

/* 2.3: card details (Stripe) get the full width on the payment page, so the postcode has room */
.mpc-card-wide{flex:0 0 100% !important;max-width:100% !important;width:100% !important}
.mpc-card-wide .StripeElement,.mpc-card-box{max-width:none !important;width:100% !important}
.mpc-card-box{border-radius:16px}

/* 2.3: Thank you page after paying */
.mpc-done__top{display:flex;gap:18px;align-items:center}
.mpc-done__tick{flex:none;width:56px;height:56px;border-radius:50%;background:var(--mpc-leaf);color:#fff;display:grid;place-items:center;font-size:28px;font-weight:800}
.mpc-done__top h2{font:800 26px/1.2 var(--mpc-head);margin:0 0 4px;color:var(--mpc-forest)}
.mpc-done__top p{margin:0;color:var(--mpc-muted);font-size:15.5px}
.mpc-done__btn{display:inline-block;margin-top:18px;background:var(--mpc-forest);color:#fff !important;border-radius:999px;padding:11px 22px;font:700 16px var(--mpc-head);text-decoration:none !important}
.mpc-done__items{list-style:none;margin:6px 0 0;padding:0}
.mpc-done__items li{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px dashed var(--mpc-line);font-size:15.5px}
.mpc-done__items .mpc-item__badge{width:38px;height:38px;flex:none;border-radius:12px;font-size:16px}
.mpc-done__items .mpc-item__badge svg{width:22px;height:22px}
.mpc-done__name{flex:1;min-width:0}
.mpc-done__items b{white-space:nowrap}
.mpc-done__paid{margin:6px 0 18px;text-align:right}
.mpc-done__paid span{display:inline-block;background:var(--mpc-mint);color:var(--mpc-leaf-dark);border-radius:999px;padding:4px 12px;font-weight:700;font-size:14px}
a.mpc-bbco__go{text-align:center;text-decoration:none !important;color:#fff !important}
.mpc-done__name small{display:block;font-size:13.5px;color:var(--mpc-muted)}
.mpc-done__alt{display:block;text-align:center;margin-top:12px;font-weight:700;color:var(--mpc-forest) !important;text-decoration:underline}
html[data-theme="dark"] .mpc-done__top h2{color:#fff}
html[data-theme="dark"] .mpc-done__top p{color:#d9c6a5}
html[data-theme="dark"] .mpc-done__btn{background:var(--mpc-amber);color:var(--mpc-forest) !important}
html[data-theme="dark"] .mpc-done__paid span{background:#22301a;color:#9be36a}
html[data-theme="dark"] .mpc-done__alt{color:#f4e9d8 !important}

/* 2.3: gentle "you have X to pay" note on the dashboard (Blesta's own words said "past due" for new orders) */
.alert.mpc-balance-box{display:flex !important;align-items:center;gap:14px;flex-wrap:wrap;background:#fff6dc !important;border:1px solid #f1dc9a !important;color:var(--mpc-forest) !important;border-radius:18px !important;padding:14px 20px !important;font-size:16px}
.alert.mpc-balance-box p{margin:0;flex:1;min-width:200px}
.mpc-balance-box .mpc-balance{flex:1;min-width:200px}
.alert.mpc-balance-box .close{order:9;position:static !important;padding:0 4px !important;color:var(--mpc-muted)}
.mpc-balance__pay,.mpc-balance-box a[href*="/pay"]{display:inline-block;background:var(--mpc-forest);color:#fff !important;border-radius:999px;padding:8px 18px;font-weight:700;font-size:15px;text-decoration:none !important;white-space:nowrap}
html[data-theme="dark"] .alert.mpc-balance-box{background:#33280f !important;border-color:#5a4718 !important;color:#f4e9d8 !important}
html[data-theme="dark"] .mpc-balance__pay,html[data-theme="dark"] .mpc-balance-box a[href*="/pay"]{background:var(--mpc-amber);color:var(--mpc-forest) !important}

/* 2.3: payment note, neater */
.alert.mpc-balance-box{gap:16px;padding:16px 20px !important;box-shadow:0 18px 40px -32px rgba(64,36,8,.4)}
.mpc-balance__icon{flex:none;width:44px;height:44px;border-radius:14px;background:var(--mpc-amber);color:var(--mpc-forest);display:grid;place-items:center;font-size:18px}
.mpc-balance-box .mpc-balance b{display:block;font:700 17px/1.3 var(--mpc-head);color:var(--mpc-forest)}
.mpc-balance-box .mpc-balance small{display:block;font-size:14.5px;color:var(--mpc-muted);margin-top:2px}
.mpc-balance__pay,.mpc-balance-box a[href*="/pay"]{padding:10px 22px;font-size:15.5px}
@media (max-width:575px){.mpc-balance__pay,.mpc-balance-box a[href*="/pay"]{width:100%;text-align:center}}
html[data-theme="dark"] .mpc-balance-box .mpc-balance b{color:#fff}
html[data-theme="dark"] .mpc-balance-box .mpc-balance small{color:#d9c6a5}

/* 2.3: payment note laid out from Blesta's real markup: icon, words, Pay now on the right, close */
.alert.mpc-balance-box{flex-wrap:nowrap;margin:0 0 22px !important}
.mpc-balance-box .mpc-balance{flex:1 1 auto;min-width:0}
.mpc-balance-box .mpc-balance span{display:block;font-size:15px;color:var(--mpc-muted);margin-top:2px}
.mpc-balance-box .mpc-balance span strong{color:var(--mpc-forest)}
.alert.mpc-balance-box .mpc-balance__pay{flex:none;margin-left:auto;border:0 !important;box-shadow:none !important}
.mpc-balance__pay i{margin-left:6px;font-size:13px}
@media (max-width:767px){.alert.mpc-balance-box{flex-wrap:wrap}.alert.mpc-balance-box .mpc-balance{flex-basis:calc(100% - 100px)}.alert.mpc-balance-box .mpc-balance__pay{width:100%;margin-left:0;text-align:center}.alert.mpc-balance-box .close{order:0;align-self:flex-start}}
html[data-theme="dark"] .mpc-balance-box .mpc-balance span{color:#d9c6a5}
html[data-theme="dark"] .mpc-balance-box .mpc-balance span strong{color:#fff}

/* ---------- 2.4: every other My Account page in the checkout style ----------
   Services, Invoices, Make Payment, Payment Accounts, Contacts, Your details,
   Email History, Domains. Only on pages with body.mpc-modern (set in structure.pdt),
   so the dashboard, tickets and order pages keep their own look. */
.mpc-modern { --mpc-go: #2a7a0d; --mpc-go-hover: #236a0a; --mpc-card: #ffffff; --mpc-soft: #fbf5e6; --mpc-ink2: var(--mpc-forest); }

/* Banner: page name, a line of help, like the checkout */
.title.mpc-title .mpc-hero-title {
  padding: 30px 40px 32px;
  border-radius: 28px;
  background: radial-gradient(90% 160% at 0% 0%, rgba(246, 201, 69, 0.14) 0%, rgba(246, 201, 69, 0) 60%), linear-gradient(135deg, #4a2b0c 0%, #361d06 100%);
  color: #fff;
}
.title.mpc-title .mpc-hero-title h3 { padding: 0; border-radius: 0; background: none; font-size: 36px; margin: 6px 0 6px; }
.mpc-hero-eyebrow { display: inline-block; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); color: #f6dfa0; font: 700 12px/1.3 var(--mpc-body); letter-spacing: 0.12em; text-transform: uppercase; }
.mpc-hero-title p { margin: 0; color: #ecdcc0; font-size: 17px; line-height: 1.5; max-width: 720px; }

/* Cards: big rounded white boxes with the heading inside */
.mpc-modern .card-blesta.content_section {
  border-radius: 26px !important;
  box-shadow: 0 18px 40px -32px rgba(64, 36, 8, 0.35);
  margin-bottom: 24px;
}
.mpc-modern .card-blesta.content_section > .card-header {
  display: flex; align-items: center; gap: 12px;
  padding: 28px 32px 6px;
  border-bottom: 0;
  font: 800 26px/1.2 var(--mpc-head);
  letter-spacing: -0.02em;
}
.mpc-modern .card-blesta.content_section > .card-header::before {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--mpc-forest); color: #fff;
  font: 900 15px/1 "Font Awesome 5 Free";
  content: "\f0c9";
}
.mpc-modern #client_services > .card-header::before, .mpc-modern #client_services_manage > .card-header::before { content: "\f233"; }
.mpc-modern #client_invoices > .card-header::before { content: "\f15c"; }
.mpc-modern #client_method > .card-header::before { content: "\f09d"; }
.mpc-modern #client_accounts > .card-header::before { content: "\f09d"; }
.mpc-modern #client_contacts > .card-header::before { content: "\f0c0"; }
.mpc-modern #client_emails > .card-header::before { content: "\f0e0"; }
.mpc-modern #client_transactions > .card-header::before { content: "\f53a"; }
.mpc-modern .card-blesta.content_section > .card-content > .card-body,
.mpc-modern .card-blesta.content_section > .card-body { padding: 18px 32px 30px; }
.mpc-modern .card-blesta.content_section .card-footer { background: transparent; border-top: 0; padding: 0 32px 26px; }

/* Numbered section headings, like "1 Choose your plan" */
.mpc-modern .card-body { counter-reset: mpcstep; }
.mpc-modern h4.mpc-step {
  counter-increment: mpcstep;
  display: flex; align-items: center; gap: 12px;
  margin: 26px 0 16px; padding: 0; border: 0 !important;
  font: 800 22px/1.25 var(--mpc-head); letter-spacing: -0.015em;
}
.mpc-modern h4.mpc-step::before {
  content: counter(mpcstep);
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--mpc-forest); color: #fff; font: 800 15px/1 var(--mpc-head);
}
.mpc-modern .tab-pane > .row:first-child h4.mpc-step,
.mpc-modern form > h4.mpc-step:first-child { margin-top: 8px; }
.mpc-modern hr { margin: 22px 0; border-top: 1px dashed var(--mpc-line); }

/* Active / Pending / Suspended: a pill switch like Monthly / Yearly */
.mpc-modern .card-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 20px; }
.mpc-modern .card-nav > .float-left, .mpc-modern .card-nav > .float-right { float: none !important; }
.mpc-modern .card-nav > .clearfix { display: none; }
.mpc-modern .card-links {
  display: inline-flex; flex-wrap: wrap; gap: 4px;
  margin: 0; padding: 5px; border-radius: 999px;
  background: var(--mpc-cream); list-style: none;
}
.mpc-modern .card-links > li { display: block; margin: 0; padding: 0; }
.mpc-modern .card-links > li + li:before { display: none; content: none; }
.mpc-modern .card-links > li > a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 999px;
  color: var(--mpc-forest) !important; font: 700 15.5px/1.2 var(--mpc-head);
  text-decoration: none !important;
}
.mpc-modern .card-links > li > a:hover { background: rgba(255, 255, 255, 0.6); }
.mpc-modern .card-links > li.active > a { background: var(--mpc-forest); color: #fff !important; }
.mpc-modern .card-links .badge { background: #fff; color: var(--mpc-forest); font-size: 12px; padding: 3px 8px; }
.mpc-modern .card-links > li.active .badge { background: var(--mpc-mint); color: var(--mpc-leaf-dark); }
.mpc-modern .card-nav .float-right { display: flex; gap: 8px; margin-left: auto; }

/* Buttons: green pill for the main action, outlined pills for the rest */
.mpc-modern .btn { font-family: var(--mpc-head); font-weight: 700; }
.mpc-modern .btn-light, .mpc-modern a.btn-light, .mpc-modern .btn-default, .mpc-modern .btn-secondary {
  background: #fff !important; border: 1.5px solid var(--mpc-forest) !important; color: var(--mpc-forest) !important;
}
.mpc-modern .btn-light:hover, .mpc-modern .btn-default:hover, .mpc-modern .btn-secondary:hover { background: var(--mpc-cream) !important; }
.mpc-modern .card-nav .btn { padding: 9px 18px; font-size: 15px; }
.mpc-modern .card-nav .filter-toggle { width: 42px; height: 42px; padding: 0; display: inline-grid; place-items: center; }
.mpc-modern .card-nav .filter-toggle i { margin: 0; }
.mpc-modern .content_section button[type="submit"].btn,
.mpc-modern .content_section input[type="submit"].btn,
.mpc-modern .btn-success, .mpc-modern .btn-primary,
.mpc-modern .table a.btn[href*="/pay/"] {
  background: var(--mpc-go) !important; border: 0 !important; color: #fff !important;
  box-shadow: 0 8px 20px -10px rgba(42, 122, 13, 0.7);
}
.mpc-modern .content_section button[type="submit"].btn:hover,
.mpc-modern .content_section input[type="submit"].btn:hover,
.mpc-modern .btn-success:hover, .mpc-modern .btn-primary:hover { background: var(--mpc-go-hover) !important; }
.mpc-modern .content_section button[type="submit"].btn {
  padding: 14px 32px; font: 800 18px/1.2 var(--mpc-head); margin-top: 8px;
}
.mpc-modern .widget_filter_form input[type="submit"].btn { padding: 9px 22px; font-size: 15px; box-shadow: none; }
.mpc-modern .btn-danger {
  background: #fff !important; border: 1.5px solid #c6452a !important; color: #a1260f !important;
}
.mpc-modern .btn-danger:hover { background: #fde4df !important; }
.mpc-modern .btn i { margin-right: 4px; }
.mpc-modern .btn-group { gap: 6px; }
.mpc-modern .btn-group > .btn { border-radius: 999px !important; }
.mpc-modern .table .btn-xs, .mpc-modern .table .btn-sm { padding: 6px 14px; font-size: 14px; }
.mpc-modern .table .dropdown-toggle { padding: 6px 10px !important; }

/* Tables: one tidy rounded box, calm rows */
.mpc-modern .content_section .table-responsive {
  border: 1px solid var(--mpc-line); border-radius: 18px; overflow: hidden;
}
.mpc-modern .content_section .table-responsive > .table { margin: 0; border: 0 !important; border-radius: 0; }
.mpc-modern .content_section .table > thead > tr > th {
  background: var(--mpc-soft) !important; border: 0 !important; border-bottom: 1px solid var(--mpc-line) !important;
  border-radius: 0 !important; padding: 14px 18px !important; font-size: 12.5px; white-space: nowrap;
}
.mpc-modern .content_section .table > thead > tr > th a { text-decoration: none !important; }
.mpc-modern .content_section .table > tbody > tr > td {
  background: #fff !important; border: 0 !important; border-top: 1px solid var(--mpc-line) !important;
  border-radius: 0 !important; padding: 16px 18px !important; font-size: 16px;
}
.mpc-modern .content_section .table > tbody > tr:first-child > td { border-top: 0 !important; }
.mpc-modern .content_section .table-hover > tbody > tr.expand:hover > td { background: var(--mpc-soft) !important; cursor: pointer; }
.mpc-modern .content_section .table > tbody > tr > td:first-child { font-weight: 700; }
.mpc-modern .content_section .table td.text-danger { color: #a1260f !important; font-weight: 700; }
.mpc-modern .content_section .table .expand_details > td { background: var(--mpc-soft) !important; }

/* Info boxes */
.mpc-modern .content_section .alert-info {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--mpc-soft); border: 1px dashed var(--mpc-line); border-radius: 18px; padding: 18px 20px; color: var(--mpc-muted);
}
.mpc-modern .content_section .alert-info::before { content: "\f05a"; font: 900 18px/1.4 "Font Awesome 5 Free"; color: var(--mpc-leaf); }
.mpc-modern .content_section .alert-info p { margin: 0; }

/* Forms */
.mpc-modern .content_section label { font-size: 15px; margin-bottom: 6px; }
.mpc-modern .content_section .form-control { min-height: 48px; border-radius: 14px; font-size: 16px; }
.mpc-modern .content_section .form-group { margin-bottom: 18px; }
.mpc-modern .top-focus-box {
  background: var(--mpc-soft) !important; border: 1px dashed var(--mpc-line); border-radius: 18px; padding: 18px 20px 4px; margin: 4px 15px 8px;
}
.mpc-modern .help-block { color: var(--mpc-muted); font-size: 14.5px; margin-top: 6px; }
.mpc-modern .help-block i { color: var(--mpc-amber); }
.mpc-modern .card.bg-light { background: var(--mpc-soft) !important; border: 1px solid var(--mpc-line) !important; border-radius: 16px !important; }

.mpc-modern input[type="radio"], .mpc-modern input[type="checkbox"] { accent-color: var(--mpc-leaf-dark); width: 18px; height: 18px; vertical-align: middle; }
.mpc-modern .card-blesta.content_section h4:not(.mpc-step) { border-bottom: 0; }

/* Tabs (Your details): a pill switch, not folder tabs */
.mpc-modern .content_section .nav-tabs {
  display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border: 0; border-radius: 999px;
  background: var(--mpc-cream); margin-bottom: 8px;
}
.mpc-modern .content_section .nav-tabs .nav-link {
  border: 0 !important; border-radius: 999px; padding: 8px 18px; margin: 0;
  font: 700 15.5px/1.2 var(--mpc-head); background: transparent;
}
.mpc-modern .content_section .nav-tabs .nav-link.active { background: var(--mpc-forest) !important; color: #fff !important; }
.mpc-modern .content_section .tab-content { padding-top: 4px; }

/* Side menu (Payment Accounts, Contacts, a service): a white card with pill links */
.mpc-modern #mpc-content > .col-md-3 > .list-group {
  background: #fff; border: 1px solid var(--mpc-line); border-radius: 24px; padding: 10px;
  box-shadow: 0 18px 40px -32px rgba(64, 36, 8, 0.35); margin-bottom: 24px;
}
.mpc-modern #mpc-content > .col-md-3 > .list-group > .list-group-item {
  border: 0 !important; border-radius: 14px !important; margin: 2px 0; padding: 12px 14px;
  font-weight: 600; background: transparent;
}
.mpc-modern #mpc-content > .col-md-3 > .list-group > .list-group-item i { width: 22px; color: var(--mpc-muted); }
.mpc-modern #mpc-content > .col-md-3 > .list-group > .list-group-item:hover { background: var(--mpc-cream) !important; }
.mpc-modern #mpc-content > .col-md-3 > .list-group > .list-group-item.active {
  background: var(--mpc-mint) !important; color: var(--mpc-leaf-dark) !important; font-weight: 700;
}
.mpc-modern #mpc-content > .col-md-3 > .list-group > .list-group-item.active i { color: var(--mpc-leaf-dark); }
.mpc-modern #mpc-content > .col-md-3 > .list-group > .list-group-item[href$="/client/"],
.mpc-modern #mpc-content > .col-md-3 > .list-group > .list-group-item:last-child:has(.fa-arrow-left) {
  margin-top: 8px; border-top: 1px dashed var(--mpc-line) !important; border-radius: 0 0 14px 14px !important; color: var(--mpc-muted) !important;
}

/* Manage a service: the facts as tidy tiles */
.mpc-modern .panel-pad > .row { margin: 0 -8px; }
.mpc-modern .service-info { padding: 0 8px; border: 0 !important; display: grid; grid-template-columns: 1fr; gap: 0; }
.mpc-modern .service-info label {
  margin: 0; padding: 14px 18px 0; background: var(--mpc-soft); border: 1px solid var(--mpc-line); border-bottom: 0;
  border-radius: 16px 16px 0 0; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mpc-muted);
}
.mpc-modern .service-info h4 {
  margin: 0 0 12px; padding: 4px 18px 14px; background: var(--mpc-soft); border: 1px solid var(--mpc-line); border-top: 0;
  border-radius: 0 0 16px 16px; font: 700 19px/1.3 var(--mpc-head);
}
.mpc-modern .service-info h4 .badge { font-size: 14px; }
.mpc-modern #client_services_manage .btn-block { padding: 12px 18px; }

/* Make Payment */
.mpc-modern .mpc-pay-select { position: absolute !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.mpc-pay-choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 4px 0 6px; }
.mpc-pay-opt {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; cursor: pointer;
  padding: 16px 18px; border-radius: 18px; background: #fff; border: 1.5px solid var(--mpc-line); color: var(--mpc-forest);
  font-family: var(--mpc-body); transition: border-color .15s, box-shadow .15s;
}
.mpc-pay-opt:hover { border-color: var(--mpc-forest); }
.mpc-pay-opt__icon { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--mpc-cream); font-size: 18px; }
.mpc-pay-opt__text { flex: 1; min-width: 0; }
.mpc-pay-opt__text b { display: block; font: 800 18px/1.25 var(--mpc-head); }
.mpc-pay-opt__text small { display: block; color: var(--mpc-muted); font-size: 14px; margin-top: 2px; }
.mpc-pay-opt__tick { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--mpc-line); }
.mpc-pay-opt.is-on { border-color: var(--mpc-leaf); box-shadow: 0 0 0 3px rgba(72, 176, 28, 0.18); background: #fbfff6; }
.mpc-pay-opt.is-on .mpc-pay-opt__icon { background: var(--mpc-mint); color: var(--mpc-leaf-dark); }
.mpc-pay-opt.is-on .mpc-pay-opt__tick { border-color: var(--mpc-leaf); background: var(--mpc-leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.mpc-modern #client_method .radio label {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1.5px solid var(--mpc-line); border-radius: 16px; font-weight: 700; cursor: pointer;
}
.mpc-modern #client_method .float-right:has(.mpc-pay-total) { float: none !important; }
.mpc-modern .card.mpc-pay-total {
  display: flex !important; flex-direction: row; align-items: baseline; justify-content: space-between; gap: 12px;
  margin: 8px 0 18px !important; padding: 18px 0 4px !important; background: transparent !important;
  border: 0 !important; border-top: 1px dashed var(--mpc-line) !important; border-radius: 0 !important;
  font: 800 19px/1.2 var(--mpc-head); color: var(--mpc-forest);
}
.mpc-modern .card.mpc-pay-total strong { font: 800 40px/1 var(--mpc-head); letter-spacing: -0.02em; }
.mpc-modern #client_method #submit_payment { float: none !important; display: block; width: 100%; max-width: 420px; margin-left: auto; }

/* Phones: each table row is its own card */
@media (max-width: 767.98px) {
  .title.mpc-title .mpc-hero-title { padding: 22px 22px 24px; border-radius: 22px; }
  .title.mpc-title .mpc-hero-title h3 { font-size: 27px; }
  .mpc-hero-title p { font-size: 15.5px; }
  .mpc-modern .card-blesta.content_section { border-radius: 22px !important; }
  .mpc-modern .card-blesta.content_section > .card-header { padding: 22px 18px 4px; font-size: 22px; }
  .mpc-modern .card-blesta.content_section > .card-header::before { width: 32px; height: 32px; font-size: 13px; }
  .mpc-modern .card-blesta.content_section > .card-content > .card-body,
  .mpc-modern .card-blesta.content_section > .card-body { padding: 14px 16px 22px; }
  .mpc-modern .card-links { width: 100%; border-radius: 18px; }
  .mpc-modern .card-links > li > a { padding: 8px 12px; font-size: 14.5px; }
  .mpc-modern .card-nav .float-right { margin-left: 0; width: 100%; }
  .mpc-modern .card-nav .float-right .btn:not(.filter-toggle) { flex: 1; }
  .mpc-modern .content_section .table-responsive:has(.mpc-stack) { border: 0; border-radius: 0; overflow: visible; }
  .mpc-modern table.mpc-stack, .mpc-modern table.mpc-stack tbody { display: block; background: transparent !important; }
  .mpc-modern table.mpc-stack thead { display: none; }
  .mpc-modern table.mpc-stack > tbody > tr:not(.expand_details) {
    display: block; margin: 0 0 12px; padding: 6px 0; border: 1px solid var(--mpc-line); border-radius: 18px; background: #fff; overflow: hidden;
  }
  .mpc-modern table.mpc-stack > tbody > tr:not(.expand_details) > td {
    display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: right;
    padding: 8px 16px !important; border: 0 !important; font-size: 15.5px; background: transparent !important;
  }
  .mpc-modern table.mpc-stack > tbody > tr > td[data-label]::before {
    content: attr(data-label); flex: none; text-align: left; font-weight: 600; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--mpc-muted);
  }
  .mpc-modern table.mpc-stack > tbody > tr > td { min-width: 0; overflow-wrap: anywhere; white-space: normal !important; }
  .mpc-modern table.mpc-stack > tbody > tr > td:first-child:not(.mpc-cell-pick) { flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; font: 800 18px/1.3 var(--mpc-head); padding-top: 12px !important; }
  .mpc-modern table.mpc-stack > tbody > tr > td.mpc-cell-actions { border-top: 1px dashed var(--mpc-line) !important; margin-top: 6px; padding-top: 12px !important; justify-content: flex-end; }
  .mpc-modern table.mpc-stack > tbody > tr > td.mpc-cell-actions::before { content: none; }
  .mpc-modern table.mpc-stack > tbody > tr > td.mpc-cell-pick { justify-content: flex-start; }
  .mpc-modern table.mpc-stack > tbody > tr.expand_details[style*="table-row"] { display: block !important; }
  .mpc-modern .content_section button[type="submit"].btn { width: 100%; float: none !important; }
  .mpc-modern #remove-auto-debit { width: 100%; float: none !important; margin-top: 10px; }
  .mpc-modern .card.mpc-pay-total strong { font-size: 32px; }
}

/* 2.4 dark mode */
html[data-theme="dark"] .mpc-modern { --mpc-go: #3f9a1a; --mpc-go-hover: #4aab22; --mpc-soft: #1d150d; }
html[data-theme="dark"] .title.mpc-title .mpc-hero-title { background: radial-gradient(90% 160% at 0% 0%, rgba(246, 201, 69, 0.14) 0%, rgba(246, 201, 69, 0) 60%), linear-gradient(135deg, #4f2f10 0%, #3a2108 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05); }
html[data-theme="dark"] .mpc-modern .card-blesta.content_section { box-shadow: none; }
html[data-theme="dark"] .mpc-modern .card-blesta.content_section > .card-header::before,
html[data-theme="dark"] .mpc-modern h4.mpc-step::before { background: var(--mpc-amber); color: var(--mpc-forest); }
html[data-theme="dark"] .mpc-modern .card-links { background: var(--mpc-bg); }
html[data-theme="dark"] .mpc-modern .card-links > li > a { color: var(--mpc-ink) !important; }
html[data-theme="dark"] .mpc-modern .card-links > li > a:hover { background: var(--mpc-surface-2); }
html[data-theme="dark"] .mpc-modern .card-links > li.active > a { background: var(--mpc-amber); color: var(--mpc-forest) !important; }
html[data-theme="dark"] .mpc-modern .card-links .badge { background: var(--mpc-surface-2) !important; color: var(--mpc-ink) !important; }
html[data-theme="dark"] .mpc-modern .card-links > li.active .badge { background: rgba(64, 36, 8, 0.15) !important; color: var(--mpc-forest) !important; }
html[data-theme="dark"] .mpc-modern .btn-light, html[data-theme="dark"] .mpc-modern a.btn-light,
html[data-theme="dark"] .mpc-modern .btn-default, html[data-theme="dark"] .mpc-modern .btn-secondary {
  background: transparent !important; border-color: #8a7558 !important; color: var(--mpc-ink) !important;
}
html[data-theme="dark"] .mpc-modern .btn-light:hover { background: var(--mpc-surface-2) !important; }
html[data-theme="dark"] .mpc-modern .content_section button[type="submit"].btn,
html[data-theme="dark"] .mpc-modern .content_section input[type="submit"].btn,
html[data-theme="dark"] .mpc-modern .btn-success, html[data-theme="dark"] .mpc-modern .btn-primary,
html[data-theme="dark"] .mpc-modern .table a.btn[href*="/pay/"] { background: var(--mpc-go) !important; color: #fff !important; box-shadow: none; }
html[data-theme="dark"] .mpc-modern .btn-danger { background: transparent !important; border-color: #c86a55 !important; color: #f4a490 !important; }
html[data-theme="dark"] .mpc-modern .content_section .table > tbody > tr > td { background: var(--mpc-surface) !important; }
html[data-theme="dark"] .mpc-modern .content_section .table-hover > tbody > tr.expand:hover > td { background: var(--mpc-surface-2) !important; }
html[data-theme="dark"] .mpc-modern .content_section .table td.text-danger { color: #f4a490 !important; }
html[data-theme="dark"] .mpc-modern .content_section .alert-info { background: var(--mpc-bg); color: var(--mpc-muted); }
html[data-theme="dark"] .mpc-modern .content_section .alert-info::before { color: #9be36a; }
html[data-theme="dark"] .mpc-modern .top-focus-box, html[data-theme="dark"] .mpc-modern .card.bg-light { background: var(--mpc-bg) !important; border-color: var(--mpc-line) !important; }
html[data-theme="dark"] .mpc-modern .content_section .nav-tabs { background: var(--mpc-bg); }
html[data-theme="dark"] .mpc-modern .content_section .nav-tabs .nav-link { color: var(--mpc-ink) !important; }
html[data-theme="dark"] .mpc-modern .content_section .nav-tabs .nav-link.active { background: var(--mpc-amber) !important; color: var(--mpc-forest) !important; }
html[data-theme="dark"] .mpc-modern #mpc-content > .col-md-3 > .list-group { background: var(--mpc-surface); border-color: var(--mpc-line); box-shadow: none; }
html[data-theme="dark"] .mpc-modern #mpc-content > .col-md-3 > .list-group > .list-group-item { background: transparent; }
html[data-theme="dark"] .mpc-modern #mpc-content > .col-md-3 > .list-group > .list-group-item:hover { background: var(--mpc-surface-2) !important; }
html[data-theme="dark"] .mpc-modern #mpc-content > .col-md-3 > .list-group > .list-group-item.active { background: #22301a !important; color: #9be36a !important; }
html[data-theme="dark"] .mpc-modern #mpc-content > .col-md-3 > .list-group > .list-group-item.active i { color: #9be36a; }
html[data-theme="dark"] .mpc-pay-opt { background: var(--mpc-bg); border-color: var(--mpc-line); color: var(--mpc-ink); }
html[data-theme="dark"] .mpc-pay-opt:hover { border-color: #8a7558; }
html[data-theme="dark"] .mpc-pay-opt__icon { background: var(--mpc-surface-2); }
html[data-theme="dark"] .mpc-pay-opt.is-on { background: #1c2614; border-color: #6fc13f; box-shadow: 0 0 0 3px rgba(111, 193, 63, 0.18); }
html[data-theme="dark"] .mpc-pay-opt.is-on .mpc-pay-opt__icon { background: #22301a; color: #9be36a; }
html[data-theme="dark"] .mpc-modern #client_method .radio label { border-color: var(--mpc-line); }
html[data-theme="dark"] .mpc-modern .card.mpc-pay-total { color: var(--mpc-ink); background: transparent !important; }
@media (max-width: 767.98px) {
  html[data-theme="dark"] .mpc-modern table.mpc-stack > tbody > tr:not(.expand_details) { background: var(--mpc-surface); border-color: var(--mpc-line); }
}
.client-client_main-edit.mpc-modern .card-blesta.content_section > .card-header::before { content: "\f007"; }
.client-client_contacts-add.mpc-modern .card-blesta.content_section > .card-header::before,
.client-client_contacts-edit.mpc-modern .card-blesta.content_section > .card-header::before { content: "\f234"; }
.client-client_accounts-add.mpc-modern .card-blesta.content_section > .card-header::before { content: "\f09d"; }
html[data-theme="dark"] .title.mpc-title .mpc-hero-title h3 { background: none !important; box-shadow: none !important; padding: 0; color: #fff !important; }

/* ---------- 2.5: domain search page (order/main/index/domains) in the checkout style ---------- */
.mpc-dco-page .navfix { display: none; }
.mpc-dco .mpc-dco__card {
  background: #fff; border: 1px solid var(--mpc-line); border-radius: 26px; padding: 30px 32px;
  margin-bottom: 24px; box-shadow: 0 18px 40px -32px rgba(64, 36, 8, 0.35);
}
.mpc-dco .mpc-dco__card h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 6px; font: 800 26px/1.2 var(--mpc-head); letter-spacing: -0.02em; color: var(--mpc-forest); }
.mpc-dco .mpc-co__n { width: 34px; height: 34px; font: 800 16px/1 var(--mpc-head); }
.mpc-dco__sub { margin: 0 0 20px; color: var(--mpc-muted); font-size: 16.5px; }
.mpc-dco__sub.is-good i { color: var(--mpc-leaf); margin-right: 4px; }
.mpc-dco__sub.is-bad { color: #a1260f; } .mpc-dco__sub.is-bad i { margin-right: 4px; }
.mpc-dco form { margin: 0; padding: 0; }
.mpc-dco #domain-lookup-form .card-order { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; }
.mpc-dco .mpc-dco__search { position: relative; }
.mpc-dco .mpc-dco__glass { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--mpc-muted); font-size: 18px; pointer-events: none; }
.mpc-dco #domain-lookup-form input[name="domain"] {
  height: 62px; padding: 0 22px 0 52px; border-radius: 999px; border: 1.5px solid var(--mpc-line);
  font: 600 19px/1 var(--mpc-body); background: #fff;
}
.mpc-dco #domain-lookup-form .form-group { margin-bottom: 14px; }
.mpc-dco__label { margin: 4px 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mpc-muted); }
.mpc-dco .tlds { display: flex; flex-wrap: wrap; gap: 8px; text-align: left !important; }
.mpc-dco .tlds label.checkbox-inline {
  display: inline-flex !important; align-items: center; gap: 8px; margin: 0 !important; padding: 8px 16px 8px 12px;
  border: 1.5px solid var(--mpc-line); border-radius: 999px; background: #fff; cursor: pointer;
  font: 700 15.5px/1.2 var(--mpc-head); color: var(--mpc-forest);
}
.mpc-dco .tlds label.checkbox-inline:has(input:checked) { border-color: var(--mpc-leaf); background: var(--mpc-mint); color: var(--mpc-leaf-dark); }
.mpc-dco .tlds input[type="checkbox"], .mpc-dco #configure_domain input[type="checkbox"] { accent-color: var(--mpc-leaf-dark); width: 18px; height: 18px; margin: 0; }
.mpc-dco .tlds .show_more { border-radius: 999px; padding: 8px 16px; }
.mpc-dco .search { text-align: left !important; margin-top: 18px; }
.mpc-dco__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.mpc-dco__go {
  border: 0; cursor: pointer; border-radius: 999px; padding: 15px 34px; background: var(--mpc-leaf-dark); color: #fff;
  font: 800 18px/1.2 var(--mpc-head); box-shadow: 0 8px 20px -8px rgba(42, 122, 13, .6);
}
.mpc-dco__go:hover { background: #236a0a; }
.mpc-dco__go i, .mpc-dco__alt i { margin-right: 6px; }
.mpc-dco__alt { border: 1.5px solid var(--mpc-forest); background: #fff; color: var(--mpc-forest); border-radius: 999px; padding: 13px 22px; font: 700 16px/1.2 var(--mpc-head); cursor: pointer; }
.mpc-dco__alt:hover { background: var(--mpc-cream); }

/* Results */
.mpc-dco #configure_domain .card-order.domains { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; overflow: visible; border-radius: 0 !important; }
.mpc-dco #configure_domain .table-responsive { overflow: visible; }
.mpc-dco #configure_domain table { border-collapse: separate; border-spacing: 0 10px; margin: 0; background: transparent; border: 0 !important; }
.mpc-dco #configure_domain thead { display: none; }
.mpc-dco #configure_domain tr.mpc-dco__row > td {
  background: #fff !important; border: 1.5px solid var(--mpc-line) !important; border-left-width: 0 !important; border-right-width: 0 !important;
  padding: 14px 16px !important; vertical-align: middle; border-radius: 0 !important;
}
.mpc-dco #configure_domain tr.mpc-dco__row > td:first-child { border-left-width: 1.5px !important; border-radius: 18px 0 0 18px !important; width: 52px; padding-left: 20px !important; }
.mpc-dco #configure_domain tr.mpc-dco__row > td:last-child { border-right-width: 1.5px !important; border-radius: 0 18px 18px 0 !important; width: 230px; }
.mpc-dco #configure_domain tr.mpc-dco__row.is-on > td { border-color: var(--mpc-leaf) !important; background: #fbfff6 !important; }
.mpc-dco #configure_domain tr.mpc-dco__row label { margin: 0; font: 800 19px/1.25 var(--mpc-head); color: var(--mpc-forest); cursor: pointer; overflow-wrap: anywhere; }
.mpc-dco #configure_domain tr.is-taken label { color: var(--mpc-muted); font-weight: 600; text-decoration: line-through; }
.mpc-dco #configure_domain tr.is-taken select { display: none; }
.mpc-dco #configure_domain .badge { margin: 0 !important; font-size: 13.5px; }
.mpc-dco #configure_domain select { min-height: 44px; border-radius: 12px; font-weight: 600; }
.mpc-dco .mpc-dco__realsubmit, .mpc-dco #load-more-tlds + .clearfix { display: none !important; }
.mpc-dco #load-more-tlds { float: none !important; margin: 8px 0 0 !important; border-radius: 999px; }
.mpc-dco .mpc-dco__prices .table-responsive { padding: 0 !important; margin: 0 !important; border: 1px solid var(--mpc-line); border-radius: 18px; overflow: hidden; }
.mpc-dco .mpc-dco__prices table { margin: 0; border: 0 !important; }

/* Your order */
.mpc-dco__sum { position: sticky; top: 20px; }
.mpc-dco__sum h2 { font-size: 23px !important; margin-bottom: 10px !important; }
.mpc-dco__empty span:first-child { color: var(--mpc-muted); font-style: italic; }
.mpc-dco__continue.is-off { background: #b9ad97; box-shadow: none; cursor: default; }
.mpc-dco__web p { margin: 0 0 12px; }
.mpc-dco__web p b { display: inline; margin: 0; font: inherit; font-weight: 700; color: var(--mpc-forest); }
html[data-theme="dark"] .mpc-dco__web p b { color: #fff; }
.mpc-dco__webbtns { display: flex; flex-wrap: wrap; gap: 8px; }
.mpc-dco__webbtns .mpc-dom-hosting__btn {
  display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--mpc-leaf-dark);
  background: #fff; color: var(--mpc-leaf-dark) !important; font: 700 14.5px/1.2 var(--mpc-head); text-decoration: none !important;
}
.mpc-dco__webbtns .mpc-dom-hosting__btn.is-main { background: var(--mpc-leaf-dark); color: #fff !important; }

@media (max-width: 991.98px) {
  .mpc-dco { grid-template-columns: 1fr !important; }
  .mpc-dco__sum { position: static; }
}
@media (max-width: 575.98px) {
  .mpc-dco .mpc-dco__card { padding: 22px 18px; border-radius: 22px; }
  .mpc-dco .mpc-dco__card h3 { font-size: 22px; }
  .mpc-dco #domain-lookup-form input[name="domain"] { height: 56px; font-size: 17px; }
  .mpc-dco__go, .mpc-dco__alt { width: 100%; }
  .mpc-dco #configure_domain table, .mpc-dco #configure_domain tbody { display: block; margin: 0; }
  .mpc-dco #configure_domain tr.mpc-dco__row { display: grid; grid-template-columns: 40px 1fr; gap: 6px 10px; align-items: center; margin-bottom: 10px; padding: 14px 16px; border: 1.5px solid var(--mpc-line); border-radius: 18px; background: #fff; }
  .mpc-dco #configure_domain tr.mpc-dco__row.is-on { border-color: var(--mpc-leaf); background: #fbfff6; }
  .mpc-dco #configure_domain tr.mpc-dco__row > td { display: block; border: 0 !important; padding: 0 !important; width: auto !important; background: transparent !important; border-radius: 0 !important; }
  .mpc-dco #configure_domain tr.mpc-dco__row > td:nth-child(3), .mpc-dco #configure_domain tr.mpc-dco__row > td:nth-child(4) { grid-column: 2; }
}

/* 2.5 dark */
html[data-theme="dark"] .mpc-dco .mpc-dco__card { background: var(--mpc-surface); border-color: var(--mpc-line); box-shadow: none; }
html[data-theme="dark"] .mpc-dco .mpc-dco__card h3, html[data-theme="dark"] .mpc-dco #configure_domain tr.mpc-dco__row label { color: #fff; }
html[data-theme="dark"] .mpc-dco__sub { color: #d9c6a5; }
html[data-theme="dark"] .mpc-dco__sub.is-bad { color: #f4a490; }
html[data-theme="dark"] .mpc-dco #domain-lookup-form input[name="domain"] { background: var(--mpc-bg); border-color: var(--mpc-line); color: var(--mpc-ink); }
html[data-theme="dark"] .mpc-dco .tlds label.checkbox-inline { background: var(--mpc-bg); border-color: var(--mpc-line); color: var(--mpc-ink); }
html[data-theme="dark"] .mpc-dco .tlds label.checkbox-inline:has(input:checked) { background: #22301a; border-color: #6fc13f; color: #9be36a; }
html[data-theme="dark"] .mpc-dco__go { background: #3f9a1a; box-shadow: none; }
html[data-theme="dark"] .mpc-dco__alt { background: transparent; border-color: #8a7558; color: var(--mpc-ink); }
html[data-theme="dark"] .mpc-dco #configure_domain tr.mpc-dco__row > td { background: var(--mpc-bg) !important; border-color: var(--mpc-line) !important; }
html[data-theme="dark"] .mpc-dco #configure_domain tr.mpc-dco__row.is-on > td { background: #1c2614 !important; border-color: #6fc13f !important; }
html[data-theme="dark"] .mpc-dco__continue.is-off { background: #4a3d2c; color: #cbb79a; }
html[data-theme="dark"] .mpc-dco__webbtns .mpc-dom-hosting__btn { background: transparent; border-color: #9be36a; color: #9be36a !important; }
html[data-theme="dark"] .mpc-dco__webbtns .mpc-dom-hosting__btn.is-main { background: #3f9a1a; border-color: #3f9a1a; color: #fff !important; }
@media (max-width: 575.98px) {
  html[data-theme="dark"] .mpc-dco #configure_domain tr.mpc-dco__row { background: var(--mpc-bg); border-color: var(--mpc-line); }
  html[data-theme="dark"] .mpc-dco #configure_domain tr.mpc-dco__row.is-on { background: #1c2614; border-color: #6fc13f; }
  html[data-theme="dark"] .mpc-dco #configure_domain tr.mpc-dco__row > td,
  html[data-theme="dark"] .mpc-dco #configure_domain tr.mpc-dco__row.is-on > td { background: transparent !important; border: 0 !important; }
}

/* ---------- 2.6: domain set-up, basket and payment pages match the checkout ---------- */
/* Green buttons everywhere in the order pages, like the main checkout */
.mpc-co__pay { background: var(--mpc-leaf-dark) !important; color: #fff !important; box-shadow: 0 8px 20px -8px rgba(42, 122, 13, 0.6) !important; }
.mpc-co__pay:hover { background: #236a0a !important; }
html[data-theme="dark"] .mpc-co__pay { background: #3f9a1a !important; box-shadow: none !important; }
html[data-theme="dark"] .mpc-co__pay:hover { background: #4aa923 !important; }

/* Soft notes instead of pink and blue alerts */
.mpc-co .alert.mpc-note, .mpc-dco .alert.mpc-note {
  display: flex; align-items: flex-start; gap: 10px; position: relative;
  background: #fbf3df !important; border: 1px solid #ecd9a8 !important; color: var(--mpc-forest) !important;
  border-radius: 16px; padding: 13px 44px 13px 16px; margin: 0 0 16px; font-size: 15.5px; box-shadow: none;
}
.mpc-note p { margin: 0; }
.mpc-note__icon { color: #b98a12; flex: none; line-height: 1.5; }
.mpc-note--good .mpc-note__icon { color: var(--mpc-leaf-dark); }
.mpc-note .close { position: absolute; right: 12px; top: 10px; opacity: .55; color: var(--mpc-forest); text-shadow: none; font-size: 22px; padding: 0; background: none; border: 0; }
html[data-theme="dark"] .mpc-co .alert.mpc-note, html[data-theme="dark"] .mpc-dco .alert.mpc-note { background: #2a2113 !important; border-color: #5a4524 !important; color: var(--mpc-ink) !important; }
html[data-theme="dark"] .mpc-note__icon { color: var(--mpc-amber); }
html[data-theme="dark"] .mpc-note .close { color: var(--mpc-ink); }

/* Basket: discount code as a small link */
.mpc-cart__couponwrap { display: block; margin: 2px 0 14px; font-weight: 400; }
a.mpc-cart__coupon { font-size: 14.5px; font-weight: 600; text-decoration: underline !important; }
a.mpc-cart__coupon i { margin-right: 4px; font-size: 13px; }
.mpc-co #coupon_box .form-control { border-radius: 999px 0 0 999px; }
.mpc-co #coupon_box .btn { border-radius: 0 999px 999px 0; }

/* Payment page: one card per step */
.mpc-pay__details { display: block; }
.mpc-pay__details[style*="display: none"], .mpc-pay__details[style*="display:none"] { display: none !important; }
.mpc-pay__sec { margin-bottom: 20px !important; }
.mpc-pay__sec .row { margin-left: -10px; margin-right: -10px; }
.mpc-pay__sec [class*="col-"] { padding-left: 10px; padding-right: 10px; }
.mpc-pay__h { display: flex; align-items: center; gap: 10px; font: 800 23px/1.2 var(--mpc-head); margin: 0 0 4px; color: var(--mpc-forest); }
.mpc-pay__sub { color: var(--mpc-muted); font-size: 15.5px; margin: 0 0 18px; }
.mpc-pay__sec label { font-weight: 700; font-size: 14.5px; color: var(--mpc-forest); margin-bottom: 6px; }
.mpc-pay__sec .form-control { height: auto; min-height: 50px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--mpc-line); font-size: 16px; background-color: #fff; }
.mpc-pay__sec .form-control:focus { border-color: var(--mpc-leaf); box-shadow: 0 0 0 3px rgba(72, 176, 28, .18); }
.mpc-pay__sec .form-group { margin-bottom: 16px; }
.mpc-pay__copyrow { margin: 0 0 8px !important; }
.mpc-pay__copy.top-focus-box, .mpc-co .top-focus-box {
  background: var(--mpc-cream) !important; border: 1px dashed #d9c08a !important; border-radius: 16px;
  padding: 14px 16px 6px !important; margin: 0 10px 8px;
}
.mpc-pay__copy .help-block { font-size: 13.5px; color: var(--mpc-muted); margin: 6px 0 8px; }
.mpc-pay .mpc-pay-choice { margin: 0 0 4px; }
/* 4.3: hidden from view but still "on the page". Stripe's bank account part checks whether this list is visible,
   and when it was display:none Stripe thought a US bank account was being added and switched the Pay button off */
.mpc-pay .mpc-pay-select { display: block !important; position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.mpc-pay .mpc-card-box, .mpc-pay__sec .mpc-card-box { background: transparent !important; padding: 0 !important; border: 0 !important; }
.mpc-pay__sec .StripeElement { background: #fff !important; border: 1.5px solid var(--mpc-line) !important; border-radius: 14px !important; padding: 15px 14px !important; min-height: 52px; }
.mpc-pay__sec .StripeElement--focus { border-color: var(--mpc-leaf) !important; box-shadow: 0 0 0 3px rgba(72, 176, 28, .18); }
.mpc-pay__sec .checkbox { margin: 14px 0 0; }
label.mpc-pay__save { display: inline-flex !important; align-items: center; gap: 10px; font-size: 15.5px !important; font-weight: 600 !important; cursor: pointer; margin: 0 !important; }
label.mpc-pay__save input { width: 20px; height: 20px; margin: 0; accent-color: var(--mpc-leaf-dark); }
html[data-theme="dark"] .mpc-pay__h, html[data-theme="dark"] .mpc-pay__sec label { color: #fff; }
html[data-theme="dark"] .mpc-pay__sub, html[data-theme="dark"] .mpc-pay__copy .help-block { color: #d9c6a5; }
html[data-theme="dark"] .mpc-pay__sec .form-control { background-color: var(--mpc-bg); border-color: var(--mpc-line); color: var(--mpc-ink); }
html[data-theme="dark"] .mpc-pay__copy.top-focus-box, html[data-theme="dark"] .mpc-co .top-focus-box { background: var(--mpc-bg) !important; border-color: #5a4524 !important; }
html[data-theme="dark"] .mpc-pay__sec .StripeElement { background: #fff !important; }

/* Domain set-up: term buttons and tucked-away name servers */
.mpc-dset form, .mpc-dset { margin: 0; }
.mpc-dset__name { color: var(--mpc-forest); overflow-wrap: anywhere; }
.mpc-dset__terms { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.mpc-dset__term {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; cursor: pointer;
  background: #fff; border: 1.5px solid var(--mpc-line); border-radius: 18px; padding: 16px 18px; color: var(--mpc-forest); position: relative;
}
.mpc-dset__term:hover { border-color: var(--mpc-forest); }
.mpc-dset__tl { font: 800 18px/1.2 var(--mpc-head); }
.mpc-dset__tp { font: 800 24px/1.2 var(--mpc-head); margin-top: 4px; }
.mpc-dset__te { font-size: 13.5px; color: var(--mpc-muted); min-height: 1.2em; }
.mpc-dset__term::after { content: ""; position: absolute; right: 14px; top: 14px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--mpc-line); }
.mpc-dset__term.is-on { border-color: var(--mpc-leaf); background: #fbfff6; box-shadow: 0 0 0 3px rgba(72, 176, 28, .18); }
.mpc-dset__term.is-on::after { border-color: var(--mpc-leaf); background: var(--mpc-leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.mpc-dset__ns { padding: 0 !important; }
.mpc-dset__ns summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 32px; cursor: pointer; list-style: none; }
.mpc-dset__ns summary::-webkit-details-marker { display: none; }
.mpc-dset__ns summary b { display: block; font: 800 19px/1.25 var(--mpc-head); color: var(--mpc-forest); }
.mpc-dset__ns summary small { display: block; color: var(--mpc-muted); font-size: 14.5px; margin-top: 2px; }
.mpc-dset__more { flex: none; border: 1.5px solid var(--mpc-forest); border-radius: 999px; padding: 7px 16px; font: 700 14.5px/1.2 var(--mpc-head); color: var(--mpc-forest); }
.mpc-dset__ns details[open] .mpc-dset__more { background: var(--mpc-cream); }
.mpc-dset__nsfields { padding: 0 32px 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.mpc-dset label { font-weight: 700; font-size: 14.5px; color: var(--mpc-forest); margin-bottom: 6px; }
.mpc-dset .form-control { height: auto; min-height: 48px; padding: 11px 14px; border-radius: 14px; border: 1.5px solid var(--mpc-line); font-size: 16px; background-color: #fff; }
@media (max-width: 575.98px) {
  .mpc-dset__terms { grid-template-columns: 1fr; }
  .mpc-dset__term { padding: 14px 16px; }
  .mpc-dset__tp { font-size: 21px; }
  .mpc-dset__ns summary { padding: 18px; align-items: flex-start; }
  .mpc-dset__nsfields { padding: 0 18px 12px; grid-template-columns: 1fr; }
  .mpc-pay__h { font-size: 21px; }
}
html[data-theme="dark"] .mpc-dset__term { background: var(--mpc-bg); border-color: var(--mpc-line); color: var(--mpc-ink); }
html[data-theme="dark"] .mpc-dset__term:hover { border-color: #8a7558; }
html[data-theme="dark"] .mpc-dset__term.is-on { background: #1c2614; border-color: #6fc13f; box-shadow: 0 0 0 3px rgba(111, 193, 63, .18); }
html[data-theme="dark"] .mpc-dset__te, html[data-theme="dark"] .mpc-dset__ns summary small { color: #d9c6a5; }
html[data-theme="dark"] .mpc-dset__name, html[data-theme="dark"] .mpc-dset__ns summary b, html[data-theme="dark"] .mpc-dset label { color: #fff; }
html[data-theme="dark"] .mpc-dset__more { border-color: #8a7558; color: var(--mpc-ink); }
html[data-theme="dark"] .mpc-dset__ns details[open] .mpc-dset__more { background: var(--mpc-surface-2); }
html[data-theme="dark"] .mpc-dset .form-control { background-color: var(--mpc-bg); border-color: var(--mpc-line); color: var(--mpc-ink); }
.mpc-pay__how .card-order .row { margin-left: 0; margin-right: 0; }
.mpc-pay__how .card-order .row > [class*="col-"] { padding-left: 0; padding-right: 0; }
.mpc-pay__sec .mpc-pay__copyrow { margin-left: 0 !important; margin-right: 0 !important; }
.mpc-pay__sec .mpc-pay__copy.top-focus-box { margin: 0 0 8px; flex: 0 0 100%; max-width: 100%; }

/* 2.6: plan pages use the same green and outline pill buttons as the checkout */
.mpc-plan-actions .btn-group .btn-success, .mpc-plan-top__go {
  background: var(--mpc-leaf-dark) !important; border-color: var(--mpc-leaf-dark) !important; color: #fff !important;
  border-radius: 999px !important; box-shadow: 0 8px 20px -8px rgba(42, 122, 13, .6) !important;
}
.mpc-plan-actions .btn-group .btn-success:hover, .mpc-plan-top__go:hover { background: #236a0a !important; }
.mpc-plan-actions .btn-group .btn-secondary {
  text-decoration: none !important; border: 1.5px solid var(--mpc-forest) !important; border-radius: 999px !important;
  padding: 13px 24px !important; color: var(--mpc-forest) !important; font-size: 16px !important; font-weight: 700 !important; background: #fff !important;
}
.mpc-plan-actions .btn-group .btn-secondary:hover { background: var(--mpc-cream) !important; }
a.mpc-domhost__skip {
  display: inline-flex; align-items: center; border: 1.5px solid var(--mpc-forest); border-radius: 999px; padding: 13px 24px;
  font: 700 16px/1.2 var(--mpc-head); color: var(--mpc-forest) !important; background: #fff; text-decoration: none !important; white-space: nowrap;
}
a.mpc-domhost__skip:hover { background: var(--mpc-cream); }
.mpc-plan-top a.mpc-domhost__skip { padding: 10px 18px; font-size: 15px; }
html[data-theme="dark"] .mpc-plan-actions .btn-group .btn-success, html[data-theme="dark"] .mpc-plan-top__go { background: #3f9a1a !important; border-color: #3f9a1a !important; color: #fff !important; box-shadow: none !important; }
html[data-theme="dark"] .mpc-plan-actions .btn-group .btn-secondary, html[data-theme="dark"] a.mpc-domhost__skip { background: transparent !important; border-color: #8a7558 !important; color: var(--mpc-ink) !important; }
.mpc-domhost-page .mpc-plan-top__chosen { flex: 1; min-width: 0; }
.mpc-domhost-page .mpc-plan-top { gap: 12px; }
@media (max-width: 600px) { .mpc-domhost-page .mpc-plan-top a.mpc-domhost__skip { justify-content: center; } .mpc-plan-actions a.mpc-domhost__skip { flex: 1; justify-content: center; } }
@media (max-width: 767px) {
  .mpc-domhost-page .mpc-plan-actions .btn-group { flex-direction: column-reverse !important; align-items: stretch !important; gap: 10px; }
  .mpc-domhost-page .mpc-plan-actions .btn-group > * { width: 100%; justify-content: center; text-align: center; white-space: normal; }
}

/* ---------- 2.8: My Account pages look like the order pages ----------
   Calmer sizes like the checkout: a shorter banner, card titles like
   "1 How would you like to pay?", smaller form labels, soft notes and choice tiles. */
.title.mpc-title .mpc-hero-title { padding: 26px 32px 26px; border-radius: 24px; }
.title.mpc-title .mpc-hero-title h3 { font-size: 31px; margin: 8px 0 4px; letter-spacing: -0.02em; }
.mpc-hero-eyebrow { font-size: 11px; padding: 3px 10px; }
.mpc-hero-title p { font-size: 15.5px; }

.mpc-modern .card-blesta.content_section {
  border-radius: 22px !important; border: 1px solid var(--mpc-line) !important;
  box-shadow: 0 18px 40px -30px rgba(64, 36, 8, 0.35); margin-bottom: 20px;
}
.mpc-modern .card-blesta.content_section > .card-header {
  padding: 24px 28px 2px; font-size: 23px; gap: 10px; background: transparent !important;
}
.mpc-modern .card-blesta.content_section > .card-header::before {
  width: 30px; height: 30px; font-size: 12.5px; background: var(--mpc-mint); color: var(--mpc-leaf-dark);
}
.mpc-modern .card-blesta.content_section > .card-content > .card-body,
.mpc-modern .card-blesta.content_section > .card-body { padding: 14px 28px 26px; }
.mpc-modern .card-blesta.content_section .card-footer { padding: 0 28px 24px; }
.mpc-modern h4.mpc-step { font-size: 19px; margin: 22px 0 12px; gap: 10px; }
.mpc-modern h4.mpc-step::before { width: 26px; height: 26px; font-size: 13px; }
.mpc-modern .content_section label { font-size: 14.5px; font-weight: 700; margin-bottom: 5px; }
.mpc-modern .content_section .form-control { min-height: 46px; border-radius: 12px; font-size: 15.5px; }
.mpc-modern .content_section .form-group { margin-bottom: 16px; }
.mpc-modern .content_section .table > tbody > tr > td { padding: 14px 18px !important; font-size: 15.5px; }
.mpc-modern .content_section .table > thead > tr > th { padding: 12px 18px !important; font-size: 12px; letter-spacing: .06em; }
.mpc-modern .content_section .table > tbody > tr.expand_details > td,
.mpc-modern .content_section .table > tbody > tr.expand_details > td * { font-weight: 400; }
.mpc-modern .content_section .table > tbody > tr.expand_details b,
.mpc-modern .content_section .table > tbody > tr.expand_details strong,
.mpc-modern .content_section .table > tbody > tr.expand_details th { font-weight: 700; }
.mpc-modern .content_section .btn { border-radius: 999px; }
.mpc-modern .content_section button[type="submit"].btn { padding: 13px 28px; font-size: 16.5px; }
.mpc-modern .card-nav .btn, .mpc-modern .card-blesta .btn-light { padding: 8px 16px; font-size: 14.5px; }
.mpc-modern .card-links > li > a { padding: 7px 16px; font-size: 14.5px; }
.mpc-modern .card-links > li.active > a,
.mpc-modern .card-links > li.active > a:hover { color: #fff !important; }

/* Tabs on Your details: the chosen tab's words were dark on dark brown */
body.mpc-modern .content_section .nav-tabs .nav-link,
body.mpc-modern .content_section .nav-tabs .nav-item > a,
body.mpc-modern .content_section .nav-tabs .nav-item > button {
  color: var(--mpc-forest) !important; -webkit-text-fill-color: currentColor; opacity: 1;
  font-size: 14.5px; padding: 7px 16px; background: transparent; border: 0 !important; border-radius: 999px;
}
body.mpc-modern .content_section .nav-tabs .nav-link:hover { background: rgba(255, 255, 255, 0.65) !important; color: var(--mpc-forest) !important; }
body.mpc-modern .content_section .nav-tabs .nav-link.active,
body.mpc-modern .content_section .nav-tabs .nav-link.active:hover,
body.mpc-modern .content_section .nav-tabs .nav-link.active:focus,
body.mpc-modern .content_section .nav-tabs .nav-link[aria-selected="true"],
body.mpc-modern .content_section .nav-tabs .nav-item.active > .nav-link,
body.mpc-modern .content_section .nav-tabs .nav-link.mpc-tab-on {
  background: var(--mpc-forest) !important; color: #fff !important;
}
html[data-theme="dark"] body.mpc-modern .content_section .nav-tabs .nav-link { color: var(--mpc-ink) !important; }
html[data-theme="dark"] body.mpc-modern .content_section .nav-tabs .nav-link:hover { background: var(--mpc-surface-2) !important; color: var(--mpc-ink) !important; }
html[data-theme="dark"] body.mpc-modern .content_section .nav-tabs .nav-link.active,
html[data-theme="dark"] body.mpc-modern .content_section .nav-tabs .nav-link.active:hover,
html[data-theme="dark"] body.mpc-modern .content_section .nav-tabs .nav-link[aria-selected="true"],
html[data-theme="dark"] body.mpc-modern .content_section .nav-tabs .nav-link.mpc-tab-on { background: var(--mpc-amber) !important; color: var(--mpc-forest) !important; }

/* Notes at the top of a page ("You don't currently have any..."): soft cream, like the basket */
.mpc-modern #mpc-content .alert:not(.alert-danger):not(.alert-warning):not(#my-info .alert) {
  display: flex; align-items: flex-start; gap: 10px; position: relative;
  background: #fbf3df !important; border: 1px solid #ecd9a8 !important; color: var(--mpc-forest) !important;
  border-radius: 16px; padding: 13px 44px 13px 16px; margin: 0 0 16px; font-size: 15.5px; box-shadow: none;
}
.mpc-modern #mpc-content .alert:not(.alert-danger):not(.alert-warning):not(#my-info .alert)::before { content: "\f05a"; font: 900 16px/1.5 "Font Awesome 5 Free"; color: #b98a12; flex: none; }
.mpc-modern #mpc-content .alert.alert-success::before { content: "\f058"; color: var(--mpc-leaf-dark); }
.mpc-modern #mpc-content .alert p { margin: 0; }
.mpc-modern #mpc-content .alert .close { position: absolute; right: 12px; top: 9px; opacity: .55; color: var(--mpc-forest); text-shadow: none; font-size: 22px; padding: 0; background: none; border: 0; }
.mpc-modern #mpc-content .alert .close:hover { opacity: .9; }
.mpc-modern #mpc-content .alert.alert-danger { border-radius: 16px; background: #fde9e4 !important; border: 1px solid #f1bfb2 !important; color: #8a2410 !important; }
html[data-theme="dark"] .mpc-modern #mpc-content .alert:not(.alert-danger):not(.alert-warning):not(#my-info .alert) { background: #2a2113 !important; border-color: #5a4524 !important; color: var(--mpc-ink) !important; }
html[data-theme="dark"] .mpc-modern #mpc-content .alert:not(.alert-danger):not(.alert-warning):not(#my-info .alert)::before { color: var(--mpc-amber); }
html[data-theme="dark"] .mpc-modern #mpc-content .alert .close { color: var(--mpc-ink); }
html[data-theme="dark"] .mpc-modern #mpc-content .alert.alert-danger { background: #3a1a12 !important; border-color: #7a3424 !important; color: #f4b4a2 !important; }
/* The cream box inside a card keeps its own dashed look */
.mpc-modern .content_section .alert-info { padding: 14px 18px; font-size: 15.5px; border-radius: 16px; }

/* "Copy contact information from": the same cream box as the payment page */
.mpc-modern .top-focus-box { margin: 4px 0 10px; padding: 16px 18px 2px; border-style: solid; border-color: #ecd9a8; background: #fbf3df !important; border-radius: 16px; }
.mpc-modern .top-focus-box label { font-size: 14px; }
html[data-theme="dark"] .mpc-modern .top-focus-box { background: #2a2113 !important; border-color: #5a4524 !important; }

/* Choice tiles (Add a payment account: card or bank account), like "Pay by card" */
.mpc-modern .mpc-radio-hidden { position: absolute !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.mpc-modern .mpc-choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin: 2px 0 8px; }

/* Email history: dates in the normal weight, the opened email in a calm box */
.mpc-modern #client_emails .table > tbody > tr > td:first-child { font-weight: 600; white-space: nowrap; }
.mpc-modern #client_emails .expand_details .table,
.mpc-modern #client_emails .expand_details table { background: #fff !important; border: 1px solid var(--mpc-line) !important; border-radius: 14px; overflow: hidden; }
.mpc-modern #client_emails .expand_details tr, .mpc-modern #client_emails .expand_details td, .mpc-modern #client_emails .expand_details th { background: transparent !important; box-shadow: none !important; }
.mpc-modern #client_emails .expand_details table td { padding: 10px 16px !important; border-top: 1px solid var(--mpc-line) !important; }
.mpc-modern #client_emails .expand_details table tr:first-child td { border-top: 0 !important; }
.mpc-modern #client_emails .expand_details table td:first-child { width: 90px; color: var(--mpc-muted); font-weight: 700 !important; }
.mpc-modern #client_emails .expand_details p { margin: 0 0 12px; }
.mpc-modern #client_emails .expand_details tr:has(> th), .mpc-modern #client_emails .expand_details .bg-light,
.mpc-modern #client_emails .expand_details thead td { background: var(--mpc-soft) !important; }
.mpc-modern #client_emails .expand_details { font-size: 15px; line-height: 1.6; }
html[data-theme="dark"] .mpc-modern #client_emails .expand_details table { background: var(--mpc-surface) !important; }

/* Your orders: status as a small pill, Cancel as a quiet red outline */
.mpc-modern .mpc-status { display: inline-block; padding: 3px 11px; border-radius: 999px; font: 700 13px/1.4 var(--mpc-body); background: var(--mpc-cream); color: var(--mpc-forest); }
.mpc-modern .mpc-status--good { background: var(--mpc-mint); color: var(--mpc-leaf-dark); }
.mpc-modern .mpc-status--wait { background: #fbf0cf; color: #7a5a06; }
.mpc-modern .mpc-status--bad { background: #fde4df; color: #a1260f; }
html[data-theme="dark"] .mpc-modern .mpc-status { background: var(--mpc-surface-2); color: var(--mpc-ink); }
html[data-theme="dark"] .mpc-modern .mpc-status--good { background: #22301a; color: #9be36a; }
html[data-theme="dark"] .mpc-modern .mpc-status--wait { background: #3a2f12; color: #f6dfa0; }
html[data-theme="dark"] .mpc-modern .mpc-status--bad { background: #3a1a12; color: #f4a490; }
.mpc-modern .content_section .table .btn-group { display: inline-flex; flex-wrap: wrap; }
.mpc-modern .content_section .table td .btn { box-shadow: none !important; }
.mpc-modern .content_section .table td.mpc-ref { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; font-weight: 600; color: var(--mpc-muted); }

@media (max-width: 767.98px) {
  .title.mpc-title .mpc-hero-title { padding: 20px 20px 22px; }
  .title.mpc-title .mpc-hero-title h3 { font-size: 25px; }
  .mpc-modern .card-blesta.content_section > .card-header { padding: 20px 18px 2px; font-size: 20px; }
}

/* ---------- 2.8: security code, forgotten username and password pages ---------- */
.mpc-login-steps { list-style: none; counter-reset: mpclog; margin: 0; padding: 0; display: grid; gap: 14px; }
.mpc-login-steps li { counter-increment: mpclog; position: relative; padding-left: 40px; color: rgba(255, 241, 220, 0.9); font-size: 15.5px; line-height: 1.5; }
.mpc-login-steps li b { color: #fff; }
.mpc-login-steps li::before {
  content: counter(mpclog); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--mpc-amber); color: var(--mpc-forest); font: 800 14px/1 var(--mpc-head);
}
.mpc-login-help { margin: 7px 0 0; color: var(--mpc-muted); font-size: 14px; }
.mpc-login-help a { font-weight: 700; }
.mpc-login .mpc-code-input { font: 700 24px/1 var(--mpc-head) !important; letter-spacing: 0.3em; text-align: center; min-height: 56px; }
.mpc-login .mpc-code-input::placeholder { color: #cdbb98; letter-spacing: 0.3em; font-weight: 600; }
.mpc-login-card .alert { border-radius: 14px; font-size: 15px; }
html[data-theme="dark"] .mpc-login-help { color: var(--mpc-muted); }
html[data-theme="dark"] .mpc-login .mpc-code-input::placeholder { color: #6e5a40; }

/* 2.8: dashboard boxes (Invoices, Services, Transactions) like the Services and Invoices pages */
.client-client_main-index.mpc-modern .right_content .card-blesta.content_section { margin-bottom: 20px; }
.client-client_main-index.mpc-modern .right_content > .alert-warning { border-radius: 18px; }

/* 2.8: the open/close arrow on Invoices, Transactions and Email history sits neatly inside the row */
.mpc-modern .content_section .table > tbody > tr.expand > td:last-of-type { position: relative; padding-right: 60px !important; }
.mpc-modern .content_section .table > tbody > tr.expand > td:last-of-type::after {
  position: absolute; right: 16px; top: 50%; float: none; margin: -14px 0 0; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--mpc-cream); color: var(--mpc-forest); font-size: 11px; line-height: 1;
}
.mpc-modern .content_section .table > tbody > tr.expand:hover > td:last-of-type::after,
.mpc-modern .content_section .table > tbody > tr.expand.expanded > td:last-of-type::after { background: var(--mpc-forest); color: #fff; }
html[data-theme="dark"] .mpc-modern .content_section .table > tbody > tr.expand > td:last-of-type::after { background: var(--mpc-surface-2); color: var(--mpc-ink); }
html[data-theme="dark"] .mpc-modern .content_section .table > tbody > tr.expand:hover > td:last-of-type::after,
html[data-theme="dark"] .mpc-modern .content_section .table > tbody > tr.expand.expanded > td:last-of-type::after { background: var(--mpc-amber); color: var(--mpc-forest); }
@media (max-width: 767.98px) {
  .mpc-modern table.mpc-stack > tbody > tr.expand > td:last-of-type { padding-right: 60px !important; }
}
/* Tables fit their box: long words (like payment numbers) wrap instead of pushing the arrow out of sight */
@media (min-width: 768px) {
  .mpc-modern .content_section .table-responsive { overflow-x: auto; }
  .mpc-modern #client_transactions .table > tbody > tr > td:nth-child(5),
  .mpc-modern #client_emails .table > tbody > tr > td:nth-child(n+2) { white-space: normal; overflow-wrap: anywhere; font-size: 14.5px; }
}

/* ---------- 2.9 ---------- */
/* Tickets (dashboard box and Support page): the same cream pill bar as Services, Domains and Invoices */
body #client_tickets .card-links { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; background: var(--mpc-cream); }
body #client_tickets .card-links a { padding: 7px 16px; border: 0; background: transparent; font: 700 14.5px/1.2 var(--mpc-head); }
body #client_tickets .card-links a:hover { background: rgba(255, 255, 255, 0.65); }
body #client_tickets .card-links > .active a, body #client_tickets .card-links > .active a:hover { background: var(--mpc-forest); color: #fff !important; }
body #client_tickets .card-links .badge { background: #fff; color: var(--mpc-forest); font-size: 12px; padding: 3px 8px; }
body #client_tickets .card-links > .active .badge { background: var(--mpc-mint); color: var(--mpc-leaf-dark); }
html[data-theme="dark"] body #client_tickets .card-links { background: var(--mpc-bg); }
html[data-theme="dark"] body #client_tickets .card-links a { background: transparent; color: var(--mpc-ink) !important; }
html[data-theme="dark"] body #client_tickets .card-links a:hover { background: var(--mpc-surface-2); }
html[data-theme="dark"] body #client_tickets .card-links > .active a { background: var(--mpc-amber); color: var(--mpc-forest) !important; }
html[data-theme="dark"] body #client_tickets .card-links .badge { background: var(--mpc-surface-2) !important; color: var(--mpc-ink) !important; }
html[data-theme="dark"] body #client_tickets .card-links > .active .badge { background: rgba(64, 36, 8, 0.15) !important; color: var(--mpc-forest) !important; }

/* Dashboard: the left column stays in view while you scroll the boxes, so it doesn't leave a big gap */
@media (min-width: 768px) {
  .client-client_main-index #my-info { position: sticky; top: 16px; align-self: flex-start; }
}

/* Make a payment: the banner already says it, so the box heading is left out */
.mpc-modern #client_method > .card-header { display: none; }
.mpc-modern #client_method > .card-content > .card-body, .mpc-modern #client_method > .card-body { padding-top: 26px; }
/* All the ways to pay in one row of tiles */
.mpc-modern #client_method .mpc-pay-full { flex: 0 0 100%; max-width: 100%; border: 0 !important; }
.mpc-modern #client_method .mpc-pay-gone { display: none !important; }
.mpc-pay-choice.mpc-pay-need .mpc-pay-opt { border-color: #d9826b; }
.mpc-pay-need-msg { margin: 8px 0 0; color: #a1260f; font-weight: 700; font-size: 15px; }
html[data-theme="dark"] .mpc-pay-need-msg { color: #f4a490; }

/* ---------- 3.0: every My Account page looks like the checkout ----------
   Same colours as the plan page: a warm cream box (#fbf8f1) with a thin line and no shadow,
   lighter tiles inside (#fffdf8), dark brown round numbers and icons, outlined pill buttons
   and the checkout green (#2f8f1a) for the main action. */
body { --mpc-co-card: #fbf8f1; --mpc-co-tile: #fffdf8; --mpc-co-ok: #2f8f1a; --mpc-co-ok-d: #256f14; }

/* Banner, like "Choose your plan" */
.title.mpc-title .mpc-hero-title {
  padding: 30px 34px; border-radius: 30px; color: #f6edd6;
  background: radial-gradient(120% 180% at 0% 0%, rgba(246, 201, 69, 0.14), rgba(246, 201, 69, 0) 55%), linear-gradient(135deg, #5a3513 0%, #3a2108 100%);
}
.title.mpc-title .mpc-hero-title h3 { font-size: 32px; line-height: 1.1; margin: 10px 0 8px; color: #fff; }
.mpc-hero-title p { font-size: 16px; color: #f6edd6; opacity: .92; }
.mpc-hero-eyebrow { background: rgba(255, 255, 255, 0.14); color: #f6edd6; }

/* Boxes */
body:not(.mpc-login) #mpc-content .card-blesta.content_section,
body:not(.mpc-login) #my-info > .card {
  background: var(--mpc-co-card) !important; border: 1px solid var(--mpc-line) !important;
  border-radius: 24px !important; box-shadow: none !important; overflow: visible;
}
.mpc-modern .card-blesta.content_section > .card-header { padding: 26px 26px 2px; font-size: 22px; }
.mpc-modern .card-blesta.content_section > .card-header::before { width: 28px; height: 28px; font-size: 12px; background: var(--mpc-forest); color: #fff; }
.mpc-modern .card-blesta.content_section > .card-content > .card-body,
.mpc-modern .card-blesta.content_section > .card-body { padding: 14px 26px 24px; }
.mpc-modern .card-blesta.content_section .card-footer { padding: 0 26px 22px; }

/* Tables and tiles inside a box: the lighter cream, like the plan tiles */
body:not(.mpc-login) #mpc-content .content_section .table-responsive > .table,
body:not(.mpc-login) #mpc-content .content_section .table-curved {
  background: var(--mpc-co-tile) !important; border: 1.5px solid var(--mpc-line) !important; border-radius: 18px !important;
}
body:not(.mpc-login) #mpc-content .content_section .table > thead > tr > th { background: transparent !important; color: var(--mpc-muted) !important; border-bottom: 1px solid var(--mpc-line) !important; }
body:not(.mpc-login) #mpc-content .content_section .table > tbody > tr { background: transparent !important; }
body:not(.mpc-login) #mpc-content .content_section .table > tbody > tr > td { background: transparent !important; border-top-color: var(--mpc-line) !important; }
body:not(.mpc-login) #mpc-content .content_section .table-hover > tbody > tr:hover > td { background: #f6efdf !important; }
.mpc-modern .mpc-pay-opt, .mpc-modern .mpc-choice > * { background: var(--mpc-co-tile) !important; border: 1.5px solid var(--mpc-line); border-radius: 18px; }

/* Number and step circles: dark brown like "1" on the checkout */
.mpc-modern h4.mpc-step::before { width: 28px; height: 28px; font-size: 14px; }

/* Pill switches (Open / Closed, Active / Pending ...): exactly like Monthly / Yearly */
.mpc-modern .card-links, body #client_tickets .card-links { padding: 4px; gap: 4px; background: var(--mpc-cream); }
.mpc-modern .card-links > li > a, body #client_tickets .card-links a { padding: 8px 18px; font: 700 15px/1.2 var(--mpc-body); }
.mpc-modern .card-links .badge, body #client_tickets .card-links .badge { background: rgba(255, 255, 255, .8); }
.mpc-modern .card-links > li.active .badge, body #client_tickets .card-links > .active .badge { background: var(--mpc-mint); color: var(--mpc-co-ok-d); }

/* Buttons: white with a brown outline (like "Choose Monkey"), green for the main action */
body:not(.mpc-login) #mpc-content .btn-light,
body:not(.mpc-login) #mpc-content .btn-default,
body:not(.mpc-login) #mpc-content .btn-secondary {
  background: #fff !important; border: 1.5px solid var(--mpc-forest) !important; color: var(--mpc-forest) !important;
  border-radius: 999px !important; font: 700 15px/1.2 var(--mpc-body) !important; box-shadow: none !important;
}
body:not(.mpc-login) #mpc-content .btn-light:hover,
body:not(.mpc-login) #mpc-content .btn-default:hover,
body:not(.mpc-login) #mpc-content .btn-secondary:hover { background: var(--mpc-cream) !important; }
.mpc-modern #mpc-content .content_section button[type="submit"].btn,
.mpc-modern #mpc-content .content_section input[type="submit"].btn,
.mpc-modern #mpc-content .btn-success, .mpc-modern #mpc-content .btn-primary,
.mpc-modern #mpc-content .table a.btn[href*="/pay/"],
body #mpc-content #client_tickets .card-nav .float-right .btn:not(.filter-toggle) {
  background: var(--mpc-co-ok) !important; border: 1.5px solid var(--mpc-co-ok) !important; color: #fff !important; border-radius: 999px !important;
}
.mpc-modern #mpc-content .content_section button[type="submit"].btn:hover,
.mpc-modern #mpc-content .btn-success:hover, .mpc-modern #mpc-content .btn-primary:hover,
.mpc-modern #mpc-content .table a.btn[href*="/pay/"]:hover,
body #mpc-content #client_tickets .card-nav .float-right .btn:not(.filter-toggle):hover { background: var(--mpc-co-ok-d) !important; border-color: var(--mpc-co-ok-d) !important; }
.mpc-modern .content_section button[type="submit"].btn { padding: 14px 30px; font: 800 17px/1.2 var(--mpc-body); }

/* Dashboard left column: titles like "Total today", outlined buttons, green "included" box */
#my-info > .card > .card-header {
  background: transparent !important; border: 0 !important; padding: 22px 22px 4px !important;
  font: 800 19px/1.2 var(--mpc-head) !important; color: var(--mpc-forest) !important; letter-spacing: -0.01em;
}
#my-info > .card > .card-body, #my-info > .card > .list-group > .card-body { padding: 8px 22px 14px !important; background: transparent !important; }
#my-info > .card address { margin: 0; font-size: 15px; line-height: 1.6; color: var(--mpc-forest); }
#my-info > .card hr { border-top: 1px dashed var(--mpc-line); margin: 12px 0; }
#my-info > .card address a { color: var(--mpc-co-ok-d); font-weight: 600; word-break: break-all; }
#my-info > .card > .card-footer { background: transparent !important; border: 0 !important; padding: 0 22px 22px !important; }
#my-info > .card > .card-footer .btn { padding: 10px 14px !important; }
#my-info .alert.alert-info { background: var(--mpc-co-tile) !important; border: 1px solid var(--mpc-line) !important; border-radius: 16px; color: var(--mpc-muted) !important; font-size: 14.5px; padding: 12px 14px; margin: 0; }
#my-info .list-options { border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; }
#my-info .list-options .list-group-item {
  display: block; padding: 14px 16px !important; border-radius: 14px !important;
  background: #eef6e6 !important; border: 1px solid #d3e8bf !important; color: var(--mpc-forest) !important; box-shadow: none !important;
}
#my-info .list-options .list-group-item p { margin: 0; font-size: 14px; line-height: 1.5; font-weight: 600; }
#my-info .list-options .list-group-item i { color: var(--mpc-co-ok-d); margin-left: 8px; }
#my-info .list-options .list-group-item:hover { border-color: var(--mpc-co-ok) !important; }

/* Dark mode: the same idea in the site's dark colours */
html[data-theme="dark"] body { --mpc-co-card: var(--mpc-surface); --mpc-co-tile: var(--mpc-surface-2); }
html[data-theme="dark"] body:not(.mpc-login) #mpc-content .content_section .table-hover > tbody > tr:hover > td { background: rgba(255, 255, 255, .04) !important; }
html[data-theme="dark"] body:not(.mpc-login) #mpc-content .btn-light,
html[data-theme="dark"] body:not(.mpc-login) #mpc-content .btn-default,
html[data-theme="dark"] body:not(.mpc-login) #mpc-content .btn-secondary { background: transparent !important; border-color: var(--mpc-ink) !important; color: var(--mpc-ink) !important; }
html[data-theme="dark"] body:not(.mpc-login) #mpc-content .btn-light:hover,
html[data-theme="dark"] body:not(.mpc-login) #mpc-content .btn-default:hover { background: var(--mpc-surface-2) !important; }
html[data-theme="dark"] #my-info > .card > .card-header, html[data-theme="dark"] #my-info > .card address { color: var(--mpc-ink) !important; }
html[data-theme="dark"] #my-info > .card address a { color: #9be36a; }
html[data-theme="dark"] #my-info .alert.alert-info { color: var(--mpc-muted) !important; }
html[data-theme="dark"] #my-info .list-options .list-group-item { background: #1f2a17 !important; border-color: #34502a !important; color: var(--mpc-ink) !important; }
html[data-theme="dark"] #my-info .list-options .list-group-item i { color: #9be36a; }
html[data-theme="dark"] .mpc-modern .card-blesta.content_section > .card-header::before { background: var(--mpc-amber); color: var(--mpc-forest); }

@media (max-width: 640px) {
  .title.mpc-title .mpc-hero-title { padding: 24px 20px; border-radius: 22px; }
  .title.mpc-title .mpc-hero-title h3 { font-size: 26px; }
  .mpc-modern .card-blesta.content_section > .card-header { padding: 20px 16px 2px; font-size: 20px; }
  .mpc-modern .card-blesta.content_section > .card-content > .card-body,
  .mpc-modern .card-blesta.content_section > .card-body { padding: 12px 16px 20px; }
}
/* 3.0: Support tickets box title like the others */
body #mpc-content #client_tickets > .card-header {
  display: flex; align-items: center; gap: 10px; background: transparent !important; border: 0 !important;
  padding: 26px 26px 2px !important; font: 800 22px/1.2 var(--mpc-head) !important; color: var(--mpc-forest) !important; letter-spacing: -0.02em;
}
body #mpc-content #client_tickets > .card-header::before {
  content: "\f0c9"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--mpc-forest); color: #fff; font: 900 12px/1 "Font Awesome 5 Free";
}
body #mpc-content #client_tickets > .card-content > .card-body, body #mpc-content #client_tickets > .card-body { padding: 14px 26px 24px !important; }
html[data-theme="dark"] body #mpc-content #client_tickets > .card-header { color: var(--mpc-ink) !important; }
html[data-theme="dark"] body #mpc-content #client_tickets > .card-header::before { background: var(--mpc-amber); color: var(--mpc-forest); }

/* 3.0 tidy: side menus (Payment Accounts, Contacts...), help guides and Banana Boost boxes use the same cream */
body:not(.mpc-login) #mpc-content > .col-md-3:not(#my-info) > .list-group,
body:not(.mpc-login) #mpc-content .col-md-3:not(#my-info) > .list-group:not(.list-options) {
  background: var(--mpc-co-card) !important; border: 1px solid var(--mpc-line) !important; border-radius: 24px !important;
  box-shadow: none !important; padding: 8px; overflow: visible;
}
body:not(.mpc-login) #mpc-content .col-md-3:not(#my-info) > .list-group > .list-group-item {
  background: transparent !important; border: 0 !important; border-radius: 14px !important; margin: 0;
  padding: 11px 14px; font: 600 15px/1.3 var(--mpc-body); color: var(--mpc-forest) !important; box-shadow: none !important;
}
body:not(.mpc-login) #mpc-content .col-md-3:not(#my-info) > .list-group > .list-group-item:hover { background: var(--mpc-co-tile) !important; }
body:not(.mpc-login) #mpc-content .col-md-3:not(#my-info) > .list-group > .list-group-item.active {
  background: #eef6e6 !important; color: var(--mpc-co-ok-d) !important; font-weight: 700;
}
body:not(.mpc-login) #mpc-content .col-md-3:not(#my-info) > .list-group > .list-group-item.active i { color: var(--mpc-co-ok-d) !important; }
body:not(.mpc-login) #mpc-content .col-md-3:not(#my-info) > .list-group > .list-group-item:last-child { margin-top: 4px; border-top: 1px dashed var(--mpc-line) !important; border-radius: 0 0 14px 14px !important; }
.mpc-ghelp, .mpc-banana, .mpc-banana--order { background: var(--mpc-co-card) !important; box-shadow: none !important; border-radius: 24px !important; }
.mpc-guide, .mpc-banana__opt { background: var(--mpc-co-tile) !important; }
.mpc-banana__opt.is-best { background: #fdf0c4 !important; }
html[data-theme="dark"] body:not(.mpc-login) #mpc-content .col-md-3:not(#my-info) > .list-group > .list-group-item { color: var(--mpc-ink) !important; }
html[data-theme="dark"] body:not(.mpc-login) #mpc-content .col-md-3:not(#my-info) > .list-group > .list-group-item.active { background: #1f2a17 !important; color: #9be36a !important; }
html[data-theme="dark"] body:not(.mpc-login) #mpc-content .col-md-3:not(#my-info) > .list-group > .list-group-item.active i { color: #9be36a !important; }
html[data-theme="dark"] .mpc-banana__opt.is-best { background: #3a2f12 !important; }
/* 3.0: GoCardless buttons say what they do, with a line under each */
.mpc-gc-opt { display: inline-flex; flex-direction: column; align-items: stretch; gap: 6px; max-width: 320px; margin: 0 10px 12px 0; vertical-align: top; text-align: left; }
.mpc-gc-opt .btn { width: 100%; }
.mpc-gc-note { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--mpc-muted); }
@media (max-width: 575.98px) { .mpc-gc-opt { display: flex; max-width: none; margin-right: 0; } }

/* ---------- 3.0: Payment received (after paying by card or Direct Debit) ---------- */
#mpc-content .mpc-recv { max-width: 760px; margin: 0 auto 24px; padding: 32px 34px 30px; }
.mpc-recv__top { display: flex; align-items: center; gap: 18px; }
.mpc-recv__tick { flex: none; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--mpc-co-ok); color: #fff; font-size: 26px; box-shadow: 0 0 0 7px #e3f1d6; }
.mpc-recv__tick--wait { background: var(--mpc-amber); color: var(--mpc-forest); box-shadow: 0 0 0 7px #fbf0cf; }
.mpc-recv__top h2 { margin: 0 0 4px; font: 800 28px/1.15 var(--mpc-head); letter-spacing: -0.02em; color: var(--mpc-forest); }
.mpc-recv__top p { margin: 0; font-size: 16px; color: var(--mpc-muted); }
.mpc-recv__sum { margin: 26px 0 0; padding: 4px 20px; background: var(--mpc-co-tile); border: 1.5px solid var(--mpc-line); border-radius: 18px; }
.mpc-recv__sum > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-top: 1px dashed var(--mpc-line); }
.mpc-recv__sum > div:first-child { border-top: 0; }
.mpc-recv__sum dt { font-weight: 600; font-size: 15px; color: var(--mpc-muted); }
.mpc-recv__sum dd { margin: 0; font-weight: 700; font-size: 16px; color: var(--mpc-forest); text-align: right; word-break: break-all; }
.mpc-recv__sum dd.mpc-recv__amt { font: 800 28px/1 var(--mpc-head); }
.mpc-recv__sum dd.mpc-recv__ref { font: 600 14px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--mpc-muted); }
.mpc-recv__note { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0 0; padding: 14px 16px; border-radius: 16px; background: #eef6e6; border: 1px solid #d3e8bf; }
.mpc-recv__note i { color: var(--mpc-co-ok-d); margin-top: 3px; }
.mpc-recv__note p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--mpc-forest); }
.mpc-recv__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.mpc-recv__btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--mpc-forest); background: #fff; color: var(--mpc-forest) !important; font: 700 15.5px/1.2 var(--mpc-body); text-decoration: none !important; }
.mpc-recv__btn:hover { background: var(--mpc-cream); }
.mpc-recv__btn--go { background: var(--mpc-co-ok); border-color: var(--mpc-co-ok); color: #fff !important; }
.mpc-recv__btn--go:hover { background: var(--mpc-co-ok-d); border-color: var(--mpc-co-ok-d); }
html[data-theme="dark"] .mpc-recv__top h2, html[data-theme="dark"] .mpc-recv__sum dd { color: var(--mpc-ink); }
html[data-theme="dark"] .mpc-recv__tick { box-shadow: 0 0 0 7px #22301a; }
html[data-theme="dark"] .mpc-recv__note { background: #1f2a17; border-color: #34502a; }
html[data-theme="dark"] .mpc-recv__note p { color: var(--mpc-ink); }
html[data-theme="dark"] .mpc-recv__note i { color: #9be36a; }
html[data-theme="dark"] .mpc-recv__btn { background: transparent; border-color: var(--mpc-ink); color: var(--mpc-ink) !important; }
html[data-theme="dark"] .mpc-recv__btn--go { background: var(--mpc-co-ok); border-color: var(--mpc-co-ok); color: #fff !important; }
@media (max-width: 575.98px) {
  #mpc-content .mpc-recv { padding: 24px 18px; }
  .mpc-recv__top { align-items: flex-start; }
  .mpc-recv__top h2 { font-size: 23px; }
  .mpc-recv__tick { width: 48px; height: 48px; font-size: 21px; }
  .mpc-recv__btn { flex: 1 1 100%; justify-content: center; }
}

/* 3.2 (5 Nov 2026): the lighter chocolate brown from the website (theme 4.45+) in light mode.
   Big boxes and banners: gradient #6b4219 -> #52310f; flat boxes and buttons #5f3915; hover #6b4219. Dark mode unchanged. */
:where(html:not([data-theme="dark"])) .mpc-navbar .navbar-nav .nav-item.active > .nav-link{background:#5f3915}
:where(html:not([data-theme="dark"])) .title.mpc-title h3{background:radial-gradient(90% 160% at 0% 0%, rgba(246, 201, 69, 0.12) 0%, rgba(246, 201, 69, 0) 60%), linear-gradient(160deg,#6b4219,#52310f)}
:where(html:not([data-theme="dark"])) .list-group-item.active,:where(html:not([data-theme="dark"])) a.list-group-item.active,:where(html:not([data-theme="dark"])) a.list-group-item.active:hover,:where(html:not([data-theme="dark"])) a.list-group-item.active:focus{background:#5f3915!important}
:where(html:not([data-theme="dark"])) body .btn-primary,:where(html:not([data-theme="dark"])) body .btn-success{background:#5f3915!important}
:where(html:not([data-theme="dark"])) body .btn-primary:hover,:where(html:not([data-theme="dark"])) body .btn-primary:focus,:where(html:not([data-theme="dark"])) body .btn-success:hover,:where(html:not([data-theme="dark"])) body .btn-success:focus{background:#6b4219!important}
:where(html:not([data-theme="dark"])) body .badge-primary,:where(html:not([data-theme="dark"])) body .badge-dark{background:#5f3915!important}
:where(html:not([data-theme="dark"])) .pagination .page-item.active .page-link,:where(html:not([data-theme="dark"])) div.pagination ul.pagination li.active .page-link,:where(html:not([data-theme="dark"])) div.pagination ul.pagination li.active a{background:#5f3915!important}
:where(html:not([data-theme="dark"])) .nav-pills .nav-link.active{background:#5f3915!important}
:where(html:not([data-theme="dark"])) .mpc-footer{background:#5f3915}
:where(html:not([data-theme="dark"])) .mpc-login-side{background:radial-gradient(90% 120% at 0% 0%, rgba(246, 201, 69, 0.14) 0%, rgba(246, 201, 69, 0) 60%), linear-gradient(160deg,#6b4219,#52310f)}
:where(html:not([data-theme="dark"])) .mpc-tile--main{background:radial-gradient(90% 120% at 0% 0%, rgba(246, 201, 69, 0.14) 0%, rgba(246, 201, 69, 0) 60%), linear-gradient(160deg,#6b4219,#52310f)}
:where(html:not([data-theme="dark"])) .mpc-powered--chrome{background:#5f3915}
:where(html:not([data-theme="dark"])) .mpc-ocard__icon{background:#5f3915}
:where(html:not([data-theme="dark"])) .mpc-obtn{background:#5f3915}
:where(html:not([data-theme="dark"])) .mpc-obtn:hover{background:#6b4219}
:where(html:not([data-theme="dark"])) .mpc-osearch button:hover{background:#5f3915}
:where(html:not([data-theme="dark"])) .mpc-order__help{background:radial-gradient(circle at 95% 50%,rgba(246,201,69,.22),rgba(246,201,69,0) 45%),#5f3915}
:where(html:not([data-theme="dark"])) .mpc-steps li.is-now{background:#5f3915}
:where(html:not([data-theme="dark"])) .mpc-ordering #package-config button[type="submit"].btn-success{background:#5f3915!important}
:where(html:not([data-theme="dark"])) .mpc-ordering #package-config button[type="submit"].btn-success:hover{background:#6b4219!important}
:where(html:not([data-theme="dark"])) .mpc-plan-actions .btn-group .btn-success{background:#5f3915!important}
:where(html:not([data-theme="dark"])) .mpc-plan-top__go{background:#5f3915}
:where(html:not([data-theme="dark"])) .mpc-plan-top__go:hover{background:#6b4219}
:where(html:not([data-theme="dark"])) .mpc-support__hero{background:radial-gradient(120% 180% at 0% 0%,rgba(246,201,69,.14),rgba(246,201,69,0) 55%),linear-gradient(160deg,#6b4219,#52310f)}
:where(html:not([data-theme="dark"])) .mpc-cycle button[aria-pressed="true"]{background:#5f3915}
:where(html:not([data-theme="dark"])) .mpc-co__n{background:#5f3915}
:where(html:not([data-theme="dark"])) .mpc-item__badge{background:#5f3915}
:where(html:not([data-theme="dark"])) a.mpc-co__upbtn{background:#5f3915}
:where(html:not([data-theme="dark"])) .mpc-hero{background:radial-gradient(circle at 92% 0%,rgba(246,201,69,.22),rgba(246,201,69,0) 45%),linear-gradient(160deg,#6b4219,#52310f)}
:where(html:not([data-theme="dark"])) a.mpc-dom-hosting__btn.is-main{background:#5f3915}
:where(html:not([data-theme="dark"])) #client_tickets .card-links > .active a{background:#5f3915}
:where(html:not([data-theme="dark"])) .mpc-banana__opt em{background:#5f3915}
:where(html:not([data-theme="dark"])) .mpc-banana__tag{background:#5f3915}
:where(html:not([data-theme="dark"])) .mpc-done__btn{background:#5f3915}
:where(html:not([data-theme="dark"])) .mpc-balance__pay,:where(html:not([data-theme="dark"])) .mpc-balance-box a[href*="/pay"]{background:#5f3915}
:where(html:not([data-theme="dark"])) .title.mpc-title .mpc-hero-title{background:radial-gradient(90% 160% at 0% 0%, rgba(246, 201, 69, 0.14) 0%, rgba(246, 201, 69, 0) 60%), linear-gradient(160deg,#6b4219,#52310f)}
:where(html:not([data-theme="dark"])) .mpc-modern .card-blesta.content_section > .card-header::before{background:#5f3915}
:where(html:not([data-theme="dark"])) .mpc-modern h4.mpc-step::before{background:#5f3915}
:where(html:not([data-theme="dark"])) .mpc-modern .card-links > li.active > a{background:#5f3915}
:where(html:not([data-theme="dark"])) .mpc-modern .content_section .nav-tabs .nav-link.active{background:#5f3915!important}
:where(html:not([data-theme="dark"])) body.mpc-modern .content_section .nav-tabs .nav-link.active,:where(html:not([data-theme="dark"])) body.mpc-modern .content_section .nav-tabs .nav-link.active:hover,:where(html:not([data-theme="dark"])) body.mpc-modern .content_section .nav-tabs .nav-link.active:focus,:where(html:not([data-theme="dark"])) body.mpc-modern .content_section .nav-tabs .nav-link[aria-selected="true"],:where(html:not([data-theme="dark"])) body.mpc-modern .content_section .nav-tabs .nav-item.active > .nav-link,:where(html:not([data-theme="dark"])) body.mpc-modern .content_section .nav-tabs .nav-link.mpc-tab-on{background:#5f3915!important}
:where(html:not([data-theme="dark"])) .mpc-modern .content_section .table > tbody > tr.expand:hover > td:last-of-type::after,:where(html:not([data-theme="dark"])) .mpc-modern .content_section .table > tbody > tr.expand.expanded > td:last-of-type::after{background:#5f3915}
:where(html:not([data-theme="dark"])) body #client_tickets .card-links > .active a,:where(html:not([data-theme="dark"])) body #client_tickets .card-links > .active a:hover{background:#5f3915}
:where(html:not([data-theme="dark"])) .title.mpc-title .mpc-hero-title{background:radial-gradient(120% 180% at 0% 0%, rgba(246, 201, 69, 0.14), rgba(246, 201, 69, 0) 55%), linear-gradient(160deg,#6b4219,#52310f)}
:where(html:not([data-theme="dark"])) body #mpc-content #client_tickets > .card-header::before{background:#5f3915}

/* ==========================================================================
   3.4 (9 Nov 2026): every page laid out like the order page.
   Page on the left, a "Your order" style summary box on the right, tiles and
   pill buttons. Colours are the checkout's (start.css) so they match exactly.
   ========================================================================== */
body { --c-bg: #fbf8f1; --c-card: #fffdf8; --c-ok: #2f8f1a; --c-ok-d: #256f14; }
html[data-theme="dark"] body { --c-bg: #2a1806; --c-card: #33200b; }

/* Banner: "My Account › Services" like the order page, not a pill */
.mpc-hero-eyebrow.mpc-crumbs { background: none !important; padding: 0 !important; border-radius: 0; letter-spacing: 0; text-transform: none; font: 500 14px/1.4 var(--mpc-body); color: #f6edd6 !important; opacity: .85; }
.mpc-crumbs a { color: #f6edd6 !important; text-decoration: none; }
.mpc-crumbs a:hover { text-decoration: underline; }
.title.mpc-title .mpc-hero-title h3 { margin-top: 4px; }

/* Page + side box */
.mpc-paged { padding-left: 15px; padding-right: 15px; }
.mpc-pgrid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.mpc-pmain { min-width: 0; }
.mpc-pmain > .row { margin-left: 0; margin-right: 0; }
.mpc-pmain > .row > [class*="col-"] { padding-left: 0; padding-right: 0; flex: 0 0 100%; max-width: 100%; }
.mpc-side { position: sticky; top: 16px; min-width: 0; }
@media (max-width: 991px) { .mpc-pgrid { grid-template-columns: minmax(0, 1fr); } .mpc-side { position: static; } }

/* The summary box ("Your order" on the order page) */
.mpc-sum { background: var(--c-bg); border: 1px solid var(--mpc-line); border-radius: 24px; padding: 24px 26px 22px; color: var(--mpc-forest); }
.mpc-sum h3 { font-family: var(--mpc-head); font-weight: 800; font-size: 20px; margin: 0 0 10px; color: var(--mpc-forest); }
.mpc-sum__lines { list-style: none; margin: 0; padding: 0; }
.mpc-sum__lines li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--mpc-line); font-size: 15px; color: var(--mpc-forest); }
.mpc-sum__lines li[hidden] { display: none; }
.mpc-sum__lines li > span { color: var(--mpc-muted); min-width: 0; }
.mpc-sum__lines li > b { flex: none; max-width: 62%; text-align: right; font-weight: 700; word-break: break-word; }
.mpc-sum__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; }
.mpc-sum__total span { font-weight: 700; font-size: 16px; }
.mpc-sum__total strong { font-family: var(--mpc-head); font-weight: 800; font-size: 30px; color: var(--mpc-forest); }
.mpc-sum__renew { margin: 2px 0 0; font-size: 13px; color: var(--mpc-muted); line-height: 1.4; }
a.mpc-sum__go { display: block; margin-top: 16px; text-align: center; border-radius: 999px; padding: 14px 18px; background: var(--c-ok); color: #fff !important; font-weight: 800; font-size: 16.5px; text-decoration: none !important; transition: background .15s; }
a.mpc-sum__go:hover { background: var(--c-ok-d); }
.mpc-sum__inc { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: #eef6e6; border: 1px solid #d3e8bf; }
.mpc-sum__inc b { display: block; color: var(--c-ok-d); font-size: 15px; margin-bottom: 4px; }
.mpc-sum__inc p { margin: 0; font-size: 14px; color: var(--mpc-forest); line-height: 1.5; }
.mpc-sum__inc a { display: inline-block; margin-top: 8px; font-weight: 700; font-size: 14px; color: var(--c-ok-d) !important; text-decoration: none; }
.mpc-sum__inc a:hover { text-decoration: underline; }
.mpc-sum__inc.is-wait { background: #fff6dc; border-color: #f1dc9a; }
.mpc-sum__inc.is-wait b { color: #7a5200; }
.mpc-sum__inc.is-bad { background: #fdf1ee; border-color: #f2cfc6; }
.mpc-sum__inc.is-bad b { color: #a3271a; }
.mpc-sum__inc.is-off { background: #f3ede2; border-color: #e3d6bf; }
.mpc-sum__inc.is-off b { color: var(--mpc-muted); }
.mpc-sum__trust { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; }
.mpc-sum__trust li { position: relative; padding-left: 20px; font-size: 13.5px; color: var(--mpc-muted); }
.mpc-sum__trust li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--c-ok); font-weight: 800; }

/* Status pills */
.mpc-state { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; line-height: 1.5; }
.mpc-state.is-ok { background: var(--mpc-mint); color: var(--c-ok-d); }
.mpc-state.is-wait { background: #fdf0c4; color: #7a5200; }
.mpc-state.is-bad { background: #fbe2dc; color: #a3271a; }
.mpc-state.is-off { background: #efe6d6; color: var(--mpc-muted); }

/* Main cards a touch roomier, like the order page's cards */
.mpc-modern #mpc-content .card-blesta { background: var(--c-bg) !important; border-radius: 24px !important; }
.mpc-modern #mpc-content .card-blesta > .card-header { font-size: 22px !important; }

/* Tables: the label sits under the plan name, some columns are hidden */
.mpc-hide { display: none !important; }
.mpc-sublabel { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; color: var(--mpc-muted); }
.mpc-modern #mpc-content table.table .btn-group { display: inline-flex; flex-wrap: nowrap; gap: 6px; align-items: center; }
.mpc-modern #mpc-content table.table .btn-group > .dropdown-toggle { width: 34px; height: 34px; padding: 0 !important; border-radius: 50% !important; display: inline-grid; place-items: center; flex: none; }
.mpc-modern #mpc-content table.table td { vertical-align: middle; }
.mpc-modern #mpc-content table.table td:first-child { font-weight: 700; }

/* ---- Manage service ---- */
.mpc-svc-tabs { margin-bottom: 18px; }
.mpc-svc-tabs .list-group { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; background: none !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
.mpc-svc-tabs .list-group-item { flex: none; width: auto; margin: 0 !important; border: 1.5px solid var(--mpc-line) !important; background: #fff !important; border-radius: 999px !important; padding: 9px 18px !important; font-weight: 600; font-size: 15px; color: var(--mpc-forest) !important; text-decoration: none; }
.mpc-svc-tabs .list-group-item:hover { border-color: #b9d79f !important; }
.mpc-svc-tabs .list-group-item.active { background: var(--mpc-forest) !important; border-color: var(--mpc-forest) !important; color: #fff !important; }
.mpc-svc-tabs .list-group-item.active i { color: #fff !important; }
.mpc-svc-tabs .list-group-item:has(.fa-arrow-left) { margin-left: auto !important; background: transparent !important; border-color: transparent !important; color: var(--mpc-muted) !important; }
.mpc-svc-tabs .list-group-item::after, .mpc-svc-tabs .list-group-item::before { display: none !important; }
.mpc-svc .card-blesta { margin-bottom: 0 !important; }

.mpc-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.mpc-fact { display: flex; flex-direction: column; gap: 2px; padding: 18px 18px 16px; background: var(--c-card); border: 1.5px solid var(--mpc-line); border-radius: 18px; min-width: 0; }
.mpc-fact > span { font-size: 14px; font-weight: 600; color: var(--mpc-muted); }
.mpc-fact > strong { font-family: var(--mpc-head); font-weight: 800; font-size: 30px; line-height: 1.15; color: var(--mpc-forest); }
.mpc-fact > strong.is-date { font-size: 22px; padding: 4px 0 3px; }
.mpc-fact > strong em { font-style: normal; font-size: 18px; }
.mpc-fact > small { font-size: 13px; color: var(--mpc-muted); line-height: 1.35; }
.mpc-fact.is-green { border-color: var(--c-ok); box-shadow: 0 0 0 3px rgba(47, 143, 26, .12); }
.mpc-fact.is-green > strong { color: var(--c-ok-d); }
.mpc-info__coupon { margin: 14px 0 0; padding: 10px 14px; border-radius: 12px; background: #eef6e6; color: var(--c-ok-d); font-weight: 600; font-size: 14.5px; }
.mpc-info__sec { margin-top: 26px; }
h4.mpc-info__h { font-family: var(--mpc-head) !important; font-weight: 800 !important; font-size: 19px !important; margin: 0 0 12px !important; color: var(--mpc-forest) !important; padding: 0 !important; background: none !important; border: 0 !important; }
h4.mpc-info__h::before { display: none !important; }
.mpc-info__opts { background: var(--c-card); border: 1.5px solid var(--mpc-line); border-radius: 16px; padding: 4px 18px; }
.mpc-info__opts li:last-child { border-bottom: 0; }
.mpc-info__opts small { display: block; font-weight: 500; font-size: 12.5px; color: var(--mpc-muted); }
.mpc-acts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
a.mpc-act { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; background: var(--c-card); border: 1.5px solid var(--mpc-line); border-radius: 18px; color: var(--mpc-forest) !important; text-decoration: none !important; transition: border-color .15s, box-shadow .15s; }
a.mpc-act:hover { border-color: var(--c-ok); box-shadow: 0 0 0 3px rgba(47, 143, 26, .12); }
a.mpc-act > i { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--mpc-mint); color: var(--c-ok-d); font-size: 15px; }
a.mpc-act b { display: block; font-size: 16px; }
a.mpc-act small { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.4; color: var(--mpc-muted); }
.mpc-how { list-style: none; counter-reset: mpchow; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mpc-how li { counter-increment: mpchow; position: relative; padding: 16px 16px 16px 56px; background: var(--c-card); border: 1.5px solid var(--mpc-line); border-radius: 18px; }
.mpc-how li::before { content: counter(mpchow); position: absolute; left: 16px; top: 16px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--mpc-forest); color: #fff; font-weight: 800; font-size: 14px; }
.mpc-how b { display: block; font-size: 15.5px; color: var(--mpc-forest); }
.mpc-how span { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.45; color: var(--mpc-muted); }
@media (max-width: 1100px) { .mpc-how { grid-template-columns: minmax(0, 1fr); } }
.mpc-info__cancel { margin: 22px 0 0; text-align: right; font-size: 14px; }
.mpc-info__cancel a { color: var(--mpc-muted) !important; text-decoration: underline; }
.mpc-info__cancel a:hover { color: #a3271a !important; }

/* ---- Dashboard: page on the left, "Your account" on the right ---- */
.client-client_main-index #mpc-content { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; margin-left: 0; margin-right: 0; }
.client-client_main-index #mpc-content > .right_content { grid-column: 1; grid-row: 1; max-width: none; width: auto; flex: none; padding: 0; }
.client-client_main-index #mpc-content > #my-info { grid-column: 2; grid-row: 1 / span 2; max-width: none; width: auto; flex: none; padding: 0; display: block !important; }
.client-client_main-index #mpc-content > .col-md-12 { grid-column: 1; grid-row: 2; max-width: none; width: auto; flex: none; padding: 0; }
.client-client_main-index #mpc-content > .col-md-12 .mpc-ghelp { margin-top: 0; }
.mpc-acct { margin-bottom: 18px; }
@media (max-width: 991px) {
  .client-client_main-index #mpc-content { grid-template-columns: minmax(0, 1fr); }
  .client-client_main-index #mpc-content > #my-info { grid-column: 1; grid-row: 2; }
  .client-client_main-index #mpc-content > .col-md-12 { grid-row: 3; }
}
@media (max-width: 640px) {
  .mpc-sum { padding: 20px 18px; border-radius: 20px; }
  .mpc-fact > strong { font-size: 26px; }
  .mpc-svc-tabs .list-group-item { font-size: 14px; padding: 8px 14px !important; }
  .mpc-svc-tabs .list-group-item:has(.fa-arrow-left) { margin-left: 0 !important; }
}

/* 3.4 dark mode */
html[data-theme="dark"] .mpc-sum, html[data-theme="dark"] .mpc-fact, html[data-theme="dark"] a.mpc-act, html[data-theme="dark"] .mpc-how li, html[data-theme="dark"] .mpc-info__opts { border-color: #4a2e12; }
html[data-theme="dark"] .mpc-sum h3, html[data-theme="dark"] .mpc-sum__lines li, html[data-theme="dark"] .mpc-sum__total strong, html[data-theme="dark"] .mpc-sum__total span, html[data-theme="dark"] .mpc-sum__inc p, html[data-theme="dark"] .mpc-fact > strong, html[data-theme="dark"] a.mpc-act, html[data-theme="dark"] .mpc-how b, html[data-theme="dark"] h4.mpc-info__h { color: #f6edd6 !important; }
html[data-theme="dark"] .mpc-sum__lines li > span, html[data-theme="dark"] .mpc-sum__renew, html[data-theme="dark"] .mpc-sum__trust li, html[data-theme="dark"] .mpc-fact > span, html[data-theme="dark"] .mpc-fact > small, html[data-theme="dark"] a.mpc-act small, html[data-theme="dark"] .mpc-how span, html[data-theme="dark"] .mpc-sublabel, html[data-theme="dark"] .mpc-info__opts small, html[data-theme="dark"] .mpc-info__cancel a { color: #d9c6a5 !important; }
html[data-theme="dark"] .mpc-sum__lines li { border-color: #4a2e12; }
html[data-theme="dark"] .mpc-sum__inc { background: #2f4a1c; border-color: #3d5e25; }
html[data-theme="dark"] .mpc-sum__inc b, html[data-theme="dark"] .mpc-sum__inc a, html[data-theme="dark"] .mpc-fact.is-green > strong { color: var(--mpc-light-green, #8be05a) !important; }
html[data-theme="dark"] .mpc-sum__inc.is-wait { background: #3a2a0a; border-color: #5a4210; }
html[data-theme="dark"] .mpc-sum__inc.is-wait b { color: #f6c945 !important; }
html[data-theme="dark"] .mpc-sum__inc.is-bad { background: #3d1a12; border-color: #5e2a1e; }
html[data-theme="dark"] .mpc-sum__inc.is-bad b { color: #f3a593 !important; }
html[data-theme="dark"] .mpc-sum__inc.is-off { background: #2b2015; border-color: #3d2e1e; }
html[data-theme="dark"] .mpc-sum__inc.is-off b { color: #d9c6a5 !important; }
html[data-theme="dark"] .mpc-state.is-ok { background: #2f4a1c; color: #8be05a; }
html[data-theme="dark"] .mpc-state.is-wait { background: #3a2a0a; color: #f6c945; }
html[data-theme="dark"] .mpc-state.is-bad { background: #3d1a12; color: #f3a593; }
html[data-theme="dark"] .mpc-state.is-off { background: #2b2015; color: #d9c6a5; }
html[data-theme="dark"] a.mpc-act > i { background: #2f4a1c; color: #8be05a; }
html[data-theme="dark"] .mpc-how li::before { background: var(--mpc-amber); color: var(--mpc-forest); }
html[data-theme="dark"] .mpc-svc-tabs .list-group-item { background: transparent !important; border-color: #5a3d1c !important; color: #f6edd6 !important; }
html[data-theme="dark"] .mpc-svc-tabs .list-group-item.active { background: var(--mpc-amber) !important; border-color: var(--mpc-amber) !important; color: var(--mpc-forest) !important; }
html[data-theme="dark"] .mpc-svc-tabs .list-group-item.active i { color: var(--mpc-forest) !important; }
html[data-theme="dark"] .mpc-svc-tabs .list-group-item:has(.fa-arrow-left) { border-color: transparent !important; color: #d9c6a5 !important; }
html[data-theme="dark"] .mpc-info__coupon { background: #2f4a1c; color: #8be05a; }
.mpc-paged { padding-left: 10px; padding-right: 10px; }
.mpc-modern #mpc-content table.table .btn-group > .dropdown-toggle .caret { display: none; }
.mpc-modern #mpc-content table.table .btn-group > .dropdown-toggle::after { margin: 0 !important; vertical-align: middle; }
/* The side box already shows what's to pay, so the yellow note is only kept on smaller screens */
@media (min-width: 992px) { .client-client_main-index .right_content .mpc-balance-box { display: none !important; } }
.mpc-modern .card-links:empty { display: none; }

/* 3.4: less chocolate (Matthew, 9 Nov 2026). The brown stays in the banner; light mode only.
   Selected pills are white on the cream track, icons and numbers are leaf green, outlines are soft tan. */
html:not([data-theme="dark"]) .mpc-modern .card-links > li.active > a,
html:not([data-theme="dark"]) body #client_tickets .card-links > .active a,
html:not([data-theme="dark"]) body #client_tickets .card-links > .active a:hover { background: #fff !important; color: var(--mpc-forest) !important; box-shadow: 0 1px 3px rgba(64, 36, 8, .16); }
html:not([data-theme="dark"]) .mpc-modern .card-links > li.active .badge,
html:not([data-theme="dark"]) body #client_tickets .card-links > .active .badge { background: var(--mpc-mint) !important; color: var(--c-ok-d) !important; }
html:not([data-theme="dark"]) .mpc-modern .card-blesta.content_section > .card-header::before,
html:not([data-theme="dark"]) body #mpc-content #client_tickets > .card-header::before { background: var(--mpc-mint) !important; color: var(--c-ok-d) !important; }
html:not([data-theme="dark"]) .mpc-modern h4.mpc-step::before,
html:not([data-theme="dark"]) .mpc-how li::before { background: var(--c-ok) !important; color: #fff !important; }
html:not([data-theme="dark"]) body:not(.mpc-login) #mpc-content .btn-light,
html:not([data-theme="dark"]) body:not(.mpc-login) #mpc-content .btn-default,
html:not([data-theme="dark"]) body:not(.mpc-login) #mpc-content .btn-secondary { border-color: #d6bf96 !important; }
html:not([data-theme="dark"]) body:not(.mpc-login) #mpc-content .btn-light:hover,
html:not([data-theme="dark"]) body:not(.mpc-login) #mpc-content .btn-default:hover,
html:not([data-theme="dark"]) body:not(.mpc-login) #mpc-content .btn-secondary:hover { border-color: var(--c-ok) !important; background: #fff !important; }
html:not([data-theme="dark"]) .mpc-svc-tabs .list-group-item.active { background: #fff !important; border-color: var(--c-ok) !important; color: var(--mpc-forest) !important; box-shadow: 0 0 0 3px rgba(47, 143, 26, .12); }
html:not([data-theme="dark"]) .mpc-svc-tabs .list-group-item.active i { color: var(--c-ok) !important; }
html:not([data-theme="dark"]) .mpc-svc-tabs .list-group-item { background: transparent !important; }
html:not([data-theme="dark"]) .mpc-navbar .navbar-nav .nav-item.active > .nav-link { background: var(--mpc-cream) !important; color: var(--mpc-forest) !important; }
html:not([data-theme="dark"]) .mpc-balance__pay,
html:not([data-theme="dark"]) .mpc-balance-box a[href*="/pay"] { background: var(--c-ok) !important; color: #fff !important; }

/* 3.4: side menus on every page (Payment accounts, Contacts, Change plan...) become a row of pills, like Manage service */
.mpc-modern #mpc-content .row > .col-md-3:not(#my-info):has(> .list-group),
.mpc-modern #mpc-content .row > .col-md-3:not(#my-info):has(> .list-group) + .col-md-9 { flex: 0 0 100%; max-width: 100%; }
.mpc-modern #mpc-content .row > .col-md-3:not(#my-info) > .list-group { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; background: none !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
.mpc-modern #mpc-content .row > .col-md-3:not(#my-info) > .list-group > .list-group-item { flex: none; width: auto; margin: 0 !important; border: 1.5px solid var(--mpc-line) !important; background: transparent !important; border-radius: 999px !important; padding: 9px 18px !important; font-weight: 600; font-size: 15px; color: var(--mpc-forest) !important; }
.mpc-modern #mpc-content .row > .col-md-3:not(#my-info) > .list-group > .list-group-item::before,
.mpc-modern #mpc-content .row > .col-md-3:not(#my-info) > .list-group > .list-group-item::after { display: none !important; }
.mpc-modern #mpc-content .row > .col-md-3:not(#my-info) > .list-group > .list-group-item:hover { border-color: #b9d79f !important; }
.mpc-modern #mpc-content .row > .col-md-3:not(#my-info) > .list-group > .list-group-item.active { background: #fff !important; border-color: var(--c-ok) !important; color: var(--mpc-forest) !important; box-shadow: 0 0 0 3px rgba(47, 143, 26, .12); }
.mpc-modern #mpc-content .row > .col-md-3:not(#my-info) > .list-group > .list-group-item.active i { color: var(--c-ok) !important; }
.mpc-modern #mpc-content .row > .col-md-3:not(#my-info) > .list-group > .list-group-item:has(.fa-arrow-left) { margin-left: auto !important; border-color: transparent !important; color: var(--mpc-muted) !important; }
@media (max-width: 640px) { .mpc-modern #mpc-content .row > .col-md-3:not(#my-info) > .list-group > .list-group-item { font-size: 14px; padding: 8px 14px !important; } .mpc-modern #mpc-content .row > .col-md-3:not(#my-info) > .list-group > .list-group-item:has(.fa-arrow-left) { margin-left: 0 !important; } }

/* Second button in the side box */
a.mpc-sum__alt { display: block; margin-top: 12px; text-align: center; border-radius: 999px; padding: 11px 16px; border: 1.5px solid #d6bf96; background: #fff; color: var(--mpc-forest) !important; font-weight: 700; font-size: 15px; text-decoration: none !important; }
a.mpc-sum__alt:hover { border-color: var(--c-ok); }
.mpc-sum__inc a + a { margin-left: 14px; }
.mpc-sum__times li > b { font-weight: 600; font-size: 14px; }

/* Change plan / Pay monthly or yearly: plan tiles */
.mpc-picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 6px 0 4px; }
button.mpc-pick { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 18px 44px 16px 18px; background: var(--c-card); border: 1.5px solid var(--mpc-line); border-radius: 18px; color: var(--mpc-forest); text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
button.mpc-pick:hover { border-color: #b9d79f; }
button.mpc-pick b { font-family: var(--mpc-head); font-weight: 800; font-size: 21px; }
button.mpc-pick span { font-size: 15px; color: var(--mpc-muted); font-weight: 600; }
button.mpc-pick em { position: absolute; right: 16px; top: 18px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--mpc-line); }
button.mpc-pick.is-on { border-color: var(--c-ok); box-shadow: 0 0 0 3px rgba(47, 143, 26, .14); }
button.mpc-pick.is-on em { border-color: var(--c-ok); background: var(--c-ok); box-shadow: inset 0 0 0 4px var(--c-card); }
select.mpc-picks-sel { display: none !important; }
.mpc-modern #mpc-content a.mpc-back { border-color: transparent !important; background: transparent !important; color: var(--mpc-muted) !important; }

/* 3.4 dark mode: the same lighter look as light mode (soft pills, green icons and numbers, softer outlines) */
html[data-theme="dark"] .mpc-modern .card-links > li.active > a,
html[data-theme="dark"] body #client_tickets .card-links > .active a { background: #4a3520 !important; color: #fff !important; box-shadow: none; }
html[data-theme="dark"] .mpc-modern .card-links > li.active .badge,
html[data-theme="dark"] body #client_tickets .card-links > .active .badge { background: #2f4a1c !important; color: #8be05a !important; }
html[data-theme="dark"] .mpc-modern .card-blesta.content_section > .card-header::before,
html[data-theme="dark"] body #mpc-content #client_tickets > .card-header::before { background: #2f4a1c !important; color: #8be05a !important; }
html[data-theme="dark"] .mpc-modern h4.mpc-step::before,
html[data-theme="dark"] .mpc-how li::before { background: var(--c-ok) !important; color: #fff !important; }
html[data-theme="dark"] body:not(.mpc-login) #mpc-content .btn-light,
html[data-theme="dark"] body:not(.mpc-login) #mpc-content .btn-default,
html[data-theme="dark"] body:not(.mpc-login) #mpc-content .btn-secondary { border-color: #6b5130 !important; }
html[data-theme="dark"] .mpc-svc-tabs .list-group-item.active,
html[data-theme="dark"] .mpc-modern #mpc-content .row > .col-md-3:not(#my-info) > .list-group > .list-group-item.active { background: #4a3520 !important; border-color: var(--c-ok) !important; color: #fff !important; box-shadow: 0 0 0 3px rgba(139, 224, 90, .12); }
html[data-theme="dark"] .mpc-svc-tabs .list-group-item.active i,
html[data-theme="dark"] .mpc-modern #mpc-content .row > .col-md-3:not(#my-info) > .list-group > .list-group-item.active i { color: #8be05a !important; }
html[data-theme="dark"] .mpc-modern #mpc-content .row > .col-md-3:not(#my-info) > .list-group > .list-group-item { border-color: #5a3d1c !important; color: #f6edd6 !important; }
html[data-theme="dark"] .mpc-modern #mpc-content .row > .col-md-3:not(#my-info) > .list-group > .list-group-item:has(.fa-arrow-left) { border-color: transparent !important; color: #d9c6a5 !important; }
html[data-theme="dark"] a.mpc-sum__alt { background: transparent; border-color: #6b5130; color: #f6edd6 !important; }
html[data-theme="dark"] button.mpc-pick { border-color: #4a2e12; color: #f6edd6; }
html[data-theme="dark"] button.mpc-pick span { color: #d9c6a5; }
html[data-theme="dark"] button.mpc-pick em { border-color: #6b5130; }
html[data-theme="dark"] button.mpc-pick.is-on { border-color: #8be05a; box-shadow: 0 0 0 3px rgba(139, 224, 90, .14); }
html[data-theme="dark"] button.mpc-pick.is-on em { border-color: #8be05a; background: #8be05a; }
html[data-theme="dark"] .mpc-navbar .navbar-nav .nav-item.active > .nav-link { background: #4a3520 !important; color: #fff !important; }
html[data-theme="dark"] .mpc-balance__pay, html[data-theme="dark"] .mpc-balance-box a[href*="/pay"] { background: var(--c-ok) !important; color: #fff !important; }

/* 3.4: Open a ticket and a ticket's conversation get the same big rounded box as every other page */
body #mpc-content #open-ticket.card-blesta,
body #mpc-content #client_ticket_reply.card-blesta { background: var(--c-bg) !important; border: 1px solid var(--mpc-line) !important; border-radius: 24px !important; box-shadow: none !important; overflow: visible; }
body #mpc-content #open-ticket > .card-header,
body #mpc-content #client_ticket_reply > .card-header { background: transparent !important; border: 0 !important; padding: 26px 26px 4px !important; font: 800 22px/1.2 var(--mpc-head) !important; color: var(--mpc-forest) !important; }
body #mpc-content #open-ticket > .card-content > .card-body,
body #mpc-content #client_ticket_reply > .card-content > .card-body { padding: 14px 26px 24px !important; }
body #mpc-content #open-ticket button[type="submit"] { background: var(--c-ok) !important; border-color: var(--c-ok) !important; color: #fff !important; padding: 12px 26px !important; font-weight: 800 !important; }
body #mpc-content #open-ticket button[type="submit"]:hover { background: var(--c-ok-d) !important; }
html[data-theme="dark"] body #mpc-content #open-ticket > .card-header,
html[data-theme="dark"] body #mpc-content #client_ticket_reply > .card-header { color: #f6edd6 !important; }
html[data-theme="dark"] body #mpc-content #open-ticket.card-blesta,
html[data-theme="dark"] body #mpc-content #client_ticket_reply.card-blesta { border-color: #4a2e12 !important; }
/* 3.4: tabs inside a box (Contact, Billing, Settings...) match the pill switches */
html:not([data-theme="dark"]) body.mpc-modern .content_section .nav-tabs .nav-link.active,
html:not([data-theme="dark"]) body.mpc-modern .content_section .nav-tabs .nav-link.active:hover { background: #fff !important; color: var(--mpc-forest) !important; box-shadow: 0 1px 3px rgba(64, 36, 8, .16) !important; }
html[data-theme="dark"] body.mpc-modern .content_section .nav-tabs .nav-link.active,
html[data-theme="dark"] body.mpc-modern .content_section .nav-tabs .nav-link.active:hover { background: #4a3520 !important; color: #fff !important; box-shadow: none !important; }

/* ---------- 3.8: polish ----------
   Banner: text on the left, quick buttons on the right (dashboard), the website's peeking monkey.
   Lists: plan icons, "Renews soon", "Overdue" / "Due in", Paid by + short reference.
   Invoice page: laid out like a paper invoice. */
.title.mpc-title .mpc-hero-title { position: relative; overflow: hidden; display: flex; align-items: center; gap: 24px; padding-right: 170px; }
.mpc-hero-text { flex: 1 1 auto; min-width: 0; }
.mpc-hero-peek { position: absolute; right: 26px; bottom: -22px; width: 136px; height: auto; transform: rotate(-4deg); filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .25)); pointer-events: none; }
.mpc-hero-acts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; flex: 0 1 auto; }
#mpc-content ~ * .mpc-hero-act, .mpc-hero-act { display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08); color: #fff !important; font: 700 15px/1.2 var(--mpc-body); text-decoration: none !important; white-space: nowrap; transition: background .15s, border-color .15s; }
.mpc-hero-act:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .5); }
.mpc-hero-act.is-pay { background: #f6c945; border-color: #f6c945; color: #402408 !important; }
.mpc-hero-act.is-pay:hover { background: #ffd65e; border-color: #ffd65e; }
.mpc-hero-act[hidden] { display: none; }
@media (max-width: 991px) {
  .title.mpc-title .mpc-hero-title { flex-direction: column; align-items: flex-start; padding-right: 32px; }
  .mpc-hero-acts { justify-content: flex-start; max-width: none; }
  .mpc-hero-peek { width: 84px; right: 10px; bottom: auto; top: 10px; opacity: .95; }
  .mpc-hero-text { padding-right: 76px; }
}
@media (max-width: 575px) {
  .mpc-hero-act { padding: 9px 14px; font-size: 14px; }
  .mpc-hero-peek { width: 64px; }
  .mpc-hero-text { padding-right: 56px; }
}

/* Plan icons on Services */
.mpc-modern .content_section td.mpc-plancell { display: flex; align-items: center; gap: 12px; }
.mpc-plancell .mpc-planname { min-width: 0; }
.mpc-ico { flex: 0 0 auto; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--mpc-mint, #e8f4d7); color: var(--c-ok, #2f8f1a); }
.mpc-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mpc-ico.is-domain { background: #eaf0fb; color: #2d5fb3; }
.mpc-ico.is-banana { background: #fdf0c4; color: #8a6200; }
.mpc-state.mpc-when { display: table; margin-top: 5px; padding: 1px 9px; font-size: 12px; }
.mpc-modern .content_section .table td.text-danger { color: inherit !important; font-weight: inherit; }

/* Payments: Paid by + a short reference */
.mpc-paidby { display: inline-block; width: 26px; height: 18px; margin-right: 8px; vertical-align: -4px; border-radius: 4px; background: #efe6d6 center/16px no-repeat; }
.mpc-paidby.is-card { background-color: #e8f4d7; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f8f1a' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='2.5'/%3E%3Cpath d='M3 10h18M7 15h3'/%3E%3C/svg%3E"); }
.mpc-paidby.is-dd, .mpc-paidby.is-bank { background-color: #eaf0fb; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d5fb3' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 10h16M5 10v8M9.5 10v8M14.5 10v8M19 10v8M3.5 20h17M12 3.5l8.5 5h-17z'/%3E%3C/svg%3E"); }
.mpc-ref { font: 600 13px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--mpc-muted); background: rgba(64, 36, 8, .05); padding: 2px 8px; border-radius: 6px; }

/* Invoice page */
.mpc-doc { margin-bottom: 18px; }
.mpc-doc__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--mpc-line); }
.mpc-doc__brand { display: flex; align-items: center; gap: 12px; }
.mpc-doc__brand img { width: 46px; height: 46px; border-radius: 13px; }
.mpc-doc__brand b { display: block; font: 800 20px/1.2 var(--mpc-head); color: var(--mpc-forest); }
.mpc-doc__brand span { display: block; font-size: 13.5px; color: var(--mpc-muted); }
.mpc-doc__no { text-align: right; }
.mpc-doc__no > span:first-child { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mpc-muted); }
.mpc-doc__no b { display: block; margin: 2px 0 6px; font: 800 26px/1.15 var(--mpc-head); color: var(--mpc-forest); }
.mpc-doc__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0; }
.mpc-doc__facts > div { padding: 14px 16px; border: 1px solid var(--mpc-line); border-radius: 16px; background: var(--c-card, #fffdf8); }
.mpc-doc__facts span { display: block; font-size: 13px; color: var(--mpc-muted); }
.mpc-doc__facts b { display: block; margin-top: 2px; font: 800 19px/1.25 var(--mpc-head); color: var(--mpc-forest); }
.mpc-doc__facts .is-total { background: #e8f4d7; border-color: #cfe6b6; }
.mpc-doc__facts .is-total b { font-size: 24px; color: var(--c-ok-d, #256f14); }
.mpc-doc__parties { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 4px 2px 20px; }
.mpc-doc__parties h4 { margin: 0 0 6px !important; font: 700 12px/1.3 var(--mpc-body) !important; letter-spacing: .12em; text-transform: uppercase; color: var(--mpc-muted) !important; }
.mpc-doc__parties strong { display: block; font-size: 16px; color: var(--mpc-forest); }
.mpc-doc__parties p { margin: 2px 0 0 !important; font-size: 15px; line-height: 1.5; color: var(--mpc-forest); }
.mpc-doc__parties p.mpc-doc__acct { margin-top: 8px !important; font-size: 13.5px; color: var(--mpc-muted); }
.mpc-doc-btns { display: flex; gap: 10px; flex-wrap: wrap; }
body #mpc-content a.btn.mpc-doc-pay { background: var(--c-ok) !important; border-color: var(--c-ok) !important; color: #fff !important; }
body #mpc-content a.btn.mpc-doc-pay:hover { background: var(--c-ok-d) !important; }
@media (max-width: 640px) {
  .mpc-doc__head { flex-direction: column; }
  .mpc-doc__no { text-align: left; }
  .mpc-doc__facts { grid-template-columns: 1fr 1fr; }
  .mpc-doc__facts .is-total { grid-column: 1 / -1; }
  .mpc-doc__parties { grid-template-columns: 1fr; gap: 16px; }
}

/* 3.8 dark mode */
html[data-theme="dark"] .mpc-ico { background: #2f4a1c; color: #8be05a; }
html[data-theme="dark"] .mpc-ico.is-domain { background: #23324a; color: #9cc0ff; }
html[data-theme="dark"] .mpc-ico.is-banana { background: #4a3b12; color: #f6c945; }
html[data-theme="dark"] .mpc-ref { background: rgba(255, 255, 255, .06); color: #d9c6a5; }
html[data-theme="dark"] .mpc-paidby.is-card { background-color: #2f4a1c; }
html[data-theme="dark"] .mpc-paidby.is-dd, html[data-theme="dark"] .mpc-paidby.is-bank { background-color: #23324a; }
html[data-theme="dark"] .mpc-doc__head { border-color: #4a2e12; }
html[data-theme="dark"] .mpc-doc__brand b, html[data-theme="dark"] .mpc-doc__no b,
html[data-theme="dark"] .mpc-doc__facts b, html[data-theme="dark"] .mpc-doc__parties strong, html[data-theme="dark"] .mpc-doc__parties p { color: #f6edd6; }
html[data-theme="dark"] .mpc-doc__facts > div { border-color: #4a2e12; background: #2a1806; }
html[data-theme="dark"] .mpc-doc__facts .is-total { background: #2f4a1c; border-color: #3f6a24; }
html[data-theme="dark"] .mpc-doc__facts .is-total b { color: #8be05a; }
html[data-theme="dark"] .mpc-doc__brand span, html[data-theme="dark"] .mpc-doc__no > span:first-child,
html[data-theme="dark"] .mpc-doc__parties h4, html[data-theme="dark"] .mpc-doc__parties p.mpc-doc__acct, html[data-theme="dark"] .mpc-doc__facts span { color: #cbb79a !important; }
html[data-theme="dark"] .mpc-state.is-bad { background: #4a1f17; color: #ffb4a6; }
html[data-theme="dark"] .mpc-state.is-wait { background: #4a3b12; color: #f6d77a; }

/* 3.8: invoice page extras */
body.client-client_invoices-view #client_invoice > .card-header { display: none !important; }
.mpc-doc__lines .table > tbody > tr > td { font-weight: 500 !important; }
.mpc-doc__lines .table > tbody > tr > td:last-child, .mpc-doc__lines .table > thead > tr > th:last-child { text-align: right; }
.mpc-doc-totals .table-curved { min-width: 280px; border: 0 !important; box-shadow: none !important; background: transparent !important; }
.mpc-doc-totals .table td { padding: 8px 4px !important; border: 0 !important; background: transparent !important; font-size: 15.5px; }
.mpc-doc-totals .table td:last-child { text-align: right; }
.mpc-doc-totals .table tr:last-child td { padding-top: 12px !important; border-top: 2px solid var(--mpc-forest) !important; font: 800 20px/1.2 var(--mpc-head); color: var(--mpc-forest); }
html[data-theme="dark"] .mpc-doc-totals .table tr:last-child td { border-color: #f6edd6 !important; color: #f6edd6; }
html[data-theme="dark"] body #mpc-content a.btn.mpc-doc-pay { background: var(--c-ok) !important; border-color: var(--c-ok) !important; color: #fff !important; }

/* ---------- 3.9: Bring a friend into the Troop (Blesta's Affiliates page) ---------- */
.mpc-troop-wrap { margin-bottom: 22px; }
.mpc-troop {
  background: #ffffff;
  border: 1px solid var(--mpc-line);
  border-radius: var(--mpc-radius);
  box-shadow: 0 10px 30px -18px rgba(64, 36, 8, .35);
  padding: 26px 28px 20px;
}
.mpc-troop-tag {
  display: inline-block;
  background: var(--mpc-amber);
  color: var(--mpc-forest);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 10px;
}
.mpc-troop-head h2 { font-size: 24px; margin: 0 0 6px; }
.mpc-troop-head p { margin: 0 0 18px; color: var(--mpc-muted); }
.mpc-troop-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.mpc-troop-steps li {
  background: #fbf6ec;
  border: 1px solid var(--mpc-line);
  border-radius: 14px;
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mpc-troop-steps b { font-family: var(--mpc-head); font-size: 16.5px; color: var(--mpc-forest); line-height: 1.3; }
.mpc-troop-steps li > span:last-child { font-size: 14.5px; color: var(--mpc-muted); line-height: 1.45; }
.mpc-troop-ico {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--mpc-forest);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
}
.mpc-troop-ico svg { width: 21px; height: 21px; fill: none; stroke: var(--mpc-amber); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mpc-troop-small { margin: 14px 0 0; font-size: 13px; color: var(--mpc-muted); }
@media (max-width: 767.98px) {
  .mpc-troop { padding: 20px 18px 16px; }
  .mpc-troop-head h2 { font-size: 21px; }
  .mpc-troop-steps { grid-template-columns: 1fr; gap: 10px; }
}
html[data-theme="dark"] .mpc-troop { background: var(--mpc-surface); box-shadow: none; }
html[data-theme="dark"] .mpc-troop-steps li { background: var(--mpc-surface-2); }
html[data-theme="dark"] .mpc-troop-steps b { color: var(--mpc-ink); }
html[data-theme="dark"] .mpc-troop-ico { background: #3a2a18; }

/* ===== 4.1: Payment received box after paying by card (mpc-paid.js) ===== */
#mpc-content .mpc-paid { position: relative; margin: 0 0 22px; padding: 28px 30px 26px; background: #f1f8e9; border: 2px solid #8fcf6b; border-radius: 22px; color: var(--mpc-forest); font-family: var(--mpc-body); box-shadow: 0 22px 44px -34px rgba(47, 143, 26, .55); outline: none; overflow: hidden; animation: mpc-paid-in .45s ease-out both; }
#mpc-content .mpc-paid::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--mpc-co-ok); }
@keyframes mpc-paid-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { #mpc-content .mpc-paid { animation: none; } }
.mpc-paid__x { position: absolute; right: 14px; top: 10px; border: 0; background: none; padding: 2px 6px; font-size: 26px; line-height: 1; color: var(--mpc-muted); opacity: .6; cursor: pointer; }
.mpc-paid__x:hover { opacity: 1; }
.mpc-paid__top { display: flex; align-items: center; gap: 20px; }
.mpc-paid__tick { flex: none; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; background: var(--mpc-co-ok); color: #fff; font-size: 30px; box-shadow: 0 0 0 8px #d8edc6; }
.mpc-paid__eyebrow { display: inline-block; margin: 0 0 6px; padding: 3px 11px; border-radius: 999px; background: var(--mpc-co-ok); color: #fff; font: 700 12.5px/1.4 var(--mpc-body); letter-spacing: .04em; text-transform: uppercase; }
.mpc-paid__words h2 { margin: 0 0 6px; font: 800 27px/1.15 var(--mpc-head); letter-spacing: -0.02em; color: var(--mpc-forest); }
.mpc-paid__words h2 b { color: var(--mpc-co-ok); font-weight: 800; white-space: nowrap; }
.mpc-paid__words p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--mpc-muted); }
.mpc-paid__sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 22px 0 0; background: #fff; border: 1px solid #cfe6bb; border-radius: 16px; }
.mpc-paid__sum > div { padding: 13px 16px; border-left: 1px dashed #cfe6bb; min-width: 0; }
.mpc-paid__sum > div:first-child { border-left: 0; }
.mpc-paid__sum dt { margin: 0 0 3px; font-weight: 600; font-size: 13.5px; color: var(--mpc-muted); }
.mpc-paid__sum dd { margin: 0; font-weight: 700; font-size: 15.5px; color: var(--mpc-forest); overflow-wrap: anywhere; }
.mpc-paid__sum dd i { color: var(--mpc-co-ok); margin-right: 3px; }
.mpc-paid__sum dd.mpc-paid__amt { font: 800 22px/1.1 var(--mpc-head); color: var(--mpc-co-ok); }
.mpc-paid__sum dd.mpc-paid__ref { font: 600 14px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--mpc-muted); }
.mpc-paid__still { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 14px 0 0; padding: 11px 16px; border-radius: 14px; background: #fff6dc; border: 1px solid #f1dc9a; font-size: 15px; color: var(--mpc-forest); }
.mpc-paid__still[hidden] { display: none; }
.mpc-paid__still i { color: #b98a12; }
.mpc-paid__still span { flex: 1; min-width: 200px; }
.mpc-paid__still a { font-weight: 700; color: var(--mpc-forest) !important; text-decoration: underline; }
.mpc-paid__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.mpc-paid__btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 999px; border: 1.5px solid var(--mpc-forest); background: #fff; color: var(--mpc-forest) !important; font: 700 15.5px/1.2 var(--mpc-body); text-decoration: none !important; }
.mpc-paid__btn:hover { background: var(--mpc-cream); }
.mpc-paid__btn--go { background: var(--mpc-co-ok); border-color: var(--mpc-co-ok); color: #fff !important; }
.mpc-paid__btn--go:hover { background: var(--mpc-co-ok-d); border-color: var(--mpc-co-ok-d); }
@media (max-width: 991px) { .mpc-paid__sum { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mpc-paid__sum > div:nth-child(3) { border-left: 0; } .mpc-paid__sum > div:nth-child(n+3) { border-top: 1px dashed #cfe6bb; } }
@media (max-width: 575px) {
  #mpc-content .mpc-paid { padding: 22px 18px 20px 24px; border-radius: 18px; }
  .mpc-paid__top { align-items: flex-start; gap: 14px; }
  .mpc-paid__tick { width: 48px; height: 48px; font-size: 22px; box-shadow: 0 0 0 6px #d8edc6; }
  .mpc-paid__words h2 { font-size: 22px; padding-right: 14px; }
  .mpc-paid__words p { font-size: 15px; }
  .mpc-paid__btn { flex: 1 1 100%; justify-content: center; }
}
html[data-theme="dark"] #mpc-content .mpc-paid { background: #1c2715; border-color: #3f6a2a; color: var(--mpc-ink); box-shadow: none; }
html[data-theme="dark"] .mpc-paid__tick { box-shadow: 0 0 0 8px #263a1b; }
html[data-theme="dark"] .mpc-paid__words h2, html[data-theme="dark"] .mpc-paid__sum dd { color: var(--mpc-ink); }
html[data-theme="dark"] .mpc-paid__words h2 b, html[data-theme="dark"] .mpc-paid__sum dd.mpc-paid__amt, html[data-theme="dark"] .mpc-paid__sum dd i { color: #9be36a; }
html[data-theme="dark"] .mpc-paid__words p, html[data-theme="dark"] .mpc-paid__sum dt, html[data-theme="dark"] .mpc-paid__sum dd.mpc-paid__ref { color: var(--mpc-muted); }
html[data-theme="dark"] .mpc-paid__sum { background: var(--mpc-surface); border-color: #34502a; }
html[data-theme="dark"] .mpc-paid__sum > div { border-color: #34502a; }
html[data-theme="dark"] .mpc-paid__still { background: #33280f; border-color: #5a4718; color: var(--mpc-ink); }
html[data-theme="dark"] .mpc-paid__still a { color: var(--mpc-amber) !important; }
html[data-theme="dark"] .mpc-paid__btn { background: transparent; border-color: var(--mpc-ink); color: var(--mpc-ink) !important; }
html[data-theme="dark"] .mpc-paid__btn--go { background: var(--mpc-co-ok); border-color: var(--mpc-co-ok); color: #fff !important; }
html[data-theme="dark"] .mpc-paid__x { color: var(--mpc-ink); }

/* 4.1: other "done" messages were cream with an amber (i), so they looked like a warning. Now soft green with a tick. */
.mpc-modern #mpc-content .alert.alert-success.alert-success:not(#my-info .alert) { background: #eef7e4 !important; border-color: #b9dc98 !important; color: var(--mpc-forest) !important; }
.mpc-modern #mpc-content .alert.alert-success.alert-success:not(#my-info .alert)::before { content: "\f058"; color: var(--mpc-co-ok); }
html[data-theme="dark"] .mpc-modern #mpc-content .alert.alert-success.alert-success:not(#my-info .alert) { background: #1f2a17 !important; border-color: #34502a !important; color: var(--mpc-ink) !important; }
html[data-theme="dark"] .mpc-modern #mpc-content .alert.alert-success.alert-success:not(#my-info .alert)::before { color: #9be36a; }
.mpc-paid__sum dd small { display: block; font-weight: 500; font-size: 13.5px; color: var(--mpc-muted); }

/* 4.3: checkout "Your details and pay": the Pay by card / Direct Debit tiles make the choice,
   so Blesta's own "Pay with" box (GoCardless round button) stays hidden and the tiles use the full width */
.mpc-pay .mpc-pay-gone { display: none !important; }
.mpc-pay .mpc-pay-full { flex: 0 0 100%; max-width: 100%; }
.mpc-co__side .mpc-pay__btn > .mpc-co__pay { display: block !important; visibility: visible !important; opacity: 1 !important; }
.mpc-co__side .mpc-pay__btn > .mpc-co__pay:disabled { opacity: .6 !important; cursor: wait; }

/* 4.3: the card box (Stripe) in dark mode. Stripe writes the card number in light text in dark mode,
   which was nearly invisible on the white box. Now a dark box like the other fields, with a clear border. */
html[data-theme="dark"] .mpc-pay__sec .StripeElement,
html[data-theme="dark"] .mpc-pay .StripeElement { background: var(--mpc-bg) !important; border: 1.5px solid #8a7558 !important; }
html[data-theme="dark"] .mpc-pay__sec .StripeElement--focus { border-color: #6fc13f !important; box-shadow: 0 0 0 3px rgba(111, 193, 63, .2) !important; }

/* 4.3: the Continue to checkout button on the plan set-up page is green, like the one in the order summary (was amber in dark mode, brown in light) */
html body.mpc-ordering #package-config button[type="submit"].btn-success.btn-success { background: var(--mpc-co-ok) !important; border-color: var(--mpc-co-ok) !important; color: #fff !important; }
html body.mpc-ordering #package-config button[type="submit"].btn-success.btn-success:hover { background: var(--mpc-co-ok-d) !important; border-color: var(--mpc-co-ok-d) !important; }
html[data-theme="dark"] body.mpc-ordering #package-config button[type="submit"].btn-success.btn-success { background: #3f9a1a !important; border-color: #3f9a1a !important; color: #fff !important; }
html[data-theme="dark"] body.mpc-ordering #package-config button[type="submit"].btn-success.btn-success:hover { background: #4aa923 !important; border-color: #4aa923 !important; }
.mpc-switched[hidden] { display: none !important; }
.mpc-pay__why { margin: 10px 2px 0; padding: 10px 14px; border-radius: 14px; background: #fff6dc; border: 1px solid #f1dc9a; font-size: 14.5px; line-height: 1.45; color: var(--mpc-forest); }
.mpc-pay__why[hidden] { display: none; }
.mpc-pay__why a { font-weight: 700; color: var(--mpc-forest) !important; text-decoration: underline; }
html[data-theme="dark"] .mpc-pay__why { background: #33280f; border-color: #5a4718; color: var(--mpc-ink); }
html[data-theme="dark"] .mpc-pay__why a { color: var(--mpc-amber) !important; }
.mpc-pay__sec .StripeElement--invalid, html[data-theme="dark"] .mpc-pay__sec .StripeElement--invalid { border-color: #d9826b !important; box-shadow: 0 0 0 3px rgba(217, 130, 107, .2) !important; }

/* 4.3: the "Your details" form on the basket page, in the order pages' style */
.mpc-choice-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.mpc-choice-pill { position: relative; display: inline-flex !important; align-items: center; gap: 0; margin: 0 !important; padding: 9px 18px !important; border: 1.5px solid var(--mpc-line); border-radius: 999px; background: #fff; color: var(--mpc-forest); font: 600 15px/1.3 var(--mpc-body) !important; cursor: pointer; }
.mpc-choice-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.mpc-choice-pill:focus-within { outline: 3px solid rgba(72, 176, 28, .35); outline-offset: 2px; }
.mpc-choice-pill.is-on { background: var(--mpc-forest); border-color: var(--mpc-forest); color: #fff; }
html[data-theme="dark"] .mpc-choice-pill { background: transparent; border-color: #d9c6a5; color: #f6edd6; }
html[data-theme="dark"] .mpc-choice-pill.is-on { background: var(--mpc-amber); border-color: var(--mpc-amber); color: var(--mpc-forest); }
#create-account .mpc-co__sub { margin: 18px 0 12px; font: 700 17px/1.3 var(--mpc-head) !important; color: var(--mpc-forest); }
html[data-theme="dark"] #create-account .mpc-co__sub { color: #fff; }
#create-account label:not(.mpc-choice-pill):not(.mpc-co__tick) { font-weight: 700; font-size: 14.5px; color: var(--mpc-forest); margin-bottom: 6px; }
html[data-theme="dark"] #create-account label:not(.mpc-choice-pill):not(.mpc-co__tick) { color: #fff; }
#create-account .form-control { min-height: 50px; border-radius: 14px; border: 1.5px solid var(--mpc-line); font-size: 16px; }
#create-account .form-control:focus { border-color: var(--mpc-leaf); box-shadow: 0 0 0 3px rgba(72, 176, 28, .18); }
#create-account .mpc-co__plain { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 4px 0 0 !important; }
#create-account .mpc-co__plain .card-body { padding: 0 !important; background: transparent !important; }
#create-account label.mpc-co__tick { display: inline-flex !important; align-items: flex-start; gap: 10px; margin: 6px 0 0; font: 500 15px/1.45 var(--mpc-body) !important; color: var(--mpc-forest) !important; cursor: pointer; }
#create-account label.mpc-co__tick input { flex: none; width: 20px; height: 20px; margin: 1px 0 0 !important; position: static !important; accent-color: var(--mpc-leaf-dark); }
html[data-theme="dark"] #create-account label.mpc-co__tick { color: var(--mpc-ink) !important; }
html[data-theme="dark"] #create-account label.mpc-co__tick input { accent-color: #6fc13f; }
html body #create-account.mpc-co__acct button.mpc-co__go.mpc-co__go { display: block; width: 100%; margin: 18px 0 0; padding: 15px 24px; border: 0 !important; border-radius: 999px !important; background: var(--mpc-co-ok) !important; color: #fff !important; font: 800 17px/1.2 var(--mpc-head) !important; box-shadow: 0 8px 20px -8px rgba(42, 122, 13, .6); float: none !important; }
html body #create-account.mpc-co__acct button.mpc-co__go.mpc-co__go:hover { background: var(--mpc-co-ok-d) !important; }
html[data-theme="dark"] body #create-account.mpc-co__acct button.mpc-co__go.mpc-co__go { background: #3f9a1a !important; box-shadow: none; }
html[data-theme="dark"] body #create-account.mpc-co__acct button.mpc-co__go.mpc-co__go:hover { background: #4aa923 !important; }
#create-account .float-right:has(> button.mpc-co__go) { float: none !important; }
#create-account .form-check:has(.mpc-co__tick) { padding-left: 0 !important; margin-left: 0 !important; }
#create-account label.mpc-co__tick input { margin-left: 2px !important; }
#create-account .mpc-co__after { display: block; width: 100%; clear: both; margin: 10px 0 0; text-align: center; font-size: 14px; color: var(--mpc-muted); }
html[data-theme="dark"] #create-account .mpc-co__after { color: #d9c6a5; }

/* 4.3: line My Account up with the website header (logo and menu edges) */
.container-md, .title.mpc-title .container-md { max-width: 1160px; padding-left: 24px; padding-right: 24px; }
@media (max-width: 560px) { .container-md, .title.mpc-title .container-md { padding-left: 16px; padding-right: 16px; } }

/* 4.3: the new order page (MonkeyPC Checkout) has its own banner, so My Account's banner above it is not needed */
body[class*="monkeypc_checkout"] .title.mpc-title { display: none !important; }
body:not(.client-client_main-index) #mpc-content.row { margin-left: -15px; margin-right: -15px; }
@media (min-width: 768px) {
  #create-account.mpc-co__acct .row:has(> .col-md-6) { justify-content: space-between; }
  #create-account.mpc-co__acct .row > .col-md-6 { flex: 0 0 calc(50% - 8px) !important; max-width: calc(50% - 8px) !important; }
}
/* 4.3: invoice link on the order complete page */
.mpc-done__top p b { color: var(--mpc-forest); }
.mpc-done__inv { display: inline-block; margin-top: 6px; font-weight: 700; color: var(--mpc-leaf-dark, #2f8f1a) !important; text-decoration: underline; text-underline-offset: 3px; }
html[data-theme="dark"] .mpc-done__top p b { color: #fff; }
html[data-theme="dark"] .mpc-done__inv { color: #8be05a !important; }
/* 4.3: Open a ticket / ticket reply in dark mode: Blesta's white form box and text editor */
html[data-theme="dark"] .mpc-darkfix button:not(.btn) { background: transparent !important; border-color: var(--mpc-line) !important; color: var(--mpc-ink) !important; }
html[data-theme="dark"] .mpc-darkfix button:not(.btn):hover { background: rgba(255, 255, 255, .08) !important; }
html[data-theme="dark"] .mpc-darkfix [contenteditable="true"], html[data-theme="dark"] .mpc-darkfix [contenteditable="true"] * { color: var(--mpc-ink) !important; caret-color: var(--mpc-ink); }
html[data-theme="dark"] .mpc-darkfix [contenteditable="true"] { background: var(--mpc-bg) !important; border-radius: 0 0 14px 14px; min-height: 180px; }
html[data-theme="dark"] #mpc-content :has(> [contenteditable="true"]) { border-color: var(--mpc-line) !important; }

/* 4.3: Open a ticket page (#open-ticket) gets the same editor + dark mode styling as ticket replies.
   Blesta's ticket pages are at /plugin/support_manager/... (no /client/). */
#open-ticket .card-body > .card.bg-light label { display: block; margin: 0 0 3px; color: var(--mpc-muted); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
/* Reply box */
#open-ticket #create_ticket > .form-group:first-of-type > label { font: 700 19px/1.3 var(--mpc-head); margin: 0 0 10px; }
#open-ticket .toastui-editor-defaultUI { border: 1px solid var(--mpc-line); border-radius: 16px; overflow: hidden; background: #fff; }
#open-ticket .toastui-editor-defaultUI-toolbar { background: var(--mpc-cream); border-bottom: 1px solid var(--mpc-line); padding: 0 12px; }
#open-ticket .toastui-editor-toolbar-group button { border-radius: 8px; }
#open-ticket .toastui-editor-toolbar-icons { background-color: transparent; border-color: transparent; }
#open-ticket .toastui-editor-defaultUI-toolbar button:not(:disabled):hover { background-color: #fff; border-color: var(--mpc-line); }
#open-ticket .toastui-editor-toolbar-divider { background-color: var(--mpc-line); }
#open-ticket .toastui-editor-mode-switch { background: var(--mpc-cream); border-top: 1px solid var(--mpc-line); padding: 6px 10px; height: auto; }
#open-ticket .toastui-editor-mode-switch .tab-item { border: 1px solid transparent; border-radius: 999px; background: transparent; color: var(--mpc-muted); margin: 0 0 0 4px; height: auto; line-height: 1.6; padding: 1px 12px; font-weight: 600; }
#open-ticket .toastui-editor-mode-switch .tab-item.active { background: #fff; border-color: var(--mpc-line); color: var(--mpc-forest); }
#open-ticket .toastui-editor-contents, #open-ticket .toastui-editor-contents p { font-family: var(--mpc-body); font-size: 16px; color: var(--mpc-forest); }
#open-ticket #create_ticket .form-group:has(.drag-drop) > label { display: none; }
#open-ticket #create_ticket .form-group:has(.drag-drop) > div:not(.mpc-x) { border-radius: 16px !important; border-color: var(--mpc-line) !important; color: var(--mpc-muted); }
#open-ticket #create_ticket .btn[data-toggle="collapse"] { border-radius: 999px !important; padding: 8px 18px; font-weight: 700; }
#open-ticket #create_ticket > .btn-group { display: flex; gap: 10px; }
#open-ticket #create_ticket > .btn-group > .btn { border-radius: 999px !important; padding: 10px 22px; font-weight: 700; }
#open-ticket #create_ticket > .btn-group > .btn-light { order: 2; background: var(--mpc-amber) !important; border-color: var(--mpc-amber) !important; color: var(--mpc-forest) !important; }
#open-ticket #create_ticket > .btn-group > .btn-light:hover { background: #e6b92f !important; border-color: #e6b92f !important; }
#open-ticket #create_ticket > .btn-group > .btn-danger { order: 1; background: transparent !important; border: 1px solid #e3b3a6 !important; color: #b23a1d !important; }
#open-ticket #create_ticket > .btn-group > .btn-danger:hover { background: #fdf1ea !important; }
#open-ticket #create_ticket > .btn-group { float: none !important; width: 100%; flex-wrap: wrap; }
#open-ticket #create_ticket > .btn-group > .btn-light { flex: 1; }
/* Ticket page in dark mode */
html[data-theme="dark"] #open-ticket #create_ticket,
html[data-theme="dark"] #open-ticket #create_ticket .form-group { background: transparent !important; }
html[data-theme="dark"] #open-ticket label { color: var(--mpc-ink) !important; }
html[data-theme="dark"] #open-ticket .card-body > .card.bg-light label { color: var(--mpc-muted) !important; }
html[data-theme="dark"] #open-ticket .toastui-editor-defaultUI { background: #1d150d; border-color: var(--mpc-line); }
html[data-theme="dark"] #open-ticket .toastui-editor-defaultUI-toolbar,
html[data-theme="dark"] #open-ticket .toastui-editor-mode-switch { background: var(--mpc-surface-2); border-color: var(--mpc-line); }
html[data-theme="dark"] #open-ticket .toastui-editor-toolbar-icons { filter: invert(1) hue-rotate(180deg) brightness(.85); border-color: transparent; background-color: transparent; }
html[data-theme="dark"] #open-ticket .toastui-editor-defaultUI-toolbar button:not(:disabled):hover { background-color: #d6c7b2; border-color: transparent; }
html[data-theme="dark"] #open-ticket .toastui-editor-main, html[data-theme="dark"] #open-ticket .toastui-editor-ww-container,
html[data-theme="dark"] #open-ticket .toastui-editor-md-container, html[data-theme="dark"] #open-ticket .toastui-editor md-container,
html[data-theme="dark"] #open-ticket .toastui-editor-main-container, html[data-theme="dark"] #open-ticket .ProseMirror { background: #1d150d !important; color: var(--mpc-ink); }
html[data-theme="dark"] #open-ticket .toastui-editor-contents, html[data-theme="dark"] #open-ticket .toastui-editor-contents p,
html[data-theme="dark"] #open-ticket .toastui-editor-md-container .ProseMirror { color: var(--mpc-ink) !important; }
html[data-theme="dark"] #open-ticket .toastui-editor-md-preview { background: #1d150d; }
html[data-theme="dark"] #open-ticket .toastui-editor-mode-switch .tab-item { color: var(--mpc-muted); }
html[data-theme="dark"] #open-ticket .toastui-editor-mode-switch .tab-item.active { background: var(--mpc-surface); border-color: var(--mpc-line); color: var(--mpc-ink); }
html[data-theme="dark"] #open-ticket .toastui-editor-defaultUI .toastui-editor-md-splitter { background-color: var(--mpc-line); }
html[data-theme="dark"] #open-ticket .toastui-editor-popup, html[data-theme="dark"] #open-ticket .toastui-editor-dropdown-toolbar { background: var(--mpc-surface); border-color: var(--mpc-line); color: var(--mpc-ink); }
html[data-theme="dark"] #open-ticket #create_ticket .form-group:has(.drag-drop) div { background: transparent !important; color: var(--mpc-muted) !important; border-color: var(--mpc-line) !important; }
html[data-theme="dark"] #open-ticket #create_ticket > .btn-group > .btn-light { background: var(--mpc-amber) !important; border-color: var(--mpc-amber) !important; color: #402408 !important; }
html[data-theme="dark"] #open-ticket #create_ticket > .btn-group > .btn-danger { border-color: #6b3324 !important; color: #ff9b80 !important; }
html[data-theme="dark"] #open-ticket #create_ticket > .btn-group > .btn-danger:hover { background: #3f1a12 !important; }
/* One rounded box, no square inner box: only the card has a colour */
html[data-theme="dark"] #open-ticket { overflow: hidden; }
html[data-theme="dark"] #open-ticket .card-header, html[data-theme="dark"] #open-ticket .card-content, html[data-theme="dark"] #open-ticket .card-body,
html[data-theme="dark"] #open-ticket #create_ticket, html[data-theme="dark"] #open-ticket .form-group { background: transparent !important; border-radius: 0 !important; box-shadow: none !important; }
html[data-theme="dark"] #open-ticket .card-header { border-bottom: 0 !important; }
/* 4.3: community forums pointers (dashboard guides box, Open a ticket, side boxes) */
.mpc-forumhint { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0 0; padding: 14px 16px; border: 1px dashed var(--mpc-line); border-radius: 16px; background: var(--mpc-cream, #fbf8f1); }
.mpc-forumhint p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--mpc-muted); }
.mpc-forumhint b { color: var(--mpc-forest); }
.mpc-forumhint a { font-weight: 700; color: var(--c-ok, #2f8f1a) !important; white-space: nowrap; }
.mpc-forumhint__ic { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #e6f4dc; color: #2f8f1a; }
.mpc-forumhint--ticket { margin: 0 0 18px; }
.mpc-sum__forum { margin: 16px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--mpc-line); font-size: 14.5px; }
.mpc-sum__forum b { display: block; color: var(--mpc-forest); }
.mpc-sum__forum p { margin: 2px 0 6px; color: var(--mpc-muted); line-height: 1.45; }
.mpc-sum__forum a { font-weight: 700; color: var(--c-ok, #2f8f1a) !important; }
html[data-theme="dark"] .mpc-forumhint { background: var(--mpc-surface-2); border-color: var(--mpc-line); }
html[data-theme="dark"] .mpc-forumhint p, html[data-theme="dark"] .mpc-sum__forum p { color: #d9c6a5; }
html[data-theme="dark"] .mpc-forumhint b, html[data-theme="dark"] .mpc-sum__forum b { color: #fff; }
html[data-theme="dark"] .mpc-forumhint a, html[data-theme="dark"] .mpc-sum__forum a { color: #8be05a !important; }
html[data-theme="dark"] .mpc-forumhint__ic { background: #253520; color: #8be05a; }
.mpc-ghelp .mpc-forumhint { grid-column: 1 / -1; width: 100%; }

/* ===== MonkeyPC 4.4: clear ticket replies =====
   Plain status words, "New reply" tags, the "We've replied" box, and a Tickets table that always shows Status. */
#client_tickets .table-responsive { overflow-x: auto; }
/* Priority and Department now sit under the summary (mpc-tickets.js), so their own columns step aside */
#client_tickets .table > thead > tr > th:nth-child(2), #client_tickets .table > thead > tr > th:nth-child(3),
#client_tickets .table > tbody > tr.mpc-tk-row > td:nth-child(2), #client_tickets .table > tbody > tr.mpc-tk-row > td:nth-child(3) { display: none !important; }
#client_tickets .table > tbody > tr.mpc-tk-row { cursor: pointer; }
#client_tickets .mpc-tk-meta { display: block; margin-top: 3px; font-size: 13.5px; font-weight: 500; color: var(--mpc-muted); }
#client_tickets .mpc-tk-meta .mpc-pri { margin-left: 4px; padding: 1px 9px; font-size: 12px; vertical-align: 1px; }
/* No Actions column on bigger screens: the whole row opens the ticket, and Reply and Close are inside it.
   A small arrow at the end of each row shows it can be opened. */
@media (min-width: 576px) {
  #client_tickets .table > thead > tr > th:nth-child(7),
  #client_tickets .table > tbody > tr.mpc-tk-row > td:nth-child(7) { display: none; }
  #client_tickets .table > tbody > tr.mpc-tk-row > td:nth-child(6):after { content: "\203A"; margin-left: 14px; font-size: 22px; line-height: 1; color: var(--mpc-muted); vertical-align: -2px; }
  #client_tickets .table > tbody > tr.mpc-tk-row:hover > td:nth-child(6):after { color: var(--mpc-leaf-dark); }
}
#client_tickets .table > tbody > tr > td:nth-child(4) { white-space: normal; min-width: 150px; }
#client_tickets .table > tbody > tr > td:nth-child(5), #client_tickets .table > tbody > tr > td:nth-child(6) { white-space: nowrap; }
/* Status pills */
#client_tickets .mpc-stat, #client_ticket_reply .mpc-stat { padding: 4px 12px 4px 10px; border-radius: 999px; background: #fbf3dc; color: var(--mpc-forest); font-size: 14px; font-weight: 700; }
#client_tickets .mpc-stat--replied, #client_ticket_reply .mpc-stat--replied { background: var(--mpc-mint); color: var(--mpc-leaf-dark); }
#client_tickets .mpc-stat--closed, #client_ticket_reply .mpc-stat--closed { background: #f1ebe1; color: #7a6a55; }
#client_tickets .mpc-stat--hold, #client_ticket_reply .mpc-stat--hold { background: #f1ebe1; }
.mpc-stat--hold:before { background: #a99a86; }
/* A row we've replied to */
#client_tickets .table > tbody > tr.mpc-tk-new > td { background: #f3f9ea !important; }
#client_tickets .table > tbody > tr.mpc-tk-new > td:first-child { box-shadow: inset 4px 0 0 var(--mpc-leaf); }
#client_tickets .mpc-tk-tag { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: var(--mpc-leaf); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em; vertical-align: 2px; white-space: nowrap; }
/* "We've replied" box */
.mpc-replied { display: flex; gap: 16px; align-items: flex-start; width: 100%; margin: 0 0 20px; padding: 20px 22px; border: 1px solid #cfe5bd; border-left: 6px solid var(--mpc-leaf); border-radius: 20px; background: #f3f9ea; color: var(--mpc-forest); }
.mpc-replied--new { box-shadow: 0 8px 24px -14px rgba(42, 122, 13, .45); }
.mpc-replied__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--mpc-leaf); color: #fff; font-size: 21px; }
.mpc-replied__body { flex: 1; min-width: 0; }
.mpc-replied h2 { margin: 2px 0 4px; font: 700 21px/1.25 var(--mpc-head); color: var(--mpc-forest); }
.mpc-replied p { margin: 0 0 12px; font-size: 15.5px; color: var(--mpc-muted); }
.mpc-replied ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.mpc-replied li a { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; align-items: center; padding: 12px 16px; border: 1px solid #d9eccb; border-radius: 14px; background: #fff; color: var(--mpc-forest) !important; text-decoration: none !important; }
.mpc-replied li a:hover { border-color: var(--mpc-leaf); }
.mpc-replied__sum { font-weight: 700; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mpc-replied__meta { grid-row: 2; font-size: 13.5px; color: var(--mpc-muted); }
.mpc-replied__go { grid-row: 1 / span 2; grid-column: 2; padding: 9px 18px; border-radius: 999px; background: #2f8f1a; color: #fff; font-weight: 700; font-size: 15px; white-space: nowrap; }
.mpc-replied li a:hover .mpc-replied__go { background: #256f14; }
.mpc-replied .mpc-replied__more { margin: 10px 0 0; font-size: 14px; }
@media (max-width: 575px) {
  .mpc-replied { flex-direction: column; gap: 10px; padding: 18px 16px; }
  .mpc-replied__icon { width: 40px; height: 40px; font-size: 18px; }
  .mpc-replied li a { grid-template-columns: 1fr; }
  .mpc-replied__go { grid-row: auto; grid-column: auto; justify-self: start; margin-top: 8px; }
  .mpc-replied__sum { white-space: normal; }
}
/* Tickets number card + Your account line + Support menu */
#mpc-content .cards .card.mpc-card--replied { border-color: var(--mpc-leaf) !important; box-shadow: 0 0 0 2px rgba(72, 176, 28, .18); }
.mpc-card-new { display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: 999px; background: var(--mpc-leaf); color: #fff !important; font-size: 12.5px; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.mpc-acct .mpc-acct__replied span, .mpc-acct .mpc-acct__replied b { color: var(--mpc-leaf-dark) !important; font-weight: 700; }
.mpc-acct .mpc-acct__replied i { margin-right: 4px; }
.mpc-nav-new { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 6px; padding: 0 6px; border-radius: 999px; background: var(--mpc-leaf); color: #fff; font-size: 12px; font-weight: 700; line-height: 1; vertical-align: 1px; }
/* Dark mode */
html[data-theme="dark"] .mpc-replied { background: #1b2613; border-color: #2f4520; border-left-color: var(--mpc-leaf); color: var(--mpc-ink); }
html[data-theme="dark"] .mpc-replied h2 { color: var(--mpc-ink); }
html[data-theme="dark"] .mpc-replied li a { background: var(--mpc-surface); border-color: #2f4520; color: var(--mpc-ink) !important; }
html[data-theme="dark"] #client_tickets .table > tbody > tr.mpc-tk-new > td { background: #1b2613 !important; }
html[data-theme="dark"] #client_tickets .mpc-stat, html[data-theme="dark"] #client_ticket_reply .mpc-stat { background: #2b2015; color: var(--mpc-ink); }
html[data-theme="dark"] #client_tickets .mpc-stat--replied, html[data-theme="dark"] #client_ticket_reply .mpc-stat--replied { background: #253520; color: #9be36a; }
html[data-theme="dark"] #client_tickets .mpc-stat--closed, html[data-theme="dark"] #client_ticket_reply .mpc-stat--closed { background: #2a241c; color: #b9a88f; }
html[data-theme="dark"] .mpc-acct .mpc-acct__replied span, html[data-theme="dark"] .mpc-acct .mpc-acct__replied b { color: #9be36a !important; }
@media (max-width: 575px) {
  #client_tickets .table > tbody > tr.mpc-tk-new { border-left: 5px solid var(--mpc-leaf); background: #f3f9ea; }
  #client_tickets .table > tbody > tr.mpc-tk-new > td:first-child { box-shadow: none; }
  html[data-theme="dark"] #client_tickets .table > tbody > tr.mpc-tk-new { background: #1b2613; }
}
/* 4.4: "Your new order is being checked" (Blesta's pending review note) */
.mpc-pend { position: relative; display: flex; gap: 16px; align-items: flex-start; width: 100%; margin: 0 0 20px; padding: 20px 52px 20px 22px; border: 1px solid var(--mpc-line); border-radius: 20px; background: #fffdf8; color: var(--mpc-forest); }
.mpc-pend__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: #fbf0cc; color: #9a6c00; font-size: 20px; }
.mpc-pend__body { flex: 1; min-width: 0; }
.mpc-pend h2 { margin: 2px 0 4px; font: 700 21px/1.25 var(--mpc-head); color: var(--mpc-forest); }
.mpc-pend p { margin: 0 0 12px; font-size: 15.5px; color: var(--mpc-muted); }
.mpc-pend ul { margin: 0; padding: 0; list-style: none; border: 1px solid var(--mpc-line); border-radius: 14px; overflow: hidden; background: #fff; }
.mpc-pend li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 11px 16px; }
.mpc-pend li + li { border-top: 1px solid var(--mpc-line); }
.mpc-pend__plan { font-weight: 700; font-size: 16px; }
.mpc-pend__what { color: var(--mpc-muted); font-size: 15px; overflow-wrap: anywhere; }
.mpc-pend__n { padding: 1px 9px; border-radius: 999px; background: var(--mpc-cream); font-size: 12.5px; font-weight: 700; }
.mpc-pend__state { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; padding: 3px 11px; border-radius: 999px; background: #fbf3dc; font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.mpc-pend__state:before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mpc-amber); }
.mpc-pend__close { position: absolute; top: 12px; right: 14px; padding: 0 6px; border: 0; background: none; color: var(--mpc-forest); font-size: 24px; line-height: 1; opacity: .5; cursor: pointer; }
.mpc-pend__close:hover { opacity: .9; }
@media (max-width: 575px) {
  .mpc-pend { flex-direction: column; gap: 10px; padding: 18px 44px 18px 16px; }
  .mpc-pend__icon { width: 40px; height: 40px; font-size: 17px; }
  .mpc-pend__state { margin-left: 0; }
}
html[data-theme="dark"] .mpc-pend { background: var(--mpc-surface); color: var(--mpc-ink); }
html[data-theme="dark"] .mpc-pend h2, html[data-theme="dark"] .mpc-pend__close { color: var(--mpc-ink); }
html[data-theme="dark"] .mpc-pend__icon { background: #3a2c10; color: var(--mpc-amber); }
html[data-theme="dark"] .mpc-pend ul { background: #1d150d; }
html[data-theme="dark"] .mpc-pend__state, html[data-theme="dark"] .mpc-pend__n { background: #2b2015; color: var(--mpc-ink); }
/* 4.4: ticket page: conversation first, reply box underneath */
.mpc-convo-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 4px 0 12px; }
.mpc-convo-bar__t { font: 700 20px/1.3 var(--mpc-head); color: var(--mpc-forest); }
.mpc-convo-bar__t small { margin-left: 6px; font: 500 14px var(--mpc-body); color: var(--mpc-muted); }
.mpc-convo-bar__go { display: inline-flex; align-items: center; gap: 8px; padding: 9px 20px; border-radius: 999px; background: #2f8f1a; color: #fff !important; font-weight: 700; text-decoration: none !important; }
.mpc-convo-bar__go:hover { background: #256f14; }
.mpc-write { display: flow-root; margin: 26px 0 0; padding: 22px; border: 1px solid var(--mpc-line); border-radius: 18px; background: #fffdf8; scroll-margin-top: 20px; }
.mpc-latest__tag { display: inline-block; margin-right: 10px; padding: 2px 10px; border-radius: 999px; background: var(--mpc-leaf); color: #fff; font-size: 12.5px; font-weight: 700; font-style: normal; vertical-align: 1px; }
.mpc-latest .top-bar p { display: inline; }
html[data-theme="dark"] .mpc-convo-bar__t { color: var(--mpc-ink); }
html[data-theme="dark"] .mpc-write { background: var(--mpc-surface); }
.mpc-write #create_ticket { display: flow-root; }
/* 4.4: initials tile (or the monkey for our team) when there's no profile photo */
#client_ticket_reply .ticket-reply .replier .mpc-av { display: grid; place-items: center; width: 186px; max-width: 100%; aspect-ratio: 1; margin: 0 auto; border: 1px solid var(--mpc-line); border-radius: 18px; background: #f3e6c8; color: var(--mpc-forest); font: 800 56px/1 var(--mpc-head); letter-spacing: .02em; }
#client_ticket_reply .ticket-reply .replier .mpc-av--team { background: var(--mpc-mint); border-color: #cfe5bd; }
#client_ticket_reply .ticket-reply .replier .mpc-av--team img { width: 62% !important; height: auto; aspect-ratio: auto; border: 0 !important; border-radius: 0 !important; background: none !important; }
@media (max-width: 700px) {
  #client_ticket_reply .ticket-reply .replier .mpc-av { width: 72px; flex: none; margin: 0; border-radius: 14px; font-size: 24px; }
}
html[data-theme="dark"] #client_ticket_reply .ticket-reply .replier .mpc-av { background: #3a2c1a; color: #f4e9d8; }
html[data-theme="dark"] #client_ticket_reply .ticket-reply .replier .mpc-av--team { background: #253520; border-color: #2f4520; }


/* ===== 4.5: Manage your service, cPanel tabs (Actions, Statistics, Log in to cPanel) =====
   Kept in our own theme so Blesta / cPanel module updates don't undo it. */
/* New-tab arrow on "Log in to cPanel" */
.mpc-svc-tabs a.mpc-newtab::after { content: "\2197" !important; display: inline !important; position: static !important; margin-left: 6px; font-weight: 700; opacity: .7; background: none !important; width: auto !important; height: auto !important; }

/* Fallback look for any module tab (works even before the JS runs) */
.mpc-svc #client_services_manage h4 { font-family: var(--mpc-head); font-weight: 800; font-size: 19px; color: var(--mpc-forest); margin: 4px 0 12px; }
.mpc-svc #client_services_manage .btn-info { background: transparent !important; border: 1.5px solid var(--mpc-line) !important; color: var(--mpc-forest) !important; border-radius: 999px !important; font-weight: 700; box-shadow: none !important; }
.mpc-svc #client_services_manage .btn-info:hover { border-color: var(--c-ok) !important; }
.mpc-svc #client_services_manage form .btn-light[type="submit"], .mpc-svc #client_services_manage form button.btn-light { background: var(--c-ok) !important; border-color: var(--c-ok) !important; color: #fff !important; border-radius: 999px !important; font-weight: 800; padding: 11px 22px; }
.mpc-svc #client_services_manage .progress { height: 12px; border-radius: 999px; background: var(--c-bg); border: 1px solid var(--mpc-line); box-shadow: none; overflow: hidden; margin: 6px 0 16px; }
.mpc-svc #client_services_manage .progress-bar { background: var(--c-ok) !important; border-radius: 999px; min-width: 6px; }
.mpc-svc #client_services_manage .table-curved th { text-transform: none; letter-spacing: 0; }

/* Shared */
.mpc-svc h4.mpc-cp__h { font-family: var(--mpc-head); font-weight: 800; font-size: 19px; color: var(--mpc-forest); margin: 2px 0 6px; letter-spacing: -.01em; }
.mpc-cp__lead { margin: 0 0 18px; color: var(--mpc-muted); font-size: 15px; line-height: 1.55; max-width: 60ch; }
.mpc-cp__lead b { color: var(--mpc-forest); }

/* Actions: change password */
.mpc-cp__form { background: var(--c-bg); border: 1px solid var(--mpc-line); border-radius: 20px; padding: 20px 22px 18px; }
.mpc-cp__form > .col-md-12 { padding: 0 !important; }
.mpc-cp__form .row { margin: 0 !important; }
.mpc-cp__form .row > .col-12 { padding: 0 !important; }
.mpc-cp__form .form-group { margin-bottom: 18px; }
.mpc-cp__form label { font-weight: 700; font-size: 15px; color: var(--mpc-forest); margin-bottom: 6px; }
.mpc-cp__field { position: relative; }
.mpc-cp__field .form-control { height: 48px; border-radius: 12px !important; padding-right: 76px; font-size: 16px; background: var(--c-card) !important; border: 1.5px solid var(--mpc-line) !important; }
.mpc-cp__field .form-control:focus { border-color: var(--c-ok) !important; box-shadow: 0 0 0 3px rgba(47, 143, 26, .15) !important; }
.mpc-cp__eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--c-ok); font-weight: 700; font-size: 14px; padding: 6px 10px; border-radius: 999px; cursor: pointer; }
.mpc-cp__eye:hover { background: rgba(47, 143, 26, .1); }
a.mpc-cp__gen { display: inline-flex !important; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 16px !important; font-size: 14.5px !important; font-weight: 700; text-decoration: none !important; background: var(--c-card) !important; border: 1.5px solid var(--mpc-line) !important; border-radius: 999px !important; color: var(--mpc-forest) !important; }
a.mpc-cp__gen:hover { border-color: var(--c-ok) !important; }
html[data-theme="dark"] a.mpc-cp__gen { background: transparent !important; border-color: #5a3d1c !important; color: #f6edd6 !important; }
a.mpc-cp__gen i { color: var(--c-ok); }
.mpc-cp__checks { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--mpc-muted); }
.mpc-cp__checks li { display: flex; align-items: center; gap: 7px; }
.mpc-cp__checks li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--mpc-line); flex: none; }
.mpc-cp__checks li.is-ok { color: var(--c-ok); font-weight: 600; }
.mpc-cp__checks li.is-ok::before { background: var(--c-ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; border-color: var(--c-ok); }
.mpc-cp__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 16px; border-top: 1px dashed var(--mpc-line); }
.mpc-cp__foot p { margin: 0; font-size: 14px; color: var(--mpc-muted); }
.mpc-svc #client_services_manage button.mpc-cp__save { flex: none; float: none !important; display: inline-flex; align-items: center; background: var(--c-ok) !important; border: 0 !important; color: #fff !important; border-radius: 999px !important; padding: 12px 24px !important; font-weight: 800; font-size: 16px; }
.mpc-svc #client_services_manage button.mpc-cp__save:hover { background: var(--c-ok-d) !important; }

/* Statistics */
.mpc-st__facts { list-style: none; margin: 4px 0 26px; padding: 4px 20px; background: var(--c-bg); border: 1px solid var(--mpc-line); border-radius: 20px; }
.mpc-st__facts li { display: flex; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px dashed var(--mpc-line); font-size: 15px; }
.mpc-st__facts li:last-child { border-bottom: 0; }
.mpc-st__facts li > span { color: var(--mpc-muted); }
.mpc-st__facts li > b { text-align: right; color: var(--mpc-forest); font-weight: 700; word-break: break-word; }
.mpc-st__facts a { color: var(--c-ok) !important; text-decoration: none; }
.mpc-st__facts a:hover { text-decoration: underline; }
.mpc-st__h { margin-top: 4px !important; margin-bottom: 12px !important; }
.mpc-st__use { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mpc-st__card { background: var(--c-bg); border: 1px solid var(--mpc-line); border-radius: 20px; padding: 18px 20px 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mpc-st__name { font-size: 14.5px; color: var(--mpc-muted); font-weight: 600; }
.mpc-st__num { font-family: var(--mpc-head); font-weight: 800; font-size: 28px; line-height: 1.1; color: var(--mpc-forest); }
.mpc-st__num small { font-family: var(--mpc-body, inherit); font-size: 15px; font-weight: 600; color: var(--mpc-muted); }
.mpc-st__bar { height: 12px; border-radius: 999px; background: var(--c-card); border: 1px solid var(--mpc-line); overflow: hidden; margin: 6px 0 2px; }
.mpc-st__bar i { display: block; height: 100%; border-radius: 999px; background: var(--c-ok); transition: width .6s ease; }
.mpc-st__pct { font-size: 13.5px; color: var(--mpc-muted); }
.mpc-st__card.is-high .mpc-st__bar i { background: #d99a12; }
.mpc-st__card.is-full .mpc-st__bar i { background: #c2410c; }
.mpc-st__warn { margin: 6px 0 0; padding: 10px 12px; border-radius: 12px; background: #fdf1d4; color: #6b4a00; font-size: 14px; }
.mpc-st__card.is-full .mpc-st__warn { background: #fde4d6; color: #7a2a06; }
@media (max-width: 640px) {
  .mpc-st__use { grid-template-columns: 1fr; }
  .mpc-cp__form { padding: 16px 14px; }
  .mpc-cp__foot { flex-direction: column; align-items: stretch; }
  .mpc-svc #client_services_manage button.mpc-cp__save { justify-content: center; width: 100%; }
  .mpc-st__facts { padding: 2px 14px; }
}

/* Dark */
html[data-theme="dark"] .mpc-svc #client_services_manage h4,
html[data-theme="dark"] .mpc-svc h4.mpc-cp__h, html[data-theme="dark"] .mpc-cp__lead b,
html[data-theme="dark"] .mpc-cp__form label, html[data-theme="dark"] .mpc-st__facts li > b,
html[data-theme="dark"] .mpc-st__num { color: #f6edd6 !important; }
html[data-theme="dark"] .mpc-cp__lead, html[data-theme="dark"] .mpc-cp__foot p, html[data-theme="dark"] .mpc-cp__checks,
html[data-theme="dark"] .mpc-st__facts li > span, html[data-theme="dark"] .mpc-st__name, html[data-theme="dark"] .mpc-st__num small,
html[data-theme="dark"] .mpc-st__pct { color: #d9c6a5 !important; }
html[data-theme="dark"] .mpc-cp__form, html[data-theme="dark"] .mpc-st__facts, html[data-theme="dark"] .mpc-st__card { background: #2a1806; border-color: #4a2e12; }
html[data-theme="dark"] .mpc-cp__foot, html[data-theme="dark"] .mpc-st__facts li { border-color: #4a2e12; }
html[data-theme="dark"] .mpc-cp__field .form-control { background: #1d1209 !important; border-color: #4a2e12 !important; color: #f6edd6 !important; }
html[data-theme="dark"] .mpc-cp__eye, html[data-theme="dark"] a.mpc-cp__gen i, html[data-theme="dark"] .mpc-cp__checks li.is-ok, html[data-theme="dark"] .mpc-st__facts a { color: #8be05a !important; }
html[data-theme="dark"] .mpc-svc #client_services_manage .btn-info { border-color: #5a3d1c !important; color: #f6edd6 !important; }
html[data-theme="dark"] .mpc-cp__checks li::before { border-color: #6a4a26; }
html[data-theme="dark"] .mpc-st__bar, html[data-theme="dark"] .mpc-svc #client_services_manage .progress { background: #1d1209; border-color: #4a2e12; }
html[data-theme="dark"] .mpc-st__bar i { background: #5fbf2e; }
html[data-theme="dark"] .mpc-st__warn { background: #3a2d08; color: #f6d56b; }
html[data-theme="dark"] .mpc-st__card.is-full .mpc-st__warn { background: #3d1a0c; color: #f7b394; }

/* 4.5: Gorilla note (shown if a Gorilla customer opens an old cPanel tab link) */
.mpc-gor-note { background: var(--c-bg); border: 1px solid var(--mpc-line); border-radius: 20px; padding: 20px 22px; color: var(--mpc-forest); }
.mpc-gor-note b { font-family: var(--mpc-head); font-weight: 800; font-size: 18px; }
.mpc-gor-note p { margin: 6px 0 12px; color: var(--mpc-muted); }
.mpc-gor-note a { color: var(--c-ok) !important; font-weight: 700; }
html[data-theme="dark"] .mpc-gor-note { background: #2a1806; border-color: #4a2e12; color: #f6edd6; }
html[data-theme="dark"] .mpc-gor-note p { color: #d9c6a5; }
html[data-theme="dark"] .mpc-gor-note a { color: #8be05a !important; }


/* ---------- 4.5: Your orders: MPC-1020 instead of Blesta's order code, fits the box ---------- */
table.mpc-orders { width: 100%; table-layout: auto; }
table.mpc-orders th, table.mpc-orders td { vertical-align: middle !important; padding: 14px 16px !important; white-space: nowrap; }
table.mpc-orders tbody > tr:not(.expand_details) > td { height: 64px; }
.mpc-ord__ref { display: block; font-family: var(--mpc-head); font-weight: 800; font-size: 16px; letter-spacing: .01em; color: var(--mpc-forest); }
a.mpc-ord__ref { display: inline-block; text-decoration: underline; text-decoration-color: var(--mpc-leaf); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a.mpc-ord__ref:hover { color: var(--mpc-leaf-dark); }
.mpc-ord__st { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; line-height: 1.3; }
.mpc-ord__st.is-wait { background: #fdf0c4; color: #8a5a00; }
.mpc-ord__st.is-ok { background: var(--mpc-mint); color: var(--mpc-leaf-dark); }
.mpc-ord__st.is-off { background: var(--mpc-cream); color: var(--mpc-muted); }
.mpc-ord__total { display: block; font-weight: 700; }
.mpc-ord__paid { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; }
.mpc-ord__paid.is-ok { color: var(--mpc-leaf-dark); }
.mpc-ord__paid.is-ok::before { content: "\2713\00a0"; }
.mpc-ord__paid.is-due { color: #8a5a00; }
.mpc-ord__paid a { color: inherit; text-decoration: underline; }
html[data-theme="dark"] .mpc-ord__ref { color: var(--mpc-ink); }
html[data-theme="dark"] a.mpc-ord__ref:hover, html[data-theme="dark"] .mpc-ord__paid.is-ok { color: #9be36a; }
html[data-theme="dark"] .mpc-ord__st.is-wait { background: #3a2d08; color: #f6d56b; }
html[data-theme="dark"] .mpc-ord__st.is-ok { background: #253520; color: #9be36a; }
html[data-theme="dark"] .mpc-ord__st.is-off { background: var(--mpc-surface-2); color: var(--mpc-muted); }
html[data-theme="dark"] .mpc-ord__paid.is-due { color: #f6d56b; }
/* Phones: one neat card per order (order + status on top, total + date underneath) */
@media (max-width: 767.98px) {
  .mpc-modern table.mpc-orders > tbody > tr:not(.expand_details) { display: grid !important; grid-template-columns: 1fr auto; align-items: center; gap: 10px 12px; padding: 16px !important; }
  .mpc-modern table.mpc-orders > tbody > tr:not(.expand_details) > td { display: block !important; height: auto; padding: 0 !important; margin: 0 !important; border: 0 !important; background: none !important; white-space: nowrap !important; overflow-wrap: normal; font: inherit; }
  .mpc-modern table.mpc-orders > tbody > tr:not(.expand_details) > td.mpc-hide { display: none !important; }
  .mpc-modern table.mpc-orders > tbody > tr > td[data-label]::before { content: none !important; display: none !important; }
  .mpc-modern table.mpc-orders > tbody > tr.expand > td:last-of-type { padding-right: 0 !important; }
  .mpc-modern table.mpc-orders td.mpc-ord-c-ref, .mpc-modern table.mpc-orders td.mpc-ord-c-total { text-align: left !important; justify-self: start; }
  .mpc-modern table.mpc-orders td.mpc-ord-c-st, .mpc-modern table.mpc-orders td.mpc-ord-c-date { justify-self: end; text-align: right !important; }
  .mpc-modern table.mpc-orders td.mpc-ord-c-date { font-size: 14px; color: var(--mpc-muted); }
  .mpc-modern table.mpc-orders .mpc-ord__ref { font-size: 18px; }
}

/* ===== MonkeyPC 4.5: tidier front page (mpc-home.js + client_main_myinfo.pdt) ===== */
.mpc-home-on #mpc-content .right_content .cards,
.mpc-h-hidden { display: none !important; }
.mpc-home { display: grid; gap: 22px; margin: 0 0 22px; color: var(--mpc-forest); }
.mpc-h-card { background: var(--mpc-co-tile); border: 1px solid var(--mpc-line); border-radius: 22px; padding: 24px 26px; min-width: 0; }
.mpc-h-card h2 { font: 800 26px/1.2 var(--mpc-head); margin: 2px 0 0; letter-spacing: -.01em; color: inherit; }
.mpc-h-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.mpc-h-head h2 { font-size: 20px; font-weight: 700; }
.mpc-h-head a, .mpc-h-foot a, .mpc-h-note a, .mpc-h-more { color: var(--mpc-co-ok-d); font-weight: 700; text-decoration: none; white-space: nowrap; }
.mpc-h-tag, .mpc-troop-box__tag { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mpc-muted); }
.mpc-h-site__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.mpc-h-sub { margin: 6px 0 0; color: var(--mpc-muted); font-size: 15px; }
.mpc-h-pill { display: inline-block; font-size: 13px; font-weight: 700; padding: 3px 11px; border-radius: 999px; background: var(--mpc-mint); color: var(--mpc-co-ok-d); margin-right: 4px; }
.mpc-h-pill.is-amber { background: #fdf1d4; color: #6b4a00; }
.mpc-h-bad { color: #b4380a; font-weight: 700; }
.mpc-h-btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; font-weight: 700; padding: 10px 20px; font-size: 15px; text-decoration: none !important; white-space: nowrap; }
.mpc-h-btn.is-line { border: 1.5px solid #d6bf96; color: var(--mpc-forest) !important; }
.mpc-h-btn.is-go { background: var(--mpc-co-ok); color: #fff !important; margin-top: 12px; }
.mpc-h-logins { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0 22px; }
.mpc-h-login { display: flex; align-items: center; gap: 14px; border: 1.5px solid var(--mpc-line); border-radius: 18px; padding: 16px 18px; background: var(--mpc-co-card); color: var(--mpc-forest) !important; text-decoration: none !important; }
.mpc-h-login:hover { border-color: var(--mpc-co-ok); }
.mpc-h-login.is-main { border-color: var(--mpc-co-ok); box-shadow: 0 0 0 3px var(--mpc-mint); }
.mpc-h-login b { display: block; font-size: 17px; }
.mpc-h-login small { color: var(--mpc-muted); font-size: 14px; }
.mpc-h-arr { margin-left: auto; font-size: 20px; color: var(--mpc-co-ok); }
.mpc-h-lg { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; flex: none; color: #fff; font: 800 20px var(--mpc-head); }
.mpc-h-lg.is-wp { background: #21759b; } .mpc-h-lg.is-cp { background: #e8701a; } .mpc-h-lg.is-ed { background: var(--mpc-leaf); font-size: 18px; }
.mpc-h-sec { font: 700 18px var(--mpc-head); margin: 0 0 12px; color: inherit; }
.mpc-h-uses { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mpc-h-use { border: 1px solid var(--mpc-line); border-radius: 16px; padding: 14px 16px; background: var(--mpc-co-card); }
.mpc-h-use__name { display: block; font-size: 14px; font-weight: 600; color: var(--mpc-muted); }
.mpc-h-use__num b { font: 800 24px var(--mpc-head); }
.mpc-h-use__num small { font-size: 15px; font-weight: 600; color: var(--mpc-muted); }
.mpc-h-use > small { color: var(--mpc-muted); font-size: 13px; }
.mpc-h-bar { height: 9px; border-radius: 9px; background: #efe4cc; border: 1px solid var(--mpc-line); overflow: hidden; margin: 8px 0 6px; }
.mpc-h-bar i { display: block; height: 100%; width: 0; background: var(--mpc-leaf); transition: width .4s; }
.is-high .mpc-h-bar i { background: #d99a12; } .is-full .mpc-h-bar i { background: #c2410c; }
.is-wait .mpc-h-bar { opacity: .5; }
.mpc-h-note { margin: 12px 0 0; font-size: 14.5px; color: var(--mpc-muted); }
.mpc-h-note.is-gor { background: var(--mpc-mint); color: var(--mpc-co-ok-d); border-radius: 12px; padding: 10px 14px; }
.mpc-h-warn { margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; background: #fdf1d4; color: #6b4a00; font-size: 14.5px; }
.mpc-h-warn a { color: inherit; text-decoration: underline; font-weight: 700; }
.mpc-h-foot { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--mpc-line); font-size: 15px; }
.mpc-h-count { font-size: 14px; background: var(--mpc-mint); color: var(--mpc-co-ok-d); border-radius: 999px; padding: 2px 10px; vertical-align: middle; margin-left: 4px; }
.mpc-h-row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: 'n a' 'u u'; gap: 12px 18px; align-items: center; padding: 16px 0; border-top: 1px dashed var(--mpc-line); }
.mpc-h-head + .mpc-h-row { border-top: 0; }
.mpc-h-row__name { grid-area: n; min-width: 0; }
.mpc-h-row__name b { display: block; font: 700 18px var(--mpc-head); margin-bottom: 3px; overflow-wrap: anywhere; }
.mpc-h-row__name small { color: var(--mpc-muted); font-size: 13.5px; }
.mpc-h-row__acts { grid-area: a; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.mpc-h-row__use { grid-area: u; display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.mpc-h-mini small { display: block; font-size: 13px; color: var(--mpc-muted); }
.mpc-h-mini small b { color: var(--mpc-forest); }
.mpc-h-mini .mpc-h-bar { height: 7px; margin: 3px 0 0; }
.mpc-h-mb { display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--mpc-line); border-radius: 999px; padding: 5px 13px 5px 5px; font-size: 14.5px; font-weight: 600; color: var(--mpc-forest) !important; background: var(--mpc-co-card); text-decoration: none !important; }
.mpc-h-mb.is-wp { border-color: var(--mpc-co-ok); }
.mpc-h-mb .mpc-h-lg { width: 26px; height: 26px; border-radius: 8px; font-size: 12px; }
.mpc-h-showall { margin-top: 8px; background: none; border: 1.5px solid var(--mpc-line); border-radius: 999px; padding: 8px 16px; font-weight: 700; color: var(--mpc-forest); cursor: pointer; }
.mpc-h-two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mpc-h-two .mpc-h-card { display: flex; flex-direction: column; align-items: flex-start; }
.mpc-h-two .mpc-h-head { align-self: stretch; }
.mpc-h-li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px dashed var(--mpc-line); color: var(--mpc-forest) !important; text-decoration: none !important; align-self: stretch; }
.mpc-h-head + .mpc-h-li { border-top: 0; }
.mpc-h-li b { display: block; font-size: 15.5px; }
.mpc-h-li small { color: var(--mpc-muted); font-size: 13.5px; }
.mpc-h-dot { font-size: 13px; font-weight: 700; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.mpc-h-dot.is-g { background: var(--mpc-mint); color: var(--mpc-co-ok-d); }
.mpc-h-dot.is-y { background: #fdf1d4; color: #6b4a00; }
.mpc-h-dot.is-r { background: #fde4d6; color: #7a2a06; }
.mpc-h-empty { color: var(--mpc-muted); font-size: 15px; margin: 6px 0 0; }
/* Help guides: shorter on the front page (the forum has its own box now) */
.mpc-home-on .mpc-ghelp__head p, .mpc-home-on .mpc-ghelp .mpc-forumhint { display: none !important; }
/* Your account box */
#mpc-acct .mpc-sum__lines { margin-top: 16px; }
.mpc-acct__who { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--mpc-line); font-size: 15px; display: grid; gap: 2px; }
.mpc-acct__who b { font-size: 16px; }
.mpc-acct__mail { overflow-wrap: anywhere; }
.mpc-acct__links { display: flex; gap: 16px; margin-top: 6px; }
.mpc-acct__links a { color: var(--mpc-co-ok-d); font-weight: 700; text-decoration: none; }
.mpc-acct__boost { margin-top: 18px; display: flex; gap: 12px; align-items: center; background: #fff7dc; border: 1px solid #f1dd9b; border-radius: 16px; padding: 11px 14px; font-size: 14.5px; color: var(--mpc-forest) !important; text-decoration: none !important; }
.mpc-acct__boost b { color: var(--mpc-co-ok-d); }
.mpc-acct__bn { width: 34px; height: 34px; border-radius: 10px; background: var(--mpc-amber); display: grid; place-items: center; flex: none; color: #402408; }
/* Join the Troop */
.mpc-troop-box { margin: 0 0 22px; padding: 22px; border-radius: 22px; border: 1px solid #f1dd9b; background: linear-gradient(160deg, #fff7dc, #fffdf8 60%); color: var(--mpc-forest); }
.mpc-troop-box__top { display: flex; gap: 12px; align-items: center; }
.mpc-troop-box h3 { font: 700 22px var(--mpc-head); margin: 0; color: inherit; }
.mpc-troop-box p { margin: 10px 0 12px; font-size: 15px; }
.mpc-troop-box__list { display: grid; gap: 8px; margin-bottom: 14px; }
.mpc-troop-box__list a { display: block; background: #fff; border: 1px solid var(--mpc-line); border-radius: 14px; padding: 9px 12px; color: var(--mpc-forest) !important; text-decoration: none !important; }
.mpc-troop-box__list b { display: block; font-size: 14.5px; }
.mpc-troop-box__list small { color: var(--mpc-muted); font-size: 13px; }
.mpc-troop-box__go { display: flex; justify-content: center; background: var(--mpc-amber); color: #402408 !important; border-radius: 999px; padding: 12px; font-weight: 800; text-decoration: none !important; }
.mpc-troop-box__note { display: block; margin-top: 8px; color: var(--mpc-muted); font-size: 13px; text-align: center; }
/* Phones and narrow screens */
@media (max-width: 767px) {
  .mpc-h-card { padding: 20px; }
  .mpc-h-logins, .mpc-h-uses, .mpc-h-two, .mpc-h-row__use { grid-template-columns: 1fr; }
  .mpc-h-row { grid-template-columns: 1fr; grid-template-areas: 'n' 'u' 'a'; gap: 10px; }
  .mpc-h-row__acts { justify-content: flex-start; }
  .mpc-h-row__use { gap: 8px; }
}
/* Dark mode */
html[data-theme="dark"] .mpc-home, html[data-theme="dark"] .mpc-h-login, html[data-theme="dark"] .mpc-h-mb, html[data-theme="dark"] .mpc-h-li,
html[data-theme="dark"] .mpc-h-btn.is-line, html[data-theme="dark"] .mpc-h-showall, html[data-theme="dark"] .mpc-troop-box,
html[data-theme="dark"] .mpc-troop-box__list a, html[data-theme="dark"] .mpc-acct__boost { color: var(--mpc-ink) !important; }
html[data-theme="dark"] .mpc-h-card { background: var(--mpc-surface); }
html[data-theme="dark"] .mpc-h-login, html[data-theme="dark"] .mpc-h-use, html[data-theme="dark"] .mpc-h-mb { background: var(--mpc-surface-2); }
html[data-theme="dark"] .mpc-h-login.is-main { box-shadow: 0 0 0 3px #2c3a17; }
html[data-theme="dark"] .mpc-h-pill, html[data-theme="dark"] .mpc-h-count, html[data-theme="dark"] .mpc-h-dot.is-g, html[data-theme="dark"] .mpc-h-note.is-gor { background: #2c3a17; color: var(--mpc-light-green); }
html[data-theme="dark"] .mpc-h-pill.is-amber, html[data-theme="dark"] .mpc-h-dot.is-y, html[data-theme="dark"] .mpc-h-warn { background: #3a2d08; color: #f6d56b; }
html[data-theme="dark"] .mpc-h-dot.is-r { background: #3d1a0c; color: #f7b394; }
html[data-theme="dark"] .mpc-h-head a, html[data-theme="dark"] .mpc-h-foot a, html[data-theme="dark"] .mpc-h-note a, html[data-theme="dark"] .mpc-h-more,
html[data-theme="dark"] .mpc-h-arr, html[data-theme="dark"] .mpc-acct__links a, html[data-theme="dark"] .mpc-acct__boost b { color: var(--mpc-light-green) !important; }
html[data-theme="dark"] .mpc-h-bar { background: #1d1209; border-color: #4a2e12; }
html[data-theme="dark"] .mpc-h-bar i { background: #5fbf2e; }
html[data-theme="dark"] .mpc-h-mini small b { color: var(--mpc-ink); }
html[data-theme="dark"] .mpc-h-btn.is-line, html[data-theme="dark"] .mpc-h-showall { border-color: #5a3d1c; }
html[data-theme="dark"] .mpc-troop-box { background: linear-gradient(160deg, #2e2408, var(--mpc-surface) 60%); border-color: #5a4610; }
html[data-theme="dark"] .mpc-troop-box__list a { background: var(--mpc-surface-2); }
html[data-theme="dark"] .mpc-acct__boost { background: #2e2408; border-color: #5a4610; }
.mpc-h-lg.is-wp { background: #21759b !important; color: #fff !important; } .mpc-h-lg.is-cp { background: #e8701a !important; color: #fff !important; } .mpc-h-lg.is-ed { background: var(--mpc-leaf) !important; color: #fff !important; }
.mpc-acct__bn { background: #f6c945 !important; color: #402408 !important; }
html[data-theme="dark"] #mpc-acct .mpc-acct__who, html[data-theme="dark"] #mpc-acct .mpc-acct__who b, html[data-theme="dark"] #mpc-acct .mpc-acct__who span { color: var(--mpc-ink) !important; }
html[data-theme="dark"] .is-high .mpc-h-bar i { background: #d99a12; } html[data-theme="dark"] .is-full .mpc-h-bar i { background: #e0602a; }
/* 4.5: staff viewing as a customer: a small tag on the name, Return to Staff Portal inside the name menu */
.mpc-staff-tag { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: var(--mpc-amber); color: #402408; border-radius: 999px; padding: 2px 8px; vertical-align: middle; }
.mpc-staff-item { font-weight: 700; color: var(--mpc-co-ok-d) !important; }
html[data-theme="dark"] .mpc-staff-item { color: var(--mpc-light-green) !important; }
/* 4.5: with Forums in the menu, keep the My Account bar on ONE line on computers:
   the small "My Account" label is left out on computers (the big My Account button and banner say it), and the buttons sit a little closer together */
@media (min-width: 768px) {
  .mpc-subnav-inner { flex-wrap: nowrap !important; }
  .mpc-subnav .mpc-navbar { min-width: 0; }
  .mpc-subnav .mpc-nav-lists { flex-wrap: nowrap !important; }
  .mpc-subnav .mpc-navbar .navbar-nav { flex-wrap: nowrap !important; }
  .mpc-subnav .mpc-navbar .navbar-nav .nav-link { white-space: nowrap; }
}
@media (min-width: 768px) {
  .mpc-subnav-label { display: none !important; }
}
@media (min-width: 768px) and (max-width: 1699px) {
  .mpc-navbar .navbar-nav .nav-link { padding: 0 11px !important; }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .mpc-navbar .navbar-nav .nav-link { padding: 0 8px !important; font-size: 14px !important; }
  .mpc-navbar .navbar-nav .nav-link i { display: none; }
  .mpc-staff-tag { display: none; }
}
/* 4.5 fix: hide every Blesta dashboard box once ours are ready (they load in by themselves, with different names) */
.mpc-home-full #mpc-content .right_content .card-blesta,
.mpc-home-full #mpc-content .right_content .content_section { display: none !important; }
.mpc-home-full #mpc-content .right_content #mpc-home .card-blesta { display: block !important; }
/* 4.5 fix: Payment accounts buttons in a neat row under the table */
.mpc-acts-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 18px 0 0; clear: both; position: static; }
.mpc-acts-row > *, .mpc-acts-row .btn { float: none !important; margin: 0 !important; position: static !important; transform: none !important; }
/* 4.5: "Payments you've made" (Blesta's Transactions) link at the bottom of the Invoices box */
.mpc-h-paylink { margin-top: auto; padding-top: 14px; font-size: 14.5px; font-weight: 700; color: var(--mpc-co-ok-d) !important; text-decoration: none !important; }
.mpc-h-two .mpc-h-card .mpc-h-btn.is-go + .mpc-h-paylink { padding-top: 14px; }
html[data-theme="dark"] .mpc-h-paylink { color: var(--mpc-light-green) !important; }
/* 4.5: Back button at the top of every banner (not the dashboard) */
.mpc-back { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; padding: 5px 14px 5px 11px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); color: #fff !important; font-weight: 700; font-size: 14px; text-decoration: none !important; }
.mpc-back:hover { background: rgba(255,255,255,.24); }
.mpc-back svg { flex: none; display: block; }
.mpc-hero-text .mpc-back + .mpc-hero-eyebrow { display: block; }
/* 4.5 fix: cPanel password form on the live site: both boxes full width, Save button inside the box */
.mpc-cp__form .form-group > [class*="col-"], .mpc-cp__form .row > [class*="col-"] { max-width: 100% !important; flex: 0 0 100% !important; }
.mpc-cp__form .mpc-cp__field, .mpc-cp__form .mpc-cp__field .form-control { width: 100% !important; max-width: none !important; }
.mpc-cp__foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; clear: both; }
.mpc-cp__foot > .mpc-cp__save, .mpc-cp__save { float: none !important; margin: 0 !important; position: static !important; background: var(--mpc-co-ok) !important; border: 0 !important; color: #fff !important; border-radius: 999px !important; padding: 12px 24px !important; font-weight: 800; }
.mpc-cp__save i { display: none; }
.mpc-cp__form .row { margin-left: 0 !important; margin-right: 0 !important; }
.mpc-cp__form .row > [class*="col-"] { padding-left: 0 !important; padding-right: 0 !important; }

/* 4.6: "Ask for a change" for Chimp too. Three buttons: WordPress and cPanel side by side,
   Ask for a change across the full width under them (one per line on phones, rule above). */
.mpc-h-logins.is-3 > .is-ask { grid-column: 1 / -1; }
.mpc-h-login.is-ask { background: var(--mpc-mint); border-color: transparent; }
html[data-theme="dark"] .mpc-h-login.is-ask { background: #2c3a17; }
.mpc-h-mb.is-ask .mpc-h-lg { font-size: 12px; }
/* Rows with three buttons: keep the website name readable, let the buttons wrap instead */
@media (min-width: 768px) {
  .mpc-h-row { grid-template-columns: minmax(230px, 1fr) minmax(0, auto); }
  .mpc-h-row__name b { overflow-wrap: normal; word-break: normal; }
}


/* 4.6: Payments made. Invoice paid (MPC-1020) on top, short card reference underneath */
.mpc-ref { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 3px; font: inherit; background: none; padding: 0; border-radius: 0; color: inherit; }
.mpc-ref__inv { font-weight: 700; color: var(--mpc-green, #2f8f1a); white-space: nowrap; text-decoration: none; }
.mpc-ref__inv:hover { text-decoration: underline; }
.mpc-ref__plus { color: var(--mpc-muted); }
.mpc-ref__credit { color: var(--mpc-muted); font-style: italic; }
.mpc-ref__short { font-size: 13px; color: var(--mpc-muted); white-space: nowrap; cursor: help; }
.mpc-ref__short .mpc-ref__dots { opacity: .6; }
html[data-theme="dark"] .mpc-ref { background: none; color: inherit; }
html[data-theme="dark"] .mpc-ref__inv { color: #7fd35a; }
.mpc-ref__invs { white-space: nowrap; }


/* ===== Brand colours (25 Nov 2026) =====
   One button green everywhere: leaf dark #2a7a0d (easy to read with white text, same as the website).
   Every Pay button is amber with brown text, like the website's main buttons.
   Box cream matches the website cream #fdf8ec. Dark mode keeps its own box colours. */
body { --mpc-co-ok: #2a7a0d; --mpc-co-ok-d: #236a0a; --c-ok: #2a7a0d; --c-ok-d: #236a0a; --mpc-co-card: #fdf8ec; --c-bg: #fdf8ec; }
html[data-theme="dark"] body { --mpc-co-ok: #2a7a0d; --mpc-co-ok-d: #236a0a; --c-ok: #2a7a0d; --c-ok-d: #236a0a; }
.mpc-modern, html[data-theme="dark"] .mpc-modern { --mpc-go: #2a7a0d; --mpc-go-hover: #236a0a; }

/* green buttons that had their own lighter greens */
html:is([data-theme],:not([data-theme])) body .mpc-replied__go, html:is([data-theme],:not([data-theme])) body .mpc-convo-bar__go, html:is([data-theme],:not([data-theme])) body .mpc-keep__go, html:is([data-theme],:not([data-theme])) body .mpc-keep__stay, html:is([data-theme],:not([data-theme])) body .mpc-keep__tag { background: #2a7a0d !important; }
html:is([data-theme],:not([data-theme])) body .mpc-replied li a:hover .mpc-replied__go, html:is([data-theme],:not([data-theme])) body .mpc-convo-bar__go:hover, html:is([data-theme],:not([data-theme])) body .mpc-keep__go:hover, html:is([data-theme],:not([data-theme])) body .mpc-keep__stay:hover { background: #236a0a !important; }
html[data-theme="dark"] body .mpc-bbco__go, html[data-theme="dark"] body .mpc-dco__go,
html[data-theme="dark"] body .mpc-dco__webbtns .mpc-dom-hosting__btn.is-main,
html[data-theme="dark"] body .mpc-plan-actions .btn-group .btn-success, html[data-theme="dark"] body .mpc-plan-top__go,
html[data-theme="dark"] body.mpc-ordering #package-config button[type="submit"].btn-success.btn-success,
html[data-theme="dark"] body #create-account.mpc-co__acct button.mpc-co__go.mpc-co__go { background: #2a7a0d !important; border-color: #2a7a0d !important; color: #fff !important; }

/* every Pay button: amber, brown text (light and dark) */
html:is([data-theme],:not([data-theme])) body .mpc-co__pay, html:is([data-theme],:not([data-theme])) body .mpc-hero-act.is-pay,
html:is([data-theme],:not([data-theme])) body a.mpc-sum__go[href*="/pay"], html:is([data-theme],:not([data-theme])) body .mpc-h-btn.is-go[href*="/pay"],
html:is([data-theme],:not([data-theme])) body .mpc-balance__pay, html:is([data-theme],:not([data-theme])) body .mpc-balance-box a[href*="/pay"] {
  background: #f6c945 !important; border-color: #f6c945 !important; color: #402408 !important; box-shadow: none !important; }
html:is([data-theme],:not([data-theme])) body .mpc-co__pay:hover, html:is([data-theme],:not([data-theme])) body .mpc-hero-act.is-pay:hover,
html:is([data-theme],:not([data-theme])) body a.mpc-sum__go[href*="/pay"]:hover, html:is([data-theme],:not([data-theme])) body .mpc-h-btn.is-go[href*="/pay"]:hover,
html:is([data-theme],:not([data-theme])) body .mpc-balance__pay:hover, html:is([data-theme],:not([data-theme])) body .mpc-balance-box a[href*="/pay"]:hover { background: #e6b92f !important; border-color: #e6b92f !important; }
/* ===== end brand colours ===== */

/* 4.6 (25 Nov): bigger usage bars and text on the front page (Matthew: "a bit bigger") */
.mpc-h-bar { height: 13px; border-radius: 13px; margin: 10px 0 8px; }
.mpc-h-use__name { font-size: 15.5px; }
.mpc-h-use__num b { font-size: 28px; }
.mpc-h-use__num small { font-size: 16.5px; }
.mpc-h-use > small { font-size: 14.5px; }
.mpc-h-mini small { font-size: 15.5px; }
.mpc-h-mini .mpc-h-bar { height: 11px; border-radius: 11px; margin: 6px 0 0; }

/* 4.6 (27 Nov): free move line under "Included with every plan" */
.mpc-included__move{margin:10px 0 0;font-size:14px;color:var(--mpc-muted)}

/* ---------- 4.6 (27 Nov): Open ticket page tidy + Website moves ----------
   The form sat on a white panel inside the cream box (white corners showed round the forums note).
   Website moves: "What to tell us" box with a no-passwords note (javascript/mpc-moves.js). */
body #mpc-content #open-ticket > .card-content,
body #mpc-content #open-ticket > .card-content > .card-body,
body #mpc-content #open-ticket #create_ticket,
body #mpc-content #open-ticket #create_ticket > .form-group { background: transparent !important; box-shadow: none !important; }
.mpc-moves { margin: 0 0 22px; padding: 20px 22px; border-radius: 18px; background: var(--mpc-mint); border: 1px solid rgba(72, 176, 28, .35); color: var(--mpc-forest); }
.mpc-moves__title { margin: 0 0 4px; font: 800 19px/1.25 var(--mpc-head); color: var(--mpc-forest); }
.mpc-moves__lead { margin: 0 0 14px; font-size: 15px; line-height: 1.5; color: var(--mpc-muted); }
.mpc-moves__list { counter-reset: mpcmv; list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
.mpc-moves__list li { counter-increment: mpcmv; position: relative; padding-left: 36px; font-size: 15px; line-height: 1.4; }
.mpc-moves__list li::before { content: counter(mpcmv); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--mpc-leaf-dark); color: #fff; font: 800 13px/1 var(--mpc-body); }
.mpc-moves__list b { display: block; font-weight: 700; color: var(--mpc-forest); }
.mpc-moves__list span { display: block; color: var(--mpc-muted); font-size: 14px; }
.mpc-moves__tip { margin: 0 0 14px; font-size: 14.5px; line-height: 1.5; color: var(--mpc-muted); }
.mpc-moves__tip b { color: var(--mpc-forest); }
.mpc-moves__safe { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: #fff7dc; border: 1px solid #ecd590; }
.mpc-moves__safe p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--mpc-muted); }
.mpc-moves__safe b { display: block; color: var(--mpc-forest); font-size: 15px; margin-bottom: 2px; }
.mpc-moves__lock { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--mpc-amber); color: var(--mpc-forest); }
.mpc-moves__lock svg { width: 17px; height: 17px; }
a.mpc-moves__guide { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--mpc-leaf-dark) !important; text-decoration: none; }
a.mpc-moves__guide:hover { text-decoration: underline; }
.mpc-sum__moves li > b { max-width: 60%; line-height: 1.35; }
@media (max-width: 600px) {
  .mpc-moves { padding: 16px; }
  .mpc-moves__list { grid-template-columns: minmax(0, 1fr); }
}
html[data-theme="dark"] .mpc-moves { background: #253520; border-color: rgba(155, 227, 106, .25); color: #f6edd6; }
html[data-theme="dark"] .mpc-moves__title, html[data-theme="dark"] .mpc-moves__list b, html[data-theme="dark"] .mpc-moves__tip b, html[data-theme="dark"] .mpc-moves__safe b { color: #fff; }
html[data-theme="dark"] .mpc-moves__lead, html[data-theme="dark"] .mpc-moves__list span, html[data-theme="dark"] .mpc-moves__tip, html[data-theme="dark"] .mpc-moves__safe p { color: #d9c6a5; }
html[data-theme="dark"] .mpc-moves__list li::before { background: #8be05a; color: #1d1408; }
html[data-theme="dark"] .mpc-moves__safe { background: #3a2c12; border-color: #6b5320; }
html[data-theme="dark"] a.mpc-moves__guide { color: #8be05a !important; }

/* 4.6: one calm Account credit box (replaces Blesta's two green Credits boxes), matching the automatic payment box */
.mpc-credit { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 12px; margin: 0 0 16px; padding: 18px 20px; background: var(--mpc-card, #ffffff); border: 1px solid var(--mpc-line); border-radius: var(--mpc-radius, 18px); color: var(--mpc-forest); }
.mpc-credit__label { font-weight: 700; }
.mpc-credit__amt { font-family: var(--mpc-head, inherit); font-weight: 800; font-size: 20px; text-align: right; }
.mpc-credit__note { grid-column: 1 / -1; color: var(--mpc-muted); font-size: 14px; line-height: 1.45; }
.mpc-credit__add { grid-column: 1 / -1; margin-top: 6px; font-weight: 700; color: var(--mpc-leaf-dark) !important; text-decoration: underline; text-underline-offset: 3px; }
.mpc-credit__add:hover { text-decoration-thickness: 2px; }
html[data-theme="dark"] .mpc-credit { background: var(--mpc-surface-2); border-color: var(--mpc-line); color: var(--mpc-ink); }
