:root {
  --cloud-bg: #f6f8f7;
  --cloud-surface: #ffffff;
  --cloud-border: #e6ece8;
  --cloud-border-2: #eef2ef;
  --cloud-text: #15202b;
  --cloud-muted: #7d8a94;
  --cloud-theme-rgb: 24, 165, 109;
  --cloud-primary: #18a56d;
  --cloud-primary-dark: #13865a;
  --cloud-primary-soft: #e8f7f0;
  --cloud-nav-active-bg: #eaf5ef;
  --cloud-nav-active-text: #178d5e;
  --cloud-status-text: #159965;
  --cloud-brand-gradient-start: #20b77a;
  --cloud-brand-gradient-end: #149562;
  --cloud-shadow: 0 8px 30px rgba(16, 24, 40, 0.04);
  --cloud-sidebar-width: 232px;
  --cloud-topbar-height: 74px;
  --cloud-radius-lg: 18px;
  --cloud-radius-md: 14px;
  --cloud-radius-sm: 12px;
  --cloud-text-strong: #16232d;
  --cloud-text-body: #3f4d56;
  --cloud-text-soft: #7d8a94;
  --cloud-fs-xs: 12px;
  --cloud-fs-sm: 13px;
  --cloud-fs-md: 14px;
  --cloud-fs-lg: 15px;
  --cloud-fs-xl: 18px;
  --cloud-fs-xxl: 22px;
}

body[data-theme="green"] {
  --cloud-theme-rgb: 24, 165, 109;
  --cloud-primary: #18a56d;
  --cloud-primary-dark: #13865a;
  --cloud-primary-soft: #e8f7f0;
  --cloud-nav-active-bg: #eaf5ef;
  --cloud-nav-active-text: #178d5e;
  --cloud-status-text: #159965;
  --cloud-brand-gradient-start: #20b77a;
  --cloud-brand-gradient-end: #149562;
}

body[data-theme="blue"] {
  --cloud-theme-rgb: 37, 99, 235;
  --cloud-primary: #2563eb;
  --cloud-primary-dark: #1d4ed8;
  --cloud-primary-soft: #e8f0ff;
  --cloud-nav-active-bg: #eaf1ff;
  --cloud-nav-active-text: #2563eb;
  --cloud-status-text: #2563eb;
  --cloud-brand-gradient-start: #2f80ff;
  --cloud-brand-gradient-end: #2563eb;
}

body[data-theme="purple"] {
  --cloud-theme-rgb: 147, 51, 234;
  --cloud-primary: #9333ea;
  --cloud-primary-dark: #7e22ce;
  --cloud-primary-soft: #f3e8ff;
  --cloud-nav-active-bg: #f2eafe;
  --cloud-nav-active-text: #8b35e9;
  --cloud-status-text: #b24cf3;
  --cloud-brand-gradient-start: #9f3df0;
  --cloud-brand-gradient-end: #7e22ce;
}

body {
  background: var(--cloud-bg);
  color: var(--cloud-text-body);
  font-family: Inter, "Nunito", "Segoe UI", sans-serif;
  font-size: var(--cloud-fs-md);
  line-height: 1.45;
}

html[lang="ar"] body {
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--cloud-text-strong);
}

.qwe {
  padding-left: var(--cloud-sidebar-width);
}

body.sidebar-collapsed .sidebar {
  transform: translateX(-100%);
}

body.sidebar-collapsed .qwe {
  padding-left: 0;
}

/* Keep sidebar readable, but reduce client-area content text size */
#main-body {
  font-size: 13px;
}

#main-body p,
#main-body a,
#main-body li,
#main-body td,
#main-body th,
#main-body label,
#main-body input,
#main-body select,
#main-body button,
#main-body span {
  font-size: 13px;
}

#main-body h1,
#main-body h2,
#main-body h3,
#main-body h4,
#main-body h5,
#main-body h6 {
  font-size: 18px;
}

#main-body .table thead th,
#main-body .table-list thead th {
  font-size: 12px;
  border-top: 0 !important;
}

