/* FariHost Modern — Global WHMCS page styling */

body.fh-page {
  --primary: var(--fh-blue);
  --blue: var(--fh-blue);
  --indigo: var(--fh-purple);
  --purple: var(--fh-purple);
  --success: var(--fh-green);
  --danger: var(--fh-red);
  --info: var(--fh-blue);
  --warning: #ffb020;
}

body.fh-page.primary-bg-color,
body.fh-page .primary-bg-color {
  background: var(--fh-bg) !important;
  color: var(--fh-text) !important;
}

/* Logged-in account bar */
.fh-account-bar {
  background: linear-gradient(90deg, #081a43, #0c2358);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 0;
}

.fh-account-bar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.fh-notify-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e9f1ff;
  border-radius: 12px;
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
}

.fh-notify-count {
  background: var(--fh-green);
  color: #fff;
  border-radius: 99px;
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
}

.fh-notify-count--zero { background: rgba(255, 255, 255, 0.2); }

.fh-account-user {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #dce7ff;
  font-weight: 700;
}

.fh-account-label { color: #9fb0e5; font-size: 14px; }

.fh-account-name,
.fh-account-switch,
.fh-account-admin {
  color: #fff !important;
  text-decoration: none !important;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 8px 12px;
}

.fh-account-name:hover,
.fh-account-switch:hover,
.fh-account-admin:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff !important;
}

/* WHMCS notification source — do NOT hide .w-hidden globally (breaks DataTables) */
#accountNotificationsContent {
  display: none !important;
}

/* Notification popover (when bell is clicked) */
.popover.fh-notify-popover,
.popover-user-notifications {
  max-width: 420px;
  border: 1px solid var(--fh-border);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(7, 19, 54, 0.18);
}

.fh-notify-popover .popover-body,
.popover-user-notifications .popover-body {
  padding: 0;
}

.fh-notify-popover .client-alerts,
.popover-user-notifications ul,
.fh-account-bar .client-alerts {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fh-notify-popover .client-alerts li,
.popover-user-notifications ul li {
  border-bottom: 1px solid #edf2fb;
}

.fh-notify-popover .client-alerts li:last-child,
.popover-user-notifications ul li:last-child {
  border-bottom: 0;
}

.fh-notify-popover .client-alerts li a,
.popover-user-notifications ul li a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  color: var(--fh-text) !important;
  text-decoration: none !important;
  font-weight: 600;
  line-height: 1.45;
}

.fh-notify-popover .client-alerts li a:hover,
.popover-user-notifications ul li a:hover {
  background: #f5f8ff;
}

.fh-notify-popover .client-alerts li.none,
.popover-user-notifications ul li.none {
  padding: 14px;
  color: var(--fh-muted);
  text-align: center;
}

/* Hide account bar on marketing homepage — logged-in users use Client Area */
body.fh-page.page-home .fh-account-bar {
  display: none !important;
}

/* Main body layout */
.fh-main-body {
  padding: 34px 0 48px;
  min-height: 55vh;
}

.fh-main-body--custom { padding-top: 28px; }

.fh-breadcrumb {
  margin-bottom: 22px;
}

.fh-breadcrumb .breadcrumb {
  margin-bottom: 0;
  padding: 0;
  background: transparent !important;
}

body.fh-page .fh-breadcrumb .breadcrumb-item,
body.fh-page .fh-breadcrumb .breadcrumb-item a {
  color: var(--fh-muted) !important;
  font-weight: 700;
}

body.fh-page .fh-breadcrumb .breadcrumb-item.active {
  color: var(--fh-text) !important;
  font-weight: 800;
}

body.fh-page .fh-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: var(--fh-muted) !important;
}

.fh-page-row { margin-left: -12px; margin-right: -12px; }

.fh-content { min-width: 0; }

/* WHMCS page sidebar (not client-area custom layout) */
body.fh-page .fh-page-row .fh-sidebar {
  background: transparent !important;
  padding: 0 !important;
  color: inherit !important;
}

/* Sidebar cards */
.fh-sidebar .card-sidebar,
.fh-sidebar .card {
  border-radius: 20px !important;
  border: 1px solid var(--fh-border) !important;
  box-shadow: 0 10px 30px rgba(7, 19, 54, 0.06) !important;
  overflow: hidden;
  margin-bottom: 18px;
  background: #fff !important;
}

.fh-sidebar .collapsable-card-body {
  display: block !important;
}

.fh-sidebar .list-group.d-md-flex {
  flex-direction: column !important;
}

.fh-sidebar .sidebar-menu-item-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
}

.fh-sidebar .sidebar-menu-item-label {
  flex: 1 1 auto;
  min-width: 0;
}

.fh-sidebar .sidebar-menu-item-badge {
  margin-left: auto;
  flex-shrink: 0;
}

.fh-sidebar .card-body {
  background: #fff !important;
  color: var(--fh-text) !important;
}

.fh-sidebar .card-body a {
  color: var(--fh-blue) !important;
}

.fh-sidebar .list-group-item .badge {
  background: #eef4ff !important;
  color: var(--fh-navy) !important;
  font-weight: 800;
}

