/* PHP 8.3 compatibility layer for the original KHS/OUT-HOSTING covid30 theme.
   Original visual rules remain in client-theme/style.css + main.css. */
button { cursor: pointer; }
.khs-stat-title { font-size:14px;color:#CED0DA;font-weight:500;font-family:exo; }
.khs-stat-value { font-size:14px;color:#1E6AD9;font-weight:500;font-family:exo; }
.khs-label { font-family:exo;font-size:14px; }
.khs-help { font-family:exo;font-size:12px; }
.khs-inline-form { display:inline; margin:0; padding:0; }
.khs-hidden { display:none !important; }
.khs-status-unknown { background:#607d8b9e; }
.khs-status-started { background:#00ad009e; }
.khs-status-stopped { background:#9e9e9e9e; }
.khs-status-pending { background:#ff93389e; }
.khs-status-suspended { background:#ad00009e; }
.khs-status-dot { border-radius:3px; padding:0 0 0 14px; display:inline-block; min-height:12px; }
.khs-server-actions form { display:inline; }
.khs-sidebar-link { text-decoration:none; display:block; margin-bottom:7px; }
.khs-sidebar-link:hover { text-decoration:none; }
.khs-server-content { min-height:580px; }
.khs-console { width:97%; min-height:400px; resize:vertical; }
.khs-pre { white-space:pre-wrap; text-align:left; }
.khs-secret { letter-spacing:2px; }
.khs-table-form td { vertical-align:top; }
.khs-source-logo { width:200px; max-width:100%; }
.khs-login-footer { font-family:exo;color:#5d5d5d; }
.khs-login-wrap { width:100%; text-align:center; }
.khs-payment-method { text-transform:none; }
.khs-safe-note { font-family:exo;font-size:11px;color:#777; }
.khs-inline-actions { white-space:nowrap; }
.khs-avatar { max-width:130px; border-radius:3px; }
.khs-admin-accesses label { display:inline-block; margin-right:12px; font-family:exo; font-size:12px; }

@media (max-width: 900px) {
  #container, .sitemenu, .top-news-p { width:94% !important; }
  .big-info { position:relative; top:38px; }
  #content { top:70px; }
  .menuja { position:relative; left:auto; padding-top:0; display:flex; gap:5px; flex-wrap:wrap; justify-content:center; }
  .inside { width:62px; height:58px; }
  .title td { display:block; width:100% !important; text-align:center !important; padding:7px 0; }
  .srvbox table, .holder table { max-width:100%; }
}

@media (max-width: 600px) {
  .khs-main-nav,
  .khs-main-nav tbody,
  .khs-balance-nav,
  .khs-balance-nav tbody,
  .khs-stats-nav,
  .khs-stats-nav tbody { display:block; width:100% !important; }

  .khs-main-nav tr { display:grid; grid-template-columns:minmax(120px, 1fr) auto auto; align-items:center; gap:8px; }
  .khs-main-nav td { width:auto !important; white-space:nowrap; }
  .khs-main-nav td:nth-child(3) { display:none; }

  .khs-balance-nav tr:first-child { display:grid; grid-template-columns:1fr; gap:14px; }
  .khs-balance-nav tr:first-child td { width:auto !important; text-align:left; }
  .khs-balance-nav .menulink-addbalance,
  .khs-balance-nav .menulink-viewpayments { display:inline-block; margin:0 8px 6px 0; }

  .khs-stats-nav tr { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); row-gap:22px; }
  .khs-stats-nav td { width:auto !important; }

  .khs-security-pin,
  .khs-security-pin tbody,
  .khs-security-pin tr,
  .khs-security-pin td { display:block; width:100% !important; box-sizing:border-box; }
  .khs-security-pin td { padding:6px 0; }
}