#main-body .table tbody td,
#main-body .table-list tbody td,
#main-body .dataTables_wrapper .dataTables_info,
#main-body .dataTables_wrapper .dataTables_length,
#main-body .dataTables_wrapper .dataTables_filter,
#main-body .dataTables_wrapper .dataTables_paginate {
  font-size: 12px;
}

/* Smaller service/domain status icons inside list tables */
#main-body .table-list td[data-type="service"] img,
#main-body .table-list td[data-type="domain"] img,
#main-body .table-list td[data-type="addon"] img,
#main-body .table-list td img[src*="/assets/img/ssl/"] {
  width: 16px !important;
  height: 16px !important;
  object-fit: contain;
}

/* Fix oversized utility images caused by global img sizing */
#main-body .captchaimage img,
#main-body #inputCaptchaImage {
  max-width: 20%;
  height: auto !important;
  margin: 0 auto;
}

#main-body .copy-to-clipboard img,
#modalGeneratePassword .copy-to-clipboard img {
  width: 15px !important;
  height: 15px !important;
  max-width: none !important;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

.twofa-module img {
  max-width: 50%;
  height: auto !important;
}

/* Unified buttons palette for WHMCS content */
#main-body .btn {
  border-radius: 0 !important;
  font-weight: 600;
  font-size: 12px;
  padding: 0.5rem 0.9rem;
  transition: all 0.2s ease;
}

#main-body .btn-primary,
#main-body .btn-success {
  background: var(--cloud-primary);
  border-color: var(--cloud-primary);
  color: #fff;
}

#main-body .btn-primary:hover,
#main-body .btn-success:hover {
  background: var(--cloud-primary-dark);
  border-color: var(--cloud-primary-dark);
  color: #fff;
}

#main-body .btn-default,
#main-body .btn-light,
#main-body .btn-secondary {
  background: #eef4f1;
  border-color: #dbe8e2;
  color: #2a3a44;
}

#main-body .btn-default:hover,
#main-body .btn-light:hover,
#main-body .btn-secondary:hover {
  background: #e3eee8;
  border-color: #cfe1d9;
  color: #1f2f38;
}

#main-body .btn-danger {
  background: #fbecec;
  border-color: #f1cccc;
  color: #ba3e3e;
}

#main-body .btn-danger:hover {
  background: #f8e1e1;
  border-color: #e9bdbd;
  color: #9e3232;
}

#main-body .btn-link {
  color: var(--cloud-primary-dark);
}

#main-body .btn-link:hover {
  color: var(--cloud-primary);
}

#main-body .dataTables_wrapper .paginate_button.current,
#main-body .dataTables_wrapper .paginate_button.current:hover {
  background: var(--cloud-primary-soft) !important;
  border-color: #cfe8dc !important;
  color: var(--cloud-primary-dark) !important;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--cloud-sidebar-width);
  height: 100vh;
  background: #fbfcfb;
  border-right: 1px solid var(--cloud-border);
  display: flex;
  flex-direction: column;
  z-index: 1040;
  box-shadow: none;
  transition: transform 0.25s ease;
}

.sidebar-close {
  position: static;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid #dbe6e0;
  background: #f7fbf9;
  color: #6e7d87;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.2s ease;
}

.sidebar-close:hover {
  background: #edf5f1;
  color: #30424d;
  border-color: #cdddd5;
}

.cloud-brand {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 18px;
  border-bottom: 1px solid var(--cloud-border-2);
}

.cloud-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
}

.cloud-brand-close i {
  transition: transform 0.2s ease;
}

body.sidebar-collapsed .cloud-brand-close i {
  transform: rotate(180deg);
}

.cloud-sidebar-fab {
  position: fixed;
  top: 16px;
  left: 10px;
  width: 30px;
  height: 30px;
  border: 1px solid #d7e3dc;
  border-radius: 10px;
  background: #ffffff;
  color: #56656f;
  box-shadow: 0 8px 20px rgba(17, 28, 36, 0.08);
  z-index: 1055;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: all 0.2s ease;
}

.cloud-sidebar-fab:hover {
  background: #f2f8f5;
  color: #1f8a5d;
  border-color: #cfe4d9;
  transform: translateY(-1px);
}

body.sidebar-collapsed .cloud-sidebar-fab {
  display: inline-flex;
}

