/* ================================================================
   custom.css - Override finali FlameNetworks
   Questo file viene caricato per ultimo: qualsiasi regola qui
   sovrascrive theme, animations e Bootstrap senza toccarli.
   Non verrà sovrascritto dagli aggiornamenti del template.
   ================================================================ */

.hidden,
.w-hidden {
  display: none;
}

/* ================================================================
   FlameNetworks brand layer
   ================================================================ */
:root {
  --brand:#0085ca;
  --brand-dark:#006aa3;
  --brand-light:#21a4e8;
  --brand-bg:rgba(0,133,202,.08);
  --brand-bg2:rgba(0,133,202,.16);
  --accent:#a6a7a9;
  --accent-dark:#74777b;
  --accent-bg:rgba(166,167,169,.14);
}

.loader-logo svg,
.vc-sb-logo-wrap svg,
.vc-auth-art-top svg,
.vcl-logo svg {
  display: none !important;
}

.loader-logo,
.vc-sb-logo-wrap,
.vc-auth-art-top,
.vcl-logo {
  background: url("https://grav.flametest.it/user/assets/flamenetworkslogo.webp") no-repeat left center / contain;
}

.loader-logo {
  width: min(320px, 72vw);
  height: 72px;
}

.vc-sb-logo-wrap {
  height: 48px;
  min-height: 48px;
  margin: 2px 20px 10px;
  padding: 0 6px 10px !important;
  background-position: left top !important;
  background-size: 188px auto !important;
}

.vc-auth-art-top,
.vcl-logo {
  width: 230px;
  max-width: 100%;
  min-height: 54px;
}

.vc-auth-art-top {
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.18));
}

.btn-primary,
.btn.btn-primary,
button.btn-primary,
input.btn-primary,
.vcl-submit {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark)) !important;
  border-color: var(--brand-dark) !important;
  color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.vcl-submit:hover,
.vcl-submit:focus {
  background: linear-gradient(135deg, var(--brand-light), var(--brand)) !important;
  border-color: var(--brand) !important;
}

a,
.text-primary,
.vc-card-link,
.vc-sb-item:hover,
.vc-sb-group-hdr:hover,
.vcl-forgot,
.vcl-register a {
  color: var(--brand);
}

.vc-sb-item.active:not(.sub):hover,
.vc-sb-item.active:not(.sub):hover > span,
.vc-sb-item.active:not(.sub):hover > .vc-sb-icon,
.vc-sb-item.active:not(.sub):hover > .vc-sb-hint {
  color: #fff !important;
}

