:root {
  --ship-bg: #0b1118;
  --ship-shell: #0f1722;
  --ship-panel: #131f2d;
  --ship-panel-2: #172638;
  --ship-line: #26384c;
  --ship-line-soft: rgba(125, 156, 189, 0.18);
  --ship-text: #edf5ff;
  --ship-muted: #9eb1c7;
  --ship-soft: #c6d5e7;
  --ship-blue: #2491ff;
  --ship-cyan: #24c8db;
  --ship-green: #24b47e;
  --ship-amber: #f2aa3c;
  --ship-red: #e45b63;
  --ship-purple: #7a6ff0;
}

html,
body {
  background: var(--ship-bg);
  color: var(--ship-text);
}

body.layout-boxed {
  background:
    linear-gradient(90deg, rgba(36, 145, 255, 0.08), transparent 30%, rgba(36, 200, 219, 0.08)),
    linear-gradient(180deg, #0b1118 0%, #101a26 100%);
}

.layout-boxed .wrapper {
  max-width: 1540px;
  background: var(--ship-shell);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.skin-red-light .main-header .logo,
.skin-red-light .main-header .navbar {
  background: rgba(13, 21, 31, 0.96);
  border-bottom: 1px solid var(--ship-line);
}

.skin-red-light .main-header .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 230px;
  width: 230px;
  height: 50px;
  padding: 0 12px;
  overflow: hidden;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.main-header .logo .logo-mini {
  display: none;
}

.main-header .logo .logo-lg {
  display: flex;
}

.shadowip-brand-mark {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  height: 50px;
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  white-space: nowrap;
}

.shadowip-brand-mark img,
.skin-red-light .main-header .logo-mini img {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 8px;
}

.shadowip-brand-mark span {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.skin-red-light .main-header .logo-mini {
  align-items: center;
  justify-content: center;
  height: 50px;
}

.sidebar-mini.sidebar-collapse .skin-red-light .main-header .logo,
.sidebar-mini.sidebar-collapse .main-header .logo {
  flex-basis: 50px;
  width: 50px;
  padding: 0;
}

.sidebar-mini.sidebar-collapse .main-header .logo .logo-lg {
  display: none !important;
}

.sidebar-mini.sidebar-collapse .main-header .logo .logo-mini {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  overflow: hidden;
}

.sidebar-mini.sidebar-collapse .shadowip-brand-mark {
  gap: 0;
}

.sidebar-mini.sidebar-collapse .shadowip-brand-mark span {
  display: none;
}

.shadowip-user-logo,
.shadowip-menu-logo,
.shadowip-sidebar-logo {
  object-fit: cover;
  background: #07111f;
  border: 1px solid rgba(36, 200, 219, 0.35);
}

.shadowip-user-logo {
  width: 25px !important;
  height: 25px !important;
}

.shadowip-menu-logo {
  width: 82px !important;
  height: 82px !important;
}

.shadowip-sidebar-logo {
  width: 42px !important;
  height: 42px !important;
}

.sidebar-mini.sidebar-collapse .main-sidebar .user-panel,
.sidebar-mini.sidebar-collapse .main-sidebar .sidebar-form {
  display: none !important;
}

.sidebar-mini.sidebar-collapse .main-sidebar .sidebar-menu {
  margin-top: 8px;
}

.skin-red-light .main-header .logo:hover,
.skin-red-light .main-header .navbar .sidebar-toggle:hover {
  background: #152233;
}

.skin-red-light .main-header .navbar .nav > li > a,
.skin-red-light .main-header .navbar .sidebar-toggle {
  color: var(--ship-soft);
}

.shadowip-env-pill {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  margin-right: 8px;
  padding: 7px 12px !important;
  border: 1px solid rgba(36, 180, 126, 0.32);
  border-radius: 6px;
  background: rgba(36, 180, 126, 0.1);
  color: #dffbec !important;
  line-height: 1 !important;
}

.shadowip-env-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ship-green);
  box-shadow: 0 0 0 4px rgba(36, 180, 126, 0.12);
}

.shadowip-top-action > a {
  margin-top: 10px;
  margin-right: 8px;
  padding: 7px 12px !important;
  border: 1px solid var(--ship-line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  line-height: 1 !important;
}

.skin-red-light .main-sidebar {
  background: #0d1723;
  border-right: 1px solid var(--ship-line);
}

.user-panel {
  margin: 12px;
  padding: 14px 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--ship-line-soft);
  border-radius: 8px;
}

.user-panel > .info,
.user-panel > .info > a {
  color: var(--ship-soft);
}

.user-panel > .info > p {
  margin-bottom: 4px;
  color: #ffffff;
  font-weight: 700;
}

.skin-red-light .sidebar-form {
  margin: 12px;
  border: 1px solid var(--ship-line);
  border-radius: 8px;
}

.skin-red-light .sidebar-form input[type="text"],
.skin-red-light .sidebar-form .btn {
  background: #111e2c;
  border: 0;
  color: var(--ship-text);
}

.skin-red-light .sidebar-menu > li.header {
  margin-top: 8px;
  padding: 12px 14px 8px;
  background: transparent;
  color: #6fb7ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.skin-red-light .sidebar-menu > li > a {
  margin: 2px 10px;
  padding: 12px 12px;
  border-left: 0;
  border-radius: 8px;
  color: #c9d7e8;
  font-weight: 700;
}

.skin-red-light .sidebar-menu > li > a > i {
  width: 20px;
  color: #86a9cf;
}

.skin-red-light .sidebar-menu > li:hover > a,
.skin-red-light .sidebar-menu > li.active > a {
  background: linear-gradient(90deg, rgba(36, 145, 255, 0.24), rgba(36, 200, 219, 0.12));
  color: #ffffff;
}

.skin-red-light .sidebar-menu > li:hover > a > i,
.skin-red-light .sidebar-menu > li.active > a > i {
  color: #79dfff;
}

.content-wrapper,
.right-side {
  background: var(--ship-shell);
  color: var(--ship-text);
}

.content {
  padding: 18px;
}

.content-header {
  padding: 18px 18px 0;
}

.content-header > h1 {
  color: #ffffff;
  font-size: 26px;
  font-weight: 800;
}

.content-header > .breadcrumb {
  background: transparent;
}

.content-header > .breadcrumb > li > a,
.breadcrumb > .active {
  color: var(--ship-muted);
}

.box,
.nav-tabs-custom,
.login-box-body,
.register-box-body,
.modal-content {
  background: var(--ship-panel);
  border: 1px solid var(--ship-line);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  color: var(--ship-text);
}

.box-header,
.box-footer,
.nav-tabs-custom > .tab-content {
  background: transparent;
  color: var(--ship-text);
}

.form-control,
select,
textarea,
input[type="text"],
input[type="password"],
input[type="email"] {
  background: #0e1824 !important;
  border: 1px solid var(--ship-line) !important;
  border-radius: 6px !important;
  color: var(--ship-text) !important;
}

.form-control:focus {
  border-color: rgba(36, 200, 219, 0.7) !important;
  box-shadow: 0 0 0 3px rgba(36, 200, 219, 0.12) !important;
}

.shadowip-login-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 18%, rgba(36, 145, 255, 0.16), transparent 24%),
    linear-gradient(180deg, #071018 0%, #0b1723 48%, #071018 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.shadowip-login-page .login-box {
  width: min(390px, 100%);
  margin: 0;
}

