
/* ShieldHosting Nexus Premium */
:root {
  --primary-50:#eff6ff;
  --primary-100:#dbeafe;
  --primary-200:#bfdbfe;
  --primary-300:#93c5fd;
  --primary-400:#60a5fa;
  --primary-500:#3b82f6;
  --primary-600:#2563eb;
  --primary-700:#1d4ed8;
  --primary-800:#1e40af;
  --primary-900:#1e3a8a;
  --primary:#2563eb;
  --primary-lifted:#1d4ed8;
  --primary-accented:#1e40af;
  --bg:#f7f9fc;
  --bg-muted:#f8fafc;
  --border:#e5eaf2;
  --border-muted:#edf1f6;
  --text:#19253b;
  --text-muted:#64748b;
  --rounding-sm:.375rem;
  --rounding-md:.625rem;
  --rounding-lg:.875rem;
  --sh-navy:#0c172b;
  --sh-blue:#3b82f6;
}

body {
  font-family:Inter,"Segoe UI",Arial,sans-serif;
  background:#f7f9fc;
}

body.sh-app {
  padding-left:244px;
  background:#f7f9fc!important;
  color:#19253b;
}

/* SIDEBAR */
.sh-side {
  position:fixed;
  z-index:1040;
  top:0;left:0;bottom:0;
  width:244px;
  padding:27px 14px 18px;
  display:flex;
  flex-direction:column;
  overflow-y:auto;
  background:#0c172b;
  border-right:1px solid #26354d;
}
.sh-logo {
  display:flex;
  align-items:center;
  min-height:55px;
  padding:0 11px;
  margin-bottom:33px;
}
.sh-logo img {
  max-width:185px;
  max-height:55px;
  width:auto;
  height:auto;
  object-fit:contain;
}
.sh-label {
  padding:0 15px;
  margin-bottom:12px;
  color:#7284a0;
  font-size:10px;
  font-weight:800;
  letter-spacing:1.6px;
}
.sh-label-space {margin-top:31px}
.sh-links {
  display:flex;
  flex-direction:column;
  gap:5px;
}
.sh-links a,
.sh-links button {
  display:flex;
  align-items:center;
  gap:13px;
  width:100%;
  padding:12px 14px;
  border:0;
  border-radius:10px;
  background:transparent;
  color:#a7b5ce!important;
  font-size:13px;
  font-weight:600;
  text-align:left;
  text-decoration:none!important;
  cursor:pointer;
  transition:.18s ease;
}
.sh-links i {
  width:19px;
  text-align:center;
  font-size:15px;
}
.sh-links a:hover,
.sh-links button:hover,
.sh-links .sh-current {
  background:#1a3054;
  color:#fff!important;
}
.sh-links .sh-current {
  box-shadow:inset 3px 0 #4385ff;
}
.sh-side-bottom {
  margin-top:auto;
  padding-top:25px;
}
.sh-support {
  border:1px solid #263c5d;
  border-radius:13px;
  background:#152844;
  padding:18px 15px;
}
.sh-support>i {
  font-size:23px;
  color:#72a7ff;
}
.sh-support strong {
  display:block;
  margin:12px 0 5px;
  color:#fff;
  font-size:13px;
}
.sh-support p {
  color:#9fb0cb;
  font-size:11px;
  line-height:1.65;
  margin:0 0 12px;
}
.sh-support a {
  color:#8bb8ff;
  font-size:12px;
  font-weight:700;
}
.sh-exit {
  display:block;
  padding:22px 14px 5px;
  color:#9fb0cb!important;
  font-size:13px;
  text-decoration:none;
}
.sh-exit i {margin-right:10px}

/* HEADER */
.sh-app #header {
  background:#fff!important;
  border-bottom:1px solid #e9edf4;
}
.sh-app #header .topbar {
  background:#fff!important;
  border:0;
  padding:10px 0;
}
.sh-app #header .topbar .container {
  max-width:none;
  width:calc(100% - 55px);
}
.sh-app #header .navbar.navbar-light {
  display:none!important;
}
.sh-app #header .main-navbar-wrapper {
  display:none!important;
}
.sh-app.sh-expanded #header .main-navbar-wrapper {
  display:block!important;
  background:#fff!important;
}
.sh-app.sh-expanded #mainNavbar {
  display:flex!important;
  flex-wrap:wrap;
}

/* MAIN */
.sh-app #main-body {
  padding:34px 0 58px;
  min-height:75vh;
  background:#f7f9fc!important;
}
.sh-app #main-body>.container,
.sh-app .master-breadcrumb>.container {
  width:calc(100% - 64px);
  max-width:1420px;
}
.sh-app .master-breadcrumb {
  background:transparent!important;
  border:0;
  padding-top:14px;
}
.sh-app #main-body h1,
.sh-app #main-body h2,
.sh-app #main-body h3 {
  color:#18253b;
}
.sh-app.sh-home #main-body>.container>.row>div.col-lg-4.col-xl-3 {
  display:none!important;
}
.sh-app.sh-home #main-body .primary-content {
  flex:0 0 100%!important;
  max-width:100%!important;
}

/* DASHBOARD */
.sh-welcome {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:8px 0 30px;
}
.sh-kicker {
  color:#2563eb;
  letter-spacing:1.6px;
  font-size:10px;
  font-weight:800;
}
.sh-welcome h1 {
  margin:10px 0!important;
  font-size:32px!important;
  font-weight:800!important;
  letter-spacing:-1.1px;
}
.sh-welcome h1 span {color:#3b82f6}
.sh-welcome p {
  color:#74839a;
  font-size:13px;
  margin:0;
}
.sh-order {
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:13px 20px;
  border-radius:10px;
  background:#2563eb;
  color:white!important;
  font-size:13px;
  font-weight:700;
  text-decoration:none!important;
}
.sh-order:hover {background:#1d4ed8}
.sh-section-title {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:0 0 15px;
}
.sh-section-title h2 {
  margin:0;
  font-size:17px;
  font-weight:750;
}
.sh-section-title span {
  color:#8a98aa;
  font-size:12px;
}

/* STATISTICS */
.sh-app #main-body .tiles .row {
  margin-left:-7px;
  margin-right:-7px;
}
.sh-app #main-body .tiles .row>div {padding:7px}
.sh-app #main-body .tiles .tile {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  min-height:151px;
  padding:21px!important;
  border:1px solid #e6ebf3!important;
  border-radius:15px!important;
  background:#fff!important;
  box-shadow:0 5px 24px rgba(22,38,68,.04);
  transition:.18s ease;
}
.sh-app #main-body .tiles .tile:hover {
  transform:translateY(-2px);
  border-color:#a9caff!important;
}
.sh-app #main-body .tiles .tile i {
  color:#347af5!important;
  font-size:22px;
}
.sh-app #main-body .tiles .tile .stat {
  margin-top:14px;
  font-size:31px;
  font-weight:800;
  color:#19253b!important;
}
.sh-app #main-body .tiles .tile .title {
  margin-top:5px;
  color:#7a899e!important;
  font-size:12px;
  font-weight:600;
}
.sh-app #main-body .tiles .highlight {
  display:none!important;
}

/* CARDS */
.sh-app #main-body .card,
.sh-app #main-body .panel,
.sh-app #main-body .well {
  background:#fff;
  border:1px solid #e7ecf4;
  border-radius:15px;
  box-shadow:0 5px 24px rgba(22,38,68,.035);
  overflow:hidden;
}
.sh-app #main-body .card-header,
.sh-app #main-body .panel-heading {
  background:#fff;
  border-bottom:1px solid #e7ecf4;
  padding:17px 20px;
}
.sh-app #main-body .card-title,
.sh-app #main-body .panel-title {
  font-weight:700;
  color:#19253b;
}
.sh-app #main-body .list-group-item {
  border-color:#e7ecf4;
}
.sh-app #main-body .btn,
.sh-app #main-body .form-control {
  border-radius:9px;
}
.sh-app #main-body .btn-primary {
  background:#2563eb;
  border-color:#2563eb;
}
.sh-app #footer {
  background:#fff;
  border-top:1px solid #e7ecf4;
}