.badge-brand,
.vc-sb-badge.brand,
.nav-badge,
.label-primary {
  background: var(--brand) !important;
  color: #fff !important;
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus,
.vcl-input-wrap input:focus {
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 4px rgba(0,133,202,.12) !important;
}

.vc-auth-page {
  background:
    radial-gradient(circle at 28% 18%, rgba(0,133,202,.18), transparent 28%),
    linear-gradient(135deg,#071827 0%, #0b3555 52%, #04101b 100%) !important;
}

.vc-auth-art {
  background:
    radial-gradient(circle at 28% 14%, rgba(255,255,255,.22), transparent 28%),
    linear-gradient(160deg,#062033 0%, #005f95 58%, #0085ca 100%) !important;
}

.vc-hero {
  background:
    radial-gradient(circle at 82% 22%, rgba(33,164,232,.26), transparent 30%),
    radial-gradient(circle at 100% 94%, rgba(166,167,169,.18), transparent 34%),
    linear-gradient(135deg, #062033 0%, #083f64 55%, #0085ca 100%) !important;
  box-shadow: 0 18px 45px rgba(0,58,96,.20) !important;
}

.vc-hero::before {
  background: radial-gradient(circle, rgba(33,164,232,.30), transparent 65%) !important;
}

.vc-hero::after {
  background: radial-gradient(circle, rgba(166,167,169,.28), transparent 65%) !important;
}

.vc-hero h1 span {
  background: linear-gradient(135deg, #ffffff, #b8e7ff) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

.vc-hero-side-bar > div {
  background: linear-gradient(90deg, rgba(255,255,255,.58), rgba(33,164,232,.95)) !important;
}

.vc-sb-help,
.vc-sb-help:hover,
.vc-sb-help:focus {
  background:
    radial-gradient(circle at 92% 82%, rgba(33,164,232,.34), transparent 34%),
    linear-gradient(135deg, #071827 0%, #0b3555 100%) !important;
}

.vc-sb-help::after {
  background: radial-gradient(circle, rgba(33,164,232,.46), transparent 70%) !important;
}

.vc-am-cr-email .vc-am-cr-icon {
  background: var(--brand) !important;
}

body .vc-hero,
body .vc-services-hero,
body .vc-domains-hero,
body .vc-invoices-hero,
body .vc-quotes-hero,
body .vc-support-hero,
body .vc-ticket-hero,
body .vc-submit-hero,
body .vc-profile-hero,
body .vc-contact-hero,
body .vc-users-hero,
body .vc-security-hero,
body .vc-switch-hero,
body .vc-emails-hero,
body .vc-downloads-hero,
body .vc-addfunds-hero,
body .vc-announcements-hero,
body .vc-announcement-view-hero,
body .vc-pass-hero {
  background:
    radial-gradient(circle at 88% 32%, rgba(33,164,232,.30), transparent 28%),
    radial-gradient(circle at 100% 92%, rgba(166,167,169,.18), transparent 34%),
    linear-gradient(135deg, #062033 0%, #083f64 54%, #0085ca 100%) !important;
  box-shadow: 0 18px 45px rgba(0,58,96,.20) !important;
}

body .vc-hero::before {
  background: radial-gradient(circle, rgba(33,164,232,.30), transparent 65%) !important;
}

body .vc-hero::after {
  background: radial-gradient(circle, rgba(166,167,169,.28), transparent 65%) !important;
}

body .vc-services-hero::after,
body .vc-domains-hero::after,
body .vc-invoices-hero::after,
body .vc-quotes-hero::after,
body .vc-support-hero::after,
body .vc-ticket-hero::after,
body .vc-submit-hero::after,
body .vc-profile-hero::after,
body .vc-contact-hero::after,
body .vc-users-hero::after,
body .vc-security-hero::after,
body .vc-switch-hero::after,
body .vc-emails-hero::after,
body .vc-downloads-hero::after,
body .vc-addfunds-hero::after,
body .vc-announcements-hero::after,
body .vc-announcement-view-hero::after,
body .vc-pass-hero::after {
  background: linear-gradient(90deg, rgba(255,255,255,.55), rgba(33,164,232,.95)) !important;
}

body .vc-sb-help,
body .vc-sb-help:hover,
body .vc-sb-help:focus {
  background:
    radial-gradient(circle at 92% 82%, rgba(33,164,232,.34), transparent 34%),
    linear-gradient(135deg, #071827 0%, #0b3555 100%) !important;
}

body .vc-sb-help::after {
  background: radial-gradient(circle, rgba(33,164,232,.46), transparent 70%) !important;
}

.vc-ticket-avatar.staff {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark)) !important;
  box-shadow: 0 0 0 5px var(--bg,#f6f8fc), 0 10px 22px rgba(0,133,202,.18) !important;
}

.vc-ticket-message.staff .vc-ticket-bubble {
  border-color: rgba(0,133,202,.22) !important;
}

/* ================================================================
   Service detail page - FlameNetworks polish
   ================================================================ */
.vc-product-detail-hero {
  min-height: 148px;
  padding: 28px 32px !important;
  border: 1px solid rgba(0,133,202,.22);
  background:
    radial-gradient(circle at 78% 18%, rgba(33,164,232,.26), transparent 30%),
    radial-gradient(circle at 100% 90%, rgba(166,167,169,.20), transparent 34%),
    linear-gradient(135deg, #062033 0%, #083f64 48%, #0085ca 100%) !important;
  box-shadow: 0 24px 70px rgba(0,58,96,.22) !important;
}

.vc-product-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.10) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(255,255,255,.08) 0 1px, transparent 1px 100%);
  background-size: 42px 42px;
  opacity: .18;
  pointer-events: none;
}

.vc-product-detail-hero::after {
  right: 32px !important;
  bottom: 24px !important;
  width: 190px !important;
  height: 4px !important;
  background: linear-gradient(90deg, rgba(255,255,255,.55), rgba(33,164,232,.96)) !important;
}

.vc-product-detail-hero-left {
  gap: 18px !important;
}

.vc-product-detail-hero-icon {
  width: 68px !important;
  height: 68px !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.16) !important;
  border-color: rgba(255,255,255,.24) !important;
}

.vc-product-detail-hero-icon img,
.vc-service-brand-icon {
  width: 82%;
  height: 82%;
  object-fit: contain;
  display: block;
}

.vc-product-detail-kicker {
  color: rgba(255,255,255,.76) !important;
  letter-spacing: 0 !important;
}

.vc-product-detail-hero h2 {
  font-size: clamp(26px, 2.2vw, 34px) !important;
  letter-spacing: 0 !important;
}

.vc-product-detail-hero p {
  color: rgba(255,255,255,.82) !important;
  font-weight: 650;
}

.vc-product-detail-hero-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  margin-left: auto;
}

.vc-service-status-pill,
.vc-service-date-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  backdrop-filter: blur(12px);
}

.vc-service-status-pill i {
  font-size: 8px;
}

.vc-service-status-pill.ok i { color: #22c55e; }
.vc-service-status-pill.warn i { color: #f59e0b; }
.vc-service-status-pill.danger i { color: #ef4444; }
.vc-service-status-pill.muted i { color: #cbd5e1; }

.vc-service-summary-card,
.vc-service-actions-card,
.vc-product-module-panel,
.vc-product-notes,
.panel.panel-default:has(.vc-product-detail-hero) {
  border-color: rgba(0,133,202,.14) !important;
}

.vc-service-summary-card,
.vc-service-actions-card {
  overflow: hidden;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 0 0, rgba(0,133,202,.06), transparent 34%),
    #fff !important;
  box-shadow: 0 16px 44px rgba(15,34,72,.08) !important;
}

.vc-service-card-head {
  align-items: center !important;
  margin-bottom: 22px !important;
  padding-bottom: 20px !important;
}

.vc-service-type-icon {
  width: 58px !important;
  height: 58px !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, rgba(0,133,202,.12), rgba(33,164,232,.18)) !important;
  color: var(--brand) !important;
  box-shadow: inset 0 0 0 1px rgba(0,133,202,.12);
}

.vc-service-card-head .label {
  border-radius: 999px !important;
  padding: 7px 12px !important;
  box-shadow: 0 8px 22px rgba(22,163,74,.14);
}

.detail-grid {
  gap: 12px !important;
}

.vc-detail-item {
  position: relative;
  min-height: 92px;
  padding: 18px 18px 16px 50px;
  border: 1px solid #e8eef7;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #fbfdff);
}

.vc-detail-item::before {
  content: "\f111";
  position: absolute;
  top: 18px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 9px;
  background: var(--brand-bg);
  color: var(--brand);
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
  font-size: 10px;
  font-weight: 900;
}

.vc-detail-item:nth-child(1)::before { content: "\f073"; }
.vc-detail-item:nth-child(2)::before { content: "\f3d1"; }
.vc-detail-item:nth-child(3)::before { content: "\f2f1"; }
.vc-detail-item:nth-child(4)::before { content: "\f0ac"; }
.vc-detail-item:nth-child(5)::before { content: "\f017"; }
.vc-detail-item:nth-child(6)::before { content: "\f09d"; }

.vc-detail-item .info-label {
  color: #8493aa !important;
  font-size: 11px !important;
  letter-spacing: 0;
}

.vc-detail-item .info-value,
.vc-detail-item .text-fg {
  color: #17233a !important;
  font-size: 15px !important;
  font-weight: 850 !important;
}

.action-bar {
  gap: 10px !important;
  padding-top: 2px;
}

.action-bar .btn,
.action-column .btn {
  min-height: 42px;
  border-radius: 13px !important;
  border-color: #dbe6f3 !important;
  background: #fff !important;
  color: #23314d !important;
  font-weight: 850 !important;
  box-shadow: 0 8px 20px rgba(15,34,72,.04);
}

.action-bar .btn:hover,
.action-column .btn:hover {
  border-color: rgba(0,133,202,.34) !important;
  background: rgba(0,133,202,.07) !important;
  color: var(--brand-dark) !important;
  transform: translateY(-1px);
}

.vc-service-actions-card .panel-heading {
  padding: 20px 22px !important;
  background:
    linear-gradient(180deg, rgba(0,133,202,.06), rgba(255,255,255,0)) !important;
}

.vc-service-actions-card .panel-title {
  font-size: 26px !important;
  letter-spacing: 0;
}

.vc-service-actions-card .panel-title-icon {
  color: var(--brand) !important;
}

.vc-service-actions-card .panel-body {
  padding: 18px 22px 22px !important;
}

.action-column {
  gap: 12px !important;
}

.vc-product-notes {
  border-radius: 18px !important;
  box-shadow: 0 16px 44px rgba(15,34,72,.07) !important;
}

.vc-product-notes-head {
  background:
    linear-gradient(135deg, rgba(0,133,202,.10), rgba(255,255,255,.98)) !important;
}

.vc-product-notes-icon {
  background: rgba(0,133,202,.10) !important;
  color: var(--brand) !important;
}

@media (max-width: 900px) {
  .vc-product-detail-hero {
    align-items: flex-start;
    padding: 24px !important;
  }

  .vc-product-detail-hero-meta {
    width: 100%;
    align-items: flex-start;
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  .vc-product-detail-hero-left {
    align-items: flex-start !important;
  }

  .vc-product-detail-hero-icon {
    width: 54px !important;
    height: 54px !important;
  }

  .vc-detail-item {
    min-height: 84px;
  }
}

/* ================================================================
   Plesk auto-login button (Katamaze module) — theme integration
   ================================================================ */
.plesk-login,
.btn-group.plesk-login {
  width: auto !important;
  display: inline-flex !important;
}

.plesk-login .btn,
.plesk-login > a.btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 42px !important;
  padding: 10px 16px !important;
  border-radius: 13px !important;
  border: 1px solid rgba(0,133,202,.28) !important;
  background: rgba(0,133,202,.08) !important;
  color: var(--brand-dark) !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  box-shadow: 0 8px 20px rgba(15,34,72,.04) !important;
  transition: background .16s, border-color .16s, color .16s, transform .16s !important;
}

.plesk-login .btn:hover,
.plesk-login > a.btn:hover,
.plesk-login .btn:focus,
.plesk-login > a.btn:focus {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark)) !important;
  border-color: transparent !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 12px 28px rgba(0,133,202,.22) !important;
}

.plesk-login .btn img {
  height: 18px !important;
  width: auto !important;
  max-width: none !important;
  display: inline-block !important;
  vertical-align: middle !important;
  filter: none !important;
}

.plesk-login .btn:hover img,
.plesk-login > a.btn:hover img {
  filter: brightness(0) invert(1) !important;
}

.plesk-login .btn i {
  font-size: 13px !important;
}

/* ── Allinea la larghezza degli appunti al contenuto SCP sopra ──────── */
/* Keep collapsed sidebar icons centered while native title tooltips are shown. */
@media (min-width: 769px) {
  .vc-sidebar.vc-sb-collapsed .vc-sb-li:hover > .vc-sb-item,
  .vc-sidebar.vc-sb-collapsed .vc-sb-li:hover > .vc-sb-item.sub {
    padding: 10px !important;
    justify-content: center !important;
  }

  .vc-sidebar.vc-sb-collapsed .vc-sb-li:hover .vc-sb-star {
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .vc-sidebar.vc-sb-collapsed .vc-sb-am-wrap,
  .vc-sidebar.vc-sb-collapsed .vc-sb-am-panel {
    display: none !important;
  }

  .vc-sidebar.vc-sb-collapsed .vc-sb-item > .vc-sb-icon,
  .vc-sidebar.vc-sb-collapsed .vc-sb-group-hdr > .vc-sb-icon {
    margin: 0 !important;
  }
}

.vc-product-notes {
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
}

/* Platform / product notes dark mode */
.vc-dark .vc-product-notes {
  background: #101a2e;
  border-color: rgba(148, 163, 184, 0.22);
  color: #f8fafc;
}

.vc-dark .vc-product-notes-head {
  background: #111d34;
  border-bottom-color: rgba(148, 163, 184, 0.22);
}

.vc-dark .vc-product-notes-icon {
  background: rgba(96, 165, 250, 0.14);
  color: #60a5fa;
}

.vc-dark .vc-product-notes-kicker {
  color: #94a3b8;
}

.vc-dark .vc-product-notes h3 {
  color: #f8fafc;
}

.vc-dark .vc-product-notes p {
  color: #cbd5e1;
}

.vc-dark .vc-product-notes textarea.form-control {
  background: #0b1426;
  border-color: rgba(148, 163, 184, 0.28);
  color: #f8fafc;
  box-shadow: none;
}

.vc-dark .vc-product-notes textarea.form-control::placeholder {
  color: #7f8ea3;
}

.vc-dark .vc-product-notes textarea.form-control:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.14);
}

.vc-dark .vc-product-notes .btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-color: transparent;
  color: #ffffff;
}

/* ================================================================
   Domain detail page - resilient tab layout
   ================================================================ */
.vc-domain-detail-page {
  width: min(1500px, 100%);
  margin: 0 auto 34px;
  color: #17233a;
}

.vc-domain-detail-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 142px;
  margin-bottom: 18px;
  padding: 28px 32px;
  border: 1px solid rgba(0,133,202,.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at 78% 14%, rgba(33,164,232,.28), transparent 31%),
    radial-gradient(circle at 100% 100%, rgba(166,167,169,.18), transparent 35%),
    linear-gradient(135deg, #062033 0%, #083f64 50%, #0085ca 100%);
  box-shadow: 0 24px 70px rgba(0,58,96,.20);
}

.vc-domain-detail-hero::after {
  content: "";
  position: absolute;
  right: 32px;
  bottom: 24px;
  width: 180px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,.52), rgba(33,164,232,.95));
}