.shadowip-login-page .login-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
}

.shadowip-login-page .login-logo img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 18px;
  background: rgba(7, 17, 31, 0.7);
  border: 1px solid rgba(36, 200, 219, 0.35);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

.shadowip-login-page .login-box-body {
  padding: 24px 22px 20px;
  background: rgba(18, 31, 45, 0.96);
}

.shadowip-login-page .login-box-msg {
  margin: 0 0 18px;
  color: var(--ship-soft);
  font-weight: 700;
}

.shadowip-login-page .form-group {
  margin-bottom: 16px;
}

.shadowip-login-page .input-group {
  display: flex;
  width: 100%;
}

.shadowip-login-page .input-group .form-control {
  flex: 1 1 auto;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.shadowip-login-page .input-group-addon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  background: #0e1824 !important;
  border: 1px solid var(--ship-line) !important;
  border-left: 0 !important;
  color: var(--ship-soft) !important;
  border-top-right-radius: 6px !important;
  border-bottom-right-radius: 6px !important;
}

.shadowip-login-page .password-meter {
  display: none;
}

.shadowip-login-page .btn-primary {
  min-height: 42px;
  border-radius: 7px;
  font-weight: 800;
}

.shadowip-login-page .login-errors {
  display: none;
}

.btn {
  border-radius: 6px;
  font-weight: 800;
}

.btn-primary,
.bg-aqua,
.label-info {
  background-color: var(--ship-blue) !important;
  border-color: var(--ship-blue) !important;
}

.btn-info {
  background-color: var(--ship-cyan) !important;
  border-color: var(--ship-cyan) !important;
}

.btn-success,
.bg-green,
.label-success {
  background-color: var(--ship-green) !important;
  border-color: var(--ship-green) !important;
}

.btn-warning,
.bg-yellow,
.label-warning {
  background-color: var(--ship-amber) !important;
  border-color: var(--ship-amber) !important;
}

.btn-danger,
.label-danger {
  background-color: var(--ship-red) !important;
  border-color: var(--ship-red) !important;
}

.btn-default {
  background: #172638 !important;
  border-color: var(--ship-line) !important;
  color: var(--ship-text) !important;
}

.shadowip-page-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 22px 24px;
  background: linear-gradient(135deg, rgba(36, 145, 255, 0.16), rgba(36, 200, 219, 0.08));
  border: 1px solid var(--ship-line);
  border-radius: 8px;
}

.shadowip-page-intro h2 {
  margin: 4px 0 7px;
  color: #ffffff;
  font-size: 28px;
  font-weight: 800;
}

.shadowip-page-intro p {
  max-width: 720px;
  margin: 0;
  color: var(--ship-muted);
  line-height: 1.6;
}

.shadowip-kicker {
  display: block;
  color: #72d6ff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.shadowip-quick-actions,
.shadowip-table-actions,
.shadowip-table-actions > div,
.shadowip-filter-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.shadowip-quick-actions,
.shadowip-table-actions {
  align-items: center;
}

.shadowip-table-actions {
  justify-content: space-between;
  margin-bottom: 12px;
}

.shadowip-filter-strip {
  align-items: center;
  margin-bottom: 12px;
  color: var(--ship-muted);
}

.shadowip-filter-strip .btn {
  background: #172638 !important;
  color: var(--ship-soft) !important;
}

.shadowip-stat-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.shadowip-stat-card {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 92px;
  padding: 16px;
  background: var(--ship-panel);
  border: 1px solid var(--ship-line);
  border-radius: 8px;
}

.shadowip-stat-card p {
  margin: 0 0 4px;
  color: var(--ship-muted);
  font-size: 12px;
}

.shadowip-stat-card strong {
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
}

.shadowip-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: #ffffff;
  font-size: 18px;
}

.shadowip-stat-icon.bg-blue { background: var(--ship-blue); }
.shadowip-stat-icon.bg-green { background: var(--ship-green); }
.shadowip-stat-icon.bg-orange { background: var(--ship-amber); }
.shadowip-stat-icon.bg-red { background: var(--ship-red); }
.shadowip-stat-icon.bg-cyan { background: var(--ship-cyan); }
.shadowip-stat-icon.bg-purple { background: var(--ship-purple); }