.fh-sidebar .card-sidebar > .card-header,
.fh-sidebar .card > .card-header {
  background: linear-gradient(135deg, #061230, #071b4a) !important;
  border: 0 !important;
  padding: 16px 18px !important;
}

.fh-sidebar .card-title,
.fh-sidebar .card-header h3 {
  color: #fff !important;
  font-weight: 900 !important;
  font-size: 15px !important;
}

.fh-sidebar .card-minimise { color: rgba(255, 255, 255, 0.7) !important; }

.fh-sidebar .list-group-item {
  border-color: #edf2fb !important;
  color: #273657 !important;
  font-weight: 700;
  padding: 14px 18px !important;
}

.fh-sidebar .list-group-item:hover {
  background: #eef4ff !important;
  color: var(--fh-blue) !important;
}

.fh-sidebar .list-group-item.active {
  background: linear-gradient(135deg, var(--fh-blue), var(--fh-purple)) !important;
  border-color: transparent !important;
  color: #fff !important;
}

.fh-sidebar .sidebar-menu-item-icon { color: var(--fh-blue); }

.fh-sidebar .list-group-item.active .sidebar-menu-item-icon { color: #fff; }

/* Cards & panels */
body.fh-page .card,
body.fh-page .panel {
  border-radius: 20px !important;
  border: 1px solid var(--fh-border) !important;
  box-shadow: 0 10px 30px rgba(7, 19, 54, 0.06) !important;
  overflow: hidden;
}

body.fh-page .card > .card-header,
body.fh-page .panel-heading {
  background: #f8faff !important;
  border-bottom: 1px solid var(--fh-border) !important;
  padding: 16px 20px !important;
}

body.fh-page .card-title,
body.fh-page .panel-title,
body.fh-page .card-header h3 {
  color: var(--fh-text) !important;
  font-weight: 900 !important;
}

body.fh-page .card-body,
body.fh-page .panel-body { padding: 20px !important; }

body.fh-page .card-footer,
body.fh-page .panel-footer {
  background: #fafbff !important;
  border-top: 1px solid var(--fh-border) !important;
}

/* Page headers */
body.fh-page .header-lined {
  background: #fff;
  border: 1px solid var(--fh-border);
  border-left: 4px solid var(--fh-blue);
  border-radius: 18px;
  padding: 18px 22px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(7, 19, 54, 0.05);
}

body.fh-page .header-lined h1,
body.fh-page .page-header h1 {
  color: var(--fh-text) !important;
  font-weight: 950 !important;
  letter-spacing: -0.03em;
  margin: 0;
}

/* Forms */
body.fh-page .form-control,
body.fh-page select.form-control,
body.fh-page textarea.form-control {
  min-height: 48px;
  border-radius: 14px !important;
  border: 1px solid #dfe7f5 !important;
  background: #fff;
  color: var(--fh-text);
  font-weight: 600;
}

body.fh-page .form-control:focus,
body.fh-page select.form-control:focus,
body.fh-page textarea.form-control:focus {
  border-color: var(--fh-blue) !important;
  box-shadow: 0 0 0 3px rgba(22, 135, 255, 0.15) !important;
}

body.fh-page label,
body.fh-page .form-control-label {
  font-weight: 800;
  color: var(--fh-text);
  font-size: 14px;
}

body.fh-page .input-group-text {
  border-radius: 14px 0 0 14px !important;
  border: 1px solid #dfe7f5 !important;
  background: #f5f8ff;
  color: var(--fh-blue);
}

body.fh-page .input-group .form-control:not(:first-child) {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

/* Buttons */
body.fh-page .btn {
  border-radius: 14px !important;
  font-weight: 800 !important;
  padding: 10px 18px;
}

body.fh-page .btn-primary,
body.fh-page .btn-success {
  background: linear-gradient(135deg, var(--fh-blue), var(--fh-purple)) !important;
  border: 0 !important;
  color: #fff !important;
  box-shadow: 0 10px 28px rgba(74, 92, 255, 0.22);
}

body.fh-page .btn-primary:hover,
body.fh-page .btn-success:hover {
  filter: brightness(1.05);
  color: #fff !important;
}

body.fh-page .btn-default,
body.fh-page .btn-secondary,
body.fh-page .btn-outline-secondary {
  background: #fff !important;
  border: 1px solid #dbe4f6 !important;
  color: var(--fh-text) !important;
}

body.fh-page .btn-default:hover,
body.fh-page .btn-secondary:hover {
  background: #eef4ff !important;
  border-color: var(--fh-blue) !important;
  color: #ffffff !important;
}

body.fh-page .btn-danger {
  background: linear-gradient(135deg, #ff4e42, #e63535) !important;
  border: 0 !important;
}

body.fh-page .btn-link { color: var(--fh-blue) !important; font-weight: 800; }

/* Alerts */
body.fh-page .alert {
  border-radius: 16px !important;
  border: 1px solid transparent !important;
  font-weight: 700;
  padding: 14px 18px;
}

body.fh-page .alert-success {
  background: #dcfff1 !important;
  border-color: #a8f5d5 !important;
  color: #047857 !important;
}

body.fh-page .alert-danger {
  background: #ffe8e6 !important;
  border-color: #ffc9c4 !important;
  color: #c62828 !important;
}

body.fh-page .alert-warning {
  background: #fff6df !important;
  border-color: #ffe2a8 !important;
  color: #9a6700 !important;
}

body.fh-page .alert-info {
  background: #eaf3ff !important;
  border-color: #c9ddff !important;
  color: #0b4db8 !important;
}

/* Status labels */
body.fh-page .label.status,
body.fh-page .status {
  display: inline-block;
  border-radius: 99px;
  padding: 6px 12px;
  font-weight: 900;
  font-size: 12px;
  border: 0;
}

body.fh-page .status-active,
body.fh-page .status-open,
body.fh-page .status-completed,
body.fh-page .status-paid,
body.fh-page .status-delivered,
body.fh-page .status-accepted {
  background: #dcfff1 !important;
  color: #049c65 !important;
}

body.fh-page .status-pending,
body.fh-page .status-pending-registration,
body.fh-page .status-payment-pending,
body.fh-page .status-inprogress,
body.fh-page .status-onhold {
  background: #fff6df !important;
  color: #9a6700 !important;
}

body.fh-page .status-unpaid,
body.fh-page .status-overdue,
body.fh-page .status-suspended,
body.fh-page .status-fraud,
body.fh-page .status-terminated,
body.fh-page .status-cancelled,
body.fh-page .status-collections,
body.fh-page .status-lost,
body.fh-page .status-dead {
  background: #ffe8e6 !important;
  color: #c62828 !important;
}

body.fh-page .status-answered,
body.fh-page .status-customer-reply {
  background: #eaf3ff !important;
  color: #0b4db8 !important;
}

body.fh-page .status-closed,
body.fh-page .status-expired,
body.fh-page .status-transferred-away,
body.fh-page .status-refunded {
  background: #eef1f8 !important;
  color: #65718d !important;
}

/* Tables & DataTables */
body.fh-page .table-container,
body.fh-page .table-responsive {
  background: #fff;
  border: 1px solid var(--fh-border);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(7, 19, 54, 0.06);
  overflow: hidden;
}

body.fh-page .table {
  margin-bottom: 0;
  color: var(--fh-text);
}

body.fh-page .table thead th,
body.fh-page .dataTables_wrapper table.table-list thead th {
  background: #f5f8ff !important;
  color: var(--fh-text) !important;
  font-weight: 900 !important;
  border-bottom: 2px solid var(--fh-border) !important;
  padding: 14px 16px !important;
}

body.fh-page .table td,
body.fh-page .table-list tbody td {
  padding: 14px 16px !important;
  border-top: 1px solid #edf2fb !important;
  vertical-align: middle !important;
  font-weight: 650;
}

body.fh-page .table tbody tr:hover,
body.fh-page .table-list tbody tr:hover {
  background: #f8faff;
  cursor: pointer;
}

body.fh-page .dataTables_wrapper .dataTables_filter input,
body.fh-page .dataTables_wrapper .dataTables_length select {
  border-radius: 12px !important;
  border: 1px solid #dfe7f5 !important;
  padding: 8px 12px;
}

body.fh-page .dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: linear-gradient(135deg, var(--fh-blue), var(--fh-purple)) !important;
  border: 0 !important;
  color: #fff !important;
  border-radius: 10px !important;
}

body.fh-page .dataTables_wrapper .dataTables_filter {
  float: right;
  text-align: right;
}

body.fh-page .dataTables_wrapper .dataTables_filter label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 700;
  color: var(--fh-muted);
}

body.fh-page .dataTables_wrapper .dataTables_filter input {
  max-width: 220px !important;
  width: 220px !important;
}

body.fh-page .dataTables_wrapper .dataTables_length select {
  min-width: 72px;
}

body.fh-page .dataTables_wrapper .dataTables_info,
body.fh-page .dataTables_wrapper .dataTables_length label {
  color: var(--fh-muted);
  font-weight: 650;
}

body.fh-page .dataTables_wrapper .listtable {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  padding: 14px 18px;
  background: #fff;
  border-bottom: 1px solid var(--fh-border);
}

body.fh-page .dataTables_wrapper .dataTables_paginate .paginate_button {
  border-radius: 10px !important;
  margin: 0 2px;
  font-weight: 700;
}

body.fh-page .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: #eef4ff !important;
  border-color: transparent !important;
  color: var(--fh-blue) !important;
}

body.fh-page table.table-list {
  width: 100% !important;
}

body.fh-page .view-filter-btns .list-group-item {
  border-radius: 14px !important;
  margin-bottom: 8px;
  font-weight: 750;
  color: var(--fh-text) !important;
}

body.fh-page .view-filter-btns .list-group-item:hover {
  background: #eef4ff !important;
  color: var(--fh-blue) !important;
}

body.fh-page .view-filter-btns .list-group-item.active {
  background: linear-gradient(135deg, var(--fh-blue), var(--fh-purple)) !important;
  color: #fff !important;
  border-color: transparent !important;
}

/* Domain price chips — sale + original */
.fh-tlds {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  margin-top: 16px;
}

.fh-tld-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--fh-text);
}

.fh-price-was {
  color: var(--fh-muted) !important;
  font-weight: 600;
  text-decoration: line-through;
  font-size: 13px;
}

.fh-price-now {
  color: var(--fh-green) !important;
  font-weight: 900;
}

.fh-domain-featured-card__price .fh-price-was {
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
}

.fh-domain-featured-card__price .fh-price-now {
  display: block;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--fh-text) !important;
}

/* Tiles (fallback client home) */
body.fh-page .tiles .tile {
  border-radius: 20px !important;
  box-shadow: 0 12px 35px rgba(7, 19, 54, 0.08) !important;
  overflow: hidden;
}