.vc-domain-detail-hero-left {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.vc-domain-detail-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 18px;
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: 26px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.vc-domain-detail-kicker {
  margin-bottom: 4px;
  color: rgba(255,255,255,.76);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.vc-domain-detail-hero h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 2.1vw, 34px);
  font-weight: 900;
  letter-spacing: 0;
  word-break: break-word;
}

.vc-domain-detail-hero p {
  margin: 6px 0 0;
  color: rgba(255,255,255,.82);
  font-size: 14px;
  font-weight: 650;
}

.vc-domain-status-pill {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: rgba(255,255,255,.13);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
  backdrop-filter: blur(12px);
}

.vc-domain-status-pill i {
  font-size: 8px;
}

.vc-domain-status-pill.ok i {
  color: #22c55e;
}

.vc-domain-status-pill.muted i {
  color: #cbd5e1;
}

.vc-domain-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 14px !important;
  padding: 0 !important;
  border: 0 !important;
}

.vc-domain-tabs > li {
  float: none !important;
  margin: 0 !important;
}

.vc-domain-tabs > li > a {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  margin: 0 !important;
  padding: 11px 14px !important;
  border: 1px solid #dbe6f3 !important;
  border-radius: 13px !important;
  background: #fff !important;
  color: #52627a !important;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
}

