/* HostBill's Arc reference layer uses html:root and !important on .collapse.show
   and sidebar links. Match that specificity for the actual sub-nav markup. */
html:root body.template_2019 .sidebar .sub-nav,
html:root body.template_2019 .sidebar .sub-nav.collapse.show {
  position: static;
  min-width: 0;
  margin: 3px 3px 10px 11px;
  padding: 7px !important;
  border: 1px solid #c9dcf5 !important;
  border-radius: 11px !important;
  background: #f7faff !important;
  box-shadow: inset 0 1px 2px rgba(25,55,95,.04);
}
/* HostBill paints the inner ul.nav-subnav dark separately from its .sub-nav wrapper. */
html:root body.template_2019 .sidebar .sub-nav .nav {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  list-style: none !important;
}
html:root body.template_2019 .sidebar .sub-nav .nav-item > .nav-link {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  min-width: 0;
  min-height: 38px;
  margin: 0 !important;
  padding: 9px 10px !important;
  border-radius: 7px !important;
  background: transparent !important;
  color: #31527e !important;
  font-size: .82rem;
  line-height: 1.35;
  white-space: normal !important;
  overflow-wrap: anywhere;
  text-decoration: none !important;
  box-shadow: none !important;
}
html:root body.template_2019 .sidebar .sub-nav .nav-item > .nav-link:hover,
html:root body.template_2019 .sidebar .sub-nav .nav-item > .nav-link:focus-visible {
  background: #e5f0ff !important;
  color: #0d4fb9 !important;
}
html:root body.template_2019 .sidebar .sub-nav .nav-item > .nav-link.active {
  background: #d8e9ff !important;
  color: #0d4fb9 !important;
  font-weight: 700 !important;
}
html:root body.template_2019 .sidebar .sub-nav .sub-nav {
  margin: 4px 0 5px 9px;
  background: #fff !important;
}
html:root body.template_2019 .sidebar .sub-nav .badge {
  flex: 0 0 auto;
  margin-left: auto;
  border-radius: 999px;
  background: #e4efff !important;
  color: #1554ad !important;
}
html:root body.template_2019 .sidebar .sub-nav .nav-link .material-icons {
  color: inherit !important;
}
html:root body.template_2019 .sidebar .nav-link-dropdown {
  border-radius: 9px;
  font-weight: 700 !important;
}
html:root body.template_2019 .sidebar .nav-link-dropdown:not(.collapsed) {
  background: #e5f0ff !important;
  color: #0d4fb9 !important;
}
html:root body.template_2019 .sidebar .sub-nav .nav-item > .nav-link.nav-link-dropdown:not(.collapsed) {
  background: #e5f0ff !important;
  color: #0d4fb9 !important;
}
html:root body.template_2019 .sidebar .nav-link-dropdown:not(.collapsed) .icon-expand {
  transform: rotate(180deg);
}
body.template_2019 .section-account-service {
  margin-top: 22px;
  row-gap: 16px;
}
body.template_2019 .arc-managed-service {
  margin: 18px 0;
  padding: clamp(16px, 2vw, 26px);
  border: 1px solid #d6e3f4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(22,67,129,.06);
}
/* Module-provided replacement views may supply their own card markup instead
   of HostBill's service-details rows. Restrict these surfaces to that view. */
html:root body.template_2019 .arc-managed-service .card,
html:root body.template_2019 .arc-managed-service .panel,
html:root body.template_2019 .arc-managed-service .info-box,
html:root body.template_2019 .arc-managed-service .bordered-section {
  border: 1px solid #d6e3f4 !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 8px 22px rgba(22,67,129,.06) !important;
}
html:root body.template_2019 .arc-managed-service .card-header,
html:root body.template_2019 .arc-managed-service .panel-heading {
  border-bottom: 1px solid #dce7f6 !important;
  background: #f2f7ff !important;
  color: #17263e !important;
}
html:root body.template_2019 .arc-managed-service .service-details-line {
  border-color: #e2eaf6 !important;
  border-radius: 10px;
  background: #f8fbff !important;
}
/* Billing and generic VPS information use the same HostBill service-details
   rows. Turn only those rows into cards; leave module forms and tables alone. */