.cloud-brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: linear-gradient(180deg, var(--cloud-brand-gradient-start), var(--cloud-brand-gradient-end));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(var(--cloud-theme-rgb), 0.2);
  flex-shrink: 0;
}

.cloud-brand-icon {
  width: 24px;
  height: 24px;
  stroke: #ffffff;
  stroke-width: 4.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cloud-brand-icon circle {
  fill: #ffffff;
  stroke: #ffffff;
  stroke-width: 1;
}

.cloud-brand-dark {
  color: #000000;
}

.cloud-brand-title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.cloud-brand-title span {
  color: var(--cloud-primary);
}

.cloud-brand-title .cloud-brand-dark {
  color: #000000;
}

.cloud-brand-title .cloud-brand-green {
  margin-left: 2px;
}

.cloud-brand-subtitle {
  margin: 4px 0 0;
  font-size: 8px;
  letter-spacing: 0.15em;
  color: #657387;
  font-weight: 700;
}

.sidebar-nav {
  padding: 18px 10px;
  margin: 0;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
}

.sidebar-nav > li {
  margin: 0 0 6px;
}

.sidebar-nav > li:last-child {
  margin-bottom: 0;
}

.cloud-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 12px;
  color: #4b5962;
  font-size: var(--cloud-fs-md);
  font-weight: 500;
  transition: all 0.25s ease;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  line-height: 1.2;
}

.cloud-nav-link i {
  width: 14px;
  color: #6c7982;
  transition: all 0.25s ease;
}

.cloud-nav-link:hover {
  background: #f2f7f4;
  color: #1d2b34;
  transform: translateX(2px);
}

.cloud-nav-link.active {
  background: var(--cloud-nav-active-bg);
  color: var(--cloud-nav-active-text);
  font-weight: 700;
}

.cloud-nav-link.active i {
  color: var(--cloud-nav-active-text);
}

.cloud-nav-group {
  margin-bottom: 0;
}

.cloud-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cloud-nav-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.cloud-nav-caret {
  width: auto;
  font-size: 11px;
  color: #7b8a92;
  transition: transform 0.2s ease;
}

.cloud-nav-group.open .cloud-nav-caret,
.cloud-nav-toggle.active .cloud-nav-caret {
  transform: rotate(180deg);
}

.cloud-submenu {
  margin: 0;
  padding: 0 0 0 22px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.2s ease;
}

.cloud-submenu li {
  margin: 0 0 4px;
}

.cloud-submenu li:last-child {
  margin-bottom: 0;
}

.cloud-submenu.show {
  max-height: 500px;
  opacity: 1;
  margin-top: 4px;
}

.cloud-submenu-link {
  display: block;
  color: #5d6b74;
  font-size: var(--cloud-fs-sm);
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.cloud-submenu-link:hover {
  background: #edf4f1;
  color: #22313a;
  transform: translateX(2px);
}

.cloud-submenu-link.active {
  background: var(--cloud-primary-soft);
  color: var(--cloud-nav-active-text);
  font-weight: 700;
}

.cloud-danger-link {
  color: #be3d3d;
}

.cloud-danger-link:hover {
  background: #faeeee;
  color: #a52e2e;
}

.cloud-sidebar-user {
  margin-top: auto;
  padding: 16px 18px 20px;
  border-top: 1px solid var(--cloud-border);
  background: #fafcfb;
}

.cloud-user-card {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cloud-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eff3f1;
  border: 1px solid var(--cloud-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cloud-muted);
}

.cloud-user-name {
  margin: 0;
  font-size: var(--cloud-fs-md);
  font-weight: 700;
  color: #1f2d36;
  line-height: 1.2;
}

.cloud-user-email {
  margin: 2px 0 0;
  font-size: var(--cloud-fs-sm);
  color: var(--cloud-muted);
  word-break: break-all;
  line-height: 1.2;
}

#dashb-main2 {
  margin: 0;
}