.vc-domain-tabs > li > a:hover,
.vc-domain-tabs > li > a:focus {
  border-color: rgba(0,133,202,.34) !important;
  background: rgba(0,133,202,.07) !important;
  color: var(--brand-dark) !important;
}

.vc-domain-tabs > li.active > a,
.vc-domain-tabs > li.active > a:hover,
.vc-domain-tabs > li.active > a:focus {
  border-color: transparent !important;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark)) !important;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(0,133,202,.22);
}

.vc-domain-direct-tab-form,
.vc-domain-dns-inline-form {
  margin: 0;
}

.vc-domain-tabs > li > a.vc-domain-direct-tab,
.vc-domain-tabs > li > button.vc-domain-direct-tab {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  border-color: rgba(0,133,202,.24) !important;
  background: rgba(0,133,202,.08) !important;
  color: var(--brand-dark) !important;
  min-height: 42px;
  margin: 0 !important;
  padding: 11px 14px !important;
  border-width: 1px !important;
  border-style: solid !important;
  border-radius: 13px !important;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
}

.vc-domain-tabs > li > button.vc-domain-direct-tab {
  appearance: none;
  cursor: pointer;
}

.vc-domain-tabs > li > a.vc-domain-direct-tab:hover,
.vc-domain-tabs > li > a.vc-domain-direct-tab:focus,
.vc-domain-tabs > li > button.vc-domain-direct-tab:hover,
.vc-domain-tabs > li > button.vc-domain-direct-tab:focus {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark)) !important;
  color: #fff !important;
}

.vc-domain-tab-content {
  padding: 26px !important;
  border: 1px solid rgba(0,133,202,.14);
  border-radius: 20px;
  background:
    radial-gradient(circle at 0 0, rgba(0,133,202,.05), transparent 32%),
    #fff;
  box-shadow: 0 16px 44px rgba(15,34,72,.08);
}

.vc-domain-tab-content > .tab-pane {
  display: none;
  opacity: 1;
}

.vc-domain-tab-content > .tab-pane.active,
.vc-domain-tab-content > .tab-pane.show,
.vc-domain-tab-content > .tab-pane.in {
  display: block;
  opacity: 1;
}

.vc-domain-tab-content h3 {
  margin: 0 0 20px;
  color: #111b31;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
}

.vc-domain-tab-content #tabOverview > .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 12px !important;
}

.vc-domain-tab-content #tabOverview > .row > [class*="col-"] {
  width: auto !important;
  min-height: 86px;
  margin: 0 !important;
  padding: 18px !important;
  border: 1px solid #e8eef7;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #fbfdff);
}

.vc-domain-tab-content h4 {
  margin: 0 0 8px;
  color: #8493aa;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.vc-domain-tab-content h4 strong {
  font-weight: 850;
}

.vc-domain-tab-content span,
.vc-domain-tab-content a:not(.btn) {
  font-weight: 750;
}

.vc-domain-tab-content a:not(.btn) {
  color: var(--brand);
}

.vc-domain-tab-content .form-horizontal,
.vc-domain-tab-content form {
  margin-top: 12px;
}

.vc-domain-tab-content .form-control {
  min-height: 44px;
  border-color: #dbe6f3;
  border-radius: 12px;
}

.vc-domain-tab-content .btn {
  min-height: 40px;
  border-radius: 12px !important;
  font-weight: 850 !important;
}

.vc-domain-tab-content .alert {
  border-radius: 14px;
}

.vc-domain-dns-callout {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0 0;
  padding: 16px;
  border: 1px solid rgba(0,133,202,.18);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(239,248,255,.96)),
    radial-gradient(circle at 100% 0%, rgba(0,133,202,.12), transparent 34%);
}

.vc-domain-dns-callout-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 14px;
  background: rgba(0,133,202,.10);
  color: var(--brand);
  font-size: 18px;
}

.vc-domain-dns-callout-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.vc-domain-dns-callout-copy strong {
  color: #17233a;
  font-size: 15px;
  font-weight: 900;
}

.vc-domain-dns-callout-copy span {
  color: #65758e;
  font-size: 13px;
  font-weight: 650;
}

.vc-dom-inline-form {
  margin: 0;
}

.vc-dom-inline-form .btn {
  width: 100%;
}

.vc-dom-dns-btn {
  color: var(--brand-dark) !important;
  background: rgba(0,133,202,.08) !important;
  border-color: rgba(0,133,202,.18) !important;
}

.vc-dom-dns-btn:hover,
.vc-dom-dns-btn:focus {
  color: #fff !important;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark)) !important;
  border-color: transparent !important;
}

.vc-domain-dns-page {
  width: min(1500px, 100%);
  margin: 0 auto 34px;
  color: #17233a;
}

.vc-domain-dns-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 132px;
  margin-bottom: 18px;
  padding: 26px 30px;
  border: 1px solid rgba(0,133,202,.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at 78% 14%, rgba(33,164,232,.28), transparent 31%),
    radial-gradient(circle at 100% 100%, rgba(166,167,169,.18), transparent 35%),
    linear-gradient(135deg, #062033 0%, #083f64 50%, #0085ca 100%);
  box-shadow: 0 24px 70px rgba(0,58,96,.20);
}

.vc-domain-dns-hero::after {
  content: "";
  position: absolute;
  right: 30px;
  bottom: 22px;
  width: 170px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,.55), rgba(33,164,232,.95));
}

.vc-domain-dns-hero-left {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.vc-domain-dns-hero-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 18px;
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: 24px;
}

.vc-domain-dns-hero h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(25px, 2vw, 32px);
  font-weight: 900;
  letter-spacing: 0;
}

.vc-domain-dns-hero p {
  margin: 6px 0 0;
  color: rgba(255,255,255,.82);
  font-weight: 700;
}

.vc-domain-dns-hero .btn {
  position: relative;
  z-index: 1;
  border-color: rgba(255,255,255,.24) !important;
  background: rgba(255,255,255,.13) !important;
  color: #fff !important;
  font-weight: 850 !important;
  backdrop-filter: blur(12px);
}

.vc-domain-dns-panel {
  padding: 24px;
  border: 1px solid rgba(0,133,202,.14);
  border-radius: 20px;
  background:
    radial-gradient(circle at 0 0, rgba(0,133,202,.05), transparent 32%),
    #fff;
  box-shadow: 0 16px 44px rgba(15,34,72,.08);
}