body.fh-page .tiles .bg-color-blue { background: linear-gradient(135deg, var(--fh-blue), #0b6fe8) !important; }
body.fh-page .tiles .bg-color-green { background: linear-gradient(135deg, var(--fh-green), #06a86f) !important; }
body.fh-page .tiles .bg-color-red { background: linear-gradient(135deg, #ff4e42, #e63535) !important; }
body.fh-page .tiles .bg-color-gold { background: linear-gradient(135deg, #ffb020, #ff8a00) !important; }

body.fh-page .tiles .tile .stat { font-weight: 950; }
body.fh-page .tiles .tile .title { font-weight: 800; }

/* Nav tabs & pills */
body.fh-page .nav-tabs {
  border-bottom: 2px solid var(--fh-border);
  margin-bottom: 20px;
}

body.fh-page .nav-tabs .nav-link {
  border: 0 !important;
  border-radius: 12px 12px 0 0 !important;
  color: var(--fh-muted) !important;
  font-weight: 800;
  padding: 12px 18px;
}

body.fh-page .nav-tabs .nav-link.active {
  color: var(--fh-blue) !important;
  background: #eef4ff !important;
  border-bottom: 3px solid var(--fh-blue) !important;
}

body.fh-page .nav-pills .nav-link {
  border-radius: 12px !important;
  font-weight: 800;
  color: var(--fh-muted);
}

body.fh-page .nav-pills .nav-link.active {
  background: linear-gradient(135deg, var(--fh-blue), var(--fh-purple)) !important;
  color: #fff !important;
}

/* Pagination */
body.fh-page .pagination .page-link {
  border-radius: 10px !important;
  margin: 0 3px;
  border: 1px solid var(--fh-border) !important;
  color: var(--fh-text) !important;
  font-weight: 800;
}

body.fh-page .pagination .page-item.active .page-link {
  background: linear-gradient(135deg, var(--fh-blue), var(--fh-purple)) !important;
  border-color: transparent !important;
  color: #fff !important;
}

/* Knowledge base */
body.fh-page .fh-kb-page {
  padding-bottom: 8px;
}

body.fh-page .kb-search,
body.fh-page .kb-search .form-control {
  border-radius: 16px !important;
  border: 1px solid var(--fh-border) !important;
  box-shadow: 0 10px 30px rgba(7, 19, 54, 0.06);
}

body.fh-page .kb-search .btn-primary {
  border-radius: 0 16px 16px 0 !important;
  background: linear-gradient(135deg, var(--fh-blue), var(--fh-purple)) !important;
  border: none !important;
}

body.fh-page .kb-category .card-body {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.fh-page .kb-category .card-body:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(7, 19, 54, 0.08);
}

body.fh-page .kb-category .card-body,
body.fh-page .kb-article-item {
  color: var(--fh-text) !important;
  text-decoration: none !important;
}

body.fh-page .kb-article-item {
  display: block;
  padding: 16px 20px !important;
  border-color: var(--fh-border) !important;
}

body.fh-page .kb-article-item small {
  display: block;
  margin-top: 6px;
  color: var(--fh-muted);
}

body.fh-page .kb-article-item:hover {
  background: #f5f8ff !important;
  color: var(--fh-blue) !important;
}

body.fh-page .fh-kb-article h1 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--fh-navy);
}

body.fh-page .fh-kb-meta {
  margin-bottom: 0;
}

body.fh-page .kbarticles a,
body.fh-page .kb-article-content {
  color: var(--fh-text);
}

body.fh-page .kbarticles a:hover { color: var(--fh-blue); }

/* Tickets */
body.fh-page .ticket-reply,
body.fh-page .ticket-reply.staff {
  border-radius: 18px !important;
  border: 1px solid var(--fh-border) !important;
  margin-bottom: 16px;
  overflow: hidden;
}

body.fh-page .ticket-reply.staff .posted-by {
  background: linear-gradient(135deg, #061230, #071b4a) !important;
  color: #fff !important;
}

body.fh-page .ticket-reply .posted-by {
  background: #f5f8ff !important;
  font-weight: 800;
}

/* Auth pages (login / register) */
body.fh-page.fh-auth-layout .fh-main-body {
  padding-top: 36px;
  padding-bottom: 48px;
}

body.fh-page.fh-auth-layout .primary-content {
  max-width: 100%;
  margin: 0 auto;
}

body.fh-page.fh-auth-layout .fh-login-wrap,
body.fh-page.fh-auth-layout .fh-login-wrap p,
body.fh-page.fh-auth-layout .fh-login-wrap label,
body.fh-page.fh-auth-layout .fh-login-wrap .form-check-label {
  color: var(--fh-text) !important;
}

body.fh-page.fh-auth-layout .fh-login-wrap .text-muted {
  color: var(--fh-muted) !important;
}

body.fh-page.fh-auth-layout .fh-login-wrap .text-center.text-muted a {
  color: var(--fh-blue) !important;
  font-weight: 800;
}

body.fh-page.page-login .fh-login-wrap,
body.fh-page.page-clientregister .fh-login-wrap.fh-register-wrap,
body.fh-page.page-password-reset-container .fh-login-wrap {
  margin-left: auto;
  margin-right: auto;
}

body.fh-page.page-password-reset-container .fh-password-reset-wrap {
  max-width: 520px;
}

body.fh-page.page-password-reset-container .fh-password-reset-wrap .progress {
  height: 8px;
  border-radius: 999px;
  background: #edf2fb;
  overflow: hidden;
}

body.fh-page .login-form .input-group,
body.fh-page .fh-register-form .input-group {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  width: 100%;
}

body.fh-page .login-form .input-group-prepend,
body.fh-page .login-form .input-group-append,
body.fh-page .fh-register-form .input-group-prepend,
body.fh-page .fh-register-form .input-group-append {
  display: flex !important;
}

body.fh-page .login-form .input-group > .form-control,
body.fh-page .fh-register-form .input-group > .form-control,
body.fh-page .fh-register-form .input-group > .custom-select,
body.fh-page .fh-register-form .input-group > select.form-control {
  flex: 1 1 auto !important;
  width: 1% !important;
  min-width: 0 !important;
  display: block !important;
}

body.fh-page .login-form .input-group-text,
body.fh-page .fh-register-form .input-group-text {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  padding: 0 14px;
}

body.fh-page .login-form .input-group .form-control,
body.fh-page .fh-register-form .input-group .form-control,
body.fh-page .fh-register-form .input-group select.form-control {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

body.fh-page .fh-register-form .password-strength-meter .progress {
  height: 8px;
  border-radius: 999px;
  background: #edf2fb;
  overflow: hidden;
}

body.fh-page .fh-register-form .form-control:focus,
body.fh-page .login-form .form-control:focus {
  border-color: var(--fh-blue) !important;
  box-shadow: 0 0 0 3px rgba(22, 135, 255, 0.12) !important;
}

body.fh-page .fh-register-form .input-group .custom-select,
body.fh-page .fh-register-form .input-group select.form-control {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

body.fh-page .fh-register-form .fh-phone-field .iti,
body.fh-page .fh-register-form .fh-phone-field .intl-tel-input {
  display: block;
  width: 100%;
}

body.fh-page .fh-register-form .fh-phone-field .iti__flag-container {
  border: 1px solid var(--fh-border);
  border-right: 0;
  border-radius: 14px 0 0 14px;
  background: #f5f8ff;
}

body.fh-page .fh-register-form .fh-phone-field .iti--allow-dropdown input,
body.fh-page .fh-register-form .fh-phone-field .iti input {
  width: 100%;
  min-height: 48px;
  padding-left: 52px !important;
  border: 1px solid var(--fh-border) !important;
  border-radius: 14px !important;
  background: #fff !important;
}

body.fh-page .fh-register-form .fh-phone-field .iti--allow-dropdown input:focus,
body.fh-page .fh-register-form .fh-phone-field .iti input:focus {
  border-color: var(--fh-blue) !important;
  box-shadow: 0 0 0 3px rgba(22, 135, 255, 0.12) !important;
}

/* Auth card extras (register + social login) */
body.fh-page.fh-auth-layout .fh-login-wrap .sub-heading,
body.fh-page.fh-auth-layout .fh-login-wrap .sub-heading-borderless,
body.fh-page.fh-auth-layout .fh-auth-social .sub-heading,
body.fh-page.fh-auth-layout .fh-auth-social .sub-heading-borderless {
  height: 0;
  border-top: 1px solid var(--fh-border);
  text-align: center;
  margin: 28px 0 22px;
}

body.fh-page.fh-auth-layout .fh-login-wrap .sub-heading span,
body.fh-page.fh-auth-layout .fh-login-wrap .sub-heading-borderless span,
body.fh-page.fh-auth-layout .fh-auth-social .sub-heading span,
body.fh-page.fh-auth-layout .fh-auth-social .sub-heading-borderless span {
  display: inline-block;
  position: relative;
  top: -11px;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 900;
  color: var(--fh-muted);
  background: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

body.fh-page.fh-auth-layout .fh-auth-social {
  margin: 0 auto 24px;
}

body.fh-page.page-login .fh-auth-social {
  max-width: 520px;
}

body.fh-page.page-clientregister .fh-auth-social {
  max-width: 820px;
}

body.fh-page.fh-auth-layout .social-signin-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

body.fh-page.fh-auth-layout .social-signin-btns .btn {
  border-radius: 14px !important;
  font-weight: 800 !important;
  min-height: 46px;
  padding: 10px 18px !important;
  margin: 0 !important;
  border: 1px solid var(--fh-border) !important;
}

body.fh-page.fh-auth-layout .providerLinkingFeedback {
  margin-top: 12px;
}

body.fh-page.fh-auth-layout .fh-register-form .fh-auth-secondary-btn,
body.fh-page.fh-auth-layout .login-form .generate-password {
  border-radius: 14px !important;
  font-weight: 800 !important;
  padding: 10px 16px !important;
  background: #fff !important;
  border: 1px solid var(--fh-border) !important;
  color: var(--fh-text) !important;
}

body.fh-page.fh-auth-layout .fh-register-form .fh-auth-secondary-btn:hover,
body.fh-page.fh-auth-layout .login-form .generate-password:hover {
  background: #eef4ff !important;
  border-color: var(--fh-blue) !important;
  color: var(--fh-blue) !important;
}

body.fh-page.fh-auth-layout .login-form .input-group-append .btn,
body.fh-page.fh-auth-layout .fh-register-form .input-group-append .btn {
  border-radius: 0 14px 14px 0 !important;
  border: 1px solid var(--fh-border) !important;
  border-left: 0 !important;
  background: #f5f8ff !important;
  color: var(--fh-blue) !important;
  min-width: 48px;
  min-height: 48px;
  padding: 0 14px !important;
}

body.fh-page.fh-auth-layout .login-form .input-group-append .btn:hover,
body.fh-page.fh-auth-layout .fh-register-form .input-group-append .btn:hover {
  background: #eef4ff !important;
  color: var(--fh-purple) !important;
}

body.fh-page.fh-auth-layout .fh-register-form .form-check-label {
  font-weight: 700;
  color: var(--fh-text);
}

body.fh-page.fh-auth-layout .fh-register-section h2 {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 13px;
}

body.fh-page .logincontainer {
  max-width: 560px;
  margin: 0 auto;
}

body.fh-page.page-cart .fh-main-body--cart {
    padding: 0;
    background: var(--fh-bg, #f5f8ff);
}

body.fh-page.page-cart .fh-main-body--cart > .fh-shell {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

body.fh-page.page-cart .primary-content.fh-content {
    padding: 0;
}

body.fh-page.page-cart .fh-breadcrumb {
    display: none;
}

body.fh-page.page-cart #order-standard_cart .cart-sidebar,
body.fh-page.page-cart #order-standard_cart .sidebar-collapsed {
    display: none !important;
}

body.fh-page.page-cart #order-standard_cart .cart-body {
    width: 100% !important;
    float: none !important;
}

body.fh-page.page-cart #order-standard_cart:not(.fh-configure-product-domain-page) {
  width: 100% !important;
  float: none !important;
}

body.fh-page.page-cart #order-standard_cart.fh-configure-product-domain-page,
body.fh-page #order-standard_cart.fh-configure-product-domain-page {
  width: 80% !important;
  max-width: 80% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-bottom: 64px !important;
  float: none !important;
  box-sizing: border-box;
}

body.fh-page.page-cart #order-standard_cart.fh-configure-product-domain-page .cart-body,
body.fh-page #order-standard_cart.fh-configure-product-domain-page .cart-body {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media (max-width: 767px) {
  body.fh-page.page-cart #order-standard_cart.fh-configure-product-domain-page,
  body.fh-page #order-standard_cart.fh-configure-product-domain-page {
    width: 94% !important;
    max-width: 94% !important;
  }
}

/* Kill legacy yellow domain checker everywhere on FariHost pages */
body.fh-page .domain-checker-container,
body.fh-page #order-standard_cart .domain-checker-container {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: 0 !important;
}

body.fh-page .domain-checker-bg,
body.fh-page #order-standard_cart .domain-checker-bg {
    background: none !important;
    background-image: none !important;
    padding: 0 !important;
}

/* Cart / order form */
body.fh-page #order-standard_cart {
  font-family: Inter, system-ui, sans-serif !important;
}

body.fh-page #order-standard_cart .products .product {
  border-radius: 20px !important;
  border: 1px solid var(--fh-border) !important;
  box-shadow: 0 10px 30px rgba(7, 19, 54, 0.06) !important;
  overflow: hidden;
}

body.fh-page #order-standard_cart .products .product header,
body.fh-page #order-standard_cart .product-header {
  background: linear-gradient(135deg, #061230, #0c2358) !important;
  color: #fff !important;
}

body.fh-page #order-standard_cart .order-summary,
body.fh-page #order-standard_cart .summary-container {
  border-radius: 20px !important;
  border: 1px solid var(--fh-border) !important;
  box-shadow: var(--fh-shadow) !important;
  overflow: hidden;
}

body.fh-page #order-standard_cart .order-summary h2 {
  background: linear-gradient(135deg, #061230, #071b4a) !important;
  color: #fff !important;
}

body.fh-page #order-standard_cart .view-cart-items,
body.fh-page #order-standard_cart .panel-cart {
  border-radius: 20px !important;
  border: 1px solid var(--fh-border) !important;
}