.cloud-topbar {
  min-height: var(--cloud-topbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid var(--cloud-border);
  background: rgba(246, 248, 247, 0.92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.cloud-topbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}

.mobile-menu-toggle {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #d7e3dc;
  background: #ffffff;
  color: #4f616c;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(16, 28, 36, 0.08);
  font-size: 13px;
  transition: all 0.2s ease;
}

.mobile-menu-toggle:hover {
  background: #f3f9f6;
  border-color: #cde1d6;
  color: var(--cloud-primary-dark);
  transform: translateY(-1px);
}

.mobile-menu-toggle:active {
  transform: translateY(0);
}

.mobile-menu-toggle:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(var(--cloud-theme-rgb), 0.18);
}

.cloud-search-wrap {
  position: relative;
  width: 100%;
  max-width: 260px;
}

.cloud-search-wrap i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca8af;
  font-size: 14px;
  pointer-events: none;
}

.cloud-search-input {
  width: 100%;
  height: 42px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: #f0f3f2;
  padding: 0 16px 0 42px;
  font-size: var(--cloud-fs-xs);
  color: var(--cloud-text-strong);
  outline: none;
  transition: all 0.25s ease;
}

.cloud-search-input:focus {
  border-color: #d9e6df;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(var(--cloud-theme-rgb), 0.06);
}

.cloud-search-input.search-no-results {
  border-color: #e7c9cf;
  background: #fff7f8;
  box-shadow: 0 0 0 4px rgba(193, 66, 85, 0.08);
}

.cloud-search-meta {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  font-weight: 700;
  color: #6e7f89;
  background: #ffffff;
  border: 1px solid #dbe7e1;
  border-radius: 999px;
  padding: 2px 7px;
  pointer-events: none;
}

.cloud-search-meta:empty {
  display: none;
}

.cloud-topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 20px;
}

.cloud-language-switcher {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border: 1px solid var(--cloud-border);
  border-radius: 999px;
  background: #ffffff;
}

.cloud-language-btn {
  border: 0;
  background: transparent;
  color: #66747d;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.cloud-language-btn:hover {
  color: #263742;
}

.cloud-language-btn.active {
  background: var(--cloud-primary-soft);
  color: var(--cloud-primary-dark);
}

.cloud-theme-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  background: #ffffff;
  border: 1px solid var(--cloud-border);
  border-radius: 999px;
}

.cloud-theme-swatch {
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cloud-theme-swatch:hover,
.cloud-theme-swatch.active {
  transform: scale(1.08);
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.12);
}

.cloud-theme-swatch[data-theme="green"] {
  background: #18a56d;
}

.cloud-theme-swatch[data-theme="blue"] {
  background: #2563eb;
}

.cloud-theme-swatch[data-theme="purple"] {
  background: #9333ea;
}

.cloud-notification-menu {
  width: 340px;
  padding: 0;
  border-radius: 14px;
  border: 1px solid #dfe9e4;
  box-shadow: 0 12px 28px rgba(18, 28, 36, 0.08);
  overflow: hidden;
  left: auto;
  right: 0;
  top: calc(100% + 10px);
  margin-top: 0;
  transform: none;
  z-index: 1060;
}

.cloud-notification-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--cloud-border-2);
  background: #f8fcfa;
}

.cloud-notification-header h6 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.cloud-notification-header a {
  font-size: 12px;
  font-weight: 600;
  color: var(--cloud-primary-dark);
}

.cloud-notification-body {
  max-height: 300px;
  overflow-y: auto;
}

.cloud-notification-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 11px 14px;
  border-bottom: 1px solid #eef3f0;
}

.cloud-notification-item:last-child {
  border-bottom: 0;
}

.cloud-notification-item:hover {
  background: #f4f9f6;
}

.cloud-notification-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #ebf6f1;
  color: #1a9965;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.cloud-notification-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cloud-notification-content strong {
  font-size: 12px;
  color: #1e2b34;
}

.cloud-notification-content small {
  font-size: 11px;
  color: #72818b;
}

.cloud-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: #58656e;
  position: relative;
  text-decoration: none;
  transition: all 0.25s ease;
}

.cloud-icon-btn:hover {
  background: #eef4f1;
  color: #1f2d36;
}

.cloud-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--cloud-primary);
  border: 2px solid var(--cloud-bg);
  border-radius: 50%;
  top: 8px;
  right: 8px;
}