.vc-domain-dns-table-wrap {
  overflow-x: auto;
  margin-top: 16px;
  border: 1px solid #e8eef7;
  border-radius: 16px;
  background: #fff;
}

.vc-domain-dns-table {
  min-width: 780px;
  margin: 0 !important;
}

.vc-domain-dns-table > thead > tr > th {
  padding: 14px 16px !important;
  border-bottom: 1px solid #e8eef7 !important;
  background: rgba(0,133,202,.06);
  color: #66758c;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.vc-domain-dns-table > tbody > tr > td {
  padding: 12px 14px !important;
  vertical-align: middle !important;
  border-top: 1px solid #eef3fa !important;
}

.vc-domain-dns-table .form-control {
  min-height: 42px;
  border-color: #dbe6f3;
  border-radius: 12px;
}

.vc-domain-dns-form .btn {
  min-height: 42px;
  border-radius: 12px !important;
  font-weight: 850 !important;
}

@media (max-width: 700px) {
  .vc-domain-dns-hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .vc-domain-dns-hero::after {
    left: 24px;
    right: auto;
    width: 145px;
  }

  .vc-domain-dns-panel {
    padding: 18px;
  }

  .vc-domain-dns-callout {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 900px) {
  .vc-domain-detail-hero {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
  }

  .vc-domain-detail-hero::after {
    left: 24px;
    right: auto;
    width: 150px;
  }

  .vc-domain-status-pill {
    white-space: normal;
  }

  .vc-domain-tab-content #tabOverview > .row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .vc-domain-detail-hero-left {
    align-items: flex-start;
  }

  .vc-domain-detail-icon {
    width: 54px;
    height: 54px;
    font-size: 21px;
  }

  .vc-domain-tabs > li,
  .vc-domain-tabs > li > a {
    width: 100%;
  }

  .vc-domain-tab-content {
    padding: 18px !important;
  }
}

/* ================================================================
   Invoice payment - PayPal / card checkout polish
   ================================================================ */

.vc-invoice-payment {
  width: min(1280px, calc(100vw - 64px));
  margin: 26px auto 0;
  padding-bottom: 36px;
  color: #0f1b33;
}

.vc-invoice-payment-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .72fr);
  gap: 28px;
  align-items: start;
  margin: 0 !important;
}

.vc-invoice-payment-grid > .vc-payment-panel,
.vc-invoice-payment-grid > .vc-invoice-summary-panel {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  padding: 0 !important;
}

.vc-payment-panel,
.vc-invoice-summary-panel .invoice-summary {
  border: 1px solid #dfe8f6;
  border-radius: 26px;
  background:
    radial-gradient(circle at 8% 0%, rgba(0, 133, 202, .08), transparent 28%),
    #fff;
  box-shadow: 0 22px 60px rgba(15, 34, 72, .10);
}

.vc-payment-panel {
  padding: 0 !important;
  overflow: hidden;
}

.vc-payment-panel-head {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 94px;
  margin: 0;
  padding: 24px 30px;
  border-bottom: 1px solid #e8eef8;
}

.vc-payment-panel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #2b7de9, #1454b8);
  box-shadow: 0 12px 28px rgba(0, 133, 202, .28);
  flex: 0 0 auto;
}

.vc-payment-panel-head h1 {
  margin: 0;
  color: #0d1930;
  font-size: 25px;
  line-height: 1.15;
  font-weight: 850;
}

.vc-payment-panel-head p {
  margin: 5px 0 0;
  color: #667899;
  font-size: 14px;
  font-weight: 600;
}

.vc-invoice-payment .form-group {
  margin: 0 0 20px;
}

.vc-payment-panel > .alert,
.vc-payment-panel > #paymentGatewayInput,
.vc-payment-panel > #btnSubmitContainer {
  margin-right: 30px;
  margin-left: 30px;
}

.vc-payment-panel > #paymentGatewayInput {
  margin-top: 24px;
}

.vc-payment-panel > #btnSubmitContainer {
  margin-bottom: 30px;
}

.vc-invoice-payment.form-horizontal .form-group {
  margin-right: 0;
  margin-left: 0;
}

.vc-invoice-payment .control-label,
.vc-invoice-payment label {
  color: #263552;
  font-size: 13px;
  font-weight: 800;
}

.vc-invoice-payment .control-label {
  display: block;
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 8px;
  padding: 0 !important;
  float: none !important;
  text-align: left !important;
}

.vc-invoice-payment .col-sm-4,
.vc-invoice-payment .col-sm-6,
.vc-invoice-payment .col-sm-7,
.vc-invoice-payment .col-sm-8,
.vc-invoice-payment .col-xs-2 {
  width: 100% !important;
  max-width: none !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
  float: none !important;
}

.vc-invoice-payment .form-control,
.vc-invoice-payment select,
.vc-invoice-payment input[type="text"],
.vc-invoice-payment input[type="tel"],
.vc-invoice-payment input[type="number"] {
  width: 100%;
  min-height: 50px;
  border: 1px solid #dbe5f3;
  border-radius: 14px;
  background: #fff;
  color: #12213d;
  box-shadow: none;
  font-size: 14px;
  font-weight: 650;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.vc-invoice-payment .form-control:focus,
.vc-invoice-payment select:focus,
.vc-invoice-payment input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(0, 133, 202, .12);
  outline: 0;
}

.vc-invoice-payment .field-error-msg {
  margin-top: 7px;
  color: #d83c55;
  font-size: 12px;
  font-weight: 700;
}

.vc-invoice-payment .gateway-errors:empty,
.vc-invoice-payment .gateway-errors.w-hidden,
.vc-invoice-payment .gateway-errors.hidden {
  display: none !important;
}

.vc-invoice-payment .paymethod-info,
.vc-invoice-payment .payment-instructions,
.vc-invoice-payment #paypal_ppcpv_input_container,
.vc-invoice-payment .gateway-errors {
  border-radius: 18px;
}

.vc-invoice-payment .paymethod-info {
  display: block;
  padding: 14px 16px;
  border: 1px solid #dbe5f3;
  background: #f8fbff;
}

.vc-invoice-payment .paymethod-info label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  cursor: pointer;
}

.vc-invoice-payment .payment-instructions {
  margin: 0 0 14px;
  padding: 14px 16px;
  border: 1px solid #dbeafe;
  background: #f3f8ff;
  color: #526781;
  text-align: left;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 650;
}