.shadowip-admin-workspace {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.shadowip-admin-workspace > .box-body {
  padding: 0;
}

.shadowip-data-card,
.shadowip-admin-workspace fieldset {
  margin-bottom: 18px;
  padding: 20px !important;
  background: var(--ship-panel);
  border: 1px solid var(--ship-line);
  border-radius: 8px;
}

.shadowip-admin-workspace fieldset legend {
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  background: transparent !important;
  box-shadow: none !important;
}

.shadowip-admin-workspace .panel-heading {
  padding: 12px 16px;
  background: linear-gradient(90deg, rgba(36, 145, 255, 0.95), rgba(36, 200, 219, 0.88));
  border-radius: 8px;
  color: #ffffff;
  font-weight: 800;
  box-shadow: none;
}

.shadowip-section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  background: var(--ship-panel-2);
  border: 1px solid var(--ship-line);
  border-radius: 8px;
}

.shadowip-section-title * {
  background: transparent !important;
  box-shadow: none !important;
}

.shadowip-section-title h3 {
  margin: 3px 0 0;
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
}

.shadowip-section-hint {
  color: var(--ship-muted);
  font-size: 12px;
}

.shadowip-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ship-line);
  border-radius: 8px;
}

.table,
.shadowip-admin-workspace .table {
  margin-bottom: 0;
  background: #101b28;
  color: var(--ship-soft);
}

.table > thead > tr > th,
.shadowip-admin-workspace .table > thead > tr > th {
  background: #172638;
  border-color: var(--ship-line);
  color: #ffffff;
  font-weight: 800;
}

.table > tbody > tr > td,
.table > tbody > tr > th,
.table > thead > tr > th {
  border-color: var(--ship-line-soft);
}

.table-striped > tbody > tr:nth-of-type(odd),
.table > tbody > tr > td {
  background: rgba(255, 255, 255, 0.02);
}

.table > tbody > tr:hover > td {
  background: rgba(36, 145, 255, 0.09);
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
  color: var(--ship-muted) !important;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
  background: #0e1824 !important;
  border: 1px solid var(--ship-line) !important;
  color: #ffffff !important;
  border-radius: 6px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  border-radius: 6px !important;
  color: var(--ship-soft) !important;
}

.nav-tabs-custom > .nav-tabs {
  border-bottom-color: var(--ship-line);
}

.nav-tabs-custom > .nav-tabs > li.active > a,
.nav-tabs-custom > .nav-tabs > li.active:hover > a {
  background: var(--ship-panel-2);
  border-color: var(--ship-line);
  color: #ffffff;
}

.nav-tabs-custom > .nav-tabs > li > a,
.content-wrapper a {
  color: #72c5ff;
}

.main-footer {
  background: #0d1723;
  border-top: 1px solid var(--ship-line);
  color: var(--ship-muted);
}

.shadowip-download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.shadowip-download-card {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 11px;
  min-height: 62px;
  padding: 12px;
  background: #101b28;
  border: 1px solid var(--ship-line);
  border-radius: 8px;
  color: var(--ship-text);
}

.shadowip-download-card:hover,
.shadowip-download-card:focus {
  background: #172638;
  border-color: rgba(36, 200, 219, 0.7);
  color: #ffffff;
  text-decoration: none;
}

.shadowip-download-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--ship-blue), var(--ship-cyan));
  border-radius: 8px;
}

.shadowip-download-card strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shadowip-download-card small {
  color: var(--ship-muted);
}

.shadowip-empty-state {
  grid-column: 1 / -1;
  padding: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--ship-line);
  border-radius: 8px;
  color: var(--ship-muted);
  text-align: center;
}