.cloud-new-service-btn {
  height: 40px;
  border: 0;
  border-radius: 14px;
  background: var(--cloud-primary);
  color: #fff;
  font-size: var(--cloud-fs-xs);
  font-weight: 700;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 22px rgba(var(--cloud-theme-rgb), 0.18);
  transition: all 0.25s ease;
}

.cloud-new-service-btn:hover {
  background: var(--cloud-primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

.cloud-content-wrap {
  padding: 20px;
}

.cloud-breadcrumb-wrap {
  padding: 12px 0 8px;
}

.cloud-breadcrumb-card {
  background: #ffffff;
  border: 1px solid #e4ece8;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 6px 18px rgba(17, 32, 28, 0.04);
}

.cloud-breadcrumb-title-wrap {
  min-width: 0;
}

.cloud-breadcrumb-page-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #1b2932;
  line-height: 1.2;
}

.cloud-breadcrumb-subtitle {
  margin: 3px 0 0;
  font-size: 11px;
  color: #7c8b95;
  line-height: 1.2;
}

.cloud-breadcrumb-nav-wrap {
  min-width: 0;
  margin-left: auto;
}

.cloud-breadcrumb-wrap .breadcrumb {
  margin: 0;
  padding: 0;
  background: transparent;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  justify-content: flex-end;
}

.cloud-breadcrumb-wrap .breadcrumb-item {
  font-size: 11px;
  color: #73848f;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.cloud-breadcrumb-wrap .breadcrumb-item + .breadcrumb-item::before {
  content: "\f054";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 8px;
  color: #9aa8b2;
  padding: 0 5px 0 4px;
}

.cloud-breadcrumb-wrap .breadcrumb-item a {
  color: #576973;
  font-weight: 600;
  background: #f5faf8;
  border: 1px solid #e4ece8;
  border-radius: 999px;
  padding: 5px 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.cloud-breadcrumb-wrap .breadcrumb-item:first-child a::before {
  content: "\f015";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 9px;
  color: #84939d;
}

.cloud-breadcrumb-wrap .breadcrumb-item a:hover {
  color: var(--cloud-primary-dark);
  border-color: #cfe3da;
  background: #eef8f3;
}

.cloud-breadcrumb-wrap .breadcrumb-item.active {
  color: #0e8f5d;
  font-weight: 600;
  background: #e8f7ef;
  border: 1px solid #cfe8dc;
  border-radius: 999px;
  padding: 5px 11px;
}

.cloud-metric-card,
.cloud-card {
  background: var(--cloud-surface);
  border: 1px solid var(--cloud-border);
  border-radius: var(--cloud-radius-lg);
  transition: all 0.25s ease;
}

.cloud-metric-card:hover,
.cloud-card:hover {
  border-color: #dfe7e2;
  box-shadow: 0 14px 30px rgba(16, 24, 40, 0.04);
  transform: translateY(-1px);
}

.cloud-metric-card {
  min-height: 104px;
  padding: 16px;
}

.cloud-metric-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
}

.cloud-metric-label {
  font-size: 11px;
  color: #6b7881;
  font-weight: 500;
}

.cloud-metric-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #67737c;
  background: #f4f6f5;
}

.cloud-metric-value {
  font-size: 20px;
  font-weight: 800;
  color: #101c25;
  letter-spacing: -0.03em;
}

.cloud-metric-subtext {
  font-size: 11px;
  color: #79858d;
}

.cloud-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.cloud-section-title {
  font-size: 16px;
  font-weight: 800;
  color: #16222b;
  margin: 0;
  letter-spacing: -0.02em;
}

.cloud-section-link {
  font-size: var(--cloud-fs-xs);
  color: var(--cloud-primary);
  font-weight: 700;
}

.cloud-section-link:hover {
  color: var(--cloud-primary-dark);
}

.cloud-table-wrap {
  overflow-x: auto;
}

.cloud-dashboard-table {
  margin: 0;
  min-width: 760px;
  --bs-table-bg: transparent;
  --bs-table-border-color: var(--cloud-border);
}

.cloud-dashboard-table thead th {
  font-size: 11px;
  color: #7c8890;
  font-weight: 700;
  padding: 16px;
  border-bottom-width: 1px;
  white-space: nowrap;
}