.vc-invoice-payment .vc-sepa-mandate-box {
  position: relative;
  margin: 18px 0 20px !important;
  padding: 18px 20px 18px 62px !important;
  border: 1px solid #bcd4ff !important;
  border-radius: 18px !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(239, 246, 255, .96)),
    radial-gradient(circle at 100% 0%, rgba(0, 133, 202, .12), transparent 34%) !important;
  color: #30415f !important;
  box-shadow: 0 14px 34px rgba(0, 133, 202, .10);
  font-size: 13px !important;
  line-height: 1.62 !important;
  font-weight: 650 !important;
}

.vc-invoice-payment .vc-sepa-mandate-box::before {
  content: "\f19c";
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 11px;
  background: #e7f0ff;
  color: #2877de;
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
  font-size: 14px;
  font-weight: 900;
}

.vc-invoice-payment .vc-sepa-mandate-title {
  display: block;
  margin: 0 0 6px;
  color: #0f1b33;
  font-size: 14px;
  font-weight: 900;
}

.vc-invoice-payment .vc-sepa-mandate-box p {
  margin: 0;
}

.vc-invoice-payment .vc-sepa-mandate-box p + p {
  margin-top: 8px;
}

.vc-invoice-payment .vc-billing-address-choice {
  margin-top: 24px;
}

.vc-invoice-payment .vc-billing-address-list {
  display: grid;
  gap: 10px;
}

.vc-invoice-payment .vc-billing-address-list br {
  display: none;
}

.vc-invoice-payment .vc-billing-address-option {
  position: relative;
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  margin: 0 !important;
  padding: 14px 56px 14px 16px !important;
  border: 1px solid #dbe5f3;
  border-radius: 16px;
  background: #fbfdff;
  color: #2d3d59;
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease, background .16s ease;
}

.vc-invoice-payment .vc-billing-address-option:hover,
.vc-invoice-payment .vc-billing-address-option:focus-within {
  border-color: #9ec3f8;
  background: #f6faff;
  box-shadow: 0 12px 28px rgba(0, 133, 202, .10);
  transform: translateY(-1px);
}

.vc-invoice-payment .vc-billing-address-option::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 22px;
  height: 22px;
  border: 2px solid #c6d5ea;
  border-radius: 999px;
  background: #fff;
  transform: translateY(-50%);
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.vc-invoice-payment .vc-billing-address-option::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  z-index: 1;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #fff;
  opacity: 0;
  transform: translateY(-50%) scale(.6);
  transition: opacity .16s ease, transform .16s ease;
}

.vc-invoice-payment .vc-billing-address-option.vc-is-selected {
  border-color: #2b7de9;
  background: #f3f8ff;
  box-shadow: 0 14px 34px rgba(0, 133, 202, .12);
}

.vc-invoice-payment .vc-billing-address-option.vc-is-selected::after {
  border-color: #2b7de9;
  background: #2b7de9;
  box-shadow: 0 8px 20px rgba(0, 133, 202, .24);
}

.vc-invoice-payment .vc-billing-address-option.vc-is-selected::before {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.vc-invoice-payment .vc-billing-address-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  flex: 0 0 auto;
}

.vc-invoice-payment .vc-billing-address-content,
.vc-invoice-payment .vc-billing-address-line {
  display: block;
}

.vc-invoice-payment .vc-billing-address-content .name {
  display: block;
  margin-bottom: 3px;
  color: #13213c;
  font-weight: 900;
}

.vc-invoice-payment .vc-billing-address-line {
  color: #65748d;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 650;
}

.vc-invoice-payment .vc-add-billing-address {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center;
  width: fit-content;
  min-height: 46px;
  padding: 12px 18px !important;
  border-color: #b9d4ff;
  background: linear-gradient(135deg, #f8fbff, #edf5ff);
  color: #1d66c5 !important;
  font-weight: 900 !important;
}

.vc-invoice-payment .vc-add-billing-address::before,
.vc-invoice-payment .vc-add-billing-address::after {
  display: none;
}

.vc-invoice-payment .vc-add-billing-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: #2b7de9;
  color: #fff;
  font-size: 12px;
  box-shadow: 0 8px 18px rgba(0, 133, 202, .22);
}

.vc-invoice-payment .vc-new-billing-address {
  margin: 18px 0 22px;
  padding: 18px;
  border: 1px solid #dbe5f3;
  border-radius: 18px;
  background: #f8fbff;
}

.vc-invoice-payment .vc-new-billing-address .form-group:last-child {
  margin-bottom: 0;
}

.vc-invoice-payment .StripeElement,
.vc-invoice-payment .stripe-element,
.vc-invoice-payment .stripe-iban-element {
  display: block;
  min-height: 50px;
  padding: 14px 16px;
  cursor: text;
}

.vc-invoice-payment #inputBankAcctNum {
  min-height: 50px;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 50px;
}

.vc-invoice-payment .StripeElement iframe,
.vc-invoice-payment .stripe-element iframe,
.vc-invoice-payment .stripe-iban-element iframe {
  display: block !important;
  width: 100% !important;
  min-height: 24px !important;
  margin: 0 !important;
  pointer-events: auto !important;
}

.vc-invoice-payment .vc-new-billing-address .intl-tel-input,
.vc-invoice-payment .vc-new-billing-address .iti,
.vc-invoice-payment .vc-new-billing-address .iti--allow-dropdown,
.vc-invoice-payment .vc-new-billing-address .iti--separate-dial-code {
  position: relative;
  display: block;
  width: 100%;
}

.vc-invoice-payment .vc-new-billing-address .intl-tel-input .flag-container,
.vc-invoice-payment .vc-new-billing-address .iti__flag-container {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  display: block;
  cursor: pointer;
  pointer-events: auto;
}

.vc-invoice-payment .vc-new-billing-address .intl-tel-input .selected-flag,
.vc-invoice-payment .vc-new-billing-address .iti__selected-flag {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 96px;
  min-width: 96px;
  height: 50px;
  padding: 0 12px;
  border-right: 1px solid #dbe5f3;
  border-radius: 14px 0 0 14px;
  background: #f8fbff;
  color: #12213d;
  cursor: pointer;
  pointer-events: auto;
}

.vc-invoice-payment .vc-new-billing-address .intl-tel-input .selected-dial-code,
.vc-invoice-payment .vc-new-billing-address .iti__selected-dial-code {
  color: #263552;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
}

.vc-invoice-payment .vc-new-billing-address .intl-tel-input.allow-dropdown input,
.vc-invoice-payment .vc-new-billing-address .intl-tel-input.separate-dial-code input,
.vc-invoice-payment .vc-new-billing-address .iti--allow-dropdown input,
.vc-invoice-payment .vc-new-billing-address .iti--separate-dial-code input {
  padding-left: 112px !important;
}