/* Modals */
body.fh-page .modal-content {
  border-radius: 22px !important;
  border: 1px solid var(--fh-border) !important;
  overflow: hidden;
  box-shadow: var(--fh-shadow) !important;
}

body.fh-page .modal-header {
  background: linear-gradient(135deg, #061230, #071b4a) !important;
  color: #fff !important;
  border: 0 !important;
}

body.fh-page .modal-header .close,
body.fh-page .modal-header .modal-title {
  color: #fff !important;
}

body.fh-page .modal-footer {
  background: #fafbff;
  border-top: 1px solid var(--fh-border) !important;
}

body.fh-page .item-selector .item {
  border-radius: 14px;
  border: 1px solid var(--fh-border);
  padding: 12px;
  display: block;
  text-align: center;
  font-weight: 800;
  color: var(--fh-text);
  margin-bottom: 10px;
}

body.fh-page .item-selector .item.active,
body.fh-page .item-selector .item:hover {
  background: #eef4ff;
  border-color: var(--fh-blue);
  color: var(--fh-blue);
  text-decoration: none;
}

/* Domain checker */
body.fh-page .domain-checker-container,
body.fh-page .domain-pricing .tld-row {
  border-radius: 20px !important;
}

/* Badges */
body.fh-page .badge {
  border-radius: 99px;
  font-weight: 900;
  padding: 5px 10px;
}

body.fh-page .badge-info,
body.fh-page .badge-primary {
  background: linear-gradient(135deg, var(--fh-blue), var(--fh-purple)) !important;
}

body.fh-page .badge-success { background: var(--fh-green) !important; }
body.fh-page .badge-danger { background: var(--fh-red) !important; }

/* Dropdown menus */
body.fh-page .dropdown-menu {
  border-radius: 16px !important;
  border: 1px solid var(--fh-border) !important;
  box-shadow: var(--fh-shadow) !important;
  padding: 8px;
}

body.fh-page .dropdown-item {
  border-radius: 10px;
  font-weight: 700;
  padding: 10px 14px;
}

body.fh-page .dropdown-item:hover,
body.fh-page .dropdown-item:focus {
  background: #eef4ff !important;
  color: var(--fh-blue) !important;
}

/* List groups in content */
body.fh-page .primary-content .list-group-item {
  border-color: #edf2fb !important;
  font-weight: 700;
}

body.fh-page .primary-content .list-group-item.active {
  background: linear-gradient(135deg, var(--fh-blue), var(--fh-purple)) !important;
  border-color: transparent !important;
}

/* Progress bars */
body.fh-page .progress {
  height: 10px;
  border-radius: 99px;
  background: #edf2fb;
}

body.fh-page .progress-bar {
  background: linear-gradient(90deg, var(--fh-blue), var(--fh-purple)) !important;
  border-radius: 99px;
}

/* Affiliates, quotes, mass pay */
body.fh-page .affiliate-stat {
  border-radius: 18px;
  border: 1px solid var(--fh-border);
  box-shadow: 0 10px 30px rgba(7, 19, 54, 0.06);
}

/* Hide default WHMCS header remnants */
body.fh-page #header.header,
body.fh-page .navbar-main,
body.fh-page .main-navbar-wrapper,
body.fh-page .master-breadcrumb,
body.fh-page #footer.footer,
body.fh-page footer.footer {
  display: none !important;
}

/* Return to admin floating button */
body.fh-page .fh-return-admin,
body.fh-page .btn-return-to-admin {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  writing-mode: horizontal-tb !important;
  z-index: 1040;
  background: linear-gradient(135deg, var(--fh-blue), var(--fh-purple)) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 14px !important;
  box-shadow: 0 14px 35px rgba(74, 92, 255, 0.35);
  font-weight: 800;
  padding: 12px 16px !important;
  max-width: calc(100vw - 48px);
  white-space: nowrap;
}

body.fh-page.fh-has-whatsapp-float .fh-return-admin,
body.fh-page.fh-has-whatsapp-float .btn-return-to-admin {
  bottom: 92px !important;
}

body.fh-page.fh-has-whatsapp-float a[href*="wa.me"],
body.fh-page.fh-has-whatsapp-float a[href*="whatsapp.com"],
body.fh-page.fh-has-whatsapp-float .whatsapp-float,
body.fh-page.fh-has-whatsapp-float .floating-whatsapp,
body.fh-page.fh-has-whatsapp-float [class*="whatsapp"][class*="float"],
body.fh-page.fh-has-whatsapp-float [id*="whatsapp"][style*="fixed"] {
  bottom: 24px !important;
  right: 24px !important;
  z-index: 1035 !important;
}

body.fh-page.page-domain-pricing .primary-content,
body.fh-page.page-domain-pricing .fh-content {
  padding-right: 8px;
}

@media (min-width: 768px) {
  body.fh-page.page-domain-pricing .fh-main-body .fh-shell {
    padding-right: 12px;
  }
}

/* Text utilities override */
body.fh-page .text-muted { color: var(--fh-muted) !important; }
body.fh-page a:not(.btn):not(.fh-btn):not(.list-group-item):not(.nav-link):not(.dropdown-item) {
  color: #176dff;
  font-weight: 700;
}
body.fh-page a:not(.btn):not(.fh-btn):hover { color: var(--fh-purple); }

/* Client home panels */
body.fh-page .client-home-cards .card-accent-emerald .card-header { border-top: 4px solid var(--fh-green); }
body.fh-page .client-home-cards .card-accent-ruby .card-header { border-top: 4px solid var(--fh-red); }
body.fh-page .client-home-cards .card-accent-gold .card-header { border-top: 4px solid #ffb020; }
body.fh-page .client-home-cards .card-accent-blue .card-header { border-top: 4px solid var(--fh-blue); }

/* Network status */
body.fh-page .network-issue {
  border-radius: 16px;
  border: 1px solid var(--fh-border);
  margin-bottom: 12px;
}

/* Invoice view */
body.fh-page .invoice-container {
  background: #fff;
  border: 1px solid var(--fh-border);
  border-radius: 22px;
  box-shadow: var(--fh-shadow);
  padding: 24px;
}

@media (max-width: 991px) {
  .fh-main-body { padding: 24px 0 36px; }
  .fh-account-bar-inner { gap: 10px; }
}

@media (max-width: 680px) {
  body.fh-page .table-container { border-radius: 16px; }
  body.fh-page .header-lined { padding: 14px 16px; }
}

/* Domain pricing page */
body.fh-page .fh-domain-pricing-page {
  display: grid;
  gap: 22px;
}

body.fh-page .fh-domain-pricing-featured {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body.fh-page .fh-domain-featured-card {
  position: relative;
  overflow: hidden;
  padding: 22px 20px 20px;
  border: 1px solid var(--fh-border);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff 0%, #f8faff 100%);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  text-align: center;
}

body.fh-page .fh-domain-featured-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--fh-blue), var(--fh-purple));
}