@media (max-width: 1200px) {
  .shadowip-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .shadowip-download-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  body,
  body.skin-red-light,
  .wrapper {
    width: 100% !important;
    min-width: 0 !important;
  }

  .main-header {
    width: 100% !important;
    max-width: 100vw;
  }

  .main-header .logo,
  .sidebar-mini.sidebar-collapse .main-header .logo {
    width: 50px !important;
    min-width: 50px;
    flex-basis: 50px;
  }

  .main-header .navbar,
  .sidebar-mini.sidebar-collapse .main-header .navbar {
    margin-left: 50px !important;
    width: calc(100% - 50px) !important;
    min-width: 0;
  }

  .main-sidebar,
  .sidebar-mini.sidebar-collapse .main-sidebar {
    width: 230px !important;
    transform: translate(-230px, 0) !important;
    padding-top: 50px;
  }

  .sidebar-open .main-sidebar,
  .sidebar-open.sidebar-mini.sidebar-collapse .main-sidebar {
    transform: translate(0, 0) !important;
  }

  .content-wrapper,
  .right-side,
  .main-footer,
  .sidebar-mini.sidebar-collapse .content-wrapper,
  .sidebar-mini.sidebar-collapse .right-side,
  .sidebar-mini.sidebar-collapse .main-footer {
    width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    left: auto !important;
  }

  .content {
    padding: 12px;
  }

  .content-header > h1,
  .shadowip-page-intro h2 {
    font-size: 24px;
  }

  .shadowip-env-pill {
    margin-right: 4px;
    padding: 7px 9px !important;
  }

  .shadowip-page-intro,
  .shadowip-section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .shadowip-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shadowip-download-card {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .shadowip-download-card small {
    grid-column: 2;
  }

  html,
  body,
  .wrapper,
  .content-wrapper,
  .right-side,
  .main-footer {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .content .shadowip-table-wrap {
    overflow-x: visible;
  }

  .panel-home-hero,
  .panel-home-grid,
  .panel-home-wide,
  .panel-demo-logins,
  .shadowip-card,
  .box {
    max-width: 100%;
    min-width: 0;
  }

  .panel-home-wide .shadowip-section-title,
  .panel-demo-logins .shadowip-section-title {
    gap: 10px;
  }

  .panel-home-wide .shadowip-section-title .btn,
  .panel-demo-logins .shadowip-section-title .btn {
    align-self: flex-start;
  }

  .content #users-serverside,
  .content #client_used,
  .content #voucherTbl,
  .panel-home-wide .shadowip-table-wrap table {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    border: 0;
    font-size: 14px;
  }

  .content #users-serverside thead,
  .content #client_used thead,
  .content #voucherTbl thead,
  .panel-home-wide .shadowip-table-wrap thead {
    display: none;
  }

  .content #users-serverside tbody,
  .content #users-serverside tr,
  .content #users-serverside td,
  .content #client_used tbody,
  .content #client_used tr,
  .content #client_used td,
  .content #voucherTbl tbody,
  .content #voucherTbl tr,
  .content #voucherTbl td,
  .panel-home-wide .shadowip-table-wrap tbody,
  .panel-home-wide .shadowip-table-wrap tr,
  .panel-home-wide .shadowip-table-wrap td {
    display: block;
    width: 100% !important;
  }

  .content #users-serverside tbody tr,
  .content #client_used tbody tr,
  .content #voucherTbl tbody tr,
  .panel-home-wide .shadowip-table-wrap tbody tr {
    margin: 0 0 12px;
    padding: 12px;
    background: #121f2d;
    border: 1px solid var(--ship-line);
    border-radius: 8px;
  }

  .content #users-serverside tbody td,
  .content #client_used tbody td,
  .content #voucherTbl tbody td,
  .panel-home-wide .shadowip-table-wrap tbody td {
    min-height: 34px;
    padding: 8px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--ship-line-soft) !important;
    text-align: right !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  .content #users-serverside tbody td:last-child,
  .content #client_used tbody td:last-child,
  .content #voucherTbl tbody td:last-child,
  .panel-home-wide .shadowip-table-wrap tbody td:last-child {
    border-bottom: 0 !important;
  }

  .content #users-serverside tbody td::before,
  .content #client_used tbody td::before,
  .content #voucherTbl tbody td::before,
  .panel-home-wide .shadowip-table-wrap tbody td::before {
    float: left;
    max-width: 45%;
    padding-right: 10px;
    color: var(--ship-muted);
    font-weight: 800;
    text-align: left;
  }

  .content #users-serverside tbody td:nth-child(1)::before { content: "Select"; }
  .content #users-serverside tbody td:nth-child(2)::before { content: "Username"; }
  .content #users-serverside tbody td:nth-child(3)::before { content: "Devices"; }
  .content #users-serverside tbody td:nth-child(4)::before { content: "Duration"; }
  .content #users-serverside tbody td:nth-child(5)::before { content: "Credits"; }
  .content #users-serverside tbody td:nth-child(6)::before { content: "Role"; }
  .content #users-serverside tbody td:nth-child(7)::before { content: "Upline"; }
  .content #users-serverside tbody td:nth-child(8)::before { content: "Login"; }
  .content #users-serverside tbody td:nth-child(9)::before { content: "Last IP"; }
  .content #users-serverside tbody td:nth-child(10)::before { content: "Controls"; }

  .content #client_used tbody td:nth-child(1)::before { content: "Voucher code"; }
  .content #client_used tbody td:nth-child(2)::before { content: "Username"; }
  .content #client_used tbody td:nth-child(3)::before { content: "Qty"; }
  .content #client_used tbody td:nth-child(4)::before { content: "Category"; }
  .content #client_used tbody td:nth-child(5)::before { content: "Permission"; }
  .content #client_used tbody td:nth-child(6)::before { content: "Date"; }

  .content #voucherTbl tbody td:nth-child(1)::before { content: "Voucher code"; }
  .content #voucherTbl tbody td:nth-child(2)::before { content: "Username"; }
  .content #voucherTbl tbody td:nth-child(3)::before { content: "Credits"; }
  .content #voucherTbl tbody td:nth-child(4)::before { content: "Category"; }
  .content #voucherTbl tbody td:nth-child(5)::before { content: "Date"; }

  .panel-home-wide .shadowip-table-wrap tbody td:nth-child(1)::before { content: "Username"; }
  .panel-home-wide .shadowip-table-wrap tbody td:nth-child(2)::before { content: "Role"; }
  .panel-home-wide .shadowip-table-wrap tbody td:nth-child(3)::before { content: "Status"; }
  .panel-home-wide .shadowip-table-wrap tbody td:nth-child(4)::before { content: "Credits"; }
  .panel-home-wide .shadowip-table-wrap tbody td:nth-child(5)::before { content: "Duration"; }
  .panel-home-wide .shadowip-table-wrap tbody td:nth-child(6)::before { content: "Last login"; }

  .content #users-serverside tbody td:nth-child(10) {
    text-align: left !important;
  }

  .content #users-serverside tbody td:nth-child(10)::before {
    float: none;
    display: block;
    max-width: none;
    margin-bottom: 8px;
  }

  .content #users-serverside tbody td:nth-child(10) .btn {
    display: inline-flex !important;
    width: 38px;
    height: 34px;
    margin: 3px;
    padding: 0;
  }

  .content .dataTables_wrapper .row {
    display: block;
  }

  .content .dataTables_wrapper .dataTables_length,
  .content .dataTables_wrapper .dataTables_filter,
  .content .dataTables_wrapper .dataTables_info,
  .content .dataTables_wrapper .dataTables_paginate {
    float: none !important;
    width: 100%;
    text-align: left;
  }

  .content .dataTables_wrapper .dataTables_filter input {
    width: 100%;
    min-width: 0;
    margin: 8px 0 0;
  }
}