html:root body.template_2019 .section-account.section-account-service .service-details,
html:root body.template_2019 .arc-managed-service .service-details {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px !important;
  border: 1px solid #d6e3f4 !important;
  border-radius: 14px !important;
  background: #fff !important;
}
html:root body.template_2019 .section-account.section-account-service .service-details > .service-details-line,
html:root body.template_2019 .arc-managed-service .service-details > .service-details-line {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start;
  gap: 8px;
  flex: none !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  margin: 0;
  padding: 18px !important;
  border: 1px solid #e2eaf6 !important;
  border-radius: 10px;
  background: #f8fbff !important;
  overflow-wrap: anywhere;
}
html:root body.template_2019 .section-account.section-account-service .service-details > .service-details-line > small,
html:root body.template_2019 .arc-managed-service .service-details > .service-details-line > small {
  color: #627590 !important;
  font-size: .73rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
html:root body.template_2019 .section-account.section-account-service .service-details > .service-details-line > .text-small,
html:root body.template_2019 .arc-managed-service .service-details > .service-details-line > .text-small {
  color: #17263e !important;
  font-weight: 650;
}
body.template_2019 .service-details > hr {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
  border-color: #e2eaf6;
}
body.template_2019 .arc-service-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px 32px;
  border: 1px solid #1a64ce;
  border-radius: 16px;
  background: linear-gradient(115deg, #103b81, #1769e0);
  box-shadow: 0 16px 32px #174d9d24;
  color: #fff !important;
}
html:root body.template_2019 .arc-service-hero h1,
html:root body.template_2019 .arc-service-hero h2,
html:root body.template_2019 .arc-service-hero .h2,
html:root body.template_2019 .arc-service-hero .arc-eyebrow,
html:root body.template_2019 .arc-service-hero .arc-service-meta,
html:root body.template_2019 .arc-service-hero .icon-info-color {
  color: #fff !important;
}
body.template_2019 .arc-service-hero .arc-service-meta { opacity: .82; }
body.template_2019 .arc-service-hero .arc-status-line .badge {
  padding: 8px 12px;
  border: 1px solid #ffffff88;
  border-radius: 999px;
  background: #ffffff24;
  color: #fff !important;
}
body.template_2019 .section-account-service .leftnavigation-box {
  padding: 10px;
  border: 1px solid #d6e3f4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(22,67,129,.06);
}
body.template_2019 .section-account-service .leftnavigation-box .nav-link {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 2px 0;
  padding: 10px 12px;
  border-radius: 8px;
  color: #3f5b7c;
  font-weight: 600;
}
body.template_2019 .section-account-service .leftnavigation-box .nav-link:hover,
body.template_2019 .section-account-service .leftnavigation-box .nav-link.active {
  background: #eaf2ff;
  color: #155ac2;
}
body.template_2019 .section-account-service .leftnavigation-box .nav-link.text-danger {
  color: #b43e4c !important;
}
body.template_2019 .section-account-service .cloud {
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px !important;
  padding: 15px 20px;
  border: 1px solid #d6e3f4;
  border-radius: 13px;
  background: #fff;
}
body.template_2019 .section-account-service .cloud h4 {
  margin: 0;
  color: #14243d;
  font-weight: 700;
}
body.template_2019 .section-account-service .bordered-section,
body.template_2019 .section-account-service .table-borders {
  overflow: hidden;
  border: 1px solid #d6e3f4;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(22,67,129,.06);
}
body.template_2019 .section-account-service .service-details-line {
  border-color: #e4ecf7;
}
body.template_2019 .section-account-service .service-details-line small,
body.template_2019 .arc-vps-details small {
  color: #627590;
  font-size: .73rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
body.template_2019 .arc-vps-details .row {
  padding: 9px 14px;
}
body.template_2019 .arc-vps-details .row > [class*="col-"] > .p-4 {
  height: calc(100% - 12px);
  margin: 6px 0;
  padding: 19px !important;
  border: 1px solid #e4ecf7;
  border-radius: 10px;
  background: #f8fbff;
  overflow-wrap: anywhere;
}
body.template_2019 .arc-status-refresh {
  color: #155ac2;
  font-weight: 700;
}
body.template_2019 .arc-vps-status .table {
  margin-bottom: 0;
}
body.template_2019 .arc-vps-status td {
  padding: 15px 18px;
  border-color: #e4ecf7;
  vertical-align: middle;
}
body.template_2019 .arc-vps-status h3 {
  margin: 0;
  color: #627590;
  font-size: .78rem;
  font-weight: 700;
}
body.template_2019 .arc-power-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
body.template_2019 .arc-power-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid #a9c9f0;
  border-radius: 9px;
  background: #eaf3ff;
  color: #1554ad !important;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: background .18s, border-color .18s, transform .18s;
}
body.template_2019 .arc-power-button:hover {
  transform: translateY(-1px);
  border-color: #1769e0;
  background: #dbeaff;
}
body.template_2019 .arc-power-button:focus-visible {
  outline: 2px solid #1769e0;
  outline-offset: 2px;
}
body.template_2019 .arc-power-button .material-icons {
  font-size: 18px;
}
body.template_2019 .arc-power-start {
  border-color: #acd6c4;
  background: #e8f8ef;
  color: #17694e !important;
}
body.template_2019 .arc-power-start:hover { background: #d5f0e1; border-color: #4baf80; }
body.template_2019 .arc-power-stop {
  border-color: #f0c8cd;
  background: #fff0f1;
  color: #a33445 !important;
}
body.template_2019 .arc-power-stop:hover { background: #ffe1e5; border-color: #d57380; }

/* HostBill's service navigation is separate from the global .sidebar.
   The module supplies the menu labels and native command links; keep their
   href/onclick handlers and give those existing controls a button surface. */
html:root body.template_2019 .section-account.section-account-service .leftnavigation-box {
  padding: 10px !important;
  border: 1px solid #d6e3f4 !important;
  border-radius: 14px;
  background: #fff !important;
  box-shadow: 0 10px 28px rgba(22,67,129,.08) !important;
}
html:root body.template_2019 .section-account.section-account-service .leftnavigation-box > li.nav-item {
  margin: 3px 0 !important;
}
html:root body.template_2019 .section-account.section-account-service .leftnavigation-box > li.nav-item > a.nav-link {
  display: flex !important;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 42px;
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 1px solid #e0eaf7 !important;
  border-radius: 9px;
  background: #f8fbff !important;
  color: #31547e !important;
  font-weight: 700;
  text-decoration: none !important;
}
html:root body.template_2019 .section-account.section-account-service .leftnavigation-box > li.nav-item > a.nav-link:hover,
html:root body.template_2019 .section-account.section-account-service .leftnavigation-box > li.nav-item > a.nav-link.active {
  border-color: #8cb8f6 !important;
  background: #e8f2ff !important;
  color: #155ac2 !important;
}
html:root body.template_2019 .section-account.section-account-service .leftnavigation-box > li.nav-item > a.nav-link.text-danger {
  border-color: #eed1d7 !important;
  background: #fff6f7 !important;
  color: #ae3648 !important;
}
html:root body.template_2019 .section-account.section-account-service #vm-menu {
  position: relative !important;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  width: auto !important;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
  list-style: none;
}
html:root body.template_2019 .section-account.section-account-service #vm-menu > li {
  position: relative !important;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}
html:root body.template_2019 .section-account.section-account-service #vm-menu > li > a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 13px !important;
  border: 1px solid #c6d9f2 !important;
  border-radius: 9px;
  background: #f2f7ff !important;
  color: #155ac2 !important;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  box-shadow: none !important;
}
html:root body.template_2019 .section-account.section-account-service #vm-menu > li > a:hover,
html:root body.template_2019 .section-account.section-account-service #vm-menu > li > a:focus-visible {
  border-color: #1769e0 !important;
  background: #1769e0 !important;
  color: #fff !important;
}
@media (max-width: 767px) {
  html:root body.template_2019 .section-account.section-account-service .service-details,
  html:root body.template_2019 .arc-managed-service .service-details { grid-template-columns: 1fr; }
  body.template_2019 .arc-service-hero { flex-wrap: wrap; padding: 23px 20px; }
  body.template_2019 .arc-vps-status td { padding: 12px; }
  body.template_2019 .arc-power-button { flex: 1 1 auto; }
}

