
/* SHIELDHOSTING SIDEBAR V23 */

/* Sidebar ufficiale */
body.sh-app .sh-side {
  background: #091426 !important;
  border-right: 1px solid #1d304b !important;
  box-shadow: none !important;
}

/* Etichette dei gruppi */
body.sh-app .sh-side .sh-label,
body.sh-app .sh-side .sh-label-space {
  color: #6480a4 !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  letter-spacing: 1.6px !important;
}

/* Nessun riquadro attorno ai menu */
body.sh-app .sh-side .sh-n21-group,
body.sh-app .sh-side .sh-n21-group[open] {
  display: block;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  margin: 2px 6px !important;
  padding: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

/* Voci principali */
body.sh-app .sh-side .sh-n21-group > summary {
  position: relative;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 39px !important;
  padding: 10px 11px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 8px !important;
  color: #a9bdd9 !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  transition: background .18s, color .18s;
}

body.sh-app .sh-side .sh-n21-group > summary:hover {
  background: #152944 !important;
  color: #ffffff !important;
}

body.sh-app .sh-side .sh-n21-group[open] > summary {
  background: #192f50 !important;
  color: #ffffff !important;
}

/* Indicatore blu sottile */
body.sh-app .sh-side .sh-n21-group[open] > summary::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  bottom: 9px;
  width: 2px;
  border-radius: 3px;
  background: #4f91ff;
}

/* Icone */
body.sh-app .sh-side .sh-n21-group .sh-n21-ico {
  width: 17px !important;
  flex: 0 0 17px !important;
  text-align: center !important;
  color: #80aaf0 !important;
  font-size: 12px !important;
}

body.sh-app .sh-side .sh-n21-title {
  flex: 1;
  font-size: inherit !important;
}

body.sh-app .sh-side .sh-n21-chevron {
  color: #748fb4 !important;
  font-size: 9px !important;
}

/* Sottomenu: solo una linea verticale */
body.sh-app .sh-side .sh-n21-items {
  display: grid !important;
  gap: 2px !important;
  background: transparent !important;
  border: 0 !important;
  border-left: 1px solid #2a4263 !important;
  border-radius: 0 !important;
  margin: 5px 0 10px 20px !important;
  padding: 2px 0 2px 9px !important;
  box-shadow: none !important;
}

/* Sottovoci */
body.sh-app .sh-side .sh-n21-items a {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  min-height: 32px !important;
  padding: 8px 9px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 7px !important;
  color: #91a9c9 !important;
  font-size: 10.5px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  transition: background .18s, color .18s;
}

body.sh-app .sh-side .sh-n21-items a i {
  width: 14px !important;
  color: #729acb !important;
  font-size: 11px !important;
}

/* Hover */
body.sh-app .sh-side .sh-n21-items a:hover {
  background: #142b4b !important;
  color: #fff !important;
}

/* Voce attiva */
body.sh-app .sh-side .sh-n21-items a.sh-n21-active,
body.sh-app .sh-side .sh-n21-items a.sh-v23-active {
  background: #1a3559 !important;
  color: #ffffff !important;
  font-weight: 650 !important;
}

body.sh-app .sh-side .sh-n21-items a.sh-n21-active i,
body.sh-app .sh-side .sh-n21-items a.sh-v23-active i {
  color: #79b0ff !important;
}

/* Link principali fuori dai sottomenu */
body.sh-app .sh-side a.sh-v23-main-link {
  position: relative;
  display: flex !important;
  align-items: center;
  gap: 10px;
  min-height: 39px;
  border-radius: 8px !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  transition: background .18s, color .18s;
}

body.sh-app .sh-side a.sh-v23-main-link:hover {
  background: #152944 !important;
  color: #fff !important;
}

body.sh-app .sh-side a.sh-v23-active.sh-v23-main-link {
  background: #192f50 !important;
  color: #ffffff !important;
  box-shadow: inset 2px 0 #4f91ff !important;
}