/* MOBILE */
.sh-mobile,.sh-overlay {display:none}
@media(max-width:991px) {
  body.sh-app {padding-left:0}
  .sh-side {
    transform:translateX(-100%);
    transition:transform .22s ease;
  }
  .sh-app.sh-open .sh-side {
    transform:translateX(0);
  }
  .sh-mobile {
    display:flex;
    align-items:center;
    gap:15px;
    height:62px;
    padding:0 20px;
    background:#fff;
    border-bottom:1px solid #e7ecf4;
  }
  .sh-mobile button {
    background:transparent;
    border:0;
    font-size:20px;
  }
  .sh-mobile strong {font-size:14px}
  .sh-mobile strong span {color:#2563eb}
  .sh-app.sh-open .sh-overlay {
    display:block;
    position:fixed;
    inset:0;
    background:rgba(10,19,37,.55);
    border:0;
    z-index:1039;
  }
  .sh-app #main-body>.container,
  .sh-app .master-breadcrumb>.container {
    width:calc(100% - 32px);
  }
}
@media(max-width:575px) {
  .sh-welcome {
    display:block;
  }
  .sh-welcome h1 {font-size:25px!important}
  .sh-order {margin-top:20px}
  .sh-section-title span {display:none}
}



/* SHIELDHOSTING REFINEMENTS V2 */

/* ========== DASHBOARD / CLIENT AREA ========== */
body.sh-app #main-body>.container,
body.sh-app .master-breadcrumb>.container,
body.sh-app #main-body .container {
  width: calc(100% - 34px) !important;
  max-width: 1600px !important;
}

body.sh-app #main-body {
  padding-top: 18px !important;
}

body.sh-app .master-breadcrumb {
  padding-top: 6px !important;
  margin-bottom: 6px !important;
}

body.sh-app .master-breadcrumb ol,
body.sh-app .master-breadcrumb .breadcrumb {
  margin-bottom: 0 !important;
  font-size: 12px !important;
  color: #75839a !important;
}

body.sh-app .sh-welcome {
  padding-top: 6px !important;
  padding-bottom: 22px !important;
}

body.sh-app .sh-welcome h1 {
  font-size: 38px !important;
}

body.sh-app .tiles.mb-4,
body.sh-app .row.row-cards,
body.sh-app .row.row-eq-height {
  margin-bottom: 18px !important;
}

body.sh-app #main-body .card,
body.sh-app #main-body .panel,
body.sh-app #main-body .well {
  box-shadow: 0 8px 28px rgba(22,38,68,.045) !important;
}

body.sh-app #main-body .card-header,
body.sh-app #main-body .panel-heading {
  min-height: 54px !important;
}

body.sh-app #footer {
  margin-top: 24px !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

/* nasconde icone social nel footer client area */
body.sh-app #footer .list-social,
body.sh-app #footer .footer-social,
body.sh-app #footer .social-icons,
body.sh-app #footer [class*="social"] {
  display: none !important;
}

/* sezione supporto sidebar un po' più pulita */
body.sh-app .sh-support {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

/* ========== LOGIN / GUEST PAGES ========== */
body:not(.sh-app) {
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%) !important;
}

/* header guest pulito */
body:not(.sh-app) #header {
  background: #ffffff !important;
  border-bottom: 1px solid #e7edf5 !important;
}

body:not(.sh-app) #header .topbar {
  display: none !important;
}

body:not(.sh-app) #header .main-navbar-wrapper {
  background: #ffffff !important;
  border-top: 0 !important;
  border-bottom: 1px solid #e7edf5 !important;
}

body:not(.sh-app) #header .navbar-brand,
body:not(.sh-app) #header .logo,
body:not(.sh-app) #header .logo-text {
  font-weight: 800 !important;
  color: #14233d !important;
}

body:not(.sh-app) #header .navbar,
body:not(.sh-app) #header .navbar .container,
body:not(.sh-app) #header .main-navbar-wrapper .container {
  max-width: 1320px !important;
}

/* knowledgebase search e carrello sul login meno invasivi */
body.page-login #header .input-group,
body.page-login #header form[action*="knowledgebase"],
body.page-login #header .nav-item-cart,
body.page-login #header a[href*="cart.php"] {
  display: none !important;
}

/* nav più minimal sul login */
body.page-login #header .navbar-nav > li > a,
body.page-login #header .nav-link {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #34435c !important;
}

/* area login */
body.page-login #main-body,
body.page-passwordreset #main-body,
body.page-register #main-body {
  min-height: calc(100vh - 210px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 44px 16px !important;
}

body.page-login #main-body .container,
body.page-passwordreset #main-body .container,
body.page-register #main-body .container {
  max-width: 1180px !important;
}

/* card login */
body.page-login .logincontainer,
body.page-login .card,
body.page-login .panel,
body.page-passwordreset .card,
body.page-register .card {
  border: 1px solid #e4ebf5 !important;
  border-radius: 18px !important;
  box-shadow: 0 16px 46px rgba(20,35,61,.07) !important;
  overflow: hidden !important;
}

body.page-login .card-header,
body.page-login .panel-heading,
body.page-passwordreset .card-header,
body.page-register .card-header {
  background: #ffffff !important;
  border-bottom: 1px solid #e7edf5 !important;
}

body.page-login .card-body,
body.page-login .panel-body,
body.page-passwordreset .card-body,
body.page-register .card-body {
  padding: 34px !important;
}

body.page-login h1,
body.page-login h2,
body.page-login h3,
body.page-passwordreset h1,
body.page-register h1 {
  color: #14233d !important;
  font-weight: 800 !important;
  letter-spacing: -.03em !important;
}

body.page-login .form-control,
body.page-passwordreset .form-control,
body.page-register .form-control {
  min-height: 46px !important;
  border-radius: 10px !important;
  border: 1px solid #dce5f1 !important;
  box-shadow: none !important;
}

body.page-login .form-control:focus,
body.page-passwordreset .form-control:focus,
body.page-register .form-control:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37,99,235,.10) !important;
}

body.page-login .btn-primary,
body.page-passwordreset .btn-primary,
body.page-register .btn-primary,
body.page-login button[type="submit"],
body.page-passwordreset button[type="submit"],
body.page-register button[type="submit"] {
  background: #2563eb !important;
  border-color: #2563eb !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  min-height: 42px !important;
  padding-left: 18px !important;
  padding-right: 18px !important;
}

body.page-login .btn-primary:hover,
body.page-passwordreset .btn-primary:hover,
body.page-register .btn-primary:hover {
  background: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
}

/* footer pubblico più ordinato */
body:not(.sh-app) #footer {
  background: #0c172b !important;
  color: rgba(255,255,255,.78) !important;
  border-top: 0 !important;
  padding-top: 18px !important;
  padding-bottom: 16px !important;
}

body:not(.sh-app) #footer a {
  color: rgba(255,255,255,.88) !important;
}

body:not(.sh-app) #footer .list-social,
body:not(.sh-app) #footer .footer-social,
body:not(.sh-app) #footer .social-icons,
body:not(.sh-app) #footer [class*="social"] {
  display: none !important;
}

/* migliora responsive */
@media (max-width: 1200px) {
  body.sh-app #main-body>.container,
  body.sh-app .master-breadcrumb>.container,
  body.sh-app #main-body .container {
    width: calc(100% - 24px) !important;
  }
}