.dream-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 16px;
  margin-bottom: 16px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(36, 145, 255, 0.18), rgba(36, 180, 126, 0.08));
  border: 1px solid var(--ship-line);
  border-radius: 8px;
}

.dream-hero h2 {
  margin: 4px 0 8px;
  color: #ffffff;
  font-size: 32px;
  font-weight: 900;
}

.dream-hero p {
  max-width: 780px;
  margin: 0;
  color: var(--ship-muted);
  line-height: 1.65;
}

.dream-health {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid var(--ship-line-soft);
  border-radius: 8px;
}

.dream-health span {
  color: #c8f7df;
  font-weight: 800;
}

.dream-health span i {
  color: var(--ship-green);
}

.dream-health strong {
  margin-top: 10px;
  color: #ffffff;
  font-size: 28px;
}

.dream-health small,
.dream-note {
  color: var(--ship-muted);
}

.dream-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.dream-metric {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--ship-panel);
  border: 1px solid var(--ship-line);
  border-radius: 8px;
}

.dream-metric p {
  margin: 0;
  color: var(--ship-muted);
}

.dream-metric strong {
  grid-column: 2;
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
}

.dream-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.dream-card {
  padding: 18px;
  background: var(--ship-panel);
  border: 1px solid var(--ship-line);
  border-radius: 8px;
}

.dream-card-wide {
  grid-column: 1 / -1;
}

.dream-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.dream-card h3 {
  margin: 4px 0 0;
  color: #ffffff;
  font-size: 21px;
  font-weight: 900;
}

.dream-pill {
  flex: 0 0 auto;
  padding: 6px 10px;
  background: rgba(36, 145, 255, 0.12);
  border: 1px solid rgba(36, 145, 255, 0.36);
  border-radius: 999px;
  color: #aad7ff;
  font-size: 12px;
  font-weight: 800;
}

.dream-pill-green {
  background: rgba(36, 180, 126, 0.12);
  border-color: rgba(36, 180, 126, 0.36);
  color: #bdf3d7;
}

.dream-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.dream-feature-grid > div {
  min-height: 142px;
  padding: 16px;
  background: #101b28;
  border: 1px solid var(--ship-line-soft);
  border-radius: 8px;
}

.dream-feature-grid i {
  color: var(--ship-cyan);
  font-size: 22px;
}

.dream-feature-grid strong {
  display: block;
  margin: 14px 0 7px;
  color: #ffffff;
}

.dream-feature-grid small,
.dream-list,
.dream-roadmap {
  color: var(--ship-muted);
}

.dream-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dream-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--ship-line-soft);
}

.dream-list li:last-child {
  border-bottom: 0;
}

.dream-list i {
  color: var(--ship-green);
}

.dream-user-card {
  grid-column: 1 / -1;
}

.dream-vpn-user {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
  background: #101b28;
  border: 1px solid var(--ship-line-soft);
  border-radius: 8px;
}

.dream-user-status span {
  display: inline-block;
  margin-bottom: 8px;
  padding: 5px 9px;
  background: rgba(36, 180, 126, 0.14);
  border: 1px solid rgba(36, 180, 126, 0.34);
  border-radius: 999px;
  color: #c7f5dc;
  font-weight: 800;
}

.dream-user-status strong {
  display: block;
  color: #ffffff;
  font-size: 28px;
}

.dream-user-status small {
  color: var(--ship-muted);
}

.dream-user-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dream-note {
  margin: 14px 0 0;
}

.dream-roadmap {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.dream-roadmap span {
  padding: 8px 10px;
  background: #101b28;
  border: 1px solid var(--ship-line-soft);
  border-radius: 999px;
}

.panel-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 16px;
  margin-bottom: 16px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(36, 145, 255, 0.18), rgba(36, 200, 219, 0.08));
  border: 1px solid var(--ship-line);
  border-radius: 8px;
}

.panel-home-hero h2 {
  margin: 4px 0 8px;
  color: #ffffff;
  font-size: 32px;
  font-weight: 900;
}

.panel-home-hero p {
  max-width: 760px;
  margin: 0 0 16px;
  color: var(--ship-muted);
  line-height: 1.65;
}

.panel-home-actions,
.panel-action-grid,
.panel-demo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.panel-home-status {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid var(--ship-line-soft);
  border-radius: 8px;
}

.panel-home-status span {
  color: #c8f7df;
  font-weight: 800;
}

.panel-home-status span i {
  color: var(--ship-green);
}

.panel-home-status strong {
  margin-top: 10px;
  color: #ffffff;
  font-size: 24px;
}

.panel-home-status small,
.panel-file-row small,
.panel-action-grid small,
.panel-demo-grid small,
.panel-health-list small {
  color: var(--ship-muted);
}

.panel-home-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.panel-home-card {
  padding: 18px;
  background: var(--ship-panel);
  border: 1px solid var(--ship-line);
  border-radius: 8px;
}

.metric-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 12px;
}

.metric-card p {
  margin: 0;
  color: var(--ship-muted);
}

.metric-card strong {
  grid-column: 2;
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  text-transform: capitalize;
}

.panel-admin-layout,
.panel-customer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 14px;
}

.panel-home-wide,
.panel-demo-logins {
  grid-column: 1 / -1;
  margin-top: 14px;
}

.panel-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.panel-card-head h3 {
  margin: 4px 0 0;
  color: #ffffff;
  font-size: 21px;
  font-weight: 900;
}

.panel-action-grid a {
  flex: 1 1 190px;
  min-height: 116px;
  padding: 16px;
  background: #101b28;
  border: 1px solid var(--ship-line-soft);
  border-radius: 8px;
  color: var(--ship-text);
}