/* Link della sidebar più leggibili */
body.sh-app .sh-side a:focus-visible,
body.sh-app .sh-side summary:focus-visible {
  outline: 2px solid #60a5fa !important;
  outline-offset: 2px !important;
}

/* Mobile */
@media (max-width: 991px) {
  body.sh-app .sh-side .sh-n21-group {
    margin: 2px 5px !important;
  }
}



/* SHIELDHOSTING SIDEBAR V24 */

/* Voci principali: leggermente più grandi */
body.sh-app .sh-side a.sh-v23-main-link,
body.sh-app .sh-side .sh-n21-group > summary {
    font-size: 13px !important;
    font-weight: 600 !important;
    min-height: 43px !important;
    padding: 11px 12px !important;
    line-height: 1.45 !important;
}

/* Sottomenu più leggibili */
body.sh-app .sh-side .sh-n21-items a {
    font-size: 12px !important;
    font-weight: 500 !important;
    min-height: 36px !important;
    padding: 9px 10px !important;
    line-height: 1.45 !important;
}

/* Icone principali */
body.sh-app .sh-side .sh-n21-group .sh-n21-ico,
body.sh-app .sh-side a.sh-v23-main-link > i {
    font-size: 14px !important;
    width: 18px !important;
    flex: 0 0 18px !important;
}

/* Icone dei sottomenu */
body.sh-app .sh-side .sh-n21-items a i {
    font-size: 12px !important;
    width: 16px !important;
}

/* Etichette Workspace / Account */
body.sh-app .sh-side .sh-label,
body.sh-app .sh-side .sh-label-space {
    font-size: 10px !important;
    letter-spacing: 1.5px !important;
    font-weight: 800 !important;
}

/* Notifiche */
body.sh-app .sh-side .sh-notify-toggle {
    font-size: 12.5px !important;
    min-height: 43px !important;
}

body.sh-app .sh-side .sh-alert-list a {
    font-size: 12px !important;
    line-height: 1.6 !important;
}

/* Collegamenti semplici */
body.sh-app .sh-side a:not(.sh-n21-sub-link):not(.sh-v24-official) {
    line-height: 1.45;
}

/* Pulsante Sito Ufficiale */
body.sh-app .sh-side a.sh-v24-official {
    display: flex !important;
    align-items: center !important;
    gap: 11px !important;

    min-height: 43px !important;
    margin: 5px 6px !important;
    padding: 11px 12px !important;

    background: transparent !important;
    color: #b9cce6 !important;

    border: 1px solid transparent !important;
    border-radius: 9px !important;

    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;

    text-decoration: none !important;
    transition: background .18s, color .18s, border-color .18s;
}

body.sh-app .sh-side a.sh-v24-official > i:first-child {
    width: 18px;
    color: #79adff !important;
    font-size: 14px !important;
    text-align: center;
}

body.sh-app .sh-side a.sh-v24-official > span {
    flex: 1;
}

body.sh-app .sh-side a.sh-v24-official .sh-v24-arrow {
    color: #829bbd !important;
    font-size: 11px !important;
}

body.sh-app .sh-side a.sh-v24-official:hover {
    background: #1a3154 !important;
    border-color: #2c4770 !important;
    color: #fff !important;
}

body.sh-app .sh-side a.sh-v24-official:focus-visible {
    outline: 2px solid #60a5fa !important;
    outline-offset: 2px;
}



/* SHIELDHOSTING NEWS V25 */

body.sh-app .sh-v25-menu {
    display: flex !important;
    align-items: center;
    gap: 10px;
}

body.sh-app .sh-v25-badge {
    margin-left: auto;
    border-radius: 6px;
    background: #50391b;
    color: #fbbf24;
    padding: 2px 7px;
    font-size: 11px;
    font-weight: 700;
}

body.sh-app .sh-v25-news {
    background: #142239;
    border: 1px solid #2c4971;
    border-left: 4px solid #3b82f6;
    border-radius: 14px;
    margin: 0 0 18px;
    overflow: hidden;
}