@media (max-width: 991px) {
  body.page-login #main-body,
  body.page-passwordreset #main-body,
  body.page-register #main-body {
    align-items: flex-start !important;
    padding-top: 26px !important;
  }

  body.page-login .card-body,
  body.page-login .panel-body,
  body.page-passwordreset .card-body,
  body.page-register .card-body {
    padding: 24px !important;
  }
}

@media (max-width: 575px) {
  body.sh-app .sh-welcome h1 {
    font-size: 28px !important;
  }

  body.page-login #header .main-navbar-wrapper {
    display: none !important;
  }
}


/* SHIELDHOSTING LOGIN PREMIUM V3 */
body.sh-login {
  background: #f5f8fd !important;
  color: #17243b;
  min-height: 100vh;
}

body.sh-login #header {
  display: none !important;
}

.sh-guest-topbar {
  height: 82px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0c172b;
  border-bottom: 1px solid #223653;
}

.sh-guest-logo img {
  max-width: 195px;
  max-height: 58px;
  object-fit: contain;
}

.sh-guest-site {
  color: #cbd9ee !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
}

.sh-guest-site i {
  margin-left: 8px;
}

.sh-guest-site:hover {
  color: white !important;
}

body.sh-login #main-body {
  min-height: calc(100vh - 220px) !important;
  padding: 55px 16px 65px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  background:
    radial-gradient(circle at 50% 15%,#e4efff,transparent 55%),
    #f5f8fd !important;
}

body.sh-login #main-body > .container {
  width: 100%;
  max-width: 1050px !important;
}

body.sh-login .logincontainer {
  max-width: 500px !important;
  margin: 0 auto !important;
}

body.sh-login #main-body .card,
body.sh-login #main-body .panel {
  background: white !important;
  border: 1px solid #e4eaf3 !important;
  border-radius: 18px !important;
  box-shadow: 0 22px 65px rgba(18,37,69,.09) !important;
  overflow: hidden;
}

body.sh-login #main-body .card-body,
body.sh-login #main-body .panel-body {
  padding: 36px !important;
}

body.sh-login #main-body h1,
body.sh-login #main-body h2,
body.sh-login #main-body h3 {
  color: #14233d !important;
  font-weight: 800 !important;
  letter-spacing: -.6px;
}

body.sh-login .form-control {
  min-height: 46px;
  border: 1px solid #dce5f1 !important;
  border-radius: 9px !important;
  background: #fff;
}

body.sh-login .form-control:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37,99,235,.12) !important;
}

body.sh-login .btn-primary,
body.sh-login button[type="submit"] {
  background: #2563eb !important;
  border-color: #2563eb !important;
  color: white !important;
  border-radius: 9px !important;
  min-height: 43px;
  font-weight: 700 !important;
}

body.sh-login .btn-primary:hover,
body.sh-login button[type="submit"]:hover {
  background: #1d4ed8 !important;
}

body.sh-login #footer {
  background: #0c172b !important;
  color: #cbd5e1 !important;
  border-top: 0 !important;
}

@media(max-width: 575px) {
  .sh-guest-topbar {
    height: 72px;
    padding: 0 18px;
  }
  .sh-guest-logo img {
    max-width: 150px;
  }
  .sh-guest-site {
    font-size: 11px;
  }
  body.sh-login #main-body {
    padding: 28px 12px !important;
  }
  body.sh-login #main-body .card-body,
  body.sh-login #main-body .panel-body {
    padding: 24px !important;
  }
}


/* SHIELDHOSTING PREMIUM DARK V4 */

/* Palette globale */
:root {
  --sh-dark-bg: #0b1220;
  --sh-dark-surface: #142137;
  --sh-dark-surface2: #1b2b44;
  --sh-dark-border: #293a55;
  --sh-dark-text: #f1f5ff;
  --sh-dark-muted: #a5b4cb;
  --sh-dark-blue: #3b82f6;

  --bg: #0b1220;
  --bg-muted: #142137;
  --text: #f1f5ff;
  --text-muted: #a5b4cb;
  --border: #293a55;
  --border-muted: #24344f;
  --primary: #3b82f6;
}

/* Sfondo generale */
body,
body.sh-app,
body.sh-login,
body:not(.sh-app) {
  background: var(--sh-dark-bg) !important;
  color: var(--sh-dark-text);
}

/* Area principale */
body.sh-app #main-body,
body.sh-login #main-body,
body:not(.sh-app) #main-body {
  background: var(--sh-dark-bg) !important;
  color: var(--sh-dark-text);
}

/* Login con gradiente elegante */
body.sh-login #main-body {
  background:
    radial-gradient(ellipse at 50% 10%, #192e50 0%, transparent 65%),
    #0b1220 !important;
}

/* Barra superiore */
body.sh-app #header,
body.sh-app #header .topbar,
body.sh-app #header .main-navbar-wrapper,
body:not(.sh-app) #header,
body:not(.sh-app) #header .navbar,
body:not(.sh-app) #header .main-navbar-wrapper {
  background: #101b2f !important;
  border-color: var(--sh-dark-border) !important;
}

/* Logo e link della navigazione */
body #header a,
body #header .navbar-brand,
body #header .nav-link {
  color: var(--sh-dark-text) !important;
}

/* Sidebar */
body.sh-app .sh-side {
  background: #080f1f !important;
  border-right: 1px solid #1e304a !important;
}

body.sh-app .sh-links a,
body.sh-app .sh-links button {
  color: #b1c1d9 !important;
}

body.sh-app .sh-links a:hover,
body.sh-app .sh-links button:hover,
body.sh-app .sh-links .sh-current {
  background: #1a3155 !important;
  color: #fff !important;
}

body.sh-app .sh-support {
  background: #112541 !important;
  border-color: #29446a !important;
}

/* Card, pannelli e statistiche */
body #main-body .card,
body #main-body .panel,
body #main-body .well,
body #main-body .list-group-item,
body #main-body .tile,
body.sh-login #main-body .card {
  background: var(--sh-dark-surface) !important;
  color: var(--sh-dark-text) !important;
  border-color: var(--sh-dark-border) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.13) !important;
}

body.sh-app #main-body .tiles .tile {
  background: var(--sh-dark-surface) !important;
  border-color: var(--sh-dark-border) !important;
}

body.sh-app #main-body .tiles .tile:hover,
body #main-body .card:hover {
  border-color: #416da6 !important;
}

body #main-body .card-header,
body #main-body .card-footer,
body #main-body .panel-heading,
body #main-body .panel-footer {
  background: var(--sh-dark-surface2) !important;
  color: var(--sh-dark-text) !important;
  border-color: var(--sh-dark-border) !important;
}

/* Testi */
body #main-body h1,
body #main-body h2,
body #main-body h3,
body #main-body h4,
body #main-body h5,
body #main-body h6,
body #main-body .card-title,
body #main-body .panel-title,
body.sh-app .sh-welcome h1,
body.sh-app .sh-section-title h2,
body.sh-app #main-body .tiles .tile .stat {
  color: var(--sh-dark-text) !important;
}

body #main-body p,
body #main-body label,
body #main-body td,
body #main-body th,
body #main-body .form-check-label {
  color: #d3def0;
}

body #main-body .text-muted,
body #main-body small,
body.sh-app .sh-welcome p,
body.sh-app .sh-section-title span,
body.sh-app #main-body .tiles .tile .title {
  color: var(--sh-dark-muted) !important;
}

body #main-body a:not(.btn):not(.sh-order) {
  color: #81b5ff;
}