body.fh-page .fh-domain-featured-card__tld {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 72px;
  margin-bottom: 14px;
}

body.fh-page .fh-domain-featured-card__logo {
  display: block;
  max-height: 34px;
  max-width: 100%;
  object-fit: contain;
}

body.fh-page .fh-domain-featured-card__ext {
  display: block;
  font-size: 28px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--fh-text);
}

body.fh-page .fh-domain-featured-card__price span {
  display: block;
  color: var(--fh-blue);
  font-size: 24px;
  font-weight: 950;
  line-height: 1.2;
}

body.fh-page .fh-domain-featured-card__price small {
  display: block;
  margin-top: 4px;
  color: var(--fh-muted);
  font-size: 12px;
  font-weight: 700;
}

body.fh-page .fh-domain-featured-card .img-container,
body.fh-page .fh-domain-featured-card .price {
  display: block !important;
}

body.fh-page .fh-tld-logo-fallback {
  display: none;
}

body.fh-page .fh-domain-panel {
  border: 1px solid var(--fh-border);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--fh-shadow);
  overflow: hidden;
}

body.fh-page .fh-domain-panel__head {
  padding: 24px 28px 0;
}

body.fh-page .fh-domain-panel__body {
  padding: 20px 28px 28px;
}

body.fh-page .fh-domain-pricing-head__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

body.fh-page .fh-domain-pricing-head h3 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 900;
  color: var(--fh-text);
}

body.fh-page .fh-domain-pricing-head p {
  margin: 0;
  color: var(--fh-muted);
}

body.fh-page .fh-domain-pricing-currency {
  min-width: 220px;
}

body.fh-page .fh-domain-pricing-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

body.fh-page .fh-domain-pricing-filters .badge,
body.fh-page .fh-tld-pricing-filters .badge,
body.fh-page .fh-tld-pricing-filters a.badge {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px !important;
  border-radius: 999px !important;
  border: 1px solid var(--fh-border) !important;
  color: #334155 !important;
  background: #f8fafc !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

body.fh-page .fh-domain-pricing-filters .badge.badge-success,
body.fh-page .fh-tld-pricing-filters .badge.badge-success,
body.fh-page .fh-tld-pricing-filters a.badge.badge-success {
  color: #fff !important;
  border-color: transparent !important;
  background: linear-gradient(135deg, var(--fh-blue), var(--fh-purple)) !important;
  box-shadow: 0 6px 16px rgba(74, 92, 255, 0.25) !important;
}

body.fh-page .fh-domain-pricing-table-wrap {
  border: 1px solid var(--fh-border);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

body.fh-page .fh-domain-pricing-page #tableDomainPricing {
  margin: 0 !important;
}

body.fh-page .fh-domain-pricing-page #tableDomainPricing thead th {
  background: linear-gradient(135deg, #061230, #1e40af) !important;
  color: #fff !important;
  border: 0 !important;
  font-size: 13px;
  font-weight: 800;
  padding: 14px 16px !important;
}

body.fh-page .fh-domain-pricing-page #tableDomainPricing tbody td {
  padding: 14px 16px !important;
  vertical-align: middle;
  border-color: #edf2fb !important;
  color: var(--fh-text);
  font-weight: 600;
}