body.sh-app .sh-v25-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 16px 20px;
    background: #192b45;
    color: #f1f5f9;
    border-bottom: 1px solid #30445e;
}

body.sh-app .sh-v25-heading i {
    color: #60a5fa;
    margin-right: 5px;
}

body.sh-app .sh-v25-heading a {
    color: #93c5fd !important;
    font-size: 12px;
}

body.sh-app .sh-v25-news-item {
    padding: 20px;
}

body.sh-app .sh-v25-news-item +
.sh-v25-news-item {
    border-top: 1px solid #293d59;
}

body.sh-app .sh-v25-date {
    color: #a0b1c9;
    font-size: 12px;
    margin-bottom: 9px;
}

body.sh-app .sh-v25-news-item h3 {
    color: #f1f5f9 !important;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 10px;
}

body.sh-app .sh-v25-news-item p {
    color: #b7c8de !important;
    font-size: 13px;
    line-height: 1.7;
}

body.sh-app a.sh-v25-read {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #2563eb;
    color: #fff !important;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
}

body.sh-app a.sh-v25-read:hover {
    background: #1d4ed8;
}

body.sh-app a.sh-v25-status {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 18px;
    margin-bottom: 22px;
    border: 1px solid;
    border-radius: 12px;
    text-decoration: none !important;
}

body.sh-app .sh-v25-status > i {
    font-size: 20px;
}

body.sh-app .sh-v25-status strong,
body.sh-app .sh-v25-status span {
    display: block;
    color: inherit !important;
}

body.sh-app .sh-v25-status span {
    font-size: 12px;
    margin-top: 4px;
}

body.sh-app .sh-v25-status-arrow {
    margin-left: auto;
}

body.sh-app a.sh-v25-ok {
    background: #10251f;
    border-color: #245d40;
    color: #86efac !important;
}

body.sh-app a.sh-v25-warning {
    background: #2c2317;
    border-color: #785520;
    color: #fcd34d !important;
}

body.sh-app a.sh-v25-maintenance {
    background: #142943;
    border-color: #31578a;
    color: #93c5fd !important;
}

body.sh-app .network-issue-alert.alert-warning {
    background: #2c2317 !important;
    border: 0 !important;
    border-bottom: 1px solid #785520 !important;
    color: #fcd34d !important;
    padding: 13px 15px !important;
}

body.sh-app .network-issue-alert.alert-warning * {
    color: #fcd34d !important;
}

body.sh-app .network-issue-alert.alert-info {
    background: #142943 !important;
    color: #93c5fd !important;
    border-color: #31578a !important;
}

body.sh-app .network-issue-alert.alert-info * {
    color: #93c5fd !important;
}

body.sh-v25-announcements-page .announcement {
    background: #142239;
    padding: 22px;
    border: 1px solid #2b4160;
    border-radius: 12px;
    margin-bottom: 18px;
}

body.sh-v25-announcements-page .announcement h1,
body.sh-v25-announcements-page .announcement h1 a {
    color: #eaf2ff !important;
    font-size: 21px;
    line-height: 1.5;
}

body.sh-v25-announcements-page .announcement article {
    color: #c1d0e5 !important;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

body.sh-v25-announcements-page .announcement .text-muted {
    color: #a0b1c9 !important;
}

body.sh-v25-network-page .primary-content .card {
    background: #142239 !important;
    border: 1px solid #2b4160 !important;
    border-radius: 12px !important;
    overflow: hidden;
    margin-bottom: 18px;
}

body.sh-v25-network-page .primary-content .card-header {
    background: #1a2b44 !important;
    color: #eaf2ff !important;
    padding: 15px 20px !important;
}

body.sh-v25-network-page .primary-content .card-body {
    color: #c1d0e5 !important;
    padding: 20px !important;
}

@media (max-width: 576px) {
    body.sh-app .sh-v25-news-item {
        padding: 15px;
    }

    body.sh-app .sh-v25-news-item h3 {
        font-size: 17px;
    }
}