/* Campi di login, registrazione e account */
body #main-body .form-control,
body #main-body .form-select,
body #main-body input[type="text"],
body #main-body input[type="email"],
body #main-body input[type="password"],
body #main-body input[type="search"],
body #main-body input[type="number"],
body #main-body select,
body #main-body textarea,
body.sh-login .form-control {
  background: #0e1a2c !important;
  color: #f1f5ff !important;
  border: 1px solid #354762 !important;
  border-radius: 9px;
}

body #main-body input::placeholder,
body #main-body textarea::placeholder {
  color: #899db9 !important;
  opacity: 1;
}

body #main-body .form-control:focus,
body #main-body input:focus,
body #main-body textarea:focus {
  border-color: #60a5fa !important;
  box-shadow: 0 0 0 3px rgba(59,130,246,.17) !important;
}

/* Tabelle e fatture */
body #main-body .table {
  color: var(--sh-dark-text) !important;
  --bs-table-bg: #142137;
  --bs-table-color: #f1f5ff;
  --bs-table-border-color: #293a55;
  --bs-table-striped-bg: #192941;
  --bs-table-hover-bg: #203450;
}

body #main-body .table td,
body #main-body .table th {
  background-color: transparent;
  border-color: var(--sh-dark-border) !important;
}

body #main-body .table-striped tbody tr:nth-of-type(odd) {
  background: #192941 !important;
}

body #main-body .table-hover tbody tr:hover {
  background: #203450 !important;
}

body #main-body .table-responsive,
body #main-body .dataTables_wrapper {
  background: transparent !important;
}

/* Tab e navigazione nelle card */
body #main-body .nav-tabs {
  border-color: var(--sh-dark-border);
}

body #main-body .nav-tabs .nav-link {
  color: #b9c9df;
}

body #main-body .nav-tabs .nav-link.active {
  background: var(--sh-dark-surface2) !important;
  color: #fff !important;
  border-color: var(--sh-dark-border) !important;
}

/* Menu a tendina */
body .dropdown-menu {
  background: #17263e !important;
  border: 1px solid #354762 !important;
}

body .dropdown-menu a,
body .dropdown-item {
  color: #e8f0ff !important;
}

body .dropdown-item:hover {
  background: #243b5b !important;
}

/* Pulsanti blu */
body #main-body .btn-primary,
body.sh-login #main-body .btn-primary,
body.sh-app .sh-order {
  background: #2563eb !important;
  color: #fff !important;
  border-color: #2563eb !important;
}

body #main-body .btn-primary:hover,
body.sh-app .sh-order:hover {
  background: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
}

body #main-body .btn-default,
body #main-body .btn-light,
body #main-body .btn-outline-secondary {
  background: #1b2b44 !important;
  color: #e4edfa !important;
  border-color: #354762 !important;
}

/* Breadcrumb */
body.sh-app .master-breadcrumb {
  background: transparent !important;
}

body.sh-app .master-breadcrumb a,
body.sh-app .breadcrumb,
body.sh-app .breadcrumb-item {
  color: #9fb1cb !important;
}

/* Footer */
body.sh-app #footer,
body:not(.sh-app) #footer,
body #footer,
body footer.footer {
  background: #080f1d !important;
  color: #a8b8ce !important;
  border-color: #24344f !important;
}

body #footer a {
  color: #b8cfff !important;
}

/* Pagina di login */
body.sh-login .sh-guest-topbar {
  background: #080f1d !important;
  border-bottom-color: #24344f !important;
}

body.sh-login .logincontainer {
  color: #eaf0fb;
}

/* Mobile */
@media (max-width: 991px) {
  body.sh-app .sh-mobile {
    background: #101b2f !important;
    color: #fff !important;
    border-color: #293a55 !important;
  }

  body.sh-app .sh-mobile button {
    color: #fff !important;
  }
}

/* SHIELDHOSTING DOMAIN MENU */
body.sh-app #Primary_Navbar-Store-Register_a_New_Domain,
body.sh-app #Primary_Navbar-Domains-Register_a_New_Domain,
body.sh-app #Secondary_Sidebar-Actions-Domain_Registration {
    display: none !important;
}


/* SHIELDHOSTING CART V7 */

/* Variabili ufficiali Nexus */
:root {
  --bg: #0b1220;
  --bg-muted: #101b2f;
  --bg-lifted: #142137;
  --bg-accented: #1b2b44;
  --bg-inverted: #f1f5ff;

  --text: #f1f5ff;
  --text-muted: #a5b4cb;
  --text-lifted: #d5e2f5;
  --text-accented: #ffffff;
  --text-inverted: #0b1220;

  --border: #293a55;
  --border-muted: #24344f;
  --border-lifted: #416082;

  --primary: #3b82f6;
  --primary-lifted: #2563eb;
  --primary-accented: #1d4ed8;

  --rounding-md: .625rem;
  --rounding-lg: .875rem;
}

/* Sfondo carrello */
#main-body:has(#order-standard_cart) {
  background: #0b1220 !important;
  color: #f1f5ff !important;
}

/* Compatibilità vecchio ordine WHMCS */
#order-standard_cart {
  color: #f1f5ff !important;
}

#order-standard_cart .products .product,
#order-standard_cart .product,
#order-standard_cart .product-info,
#order-standard_cart .view-cart-items,
#order-standard_cart .summary-container,
#order-standard_cart .order-summary,
#order-standard_cart .sidebar-collapsed,
#order-standard_cart .panel {
  background: #142137 !important;
  color: #f1f5ff !important;
  border-color: #293a55 !important;
  border-radius: 12px !important;
}

#order-standard_cart .products .product header,
#order-standard_cart .product header,
#order-standard_cart .panel-heading,
#order-standard_cart .summary-container .summary-header {
  background: #1b2b44 !important;
  color: #ffffff !important;
  border-color: #293a55 !important;
}

#order-standard_cart .product *,
#order-standard_cart .product-info *,
#order-standard_cart .products .product * {
  color: #e4ecfa;
}

#order-standard_cart .product a,
#order-standard_cart .product-info a {
  color: #81b5ff !important;
}

#order-standard_cart .product .btn-primary,
#order-standard_cart .btn-primary {
  background: #2563eb !important;
  color: #fff !important;
  border-color: #2563eb !important;
}

#order-standard_cart input,
#order-standard_cart textarea,
#order-standard_cart select {
  background: #101b2f !important;
  color: #f1f5ff !important;
  border-color: #354762 !important;
}

#order-standard_cart input:focus,
#order-standard_cart select:focus {
  border-color: #60a5fa !important;
  outline-color: #60a5fa !important;
}

/* Header del vecchio carrello */
body #header .navbar-brand,
body #header .logo-text {
  color: #f1f5ff !important;
}

/* Evidenzia prezzi e riepiloghi */
#order-standard_cart .price,
#order-standard_cart .product-price,
#order-standard_cart .total-due {
  color: #82b5ff !important;
  font-weight: 700;
}

/* Responsive */
@media(max-width: 767px) {
  #order-standard_cart .products .product,
  #order-standard_cart .summary-container {
    border-radius: 10px !important;
  }
}


/* SH-STORE-V8 | ShieldHosting Premium */

/* Barra brand ufficiale */
.sh-v8-storebar {
  display: none;
}

body.sh-v8-cart .sh-v8-storebar,
body:has(#order-standard_cart) .sh-v8-storebar {
  display: block;
  background: #0d192e;
  border-bottom: 1px solid #263956;
  position: relative;
  z-index: 1020;
}

.sh-v8-storebar-inner {
  max-width: 1440px;
  min-height: 86px;
  padding: 16px 28px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.sh-v8-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.sh-v8-brand img {
  display: block;
  width: auto;
  max-width: 190px;
  max-height: 58px;
  object-fit: contain;
}

.sh-v8-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 27px;
}