body.fh-page .fh-domain-pricing-page #tableDomainPricing tbody tr:nth-child(even) td {
  background: #f8faff;
}

body.fh-page .fh-domain-pricing-page #tableDomainPricing tbody td small {
  color: var(--fh-muted);
  font-weight: 600;
}

body.fh-page .fh-domain-pricing-page .dataTables_wrapper .dataTables_filter input,
body.fh-page .fh-domain-pricing-page .dataTables_wrapper .dataTables_length select {
  border: 1px solid var(--fh-border) !important;
  border-radius: 12px !important;
  min-height: 42px;
  padding: 8px 12px;
}

body.fh-page .fh-domain-pricing-page .dataTables_wrapper .dataTables_info,
body.fh-page .fh-domain-pricing-page .dataTables_wrapper .dataTables_length,
body.fh-page .fh-domain-pricing-page .dataTables_wrapper .dataTables_filter,
body.fh-page .fh-domain-pricing-page .dataTables_wrapper .dataTables_paginate {
  padding: 12px 16px;
  color: var(--fh-muted);
  font-weight: 700;
}

body.fh-page .fh-domain-pricing-page .fh-domain-pricing-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 16px 0;
}

body.fh-page .fh-domain-pricing-page .fh-domain-pricing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 16px 14px;
}

body.fh-page .fh-domain-pricing-page .dataTables_wrapper .paginate_button {
  border-radius: 10px !important;
  margin: 0 2px;
  padding: 6px 12px !important;
}

body.fh-page .fh-domain-pricing-page .dataTables_wrapper .paginate_button.current {
  background: linear-gradient(135deg, var(--fh-blue), var(--fh-purple)) !important;
  border-color: transparent !important;
  color: #fff !important;
}

body.fh-page .fh-domain-pricing-table-wrap {
  overflow-x: auto;
}

body.fh-page .fh-domain-pricing-loading {
  padding: 28px;
  color: var(--fh-muted);
  font-weight: 700;
}

body.fh-page .fh-domain-promos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body.fh-page .fh-domain-promo {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 18px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid var(--fh-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--fh-shadow);
}

body.fh-page .fh-domain-promo__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  font-size: 20px;
  grid-row: span 2;
}

body.fh-page .fh-domain-promo__icon.orange { background: linear-gradient(135deg, #ff8a00, #ff5e00); }
body.fh-page .fh-domain-promo__icon.blue { background: linear-gradient(135deg, var(--fh-blue), var(--fh-purple)); }

body.fh-page .fh-domain-promo h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: var(--fh-text);
}

body.fh-page .fh-domain-promo p {
  margin: 0;
  color: var(--fh-muted);
  font-size: 14px;
  grid-column: 2;
}

body.fh-page .fh-domain-promo .btn {
  grid-column: 2;
  justify-self: start;
  border-radius: 12px !important;
  font-weight: 800;
  padding: 10px 18px !important;
}

@media (max-width: 768px) {
  body.fh-page .fh-domain-promos { grid-template-columns: 1fr; }
  body.fh-page .fh-domain-pricing-featured { grid-template-columns: 1fr; }
  body.fh-page .fh-domain-panel__head,
  body.fh-page .fh-domain-panel__body { padding-left: 18px; padding-right: 18px; }
}

/* WHMCS store landing pages */
body.fh-page .landing-page .hero {
  background: linear-gradient(135deg, #061230 0%, #0c2358 55%, #1e40af 100%) !important;
  color: #fff !important;
  padding: 56px 0 !important;
}

body.fh-page .landing-page .hero h2,
body.fh-page .landing-page .hero h3 {
  color: #fff !important;
  font-weight: 950 !important;
}

body.fh-page .landing-page .validation-levels,
body.fh-page .landing-page .features,
body.fh-page .landing-page .faq {
  padding: 48px 0 !important;
}

body.fh-page .landing-page .pricing-item,
body.fh-page .landing-page .feature,
body.fh-page .landing-page .certificate-item {
  border-radius: 20px !important;
  border: 1px solid var(--fh-border) !important;
  box-shadow: 0 10px 30px rgba(7, 19, 54, 0.06) !important;
}

body.fh-page .landing-page .btn-buy,
body.fh-page .landing-page .btn-primary {
  border-radius: 14px !important;
  font-weight: 800 !important;
}

body.fh-page .landing-page nav.store-nav {
  background: #fff !important;
  border-bottom: 1px solid var(--fh-border) !important;
  box-shadow: 0 8px 24px rgba(7, 19, 54, 0.05);
}

body.fh-page .landing-page nav.store-nav .nav-link.active,
body.fh-page .landing-page nav.store-nav .nav-link:hover {
  color: var(--fh-blue) !important;
}

/* Section dividers used across forms */
body.fh-page .sub-heading,
body.fh-page .sub-heading-borderless {
  height: 0;
  border-top: 1px solid var(--fh-border);
  text-align: center;
  margin: 24px 0 22px;
}

body.fh-page .sub-heading span,
body.fh-page .sub-heading-borderless span {
  display: inline-block;
  position: relative;
  top: -11px;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 900;
  color: var(--fh-muted);
  background: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Error pages */
body.fh-page .error-page,
body.fh-page .container .text-center.p-5 {
  background: #fff;
  border: 1px solid var(--fh-border);
  border-radius: 24px;
  box-shadow: var(--fh-shadow);
  margin: 12px auto;
  max-width: 760px;
}

body.fh-page .error-page .display-1,
body.fh-page .container .text-center.p-5 .display-1 {
  color: var(--fh-blue) !important;
  font-weight: 950 !important;
}

/* Auth-style narrow cards (2FA, user invite, access denied) */
body.fh-page.fh-auth-layout .card.mw-540,
body.fh-page .card.mw-540 {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 28px !important;
  box-shadow: var(--fh-shadow) !important;
}

body.fh-page.fh-auth-layout .card.mw-540 .card-title,
body.fh-page .card.mw-540 .card-title {
  font-weight: 950 !important;
  color: var(--fh-navy) !important;
}

/* Client home tiles */
body.fh-page .tiles .tile {
  border-radius: 18px !important;
  border: 1px solid var(--fh-border) !important;
  box-shadow: 0 10px 28px rgba(7, 19, 54, 0.06) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.fh-page .tiles .tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(7, 19, 54, 0.1) !important;
}

body.fh-page .tiles .tile .stat {
  color: var(--fh-blue) !important;
  font-weight: 950 !important;
}

/* Downloads, announcements, affiliates */
body.fh-page .announcements .announcement,
body.fh-page .downloads .download-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--fh-border);
}

body.fh-page .announcements .announcement:last-child,
body.fh-page .downloads .download-item:last-child {
  border-bottom: 0;
}

body.fh-page .announcements .announcement h1 {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--fh-navy);
}

/* Upgrade / configure flows */
body.fh-page .upgrade .product,
body.fh-page .upgrade-configure .product,
body.fh-page .configuressl-stepone .product {
  border-radius: 18px !important;
  border: 1px solid var(--fh-border) !important;
  box-shadow: 0 10px 28px rgba(7, 19, 54, 0.06) !important;
}

/* Payment method pages */
body.fh-page .payment-methods-container .paymethod-info,
body.fh-page .account-paymentmethods .paymethod {
  border-radius: 18px !important;
  border: 1px solid var(--fh-border) !important;
}

/* Nav tabs / pills in client area */
body.fh-page .nav-tabs {
  border-bottom: 1px solid var(--fh-border) !important;
  margin-bottom: 20px;
}

body.fh-page .nav-tabs .nav-link {
  border: 0 !important;
  border-radius: 12px 12px 0 0 !important;
  font-weight: 800;
  color: var(--fh-muted) !important;
  padding: 12px 18px;
}

body.fh-page .nav-tabs .nav-link.active {
  color: var(--fh-blue) !important;
  background: #eef4ff !important;
  border-bottom: 3px solid var(--fh-blue) !important;
}

body.fh-page .nav-pills .nav-link {
  border-radius: 12px !important;
  font-weight: 800;
}