.vc-invoice-payment .vc-new-billing-address .intl-tel-input .country-list,
.vc-invoice-payment .vc-new-billing-address .iti__country-list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 10000;
  width: min(360px, 92vw);
  max-height: 260px;
  margin: 0;
  padding: 8px 0;
  overflow: auto;
  border: 1px solid #dbe5f3;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(15, 34, 72, .16);
  color: #263552;
  list-style: none;
}

.vc-invoice-payment .vc-new-billing-address .intl-tel-input .country-list.hide,
.vc-invoice-payment .vc-new-billing-address .iti__country-list.iti__hide,
.vc-invoice-payment .vc-new-billing-address .iti__country-list.hide {
  display: none !important;
}

.vc-invoice-payment .vc-new-billing-address .intl-tel-input .country,
.vc-invoice-payment .vc-new-billing-address .iti__country {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
  white-space: nowrap;
  cursor: pointer;
}

.vc-invoice-payment .vc-new-billing-address .intl-tel-input .country-list li,
.vc-invoice-payment .vc-new-billing-address .iti__country-list li {
  margin: 0;
  list-style: none;
}

.vc-invoice-payment .vc-new-billing-address .intl-tel-input .country:hover,
.vc-invoice-payment .vc-new-billing-address .iti__country:hover,
.vc-invoice-payment .vc-new-billing-address .intl-tel-input .country.highlight,
.vc-invoice-payment .vc-new-billing-address .iti__country.iti__highlight {
  background: #f1f6ff;
}

.vc-invoice-payment .vc-new-billing-address .intl-tel-input .divider,
.vc-invoice-payment .vc-new-billing-address .iti__divider {
  height: 1px;
  margin: 6px 0;
  padding: 0;
  background: #e8eef8;
}

.vc-invoice-payment #paypal_ppcpv_input_container {
  margin-top: 16px;
  padding: 20px;
  border: 1px solid #dbe5f3;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(247, 250, 255, .96)),
    radial-gradient(circle at 95% 0%, rgba(0, 133, 202, .10), transparent 36%);
}

.vc-invoice-payment #paypal_ppcpv_input_container_button {
  max-width: 520px;
  min-height: 54px;
  margin: 16px auto 0;
}

.vc-invoice-payment #paypal_ppcpv_input_container_payer .payer-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e1e9f5;
}

.vc-invoice-payment #btnSubmitContainer {
  margin-top: 24px;
}

.vc-invoice-payment.vc-paypal-awaiting #btnSubmitContainer {
  display: none !important;
}

.vc-invoice-payment.vc-paypal-ready #btnSubmitContainer {
  display: block !important;
}

.vc-invoice-payment.vc-paypal-ready #btnSubmit {
  background: linear-gradient(135deg, #1fb86a, #15824e);
  box-shadow: 0 18px 34px rgba(22, 163, 74, .24);
}

.vc-invoice-payment #btnSubmit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  min-height: 56px;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(135deg, #2877de, #1355b7);
  color: #fff;
  font-size: 15px;
  font-weight: 850;
  box-shadow: 0 18px 34px rgba(0, 133, 202, .28);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.vc-invoice-payment #btnSubmit:hover,
.vc-invoice-payment #btnSubmit:focus {
  filter: brightness(1.03);
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(0, 133, 202, .34);
}

.vc-invoice-payment #btnSubmit:disabled {
  opacity: .74;
  transform: none;
}

.vc-invoice-payment #btnSubmit .pay-text,
.vc-invoice-payment #btnSubmit .click-text {
  line-height: 1.1;
  pointer-events: none;
}

.vc-invoice-summary-panel {
  position: sticky;
  top: 92px;
}

.vc-invoice-summary-panel .invoice-summary {
  overflow: hidden;
}