.sh-v8-nav a {
  color: #bdcce2 !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}

.sh-v8-nav a:hover {
  color: #fff !important;
}

.sh-v8-nav .sh-v8-cartlink {
  padding: 12px 17px;
  color: white !important;
  background: #2563eb;
  border-radius: 10px;
}

.sh-v8-cartlink i {
  margin-right: 7px;
}

/* Sostituisce soltanto il vecchio header del negozio */
body.sh-v8-cart #header,
body:has(#order-standard_cart) #header {
  display: none !important;
}

body.sh-v8-cart .master-breadcrumb,
body:has(#order-standard_cart) .master-breadcrumb {
  display: none !important;
}

/* Area negozio */
body.sh-v8-cart,
body:has(#order-standard_cart) {
  background: #0b1220 !important;
  color: #f1f5ff;
}

body.sh-v8-cart #main-body,
body:has(#order-standard_cart) #main-body {
  padding: 38px 0 70px !important;
  background: #0b1220 !important;
  min-height: 72vh;
}

body.sh-v8-cart #main-body > .container,
body:has(#order-standard_cart) #main-body > .container {
  width: calc(100% - 52px) !important;
  max-width: 1390px !important;
}

/* Impaginazione carrello classico */
#order-standard_cart > .row {
  display: grid !important;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 25px;
  margin: 0 !important;
  align-items: start;
}

#order-standard_cart .cart-sidebar {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  min-width: 0;
}

#order-standard_cart .cart-body {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  min-width: 0;
}

#order-standard_cart .header-lined {
  margin-bottom: 26px !important;
}

#order-standard_cart .header-lined h1 {
  color: #f1f5ff !important;
  font-size: clamp(25px, 3vw, 34px) !important;
  font-weight: 800 !important;
  letter-spacing: -.7px;
  line-height: 1.2;
}

#order-standard_cart .header-lined p {
  color: #a8bbd5 !important;
  font-size: 14px;
}

/* Griglia hosting */
#order-standard_cart .products .row.row-eq-height {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 20px;
  margin: 0 0 20px !important;
  align-items: stretch;
}

#order-standard_cart .products .row.row-eq-height > .col-md-6 {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  padding: 0 !important;
}

/* Card hosting premium */
#order-standard_cart .products .product {
  display: flex !important;
  flex-direction: column;
  height: 100%;
  min-height: 340px;
  padding: 0 !important;
  overflow: hidden;
  background: #142137 !important;
  border: 1px solid #2a3c58 !important;
  border-radius: 17px !important;
  color: #e8f0fc !important;
  box-shadow: 0 12px 32px rgba(0,0,0,.13);
  transition: border-color .2s, transform .2s;
}

#order-standard_cart .products .product:hover {
  transform: translateY(-3px);
  border-color: #3b82f6 !important;
}

#order-standard_cart .products .product > header {
  background: #1b2d49 !important;
  color: #fff !important;
  padding: 22px 23px !important;
  border: 0 !important;
  border-bottom: 1px solid #2d4565 !important;
  font-size: 18px !important;
  font-weight: 750 !important;
  line-height: 1.35;
}

#order-standard_cart .products .product > header span {
  color: #fff !important;
}

/* Descrizioni leggibili */
#order-standard_cart .products .product .product-desc {
  padding: 22px 23px !important;
  flex: 1;
  background: transparent !important;
  color: #cbd8eb !important;
  font-size: 13px;
  line-height: 1.8;
}

#order-standard_cart .products .product .product-desc p,
#order-standard_cart .products .product .product-desc li,
#order-standard_cart .products .product .product-desc span,
#order-standard_cart .products .product .product-desc div {
  color: #cbd8eb !important;
  line-height: 1.8;
}

#order-standard_cart .products .product .product-desc strong,
#order-standard_cart .products .product .product-desc b {
  color: #fff !important;
}

#order-standard_cart .products .product .product-desc a {
  color: #8bbdff !important;
}

/* Prezzi e CTA */
#order-standard_cart .products .product > footer {
  margin-top: auto;
  padding: 20px 23px 24px !important;
  background: #142137 !important;
  border: 0 !important;
  border-top: 1px solid #293a55 !important;
  color: #cbd8eb !important;
}

#order-standard_cart .products .product .product-pricing {
  color: #a9bed9 !important;
  margin-bottom: 16px !important;
  font-size: 12px;
}

#order-standard_cart .products .product .product-pricing .price {
  color: #78adff !important;
  font-size: 24px !important;
  line-height: 1.4;
  font-weight: 800 !important;
}

#order-standard_cart .products .product .btn-order-now,
#order-standard_cart .products .product .btn-success {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: #2563eb !important;
  border: 1px solid #2563eb !important;
  color: white !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  font-size: 13px;
  padding: 12px 20px !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

#order-standard_cart .products .product .btn-order-now:hover {
  background: #1d4ed8 !important;
}

/* Sidebar categorie e azioni */
#order-standard_cart .cart-sidebar .panel,
#order-standard_cart .cart-sidebar .card,
#order-standard_cart .cart-sidebar .sidebar-collapsed {
  background: #142137 !important;
  border: 1px solid #293a55 !important;
  color: #eaf2ff !important;
  border-radius: 12px !important;
  overflow: hidden;
}

#order-standard_cart .cart-sidebar .panel-heading,
#order-standard_cart .cart-sidebar .card-header,
#order-standard_cart .cart-sidebar .sidebar-collapsed {
  background: #1b2d49 !important;
  color: #f1f5ff !important;
}

#order-standard_cart .cart-sidebar a {
  color: #c5d7ee !important;
}

#order-standard_cart .cart-sidebar a:hover {
  color: #82b5ff !important;
}

/* Formulario, riepilogo e checkout */
#order-standard_cart .order-summary,
#order-standard_cart .summary-container,
#order-standard_cart .view-cart-items,
#order-standard_cart .panel,
#order-standard_cart .modal-content {
  background: #142137 !important;
  color: #ecf3ff !important;
  border-color: #293a55 !important;
}

#order-standard_cart .panel-heading,
#order-standard_cart .summary-container .summary-header {
  background: #1b2d49 !important;
  color: #fff !important;
  border-color: #293a55 !important;
}

#order-standard_cart .form-control,
#order-standard_cart select,
#order-standard_cart textarea,
#order-standard_cart input[type="text"],
#order-standard_cart input[type="email"],
#order-standard_cart input[type="password"],
#order-standard_cart input[type="number"] {
  background: #101d32 !important;
  border: 1px solid #354b6c !important;
  color: #f1f5ff !important;
  border-radius: 9px !important;
}

#order-standard_cart .form-control:focus {
  border-color: #60a5fa !important;
  box-shadow: 0 0 0 3px rgba(59,130,246,.15) !important;
}

/* Mantieni visibili avvisi ed errori */
#order-standard_cart .alert-danger,
#order-standard_cart .alert-danger * {
  color: #842029 !important;
}

#order-standard_cart .alert-success,
#order-standard_cart .alert-success * {
  color: #0f5132 !important;
}

#order-standard_cart .alert-warning,
#order-standard_cart .alert-warning * {
  color: #664d03 !important;
}

/* Pulsanti */
#order-standard_cart .btn-primary,
#order-standard_cart .btn-success {
  background: #2563eb !important;
  border-color: #2563eb !important;
  color: #fff !important;
  border-radius: 9px !important;
}

/* Footer del negozio */
body.sh-v8-cart #footer,
body:has(#order-standard_cart) #footer {
  background: #0a1426 !important;
  border-top: 1px solid #263956 !important;
  color: #aebed4 !important;
}