body.fh-page .nav-pills .nav-link.active {
  background: linear-gradient(135deg, var(--fh-blue), var(--fh-purple)) !important;
}

/* Pagination */
body.fh-page .pagination .page-link {
  border-radius: 10px !important;
  margin: 0 3px;
  border-color: var(--fh-border) !important;
  color: var(--fh-text) !important;
  font-weight: 700;
}

body.fh-page .pagination .page-item.active .page-link {
  background: linear-gradient(135deg, var(--fh-blue), var(--fh-purple)) !important;
  border-color: transparent !important;
  color: #fff !important;
}

/* Store dynamic pages */
body.fh-page .dynamic-store .hero,
body.fh-page .dynamic-store .section {
  border-radius: 0;
}

body.fh-page .dynamic-store .card,
body.fh-page .dynamic-store .pricing-card {
  border-radius: 20px !important;
  border: 1px solid var(--fh-border) !important;
  box-shadow: var(--fh-shadow) !important;
}

/* Custom hosting landing pages — full-width layout */
body.fh-page[class*="page-web_hosting"] .fh-main-body {
  padding-top: 0;
  padding-bottom: 0;
  overflow-x: hidden;
}

body.fh-page[class*="page-web_hosting"] .fh-main-body > .fh-shell {
  max-width: 100%;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

body.fh-page[class*="page-web_hosting"] .primary-content.fh-content {
  padding: 0;
  max-width: 100%;
  width: 100%;
}

body.fh-page .fhp-page {
  width: 100%;
}

body.fh-page .fhp-hero {
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-radius: 0 !important;
  width: 100% !important;
  max-width: none !important;
}

body.fh-page .fhp-dark {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}

body.fh-page .fhp-compare-section {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}

body.fh-page.page-web_hosting_cheap .fh-main-body {
  padding-top: 0;
}

body.fh-page.page-web_hosting_cheap .fh-breadcrumb {
  margin-bottom: 0;
  padding: 14px 0 0;
}

body.fh-page .fhp-compare th,
body.fh-page .fhp-compare td {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

body.fh-page .fhp-compare tbody td {
  color: #eef4ff !important;
}

/* Compare Plans table — hosting landing pages */
body.fh-page .fhp-compare-section {
  background: linear-gradient(135deg, #061128 0%, #0b2359 52%, #061230 100%);
  margin: 0;
  width: 100%;
  padding: 64px 0 72px;
}

body.fh-page .fhp-compare-section .fhp-head {
  margin-bottom: 36px;
}

body.fh-page .fhp-compare-section .fhp-head h2 {
  color: #fff !important;
  font-size: 38px;
  letter-spacing: -0.035em;
}

body.fh-page .fhp-compare-section .fhp-head p {
  color: #c8d9ff !important;
  font-size: 17px;
}

body.fh-page .fhp-compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 22px;
}

body.fh-page .fhp-compare {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  overflow: hidden;
  table-layout: fixed;
}

body.fh-page .fhp-compare col.fhp-compare-feature-col {
  width: 22%;
}

body.fh-page .fhp-compare col.fhp-compare-plan-col {
  width: 19.5%;
}

body.fh-page .fhp-compare thead th {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  font-weight: 950;
  font-size: 15px;
  padding: 20px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  vertical-align: middle;
}

body.fh-page .fhp-compare thead th:first-child {
  text-align: left;
  padding-left: 28px;
}

body.fh-page .fhp-compare tbody td {
  color: #eef4ff !important;
  font-weight: 750;
  font-size: 15px;
  padding: 18px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  background: transparent !important;
  vertical-align: middle;
}

body.fh-page .fhp-compare tbody td:first-child {
  text-align: left;
  padding-left: 28px;
  color: #fff !important;
  font-weight: 900;
}

body.fh-page .fhp-compare tbody tr:last-child td {
  border-bottom: none !important;
}

body.fh-page .fhp-compare tbody tr:hover td {
  background: rgba(255, 255, 255, 0.045) !important;
}

body.fh-page .fhp-compare-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(16, 217, 139, 0.16);
  color: #10d98b !important;
  font-size: 14px;
}

body.fh-page .fhp-compare-no {
  color: rgba(255, 255, 255, 0.35) !important;
  font-weight: 700;
}

body.fh-page .fhp-dark .fhp-head h2,
body.fh-page .fhp-compare-section .fhp-head h2 {
  color: #fff !important;
}

body.fh-page .fhp-dark .fhp-head p,
body.fh-page .fhp-compare-section .fhp-head p {
  color: #dbe7ff !important;
}

body.fh-page .fhp-dark .fhp-feature h3 {
  color: #071336 !important;
}

body.fh-page .fhp-dark .fhp-feature p {
  color: #64708c !important;
}

body.fh-page .fhp-plan h3,
body.fh-page .fhp-plan p,
body.fh-page .fhp-plan li,
body.fh-page .fhp-plan .fhp-price strong,
body.fh-page .fhp-plan .fhp-price small,
body.fh-page .fhp-stat-item b,
body.fh-page .fhp-trust-item b,
body.fh-page .fhp-review h4,
body.fh-page .fhp-review p,
body.fh-page .fhp-section-light .fhp-head h2,
body.fh-page details summary {
  color: inherit;
}

body.fh-page .fhp-plan h3,
body.fh-page .fhp-section-light .fhp-head h2,
body.fh-page .fhp-stat-item b,
body.fh-page .fhp-trust-item b,
body.fh-page .fhp-review h4,
body.fh-page details summary {
  color: #071336 !important;
}

body.fh-page .fhp-plan p,
body.fh-page .fhp-plan .fhp-price small,
body.fh-page .fhp-plan .fhp-price-currency,
body.fh-page .fhp-stat-item span,
body.fh-page .fhp-trust-item small,
body.fh-page .fhp-review p,
body.fh-page details p {
  color: #64708c !important;
}

body.fh-page .fhp-plan li {
  color: #263554 !important;
}

body.fh-page .fhp-plan .fhp-price strong {
  color: #071336 !important;
}

body.fh-page .fhp-section-plans {
  background: #f5f8ff;
}

/* Help CTA band — hosting landing pages */
body.fh-page .fhp-cta-help {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

body.fh-page .fhp-cta-help .fhp-cta-copy {
  flex: 1 1 420px;
  min-width: 0;
}

body.fh-page .fhp-cta-help h3 {
  color: #fff !important;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 950;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
  line-height: 1.2;
}

body.fh-page .fhp-cta-help p {
  color: #dbe7ff !important;
  margin: 0;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.6;
  max-width: 720px;
}

body.fh-page .fhp-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  min-width: 190px;
}

body.fh-page .fhp-cta .fhp-btn-outline {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.42) !important;
  color: #fff !important;
  box-shadow: none !important;
}

body.fh-page .fhp-cta .fhp-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  color: #fff !important;
}

@media (max-width: 680px) {
  body.fh-page .fhp-cta-help {
    flex-direction: column;
    align-items: stretch;
  }

  body.fh-page .fhp-cta-actions {
    width: 100%;
  }

  body.fh-page .fhp-cta-actions .fhp-btn {
    width: 100%;
  }
}

body.fh-page .fh-hosting-landing {
  display: grid;
  gap: 0;
}

body.fh-page .fh-hosting-intro {
  padding: 28px 0 36px;
}

body.fh-page .fh-hosting-intro__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

body.fh-page .fh-hosting-intro__title {
  margin: 12px 0 14px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 950;
  letter-spacing: -0.04em;
  color: var(--fh-navy);
}

body.fh-page .fh-hosting-intro__panel .fh-dashboard-card {
  background: #fff;
  border: 1px solid var(--fh-border);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--fh-shadow);
}

body.fh-page .fh-hosting-stack {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

body.fh-page .fh-hosting-stack li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--fh-text);
}

body.fh-page .fh-hosting-stack i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #eef4ff;
  color: var(--fh-blue);
}