.vc-invoice-summary-panel .invoice-summary h2 {
  margin: 0;
  padding: 28px 26px;
  color: #fff;
  background:
    linear-gradient(135deg, #102449 0%, #1f6ed4 72%, #6a5ed0 100%);
  font-size: 26px;
  line-height: 1.16;
  font-weight: 850;
}

.vc-invoice-summary-panel .invoice-summary-table {
  padding: 0;
}

.vc-invoice-summary-panel .invoice-summary table {
  margin: 0;
  color: #23314d;
  border-collapse: collapse;
}

.vc-invoice-summary-panel .invoice-summary table td {
  padding: 16px 20px;
  border-color: #e8eef7;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.48;
}

.vc-invoice-summary-panel .invoice-summary table tr:first-child td {
  color: #64748b;
  background: #f8fbff;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.vc-invoice-summary-panel .invoice-summary table td:last-child {
  color: #116bdc;
  font-weight: 850;
  white-space: nowrap;
}

.vc-invoice-summary-panel .invoice-summary table tr:last-child td {
  background: #f2f6ff;
  color: #0f1b33;
  font-size: 15px;
  font-weight: 850;
}

.vc-invoice-summary-panel .invoice-summary p {
  margin: 0;
  padding: 18px 24px 24px;
  border-top: 1px solid #e8eef7;
  color: #6b7890;
  background: #fff;
  font-size: 14px;
  line-height: 1.55;
}

.vc-invoice-summary-panel .invoice-summary p strong {
  color: #0f1b33;
  font-weight: 850;
}

.vc-payment-security {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 24px 0 0 !important;
  padding: 17px 20px !important;
  border: 1px solid #ffd795 !important;
  border-radius: 18px !important;
  background: #fff8e8 !important;
  color: #b45610 !important;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}

.vc-payment-security i {
  margin-top: 2px;
  color: #c86413;
}

.vc-invoice-payment .alert-danger.gateway-errors:not(.w-hidden):not(.hidden):not(:empty) {
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid #fecdd3;
  background: #fff1f2;
  color: #be123c;
  font-weight: 750;
}

.vc-dark .vc-invoice-payment {
  color: #e7eefc;
}

.vc-dark .vc-payment-panel,
.vc-dark .vc-invoice-summary-panel .invoice-summary {
  border-color: rgba(148, 163, 184, .22);
  background:
    radial-gradient(circle at 8% 0%, rgba(0, 133, 202, .18), transparent 30%),
    #111c31;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .25);
}

.vc-dark .vc-payment-panel-head {
  border-bottom-color: rgba(148, 163, 184, .18);
}

.vc-dark .vc-payment-panel-head h1,
.vc-dark .vc-invoice-payment .control-label,
.vc-dark .vc-invoice-payment label,
.vc-dark .vc-invoice-summary-panel .invoice-summary table,
.vc-dark .vc-invoice-summary-panel .invoice-summary p strong {
  color: #f3f7ff;
}

.vc-dark .vc-payment-panel-head p,
.vc-dark .vc-invoice-summary-panel .invoice-summary p {
  color: #a7b5cf;
}

.vc-dark .vc-invoice-payment .form-control,
.vc-dark .vc-invoice-payment select,
.vc-dark .vc-invoice-payment input[type="text"],
.vc-dark .vc-invoice-payment input[type="tel"],
.vc-dark .vc-invoice-payment input[type="number"],
.vc-dark .vc-invoice-payment .paymethod-info,
.vc-dark .vc-invoice-payment #paypal_ppcpv_input_container_payer .payer-label {
  border-color: rgba(148, 163, 184, .24);
  background: #0f1a2d;
  color: #edf4ff;
}

.vc-dark .vc-invoice-payment .payment-instructions,
.vc-dark .vc-invoice-payment #paypal_ppcpv_input_container,
.vc-dark .vc-invoice-payment .vc-sepa-mandate-box,
.vc-dark .vc-invoice-payment .vc-new-billing-address {
  border-color: rgba(96, 165, 250, .28);
  background: rgba(15, 26, 45, .86);
  color: #b7c5dc;
}

.vc-dark .vc-invoice-payment .vc-sepa-mandate-title,
.vc-dark .vc-invoice-payment .vc-billing-address-content .name {
  color: #f3f7ff;
}

.vc-dark .vc-invoice-payment .vc-sepa-mandate-box::before {
  background: rgba(96, 165, 250, .18);
  color: #8ec5ff;
}

.vc-dark .vc-invoice-payment .vc-billing-address-option {
  border-color: rgba(148, 163, 184, .24);
  background: #0f1a2d;
  color: #dbe7fb;
}

.vc-dark .vc-invoice-payment .vc-billing-address-line {
  color: #a7b5cf;
}

.vc-dark .vc-invoice-payment .vc-add-billing-address {
  border-color: rgba(96, 165, 250, .34);
  background: rgba(0, 133, 202, .16);
  color: #8ec5ff !important;
}

.vc-dark .vc-invoice-payment .vc-new-billing-address .intl-tel-input .selected-flag,
.vc-dark .vc-invoice-payment .vc-new-billing-address .iti__selected-flag,
.vc-dark .vc-invoice-payment .vc-new-billing-address .intl-tel-input .country-list,
.vc-dark .vc-invoice-payment .vc-new-billing-address .iti__country-list {
  border-color: rgba(148, 163, 184, .24);
  background: #0f1a2d;
  color: #dbe7fb;
}

.vc-dark .vc-invoice-payment .vc-new-billing-address .intl-tel-input .selected-dial-code,
.vc-dark .vc-invoice-payment .vc-new-billing-address .iti__selected-dial-code {
  color: #dbe7fb;
}

.vc-dark .vc-invoice-payment .vc-new-billing-address .intl-tel-input .country:hover,
.vc-dark .vc-invoice-payment .vc-new-billing-address .iti__country:hover,
.vc-dark .vc-invoice-payment .vc-new-billing-address .intl-tel-input .country.highlight,
.vc-dark .vc-invoice-payment .vc-new-billing-address .iti__country.iti__highlight {
  background: rgba(96, 165, 250, .14);
}

.vc-dark .vc-invoice-summary-panel .invoice-summary table td {
  border-color: rgba(148, 163, 184, .16);
  background: #111c31 !important;
  color: #dbe7fb !important;
}

.vc-dark .vc-invoice-summary-panel .invoice-summary table tr:first-child td,
.vc-dark .vc-invoice-summary-panel .invoice-summary table tr:last-child td,
.vc-dark .vc-invoice-summary-panel .invoice-summary p {
  background: #0d1728 !important;
}

.vc-dark .vc-invoice-summary-panel .invoice-summary table tr:first-child td {
  color: #b8c7df !important;
}

.vc-dark .vc-invoice-summary-panel .invoice-summary table td:last-child {
  color: #8ec5ff !important;
}

.vc-dark .vc-invoice-summary-panel .invoice-summary table tr:last-child td {
  color: #f5f8ff !important;
  background: #15233a !important;
}

.vc-dark .vc-invoice-summary-panel .invoice-summary p {
  color: #aebbd2 !important;
}

.vc-dark .vc-payment-security {
  border-color: rgba(251, 191, 36, .34) !important;
  background: rgba(120, 53, 15, .22) !important;
  color: #facc8a !important;
}

@media (max-width: 1100px) {
  .vc-invoice-payment {
    width: min(100%, calc(100vw - 32px));
  }

  .vc-invoice-payment-grid {
    grid-template-columns: 1fr;
  }

  .vc-invoice-summary-panel {
    position: static;
  }
}

@media (max-width: 680px) {
  .vc-payment-panel-head {
    align-items: flex-start;
    min-height: auto;
    padding: 22px;
  }

  .vc-payment-panel-head h1 {
    font-size: 22px;
  }

  .vc-payment-panel > .alert,
  .vc-payment-panel > #paymentGatewayInput,
  .vc-payment-panel > #btnSubmitContainer {
    margin-right: 22px;
    margin-left: 22px;
  }

  .vc-invoice-summary-panel .invoice-summary h2 {
    padding: 24px 20px;
    font-size: 22px;
  }

  .vc-invoice-summary-panel .invoice-summary table td {
    padding: 14px;
  }

  .vc-invoice-payment .vc-sepa-mandate-box {
    padding: 64px 16px 16px !important;
  }

  .vc-invoice-payment .vc-sepa-mandate-box::before {
    top: 16px;
    left: 16px;
  }

  .vc-invoice-payment .vc-add-billing-address {
    width: 100%;
  }
}


/* FlameNetworks logo also on register + password reset pages (same technique as login/sidebar) — 2026-11-24 */
.vcr-art-top svg,
.vcp-art-top svg,
.vcp-logo svg { display: none !important; }
.vcr-art-top,
.vcp-art-top,
.vcp-logo { display: block; width: 190px; max-width: 100%; height: 34px; min-height: 34px; background: url("https://grav.flametest.it/user/assets/flamenetworkslogo.webp") no-repeat left center / contain; }

/* login panel glow: FlameNetworks light blue instead of vivacloud pink — 2026-11-25 */
.vc-auth-card .vc-auth-art::before { background: radial-gradient(circle, rgba(56,182,255,.40), transparent 65%) !important; }