/* Adattamento tablet e smartphone */
@media (max-width: 991px) {
  #order-standard_cart > .row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  #order-standard_cart .products .row.row-eq-height {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .sh-v8-storebar-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 18px;
  }

  .sh-v8-nav {
    justify-content: center;
    gap: 12px 20px;
  }
}

@media (max-width: 650px) {
  #order-standard_cart .products .row.row-eq-height {
    grid-template-columns: 1fr;
  }

  body.sh-v8-cart #main-body > .container,
  body:has(#order-standard_cart) #main-body > .container {
    width: calc(100% - 24px) !important;
  }

  .sh-v8-brand img {
    max-width: 160px;
  }

  .sh-v8-nav a {
    font-size: 12px;
  }
}


/* SHIELDHOSTING NOTIFICATIONS V12 */

/* Nasconde la vecchia barra WHMCS nell'area clienti */
body.sh-app:not(.sh-expanded) #header {
  display: none !important;
}

/* Il menu completo originale rimane disponibile */
body.sh-app.sh-expanded #header {
  display: block !important;
}

body.sh-app.sh-expanded #header .topbar {
  display: none !important;
}

/* Rimuove Home / Area Clienti / ... */
body.sh-app .master-breadcrumb {
  display: none !important;
}

/* Recupera lo spazio occupato dalle vecchie barre */
body.sh-app #main-body {
  padding-top: 26px !important;
}

body.sh-app .sh-welcome {
  padding-top: 0 !important;
}

/* NOTIFICHE NELLA SIDEBAR */
.sh-notify-widget {
  margin-top: 23px;
  margin-bottom: 10px;
  border-top: 1px solid #233750;
  padding-top: 17px;
}

.sh-alert-details {
  display: block;
}

.sh-notify-toggle {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 14px;
  border-radius: 10px;
  color: #b4c5de;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: background .2s ease;
}

.sh-notify-toggle::-webkit-details-marker {
  display: none;
}

.sh-notify-toggle:hover,
.sh-alert-details[open] .sh-notify-toggle {
  background: #1a3155;
  color: #fff;
}

.sh-notify-toggle > i:first-child {
  width: 19px;
  color: #93baff;
  text-align: center;
  font-size: 16px;
}

.sh-notify-toggle > span:nth-child(2) {
  flex: 1;
}

.sh-alert-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border-radius: 7px;
  background: #2563eb;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.sh-alert-zero {
  color: #7387a4;
  font-size: 11px;
}

.sh-alert-arrow {
  color: #7e93ae;
  font-size: 10px;
  transition: transform .2s ease;
}

.sh-alert-details[open] .sh-alert-arrow {
  transform: rotate(180deg);
}

.sh-alert-panel {
  padding: 15px 9px 6px;
  animation: sh-alert-enter .18s ease;
}

@keyframes sh-alert-enter {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.sh-alert-heading {
  padding: 0 8px 12px;
  color: #748aa8;
  letter-spacing: 1.3px;
  font-size: 9px;
  font-weight: 800;
}

.sh-alert-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 260px;
  overflow-y: auto;
}

.sh-alert-list li {
  margin: 0 0 6px;
}

.sh-alert-list a {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 10px;
  background: #172b49;
  border: 1px solid #29415f;
  border-radius: 9px;
  color: #d9e6f8 !important;
  text-decoration: none !important;
  font-size: 11px;
  line-height: 1.6;
}

.sh-alert-list a:hover {
  background: #1e3a61;
  border-color: #4274b6;
}

.sh-alert-list a > i {
  color: #60a5fa;
  margin-top: 3px;
}

.sh-alert-message {
  min-width: 0;
  overflow-wrap: anywhere;
}

.sh-alert-message * {
  color: inherit;
  max-width: 100%;
}

.sh-no-alerts {
  padding: 15px 8px;
  color: #90a5c0;
  font-size: 11px;
  line-height: 1.6;
}

.sh-no-alerts i {
  color: #4ade80;
  margin-right: 6px;
}

/* Dispositivi mobili */
@media (max-width: 991px) {
  body.sh-app #main-body {
    padding-top: 18px !important;
  }

  .sh-notify-widget {
    margin-top: 14px;
  }
}



/* SHIELDHOSTING DOMAINS V14 */

/* Solo pagina I miei domini */

/* Nasconde il menu laterale Visualizza e Azioni */
body.sh-domain-list #main-body .sidebar,
body.sh-domain-list #main-body > .container > .row >
.col-lg-4.col-xl-3 {
    display: none !important;
}

/* Espande la tabella dei domini */
body.sh-domain-list #main-body .primary-content,
body.sh-domain-list #main-body > .container > .row >
.col-lg-8.col-xl-9 {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
}

/* Sfrutta lo spazio disponibile */
body.sh-domain-list #main-body > .container {
    width: calc(100% - 48px) !important;
    max-width: 1550px !important;
}

body.sh-domain-list #main-body {
    padding-top: 26px !important;
}

/* Tabella domini premium */
body.sh-domain-list #main-body .table,
body.sh-domain-list #main-body .dataTable {
    width: 100% !important;
    background: #111f34 !important;
    color: #e8f0fc !important;
    border: 1px solid #2a3b55 !important;
    border-radius: 14px;
    overflow: hidden;
}

body.sh-domain-list #main-body .table thead th,
body.sh-domain-list #main-body .dataTable thead th {
    background: #1a2b46 !important;
    color: #e9f1ff !important;
    border-color: #2a3b55 !important;
    padding: 16px 14px !important;
    font-size: 12px;
    font-weight: 700;
}

body.sh-domain-list #main-body .table tbody td,
body.sh-domain-list #main-body .dataTable tbody td {
    background: #111f34 !important;
    color: #d9e6f8 !important;
    border-color: #293a55 !important;
    padding: 16px 14px !important;
    vertical-align: middle;
}

body.sh-domain-list #main-body .table tbody tr:hover td,
body.sh-domain-list #main-body .dataTable tbody tr:hover td {
    background: #1c3151 !important;
}

/* Collegamenti ai domini */
body.sh-domain-list #main-body .table a,
body.sh-domain-list #main-body .dataTable a {
    color: #85b7ff !important;
    font-weight: 600;
}

/* Campo ricerca */
body.sh-domain-list #main-body .form-control,
body.sh-domain-list #main-body input[type="search"],
body.sh-domain-list #main-body select {
    background: #14243d !important;
    color: #eef5ff !important;
    border: 1px solid #304663 !important;
    border-radius: 9px !important;
}

/* Nasconde link di registrazione autonoma */
body.sh-domain-list
a[href*="domain=register"],
body.sh-domain-list
a[href*="domain=registration"] {
    display: none !important;
}

/* Pulsanti gestione dominio */
body.sh-domain-list #main-body .btn {
    border-radius: 9px !important;
    font-weight: 600;
}

body.sh-domain-list #main-body .btn-primary {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: white !important;
}

/* Paginazione */
body.sh-domain-list #main-body .pagination .page-link {
    background: #172841 !important;
    border-color: #304663 !important;
    color: #cbdcf3 !important;
}

body.sh-domain-list #main-body
.pagination .active .page-link {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: white !important;
}

/* Mobile */
@media(max-width:991px) {
    body.sh-domain-list #main-body > .container {
        width: calc(100% - 24px) !important;
    }

    body.sh-domain-list #main-body .primary-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.sh-domain-list #main-body .table-responsive {
        overflow-x: auto !important;
    }
}


/* SHIELDHOSTING CLEAN V15 */

/* FATTURE: TABELLA PREMIUM DARK */
body.sh-app #tableInvoicesList {
  width: 100% !important;
  background: #142137 !important;
  border: 1px solid #293a55 !important;
  border-radius: 14px;
  border-collapse: separate !important;
  border-spacing: 0;
  overflow: hidden;
}