.cloud-dashboard-table tbody td {
  padding: 16px;
  border-bottom: 1px solid var(--cloud-border-2);
  white-space: nowrap;
  vertical-align: middle;
  font-size: var(--cloud-fs-xs);
}

.cloud-dashboard-table tbody tr:last-child td {
  border-bottom: 0;
}

.cloud-service-title {
  font-size: var(--cloud-fs-xs);
  font-weight: 700;
  color: #1a2730;
}

.cloud-service-title a,
.cloud-list-title a {
  color: inherit;
}

.cloud-service-title a:hover,
.cloud-list-title a:hover {
  color: var(--cloud-primary-dark);
}

.cloud-service-sub {
  font-size: 11px;
  color: #7a8790;
}

.cloud-specs-text {
  font-size: var(--cloud-fs-xs);
  color: #67737c;
}

.cloud-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--cloud-fs-xs);
  font-weight: 600;
  color: var(--cloud-status-text);
}

.cloud-status-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.8px solid rgba(var(--cloud-theme-rgb), 0.45);
  position: relative;
}

.cloud-status-dot::after {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--cloud-primary);
  position: absolute;
  inset: 0;
  margin: auto;
}

.cloud-cost-text {
  font-size: var(--cloud-fs-xs);
  font-weight: 800;
  color: #1b2730;
  text-align: right;
}

.cloud-list-table {
  width: 100%;
  border-collapse: collapse;
}

.cloud-list-table td {
  padding: 16px;
  vertical-align: middle;
}

.cloud-list-table tr:not(:last-child) td {
  border-bottom: 1px solid var(--cloud-border-2);
}

.cloud-list-title {
  font-size: var(--cloud-fs-xs);
  font-weight: 700;
  color: #1b2730;
}

.cloud-list-subtitle {
  font-size: 11px;
  color: #809099;
}

.cloud-list-right {
  text-align: right;
}

.cloud-list-strong {
  font-size: var(--cloud-fs-xs);
  font-weight: 800;
  color: #16222b;
}

.cloud-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  height: 30px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: var(--cloud-primary-soft);
  color: var(--cloud-status-text);
  padding: 0 12px;
}

.search-highlight {
  box-shadow: 0 0 0 4px rgba(var(--cloud-theme-rgb), 0.08), 0 0 0 1px rgba(var(--cloud-theme-rgb), 0.22) inset;
  border-color: rgba(var(--cloud-theme-rgb), 0.26);
}

#main-body mark.cloud-search-mark {
  background: #d7f3e4;
  color: #146846;
  border-radius: 4px;
  padding: 0 2px;
}

#main-body mark.cloud-search-mark.active {
  background: var(--cloud-primary);
  color: #ffffff;
}

.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 1035;
}

.sidebar-overlay.show {
  opacity: 1;
  visibility: visible;
}

body.sidebar-open {
  overflow: hidden;
}

@media (max-width: 991.98px) {
  .qwe {
    padding-left: 0;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .sidebar {
    transform: translateX(-100%);
  }

  body.sidebar-collapsed .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.show {
    transform: translateX(0);
  }

  .cloud-topbar {
    padding: 12px 16px;
  }

  .cloud-sidebar-fab {
    display: none !important;
  }

  .cloud-topbar-right {
    gap: 10px;
    margin-left: 14px;
  }

  .cloud-content-wrap {
    padding: 16px;
  }

  .cloud-breadcrumb-wrap {
    padding: 8px 0 4px;
  }

  .cloud-breadcrumb-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .cloud-breadcrumb-nav-wrap {
    width: 100%;
    margin-left: 0;
  }

  .cloud-breadcrumb-wrap .breadcrumb {
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  .cloud-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .cloud-topbar-left,
  .cloud-topbar-right {
    width: 100%;
    margin-left: 0;
  }

  .cloud-topbar-right {
    justify-content: space-between;
  }

  .cloud-new-service-btn {
    flex: 1;
    justify-content: center;
  }

  .cloud-notification-menu {
    width: min(300px, calc(100vw - 24px));
    left: 0;
    right: auto;
  }

  .cloud-dashboard-table {
    min-width: 640px;
  }
}