.panel-action-grid a:hover,
.panel-action-grid a:focus {
  border-color: rgba(36, 200, 219, 0.7);
  color: #ffffff;
  text-decoration: none;
}

.panel-action-grid i {
  color: var(--ship-cyan);
  font-size: 22px;
}

.panel-action-grid strong,
.panel-demo-grid strong,
.panel-file-row strong {
  display: block;
  margin: 12px 0 6px;
  color: #ffffff;
}

.panel-health-list {
  display: grid;
  gap: 10px;
}

.panel-health-list > div {
  display: grid;
  grid-template-columns: 12px 58px 1fr;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: #101b28;
  border: 1px solid var(--ship-line-soft);
  border-radius: 8px;
}

.panel-health-list strong {
  color: #ffffff;
  font-size: 22px;
}

.panel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.panel-dot.green { background: var(--ship-green); }
.panel-dot.amber { background: var(--ship-amber); }
.panel-dot.red { background: var(--ship-red); }

.panel-file-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: #101b28;
  border: 1px solid var(--ship-line-soft);
  border-radius: 8px;
}

.panel-file-row + .panel-file-row {
  margin-top: 10px;
}

.panel-file-row i {
  color: var(--ship-cyan);
}

.panel-demo-grid > div {
  flex: 1 1 180px;
  padding: 14px;
  background: #101b28;
  border: 1px solid var(--ship-line-soft);
  border-radius: 8px;
}

/* Modernize legacy menu pages without changing their backend forms. */
.content > .box:not(.shadowip-admin-workspace),
.content .box:not(.shadowip-admin-workspace) {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.content > .box:not(.shadowip-admin-workspace) > .box-body,
.content .box:not(.shadowip-admin-workspace) > .box-body {
  padding: 0;
}

.content fieldset {
  margin-bottom: 18px;
  padding: 18px !important;
  background: var(--ship-panel);
  border: 1px solid var(--ship-line) !important;
  border-radius: 8px;
  color: var(--ship-text);
}

.content fieldset legend {
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #ffffff;
}

.content fieldset legend h4 {
  margin: 0;
  color: #ffffff !important;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.25;
}

.content .panel-heading,
.content fieldset legend .panel-heading,
.content fieldset legend span.capitalize {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 14px;
  background-color: #173a58 !important;
  background-image: linear-gradient(90deg, #1c74bd, #173a58) !important;
  border: 1px solid var(--ship-line);
  border-radius: 8px;
  color: #ffffff !important;
  font-size: 18px;
  font-weight: 900;
  box-shadow: none !important;
}

.content .panel,
.content .panel-body,
.content .widget,
.content .widget-shadow {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--ship-text);
}

.content .padding-20 > .alert,
.content .alert {
  background: rgba(36, 145, 255, 0.12) !important;
  border: 1px solid rgba(36, 145, 255, 0.28) !important;
  border-radius: 8px;
  color: var(--ship-soft) !important;
}

.content .alert h4,
.content .alert strong {
  color: #ffffff !important;
}

.content .list-group,
.content .list-group-item {
  background: transparent;
  border-color: var(--ship-line-soft);
  color: var(--ship-soft);
}

.content .btn-group-justified,
.content .btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: auto;
  margin-bottom: 12px;
}

.content .btn-group-justified > .btn-group,
.content .btn-group > .btn {
  display: inline-flex;
  width: auto;
  min-width: 0;
}

.content .btn-group-justified .btn,
.content .btn-group .btn {
  min-width: 44px;
  border-radius: 6px !important;
}

.content .modal-content {
  background: var(--ship-panel);
  border: 1px solid var(--ship-line);
  border-radius: 8px;
  color: var(--ship-text);
}

.content .modal-header,
.content .modal-footer {
  border-color: var(--ship-line);
}

.content .modal-title {
  color: #ffffff;
  font-weight: 900;
}

.content .input-group-addon {
  background: #172638 !important;
  border-color: var(--ship-line) !important;
  color: var(--ship-soft) !important;
}

.content .nav-tabs {
  border-bottom-color: var(--ship-line);
}

.content .nav-tabs > li > a {
  border-radius: 6px 6px 0 0;
  color: #72c5ff;
}

.content .nav-tabs > li.active > a,
.content .nav-tabs > li.active > a:hover,
.content .nav-tabs > li.active > a:focus {
  background: #172638;
  border-color: var(--ship-line);
  color: #ffffff;
}

.content table.dataTable,
.content table.display,
.content table.table {
  overflow: hidden;
  border-collapse: separate !important;
  border-spacing: 0;
  border: 1px solid var(--ship-line) !important;
  border-radius: 8px;
}

.content .table-bordered > thead > tr > th,
.content .table-bordered > tbody > tr > td,
.content .table-bordered > tbody > tr > th,
.content .table-bordered > tfoot > tr > td,
.content .table-bordered > tfoot > tr > th {
  border-color: var(--ship-line-soft) !important;
}

.content .dataTables_wrapper {
  color: var(--ship-muted);
}

.shadowip-table-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  padding: 12px;
  background: #101b28;
  border: 1px solid var(--ship-line-soft);
  border-radius: 8px;
}

.shadowip-table-actions > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shadowip-table-actions > div:nth-child(2) {
  justify-content: center;
}

.shadowip-table-actions > div:last-child {
  justify-content: flex-end;
}

.shadowip-table-actions .btn,
.shadowip-filter-strip .btn {
  min-height: 30px;
  padding: 6px 10px;
  line-height: 1;
}

.shadowip-filter-strip {
  margin: 0 0 12px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--ship-line-soft);
  border-radius: 8px;
}

.content .dataTables_wrapper .row {
  margin-right: 0;
  margin-left: 0;
}