body.sh-app #tableInvoicesList thead th {
  background: #1b2b44 !important;
  color: #f1f5ff !important;
  border-color: #293a55 !important;
  padding: 17px 15px !important;
  font-weight: 700;
}

body.sh-app #tableInvoicesList tbody td {
  background: #142137 !important;
  color: #dce8f8 !important;
  border-color: #293a55 !important;
  padding: 16px 15px !important;
  vertical-align: middle;
}

body.sh-app #tableInvoicesList tbody tr:hover td {
  background: #213653 !important;
}

/* FATTURE NON PAGATE: ROSSO */
body.sh-app #tableInvoicesList
tbody tr:has(.status-unpaid) td {
  background: #291b2b !important;
  border-bottom-color: #563044 !important;
}

body.sh-app #tableInvoicesList
tbody tr:has(.status-unpaid):hover td {
  background: #382237 !important;
}

body.sh-app #tableInvoicesList
tbody tr:has(.status-unpaid) td:first-child {
  box-shadow: inset 4px 0 #ef4444 !important;
  font-weight: 800 !important;
}

body.sh-app #tableInvoicesList
.status-unpaid {
  display: inline-flex;
  align-items: center;
  background: #622438 !important;
  color: #ffd3dc !important;
  border: 1px solid #b54767 !important;
  border-radius: 8px !important;
  padding: 7px 12px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

/* FATTURE PAGATE: VERDE */
body.sh-app #tableInvoicesList .status-paid {
  display: inline-flex;
  background: #143d35 !important;
  color: #86efac !important;
  border: 1px solid #23795d !important;
  border-radius: 8px !important;
  padding: 7px 12px !important;
  font-weight: 700 !important;
}

/* FATTURE ANNULLATE O RIMBORSATE */
body.sh-app #tableInvoicesList
:is(.status-cancelled,.status-refunded) {
  display: inline-flex;
  background: #303d51 !important;
  color: #c5d0e0 !important;
  border: 1px solid #506078 !important;
  border-radius: 8px !important;
  padding: 7px 12px !important;
}

/* PAGAMENTO IN ATTESA */
body.sh-app #tableInvoicesList
.status-paymentpending {
  display: inline-flex;
  background: #503a1d !important;
  color: #fde68a !important;
  border: 1px solid #8b6727 !important;
  border-radius: 8px !important;
  padding: 7px 12px !important;
}

/* AVVISO VISIBILE SOLO SE ESISTONO FATTURE NON PAGATE */
body.sh-app #main-body
.table-container:has(#tableInvoicesList .status-unpaid)::before {
  content: "●  Attenzione: hai fatture non pagate";
  display: block;
  background: #301c2c;
  border: 1px solid #884358;
  border-left: 4px solid #ef4444;
  color: #ffd3dc;
  border-radius: 11px;
  padding: 15px 18px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 700;
}

/* CAMPI DI RICERCA E FILTRI */
body.sh-app #main-body .dataTables_filter input,
body.sh-app #main-body .dataTables_length select {
  background: #172841 !important;
  color: #f1f5ff !important;
  border: 1px solid #354b6c !important;
  border-radius: 9px !important;
  padding: 8px 12px;
}

body.sh-app #main-body .dataTables_info,
body.sh-app #main-body .dataTables_length,
body.sh-app #main-body .dataTables_filter {
  color: #b2c2db !important;
}

/* PAGINAZIONE */
body.sh-app #main-body .pagination .page-link {
  background: #1a2b44 !important;
  color: #c8d8ed !important;
  border: 1px solid #354762 !important;
}

body.sh-app #main-body
.pagination .active .page-link {
  background: #2563eb !important;
  color: white !important;
  border-color: #2563eb !important;
}

/* RESPONSIVE */
@media(max-width:767px) {
  body.sh-app #main-body .table-responsive,
  body.sh-app #main-body .table-container {
    overflow-x: auto;
  }

  body.sh-app #tableInvoicesList th,
  body.sh-app #tableInvoicesList td {
    padding: 12px !important;
  }
}