body.fh-page .fh-trust--compact {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

body.fh-page .fh-trust--compact span {
  font-size: 14px;
  font-weight: 700;
  color: var(--fh-muted);
}

body.fh-page .fh-cards--features .fh-card {
  min-height: 100%;
}

body.fh-page .fh-hosting-cta {
  padding-bottom: 48px;
}

body.fh-page .fh-hosting-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 28px 32px;
  border: 1px solid var(--fh-border);
  border-radius: 24px;
  background: linear-gradient(135deg, #fff 0%, #f5f8ff 100%);
  box-shadow: var(--fh-shadow);
}

body.fh-page .fh-hosting-cta__inner h2 {
  margin: 0 0 8px;
  font-weight: 950;
  color: var(--fh-navy);
}

body.fh-page .fh-hosting-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 991px) {
  body.fh-page .fh-hosting-intro__grid {
    grid-template-columns: 1fr;
  }
}

/* ── Client Area Dashboard ── */
body.fh-page.page-clientareahome .fh-account-bar {
  display: none !important;
}

body.fh-page.page-clientareahome .fh-main-body--custom {
  padding-top: 20px;
  padding-bottom: 120px;
}

body.fh-page.page-clientareahome .fh-shell {
  max-width: 100%;
  padding-left: 16px;
  padding-right: 16px;
}

.fh-sidebar--dash .fh-side-logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.fh-sidebar--dash .fh-side-menu a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s ease, color 0.2s ease;
}

.fh-sidebar--dash .fh-side-menu a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.fh-sidebar--dash .fh-side-menu a.active {
  background: linear-gradient(135deg, #1687ff, #7d2dff);
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(22, 135, 255, 0.35);
}

.fh-sidebar--dash .fh-side-logout {
  margin-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px !important;
  color: rgba(255, 255, 255, 0.65) !important;
}

.fh-side-count {
  margin-left: auto;
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fh-side-count--warn {
  background: rgba(255, 78, 66, 0.25);
  color: #ffb4ae;
}

.fh-client-greeting .fh-client-hello {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fh-muted);
}

.fh-client-greeting .fh-client-name {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fh-text);
  line-height: 1.15;
}

.fh-search-wrap {
  position: relative;
  flex: 0 1 380px;
  width: 100%;
  margin: 0;
}

.fh-search-wrap .fas.fa-search {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--fh-muted);
  pointer-events: none;
  font-size: 14px;
}

.fh-search-wrap .fh-search {
  max-width: none;
  padding-left: 44px;
  border: 1px solid var(--fh-border);
  box-shadow: 0 4px 16px rgba(7, 19, 54, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fh-search-wrap .fh-search:focus {
  outline: none;
  border-color: rgba(22, 135, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(22, 135, 255, 0.12);
}

.fh-kpi-link {
  text-decoration: none !important;
  color: inherit !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.fh-kpi-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(7, 19, 54, 0.1);
  border-color: rgba(22, 135, 255, 0.25);
}

.fh-kpi-link-text {
  display: inline-block;
  margin-top: 6px;
  color: #176dff !important;
  font-weight: 700;
  font-size: 13px;
}

.fh-kpi-link:hover .fh-kpi-link-text {
  color: var(--fh-purple) !important;
}

.fh-icon--blue { background: linear-gradient(135deg, #1687ff, #0b5fd4); color: #fff; }
.fh-icon--purple { background: linear-gradient(135deg, #7d2dff, #5a18c9); color: #fff; }
.fh-icon--gold { background: linear-gradient(135deg, #ffb020, #e8870a); color: #fff; }
.fh-icon--cyan { background: linear-gradient(135deg, #2af0ff, #0bb8c9); color: #071336; }

.fh-dash-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.fh-dash-panel-head h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--fh-text);
}

.fh-dash-panel-head h3 i {
  color: var(--fh-blue);
  margin-right: 6px;
}

.fh-btn-outline {
  background: #fff !important;
  color: var(--fh-blue) !important;
  border: 1px solid var(--fh-border) !important;
  box-shadow: none !important;
}

.fh-btn-outline:hover {
  background: #f5f8ff !important;
  border-color: rgba(22, 135, 255, 0.35) !important;
}

.fh-dash-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fh-dash-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 12px;
  margin: 0 -12px;
  border-bottom: 1px solid #edf2fb;
  text-decoration: none !important;
  color: var(--fh-text) !important;
  border-radius: 12px;
  transition: background 0.15s ease;
}

.fh-dash-row:last-child {
  border-bottom: 0;
}

.fh-dash-row:hover {
  background: #f5f8ff;
}

.fh-dash-row-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 650;
  line-height: 1.4;
}

.fh-dash-row-main span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.fh-dash-row-main i {
  color: var(--fh-blue);
  flex-shrink: 0;
}

.fh-badge--count {
  background: #eef4ff;
  color: var(--fh-blue);
}

.fh-badge--status {
  background: #eef4ff;
  color: #176dff;
  white-space: nowrap;
}

.fh-badge--status.label-danger,
.fh-badge--status.bg-danger {
  background: #ffeceb;
  color: #d93025;
}

.fh-badge--status.label-success,
.fh-badge--status.bg-success {
  background: #dcfff1;
  color: #049c65;
}

.fh-dash-panel-body--html .div-service-item,
.fh-dash-panel-body--html .list-group-item {
  border: 0 !important;
  border-bottom: 1px solid #edf2fb !important;
  border-radius: 0 !important;
  padding: 14px 0 !important;
  background: transparent !important;
}

.fh-dash-panel-body--html .div-service-item:last-child,
.fh-dash-panel-body--html .list-group-item:last-child {
  border-bottom: 0 !important;
}

.fh-dash-empty {
  padding: 28px 12px;
  text-align: center;
  color: var(--fh-muted);
}

.fh-dash-empty p {
  margin: 0 0 16px;
}

.fh-dash-empty a {
  color: #176dff !important;
}

.fh-dash-section-title {
  margin: 32px 0 18px;
}

.fh-dash-section-title h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--fh-text);
}

.fh-cards--dash {
  margin-bottom: 8px;
}

.fh-cards--dash .fh-action-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.fh-cards--dash .fh-action-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(7, 19, 54, 0.1);
  border-color: rgba(22, 135, 255, 0.2);
}

.fh-cards--dash .fh-action-card h3 {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 6px;
}

.fh-cards--dash .fh-action-card p {
  margin: 0;
  font-size: 14px;
  color: var(--fh-muted);
  line-height: 1.5;
}

.fh-dash-row.fh-dash-hidden {
  display: none !important;
}

/* Prevent floating widgets overlapping dashboard cards */
body.page-clientareahome .fh-client-layout {
  margin-bottom: 24px;
}

body.page-clientareahome [class*="quick-access"],
body.page-clientareahome [class*="QuickAccess"],
body.page-clientareahome [id*="quick-access"],
body.page-clientareahome .btn-quick-access {
  bottom: 88px !important;
  z-index: 1040 !important;
}

body.fh-has-whatsapp-float.page-clientareahome a[href*="wa.me"],
body.fh-has-whatsapp-float.page-clientareahome a[href*="whatsapp.com"] {
  bottom: 24px !important;
  left: 24px !important;
  right: auto !important;
}

body.fh-has-whatsapp-float.page-clientareahome #tawkchat-container,
body.fh-has-whatsapp-float.page-clientareahome .tawk-button,
body.fh-has-whatsapp-float.page-clientareahome iframe[title*="chat" i] {
  bottom: 24px !important;
  right: 24px !important;
}

@media (max-width: 1199px) {
  .fh-client-layout {
    grid-template-columns: 240px 1fr;
  }

  .fh-dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .fh-client-layout {
    grid-template-columns: 1fr;
  }

  .fh-sidebar--dash {
    padding: 20px;
  }

  .fh-side-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .fh-side-menu a {
    margin: 0;
    padding: 12px;
    font-size: 13px;
  }

  .fh-client-top {
    flex-direction: column;
    align-items: stretch;
  }

  .fh-search-wrap {
    flex: 1 1 auto;
  }

  .fh-panel-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .fh-dashboard-grid,
  .fh-cards--dash {
    grid-template-columns: 1fr;
  }

  .fh-side-menu {
    grid-template-columns: 1fr;
  }

  .fh-client-main {
    padding: 22px 18px;
  }
}