.content .dataTables_wrapper .dataTables_paginate,
.content .dataTables_wrapper .dataTables_info {
  padding: 10px 0;
}

.content .pagination > li > a,
.content .pagination > li > span {
  background: #101b28;
  border-color: var(--ship-line);
  color: var(--ship-soft);
}

.content .pagination > .active > a,
.content .pagination > .active > span,
.content .pagination > li > a:hover {
  background: var(--ship-blue);
  border-color: var(--ship-blue);
  color: #ffffff;
}

.content .label {
  border-radius: 999px;
  padding: 4px 8px;
  font-weight: 800;
}

.content .table > thead > tr > th {
  vertical-align: middle;
  white-space: nowrap;
}

.content .table > tbody > tr > td {
  vertical-align: middle;
  padding: 10px 9px;
  line-height: 1.45;
}

.content .table > tbody > tr > td:first-child,
.content .table > thead > tr > th:first-child {
  width: 42px;
  text-align: center;
}

.content .table > tbody > tr > td:last-child {
  min-width: 116px;
  text-align: center;
  white-space: normal;
}

.content .table > tbody > tr > td:last-child .btn,
.content .table > tbody > tr > td .btn-block.btn-sm {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 32px !important;
  min-width: 32px;
  height: 30px;
  margin: 2px !important;
  padding: 0 !important;
  border-radius: 6px !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
  line-height: 1;
  opacity: 0.96;
  transition: transform 0.12s ease, opacity 0.12s ease, box-shadow 0.12s ease;
}

.content .table > tbody > tr > td .btn-block + .btn-block {
  margin-top: 2px !important;
}

.content .table > tbody > tr > td:last-child .btn:hover,
.content .table > tbody > tr > td .btn-block.btn-sm:hover {
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.content .table > tbody > tr > td .glyphicon,
.content .table > tbody > tr > td .icon {
  top: 0;
  color: #ffffff;
  font-size: 13px;
}

.content .table > tbody > tr > td:last-child .btn i,
.content .table > tbody > tr > td:last-child .btn .glyphicon,
.content .table > tbody > tr > td:last-child .btn .fa {
  color: #ffffff !important;
  opacity: 1 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.content .table > tbody > tr > td:last-child .btn-default {
  background: #10233a !important;
  border-color: rgba(130, 199, 255, 0.32) !important;
  color: #d9ecff !important;
}

.content .table > tbody > tr > td font[color="green"] {
  color: #35d08c !important;
}

.content .table > tbody > tr > td font[color="gray"] {
  color: var(--ship-muted) !important;
}

.content .table > tbody > tr > td font[color="darkblue"] {
  color: #82c7ff !important;
}

.content .table .label-success {
  background: rgba(36, 180, 126, 0.22) !important;
  border: 1px solid rgba(36, 180, 126, 0.35) !important;
  color: #bdf3d7 !important;
}

.content .dataTables_filter {
  margin-bottom: 8px;
}

.content .dataTables_filter input {
  min-width: 180px;
}

.content .progress {
  background: #0e1824;
  border: 1px solid var(--ship-line);
  border-radius: 999px;
  box-shadow: none;
}

.content .summary-errors,
.content .login-errors {
  border-radius: 8px;
}

.content table.dataTable tbody tr,
.content table.dataTable tbody tr.odd,
.content table.dataTable tbody tr.even {
  height: auto !important;
  min-height: 0 !important;
  background-image: none !important;
}

.content table.dataTable tbody tr > td,
.content table.dataTable tbody tr.odd > td,
.content table.dataTable tbody tr.even > td,
.content table.dataTable tbody tr > td:first-child,
.content table.dataTable tbody tr > td:last-child {
  height: auto !important;
  min-height: 0 !important;
  padding: 8px 9px !important;
  vertical-align: middle !important;
  border-color: var(--ship-line-soft) !important;
  background-image: none !important;
}

.content table.dataTable tbody tr > td:first-child,
.content table.dataTable thead tr > th:first-child {
  width: 38px !important;
  min-width: 38px !important;
  text-align: center !important;
}

.content table.dataTable tbody tr > td:last-child {
  width: 130px !important;
  min-width: 130px !important;
}

.content .table-responsive {
  overflow-x: auto;
}

.content .shadowip-table-wrap,
.content .dataTables_wrapper,
.content .dataTables_scroll {
  max-width: 100%;
}

.content .shadowip-table-wrap {
  overflow-x: auto;
}

.content .dataTables_scrollBody {
  border-color: var(--ship-line-soft) !important;
}

.content table.dataTable {
  min-width: 980px;
}

.content table.dataTable thead tr > th,
.content table.dataTable tbody tr > td {
  white-space: nowrap !important;
}

.content table.dataTable thead tr > th:nth-child(2),
.content table.dataTable tbody tr > td:nth-child(2) {
  min-width: 130px;
}

.content table.dataTable thead tr > th:nth-child(3),
.content table.dataTable tbody tr > td:nth-child(3) {
  min-width: 110px;
}

.content table.dataTable thead tr > th:nth-child(4),
.content table.dataTable tbody tr > td:nth-child(4) {
  min-width: 280px;
}

.content #users-serverside {
  table-layout: fixed;
  min-width: 0;
  width: 100% !important;
  font-size: 12px;
}

.content #users-serverside thead tr > th,
.content #users-serverside tbody tr > td {
  white-space: normal !important;
  overflow-wrap: anywhere;
  padding: 8px 6px;
}

.content #users-serverside thead tr > th:nth-child(1),
.content #users-serverside tbody tr > td:nth-child(1) {
  width: 34px;
}

.content #users-serverside thead tr > th:nth-child(2),
.content #users-serverside tbody tr > td:nth-child(2) {
  width: 12%;
  min-width: 0;
}