body.sh-app:has(#tableInvoicesList) #main-body > .container > .row > .col-lg-4.col-xl-3,
body.sh-app:has(#tableServicesList) #main-body > .container > .row > .col-lg-4.col-xl-3,
body.sh-app:has(#tableDomainsList) #main-body > .container > .row > .col-lg-4.col-xl-3,
body.sh-app:has(#tableTicketsList) #main-body > .container > .row > .col-lg-4.col-xl-3,
body.sh-app:has(#tableQuotesList) #main-body > .container > .row > .col-lg-4.col-xl-3,
body.sh-app:has(#tableEmailsList) #main-body > .container > .row > .col-lg-4.col-xl-3 {
  display: none !important;
}


body.sh-app:has(#tableInvoicesList) #main-body > .container > .row > .primary-content,
body.sh-app:has(#tableServicesList) #main-body > .container > .row > .primary-content,
body.sh-app:has(#tableDomainsList) #main-body > .container > .row > .primary-content,
body.sh-app:has(#tableTicketsList) #main-body > .container > .row > .primary-content,
body.sh-app:has(#tableQuotesList) #main-body > .container > .row > .primary-content,
body.sh-app:has(#tableEmailsList) #main-body > .container > .row > .primary-content {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
}


/* SHIELDHOSTING DASHBOARD V16 */

body.sh-app.sh-home #main-body > .container {
  max-width: 1560px !important;
  width: calc(100% - 48px) !important;
}

body.sh-home .sh-v16-shell {
  display: grid;
  grid-template-columns: minmax(235px,270px) minmax(0,1fr);
  gap: 24px;
  align-items: start;
}

body.sh-home .sh-v16-aside,
body.sh-home .sh-v16-main {
  min-width: 0;
}

body.sh-home .sh-v16-aside {
  display: grid;
  gap: 16px;
}

body.sh-home .sh-v16-card {
  background: #142137;
  border: 1px solid #293a55;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  color: #e8f0fc;
}

body.sh-home .sh-v16-card-title {
  padding: 17px 19px;
  background: #1b2b44;
  font-size: 13px;
  font-weight: 750;
  color: #f3f7ff;
  border-bottom: 1px solid #2e415f;
}

body.sh-home .sh-v16-card-title i {
  color: #65a0ff;
  margin-right: 8px;
}

body.sh-home .sh-v16-account {
  padding-bottom: 18px;
}

body.sh-home .sh-v16-avatar {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 22px 19px 12px;
  background: #203c66;
  color: #93baff;
  border-radius: 15px;
  font-size: 22px;
}

body.sh-home .sh-v16-client,
body.sh-home .sh-v16-email {
  display: block;
  margin: 0 19px;
  overflow-wrap: anywhere;
}

body.sh-home .sh-v16-client {
  color: #fff;
  font-size: 15px;
}

body.sh-home .sh-v16-email {
  color: #a7b9d3;
  font-size: 12px;
  margin-top: 7px;
}

body.sh-home .sh-v16-account-link {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin: 17px 19px 0;
  padding: 9px 13px;
  border-radius: 9px;
  background: #2563eb;
  color: #fff !important;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

body.sh-home .sh-v16-shortcuts a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 18px;
  border-bottom: 1px solid #263750;
  color: #cad8ec !important;
  text-decoration: none;
  font-size: 12px;
}

body.sh-home .sh-v16-shortcuts a:last-child {
  border-bottom: 0;
}

body.sh-home .sh-v16-shortcuts a:hover {
  background: #203759;
  color: #fff !important;
}

body.sh-home .sh-v16-shortcuts a i {
  color: #72adff;
  width: 18px;
}

body.sh-home .sh-v16-support p {
  padding: 16px 18px 0;
  color: #abbcd5;
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
}

body.sh-home .sh-v16-support > a {
  display: block;
  margin: 12px 18px 18px;
  color: #8dbaff !important;
  font-size: 12px;
  font-weight: 700;
}

body.sh-home .sh-v16-main .sh-welcome {
  padding: 4px 0 24px !important;
}

body.sh-home .sh-v16-main .tiles .row > div {
  padding: 7px !important;
}

body.sh-home .sh-v16-main .tiles .tile {
  min-height: 150px !important;
  border-radius: 16px !important;
  background: #142137 !important;
  border-color: #2b3c59 !important;
}

body.sh-home .sh-v16-main .tiles .tile .stat {
  font-size: 35px !important;
  color: #f1f5ff !important;
}

body.sh-home .sh-v16-main .card,
body.sh-home .sh-v16-main .panel {
  border-radius: 16px !important;
}

/* FOOTER PAGAMENTI */

.sh-v16-payments {
  background: #080f1d;
  border-top: 1px solid #263650;
  padding: 17px 20px;
  color: #aabbd4;
}

.sh-v16-payments-inner {
  max-width: 1350px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 25px;
}

.sh-v16-payments-label {
  font-size: 12px;
  font-weight: 650;
  color: #b7c7de;
}

.sh-v16-payment-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.sh-v16-payment {
  display: grid;
  place-items: center;
  width: 72px;
  height: 38px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #d8e0ec;
  padding: 6px;
}

.sh-v16-payment img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media(max-width:1100px) {
  body.sh-home .sh-v16-shell {
    grid-template-columns: 240px minmax(0,1fr);
    gap: 16px;
  }
}

@media(max-width:900px) {
  body.sh-home .sh-v16-shell {
    grid-template-columns: minmax(0,1fr);
  }

  body.sh-home .sh-v16-aside {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  body.sh-home .sh-v16-support {
    grid-column: 1/-1;
  }
}

@media(max-width:600px) {
  body.sh-home .sh-v16-aside {
    grid-template-columns: 1fr;
  }

  body.sh-app.sh-home #main-body > .container {
    width: calc(100% - 22px) !important;
  }

  .sh-v16-payment {
    width: 64px;
    height: 34px;
  }
}


/* SHIELDHOSTING DASHBOARD V17 */

/* STATISTICHE */
body.sh-app.sh-home .sh-v17-orders-tile {
  cursor: default !important;
}

body.sh-app.sh-home .sh-v17-orders-tile .stat {
  color: #60a5fa !important;
}

body.sh-app.sh-home .sh-v17-unpaid-tile .stat {
  color: #fb7185 !important;
}

body.sh-app.sh-home .sh-v17-unpaid-tile i {
  color: #fb7185 !important;
}

body.sh-app.sh-home .sh-v16-main .tiles .tile {
  min-height: 152px !important;
  background: #142137 !important;
  border: 1px solid #293b58 !important;
  box-shadow: 0 8px 25px rgba(0,0,0,.10) !important;
}

/* FOOTER UNIFICATO */
body.sh-app #footer {
  background: #0a1426 !important;
  border-top: 1px solid #263956 !important;
  color: #aebed4 !important;
  padding: 18px 0 12px !important;
  margin-top: 36px !important;
}

body.sh-app #footer a {
  color: #c2d2e9 !important;
  text-decoration: none;
}

body.sh-app #footer a:hover {
  color: #fff !important;
}

body.sh-app #footer .container,
body.sh-app #footer .container-fluid {
  max-width: 1400px !important;
  margin-left: auto;
  margin-right: auto;
}

/* Elimina i gruppi social decorativi */
body.sh-app #footer .list-social,
body.sh-app #footer .social-icons,
body.sh-app #footer .footer-social {
  display: none !important;
}

/* Metodi di pagamento nella stessa fascia del footer */
body.sh-app #footer .sh-v16-payments {
  background: transparent !important;
  border-top: 1px solid #263956 !important;
  margin: 18px auto 0 !important;
  padding: 20px 18px 8px !important;
  max-width: 1400px !important;
}

body.sh-app #footer .sh-v16-payments-inner {
  max-width: none !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 12px 24px !important;
}

body.sh-app #footer .sh-v16-payments-label {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #aebfda !important;
}

body.sh-app #footer .sh-v16-payment-icons {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 9px !important;
}

body.sh-app #footer .sh-v16-payment {
  width: 70px !important;
  height: 39px !important;
  padding: 7px !important;
  border-radius: 9px !important;
  background: #fff !important;
  border: 1px solid #e5ebf4 !important;
  box-shadow: 0 3px 12px rgba(0,0,0,.12) !important;
}

body.sh-app #footer .sh-v16-payment img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

@media (max-width: 600px) {
  body.sh-app #footer {
    padding-top: 16px !important;
  }

  body.sh-app #footer .sh-v16-payments-inner {
    flex-direction: column;
  }

  body.sh-app #footer .sh-v16-payment {
    width: 62px !important;
    height: 35px !important;
  }
}


/* SHIELDHOSTING FINAL V18 */

/* FOOTER PRINCIPALE */
#footer {
  background: #0a1426 !important;
  border-top: 1px solid #263956 !important;
  color: #aebfd8 !important;
  padding: 18px 18px 15px !important;
}

#footer > .container,
#footer > .container-fluid {
  max-width: 1250px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Elimina gli ultimi social rimasti */
#footer .list-social,
#footer .footer-social,
#footer .social-icons,
#footer a[href*="discord"],
#footer a[href*="whatsapp"],
#footer a[href*="wa.me/"],
#footer a[href*="facebook.com"],
#footer a[href*="instagram.com"],
#footer a[href*="twitter.com"],
#footer a[href^="https://x.com/"],
#footer a[href*="linkedin.com"] {
  display: none !important;
}

/* Nasconde i contenitori vuoti di Discord e WhatsApp */
#footer li:has(> a[href*="discord"]),
#footer li:has(> a[href*="whatsapp"]),
#footer li:has(> a[href*="wa.me/"]) {
  display: none !important;
}

#footer a {
  color: #c3d2e7 !important;
  text-decoration: none;
}

#footer a:hover {
  color: #ffffff !important;
}

/* PAGAMENTI INTEGRATI */
#footer .sh-v16-payments {
  background: transparent !important;
  max-width: 1250px !important;
  margin: 14px auto 0 !important;
  padding: 16px 0 2px !important;
  border-top: 1px solid #293952 !important;
}

#footer .sh-v16-payments-inner {
  max-width: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 12px 22px !important;
}

#footer .sh-v16-payments-label {
  color: #aabdd8 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .3px;
}

#footer .sh-v16-payment-icons {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

/* Loghi Visa, Mastercard, Amex, PayPal, Apple, Google */
#footer .sh-v16-payment {
  display: grid !important;
  place-items: center !important;
  width: 66px !important;
  height: 36px !important;
  padding: 7px !important;
  border: 1px solid #dbe3ed !important;
  background: #fff !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

#footer .sh-v16-payment img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

/* DASHBOARD: ORDINI IN LAVORAZIONE */
body.sh-app.sh-home .sh-v17-orders-tile {
  cursor: pointer !important;
}

body.sh-app.sh-home .sh-v17-orders-tile .stat {
  color: #60a5fa !important;
}

body.sh-app.sh-home .sh-v17-orders-tile:hover {
  border-color: #3b82f6 !important;
  background: #1b304e !important;
}

/* MOBILE */
@media(max-width:767px) {
  #footer {
    padding: 20px 12px !important;
  }

  #footer .sh-v16-payments-inner {
    flex-direction: column !important;
    gap: 12px !important;
  }

  #footer .sh-v16-payment {
    width: 62px !important;
    height: 34px !important;
  }
}