/* Module-rendered service pages can bypass HostBill's standard leftnavigation-box
   and vm-menu. The tiny service-page script marks only the existing links and
   detail rows; no native command or URL is replaced. */
html:root body.template_2019 .arc-module-nav {
  display: flex !important;
  flex-direction: column !important;
  gap: 5px;
  width: 100%;
  margin: 0 !important;
  padding: 10px !important;
  border: 1px solid #d6e3f4 !important;
  border-radius: 14px;
  background: #fff !important;
  box-shadow: 0 10px 28px rgba(22,67,129,.08);
  list-style: none;
}
html:root body.template_2019 .arc-module-nav .arc-module-nav-link {
  display: flex !important;
  align-items: center;
  width: 100%;
  min-height: 42px;
  margin: 0 !important;
  padding: 10px 13px !important;
  border: 1px solid #e0eaf7 !important;
  border-radius: 9px !important;
  background: #f8fbff !important;
  color: #31547e !important;
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none !important;
  box-shadow: none !important;
}
html:root body.template_2019 .arc-module-nav .arc-module-nav-link:hover,
html:root body.template_2019 .arc-module-nav .arc-module-nav-link:focus-visible,
html:root body.template_2019 .arc-module-nav .arc-module-nav-link.active,
html:root body.template_2019 .arc-module-nav .active .arc-module-nav-link,
html:root body.template_2019 .arc-module-nav .selected .arc-module-nav-link,
html:root body.template_2019 .arc-module-nav .arc-module-nav-link[aria-selected="true"],
html:root body.template_2019 .arc-module-nav .arc-module-nav-link[aria-current="page"] {
  border-color: #8cb8f6 !important;
  background: #e8f2ff !important;
  color: #155ac2 !important;
}
html:root body.template_2019 .arc-module-actions {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px !important;
  padding: 0 !important;
  list-style: none;
}
html:root body.template_2019 .arc-module-actions > li {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  list-style: none;
}
html:root body.template_2019 .arc-module-actions .arc-module-action {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  margin: 0 !important;
  padding: 8px 11px !important;
  border: 1px solid #c6d9f2 !important;
  border-radius: 10px !important;
  background: linear-gradient(180deg, #fff, #edf5ff) !important;
  color: #155ac2 !important;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  box-shadow: 0 4px 10px rgba(26,75,140,.08) !important;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
html:root body.template_2019 .arc-module-actions .arc-module-action::before {
  content: "";
  display: inline-block;
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  background: currentColor;
  -webkit-mask-image: var(--arc-action-icon);
  mask-image: var(--arc-action-icon);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
html:root body.template_2019 .arc-module-action[data-arc-action="console"] {
  --arc-action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 6l6 6-6 6-1.4-1.4L7.2 12 2.6 7.4 4 6Zm7 11h10v2H11v-2Z'/%3E%3C/svg%3E");
}
html:root body.template_2019 .arc-module-action[data-arc-action="reboot"] {
  --arc-action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.65 6.35A8 8 0 1 0 20 12h-2a6 6 0 1 1-1.76-4.24L13 11h7V4l-2.35 2.35Z'/%3E%3C/svg%3E");
}
html:root body.template_2019 .arc-module-action[data-arc-action="shutdown"] {
  --arc-action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2h-2v10h2V2Zm4.83 3.17-1.42 1.42A7 7 0 1 1 7.59 6.6L6.17 5.17A9 9 0 1 0 17.83 5.17Z'/%3E%3C/svg%3E");
}
html:root body.template_2019 .arc-module-action[data-arc-action="backups"] {
  --arc-action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6H9L7 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2Zm0 12H4V8h16v10Z'/%3E%3C/svg%3E");
}
html:root body.template_2019 .arc-module-action[data-arc-action="more"] {
  --arc-action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 8a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 2a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm0 6a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z'/%3E%3C/svg%3E");
}
html:root body.template_2019 .arc-module-actions .arc-module-action:hover,
html:root body.template_2019 .arc-module-actions .arc-module-action:focus-visible {
  border-color: #1769e0 !important;
  background: #1769e0 !important;
  color: #fff !important;
  box-shadow: 0 7px 16px rgba(23,105,224,.2) !important;
  transform: translateY(-1px);
}
html:root body.template_2019 .arc-module-actions .arc-module-action[data-arc-action="shutdown"] {
  border-color: #efc9cf !important;
  background: linear-gradient(180deg, #fff, #fff0f2) !important;
  color: #a33445 !important;
}
html:root body.template_2019 .arc-module-actions .arc-module-action[data-arc-action="shutdown"]:hover,
html:root body.template_2019 .arc-module-actions .arc-module-action[data-arc-action="shutdown"]:focus-visible {
  border-color: #b94355 !important;
  background: #b94355 !important;
  color: #fff !important;
  box-shadow: 0 7px 16px rgba(185,67,85,.19) !important;
}
html:root body.template_2019 .arc-module-details-heading {
  color: #17263e !important;
  font-size: 1.05rem;
  font-weight: 800;
}
html:root body.template_2019 .arc-module-info-row {
  margin-bottom: 12px;
  border: 1px solid #d6e3f4 !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 8px 22px rgba(22,67,129,.06);
  overflow: hidden;
}
html:root body.template_2019 .arc-module-info-cell {
  min-width: 0;
  padding: 16px 19px !important;
  border: 1px solid #e0eaf7;
  border-radius: 10px;
  background: #f8fbff;
  color: #17263e;
  overflow-wrap: anywhere;
}
html:root body.template_2019 .arc-module-info-row .arc-module-info-cell {
  border: 0;
  border-radius: 0;
  background: transparent;
}
html:root body.template_2019 .arc-module-info-label {
  display: block;
  margin-bottom: 7px;
  color: #627590 !important;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}