.content #users-serverside thead tr > th:nth-child(3),
.content #users-serverside tbody tr > td:nth-child(3) {
  width: 7%;
  min-width: 0;
}

.content #users-serverside thead tr > th:nth-child(4),
.content #users-serverside tbody tr > td:nth-child(4) {
  width: 24%;
  min-width: 0;
}

.content #users-serverside thead tr > th:nth-child(5),
.content #users-serverside tbody tr > td:nth-child(5) {
  width: 8%;
}

.content #users-serverside thead tr > th:nth-child(6),
.content #users-serverside tbody tr > td:nth-child(6) {
  width: 9%;
}

.content #users-serverside thead tr > th:nth-child(7),
.content #users-serverside tbody tr > td:nth-child(7) {
  width: 12%;
}

.content #users-serverside thead tr > th:nth-child(8),
.content #users-serverside tbody tr > td:nth-child(8),
.content #users-serverside thead tr > th:nth-child(9),
.content #users-serverside tbody tr > td:nth-child(9) {
  width: 9%;
}

.content #users-serverside thead tr > th:nth-child(10),
.content #users-serverside tbody tr > td:nth-child(10) {
  width: 10%;
}

.content table.dataTable thead tr > th:nth-child(6),
.content table.dataTable tbody tr > td:nth-child(6),
.content table.dataTable thead tr > th:nth-child(7),
.content table.dataTable tbody tr > td:nth-child(7) {
  min-width: 120px;
}

.ship-device-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 70px;
  padding: 6px 10px;
  border: 1px solid rgba(36, 180, 126, 0.35);
  border-radius: 999px;
  background: rgba(36, 180, 126, 0.14);
  color: #bdf3d7;
  font-weight: 800;
  line-height: 1;
}

.ship-device-pill strong {
  color: #ffffff;
  font-size: 15px;
}

.ship-device-pill span {
  color: currentColor;
  font-size: 11px;
  opacity: 0.86;
}

.ship-device-idle {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(148, 163, 184, 0.12);
  color: #bdc7d4;
}

.ship-device-max {
  border-color: rgba(245, 166, 35, 0.48);
  background: rgba(245, 166, 35, 0.18);
  color: #ffd89a;
}

.ship-device-over {
  border-color: rgba(255, 94, 112, 0.58);
  background: rgba(255, 94, 112, 0.20);
  color: #ffc4ca;
}

@media (max-width: 1200px) {
  .dream-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panel-home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .dream-hero,
  .dream-vpn-user,
  .panel-home-hero,
  .panel-admin-layout,
  .panel-customer-layout,
  .panel-file-row {
    grid-template-columns: 1fr;
  }

  .dream-metric-grid,
  .dream-layout,
  .dream-feature-grid,
  .panel-home-grid {
    grid-template-columns: 1fr;
  }

  .shadowip-table-actions {
    grid-template-columns: 1fr;
  }

  .shadowip-table-actions > div,
  .shadowip-table-actions > div:nth-child(2),
  .shadowip-table-actions > div:last-child {
    justify-content: flex-start;
  }
}


/* ShadowIP downloads mobile readability */
.shadowip-page-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.shadowip-page-intro h2 {
  margin: 4px 0 4px;
}

.shadowip-quick-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.shadowip-download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.shadowip-download-card {
  display: grid;
  grid-template-columns: 48px minmax(150px, 0.9fr) minmax(220px, 1.1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  line-height: 1.35;
}

.shadowip-download-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
}

.shadowip-download-card strong,
.shadowip-download-card small {
  min-width: 0;
}

.shadowip-download-card small {
  justify-self: end;
  text-align: right;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  .content .shadowip-page-intro {
    display: block;
    padding: 18px 16px !important;
  }

  .shadowip-page-intro h2 {
    font-size: 24px !important;
    line-height: 1.15;
    margin: 6px 0 8px;
  }

  .shadowip-page-intro p {
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 0;
  }

  .shadowip-quick-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 14px;
  }

  .shadowip-quick-actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    white-space: normal;
  }

  .shadowip-admin-workspace .box-body {
    padding: 0 !important;
  }

  .shadowip-admin-workspace .col-md-12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  fieldset.shadowip-data-card {
    padding: 16px 12px !important;
    margin: 0 0 18px !important;
  }

  fieldset.shadowip-data-card legend {
    width: 100%;
    margin-bottom: 12px;
  }

  .shadowip-section-title {
    display: block !important;
    padding: 14px 12px !important;
  }

  .shadowip-section-title h3 {
    font-size: 22px !important;
    line-height: 1.2;
    margin: 4px 0 6px;
  }

  .shadowip-section-hint {
    display: block;
    font-size: 13px;
    line-height: 1.45;
  }

  .shadowip-download-grid {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .shadowip-download-card {
    grid-template-columns: 44px minmax(0, 1fr) !important;
    gap: 10px;
    min-height: 78px;
    padding: 12px !important;
    align-items: center;
  }

  .shadowip-download-card > span {
    width: 44px;
    height: 44px;
  }

  .shadowip-download-card strong {
    font-size: 15px;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .shadowip-download-card small {
    grid-column: 2;
    justify-self: stretch;
    text-align: left;
    font-size: 12px;
    line-height: 1.45;
    white-space: normal;
    color: #b9d7ff;
  }

  .dream-list {
    padding-left: 0;
    margin-left: 0;
  }

  .dream-list li {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 8px;
    line-height: 1.45;
    margin-bottom: 12px;
  }
}

@media (max-width: 420px) {
  .content {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .shadowip-page-intro h2,
  .shadowip-section-title h3 {
    font-size: 21px !important;
  }

  .shadowip-download-card {
    min-height: 86px;
  }
}
