/*
 * DichVuHost Client Area
 * Child theme for WHMCS Twenty-One / Bootstrap 4
 */

:root {
  --dvh-bg: #f8fafc;
  --dvh-surface: #ffffff;
  --dvh-surface-soft: #f1f5f9;
  --dvh-text: #0f172a;
  --dvh-muted: #64748b;
  --dvh-primary: #2563eb;
  --dvh-primary-dark: #1d4ed8;
  --dvh-primary-soft: #dbeafe;
  --dvh-secondary: #0f172a;
  --dvh-danger: #dc2626;
  --dvh-border: #e2e8f0;
  --dvh-radius-sm: 10px;
  --dvh-radius: 14px;
  --dvh-radius-lg: 22px;
  --dvh-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 30px -18px rgba(15, 23, 42, 0.2);
  --dvh-shadow-brand: 0 18px 40px -20px rgba(37, 99, 235, 0.55);
}

html {
  scroll-behavior: smooth;
}

body,
body.primary-bg-color {
  color: var(--dvh-text);
  background: var(--dvh-bg);
  font-family:
    Inter,
    "Open Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--dvh-primary);
}

a:hover {
  color: var(--dvh-primary-dark);
  text-decoration: none;
}

/* Header */
.header {
  position: relative;
  z-index: 50;
  box-shadow: none;
}

.header .topbar {
  padding: 6px 0;
  color: #cbd5e1;
  background: var(--dvh-secondary);
  border: 0;
}

.header .topbar .container > .d-flex {
  align-items: center;
  min-height: 32px;
}

.header .topbar .btn,
.header .topbar .input-group-text {
  color: #cbd5e1;
  background: transparent;
  border: 0;
}

.header .topbar #accountNotifications {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 650;
}

.header .topbar .active-client {
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
}

.header .topbar .active-client .input-group-prepend {
  margin: 0;
}

.header .topbar .active-client .input-group-text {
  padding: 0;
  color: #94a3b8;
  font-size: 12px;
  white-space: nowrap;
}

.header .topbar .active-client .btn-group {
  align-items: center;
  gap: 6px;
}

.header .topbar .btn-active-client {
  display: block;
  max-width: 340px;
  min-height: 32px;
  padding: 6px 11px;
  overflow: hidden;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px !important;
  font-size: 12px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header .topbar .btn-active-client span {
  border-bottom: 0 !important;
}

.header .topbar .active-client a[href*="user-accounts"] {
  display: inline-grid;
  flex: 0 0 32px;
  place-items: center;
  width: 32px;
  min-height: 32px;
  padding: 0;
  color: #94a3b8;
  background: transparent;
  border-radius: 8px !important;
}

.header
  .topbar
  :is(
    #accountNotifications,
    .btn-active-client,
    .active-client a[href*="user-accounts"]
  ):is(:hover, :focus) {
  color: #fff;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: none;
  transform: none;
}

/* Account notification popover */
.popover.popover-user-notifications {
  width: min(360px, calc(100vw - 24px));
  min-width: 0;
  max-width: none;
  padding: 0;
  background: #fff;
  border: 1px solid var(--dvh-border);
  border-radius: var(--dvh-radius);
  box-shadow: 0 22px 55px -24px rgba(15, 23, 42, 0.38);
  font-family: inherit;
}

.popover-user-notifications .popover-body {
  overflow: hidden;
  padding: 0;
  border-radius: inherit;
}

.popover-user-notifications ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.popover-user-notifications ul li {
  min-height: 0;
  padding: 0;
  border-bottom: 1px solid #edf1f5;
}

.popover-user-notifications ul li:last-child {
  border-bottom: 0;
}

.popover-user-notifications ul li a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  padding: 14px 16px;
  color: #475569;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
}

.popover-user-notifications ul li a:hover,
.popover-user-notifications ul li a:focus {
  color: var(--dvh-text);
  background: #f8fafc;
}

.popover-user-notifications ul li:first-child a {
  border-radius: calc(var(--dvh-radius) - 1px) calc(var(--dvh-radius) - 1px) 0 0;
}

.popover-user-notifications ul li:last-child a {
  border-radius: 0 0 calc(var(--dvh-radius) - 1px) calc(var(--dvh-radius) - 1px);
}

.popover-user-notifications ul li:only-child a {
  border-radius: calc(var(--dvh-radius) - 1px);
}

.popover-user-notifications ul li :is(i.fas, i.far) {
  display: grid;
  float: none;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: var(--dvh-primary);
  background: #dbeafe;
  border-radius: 50%;
  font-size: 15px;
}

.popover-user-notifications ul li :is(.fa-check-circle) {
  color: #16a34a;
  background: #dcfce7;
}

.popover-user-notifications ul li :is(.fa-exclamation-triangle, .fa-warning) {
  color: #d97706;
  background: #fef3c7;
}

.popover-user-notifications ul li :is(.fa-exclamation-circle) {
  color: #dc2626;
  background: #fee2e2;
}

.popover-user-notifications ul li .message {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.popover-user-notifications ul li.none {
  min-height: 0;
  padding: 18px;
  color: var(--dvh-muted);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.popover-user-notifications.bs-popover-bottom > .arrow::before,
.popover-user-notifications.bs-popover-auto[x-placement^="bottom"]
  > .arrow::before {
  border-bottom-color: var(--dvh-border);
}

.popover-user-notifications.bs-popover-bottom > .arrow::after,
.popover-user-notifications.bs-popover-auto[x-placement^="bottom"]
  > .arrow::after {
  border-bottom-color: #fff;
}

.header .navbar-light {
  min-height: 76px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--dvh-border);
}

.header .navbar-brand {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--dvh-text);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.header .navbar-brand .logo-img {
  width: auto;
  max-width: 220px;
  max-height: 54px;
  object-fit: contain;
}

.header .navbar-light .search {
  width: 340px;
  height: 44px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid var(--dvh-border);
  border-radius: 11px;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

.header .navbar-light .search:focus-within {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.header .navbar-light .search .input-group-prepend {
  margin-right: 0;
}

.header .navbar-light .search .btn {
  width: 44px;
  height: 42px;
  color: var(--dvh-muted);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.header .navbar-light .search .form-control {
  width: 1%;
  min-width: 0;
  height: 42px;
  padding: 8px 14px 8px 4px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.header .navbar-nav.toolbar .nav-link {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  color: var(--dvh-text);
  background: var(--dvh-surface-soft);
  border: 1px solid var(--dvh-border);
  border-radius: var(--dvh-radius-sm);
}

.header .navbar-nav.toolbar .badge {
  background: var(--dvh-primary) !important;
}

.main-navbar-wrapper {
  min-height: 52px;
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid var(--dvh-border);
}

.main-navbar-wrapper .navbar-nav > li > a {
  padding: 15px 16px !important;
  color: #475569 !important;
  font-size: 14px;
  font-weight: 650;
  border-radius: 8px;
}

.main-navbar-wrapper .navbar-nav > li > a:hover,
.main-navbar-wrapper .navbar-nav > li.active > a {
  color: var(--dvh-primary) !important;
  background: var(--dvh-primary-soft) !important;
}

.main-navbar-wrapper .navbar-nav > li > a:focus {
  outline: 0;
  box-shadow: none;
}

.main-navbar-wrapper .navbar-nav > li > a:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: -2px;
}

.main-navbar-wrapper .dropdown-menu {
  padding: 8px;
  border: 1px solid var(--dvh-border);
  border-radius: var(--dvh-radius);
  box-shadow: 0 20px 50px -22px rgba(15, 23, 42, 0.28);
}

.main-navbar-wrapper .dropdown-item {
  padding: 9px 12px;
  border-radius: 8px;
}

.master-breadcrumb {
  color: var(--dvh-muted);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--dvh-border);
}

.master-breadcrumb .breadcrumb {
  align-items: center;
  min-height: 46px;
  margin: 0;
  padding: 10px 0;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.master-breadcrumb .breadcrumb-item a {
  color: var(--dvh-primary);
}

.master-breadcrumb .breadcrumb-item a:hover,
.master-breadcrumb .breadcrumb-item a:focus {
  color: var(--dvh-primary-dark);
}

.master-breadcrumb .breadcrumb-item.active {
  color: var(--dvh-muted);
  font-weight: 500;
}

.master-breadcrumb .breadcrumb-item + .breadcrumb-item {
  padding-left: 10px;
}

.master-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  padding-right: 10px;
  color: #cbd5e1;
}

/* Main layout */
#main-body {
  min-height: 560px;
  padding: 34px 0 64px;
  background: var(--dvh-bg);
}

.primary-content > h1,
.primary-content > .header-lined h1,
.header-lined h1 {
  color: var(--dvh-text);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.header-lined h1 small {
  color: var(--dvh-muted);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
}

.header-lined {
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom-color: var(--dvh-border);
}

/* Shared components */
.card,
.panel,
.modal-content {
  border: 1px solid var(--dvh-border);
  border-radius: var(--dvh-radius);
  box-shadow: var(--dvh-shadow);
}

.card {
  overflow: hidden;
}

.card-header,
.panel-heading {
  padding: 16px 20px;
  color: var(--dvh-text);
  background: var(--dvh-surface);
  border-bottom: 1px solid var(--dvh-border);
}

.card-title,
.panel-title {
  color: var(--dvh-text);
  font-size: 17px;
  font-weight: 750;
}

.card-body,
.panel-body {
  padding: 20px;
}

.card-footer {
  background: #fbfdff;
  border-top-color: var(--dvh-border);
}

.list-group-item {
  padding: 13px 18px;
  color: #334155;
  border-color: var(--dvh-border);
}

.list-group-item-action:hover,
.list-group-item-action:focus {
  color: var(--dvh-primary);
  background: #f8fbff;
}

.list-group-item.active {
  color: #fff;
  background: var(--dvh-primary);
  border-color: var(--dvh-primary);
}

.btn {
  min-height: 42px;
  padding: 9px 17px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--dvh-radius-sm);
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background-color 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary,
.btn-success {
  color: #fff;
  background: var(--dvh-primary);
  border-color: var(--dvh-primary);
  box-shadow: var(--dvh-shadow-brand);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-success:hover,
.btn-success:focus {
  color: #fff;
  background: var(--dvh-primary-dark);
  border-color: var(--dvh-primary-dark);
}

.btn-outline-primary {
  color: var(--dvh-primary);
  border-color: #93c5fd;
}

.btn-outline-primary:hover {
  color: #fff;
  background: var(--dvh-primary);
  border-color: var(--dvh-primary);
}

.btn-default,
.btn-light {
  color: var(--dvh-text);
  background: var(--dvh-surface);
  border-color: var(--dvh-border);
}

.btn-danger {
  background: var(--dvh-danger);
  border-color: var(--dvh-danger);
}

.badge {
  padding: 5px 8px;
  font-weight: 700;
  border-radius: 999px;
}

.badge-primary,
.bg-color-blue,
.label-primary {
  background: var(--dvh-primary) !important;
}

.alert {
  border: 1px solid transparent;
  border-radius: var(--dvh-radius-sm);
}

.alert-info {
  color: #1e40af;
  background: #eff6ff;
  border-color: #bfdbfe;
}

.alert-success {
  color: #166534;
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.alert-warning {
  color: #92400e;
  background: #fffbeb;
  border-color: #fde68a;
}

.alert-danger {
  color: #991b1b;
  background: #fef2f2;
  border-color: #fecaca;
}

.field,
.form-control,
.custom-select {
  min-height: 44px;
  color: var(--dvh-text);
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: var(--dvh-radius-sm);
}

.field:focus,
.form-control:focus,
.custom-select:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.13);
}

label {
  color: #334155;
  font-weight: 650;
}

/* Required markers are assigned from native validation and WHMCS form rules. */
.dvh-required-label:not(.field-icon)::after {
  margin-left: 3px;
  color: #dc2626;
  content: "*";
  font-weight: 800;
}

.prepend-icon.dvh-required-field {
  position: relative;
}

.prepend-icon.dvh-required-field::after {
  position: absolute;
  top: 22px;
  right: 14px;
  z-index: 3;
  color: #dc2626;
  content: "*";
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-50%);
}

.prepend-icon.dvh-required-field .field {
  padding-right: 32px;
}

/* Ticket attachments: one continuous, correctly rounded control. */
.attachment-group.input-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  min-height: 44px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: var(--dvh-radius-sm);
}

.attachment-group.input-group:focus-within {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.13);
}

.attachment-group .custom-file {
  flex: 1 1 auto;
  min-width: 0;
  height: 42px;
}

.attachment-group .custom-file-label {
  height: 42px;
  margin: 0;
  padding: 10px 148px 10px 16px;
  overflow: hidden;
  color: #475569;
  background: #fff;
  border: 0;
  border-radius: 0;
  line-height: 22px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.attachment-group .custom-file-label::after {
  display: flex;
  align-items: center;
  height: 42px;
  padding: 0 18px;
  color: #334155;
  background: #f1f5f9;
  border: 0;
  border-left: 1px solid #cbd5e1;
  border-radius: 0;
}

.attachment-group .input-group-append {
  display: flex;
  margin-left: 0;
}

.attachment-group .input-group-append .btn {
  height: 42px;
  margin: 0;
  padding: 8px 18px;
  border: 0;
  border-left: 1px solid #cbd5e1;
  border-radius: 0;
  box-shadow: none;
  white-space: nowrap;
}

.attachment-group .input-group-append .btn:hover {
  color: var(--dvh-primary);
  background: #eff6ff;
  transform: none;
}

@media (max-width: 575.98px) {
  .attachment-group .custom-file-label {
    padding-right: 116px;
  }

  .attachment-group .custom-file-label::after,
  .attachment-group .input-group-append .btn {
    padding-right: 12px;
    padding-left: 12px;
  }
}

.table {
  color: #334155;
  background: #fff;
}

.table thead th {
  color: var(--dvh-muted);
  background: #f8fafc;
  border-bottom: 1px solid var(--dvh-border);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.table td,
.table th {
  padding: 14px 16px;
  vertical-align: middle;
  border-top-color: var(--dvh-border);
}

.table-container {
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.table-container .table {
  margin-bottom: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* DataTables: toolbar + table card, with pagination controls outside. */
.dataTables_wrapper {
  color: var(--dvh-text);
}

.dataTables_wrapper .listtable {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--dvh-border);
  border-radius: var(--dvh-radius);
  box-shadow: var(--dvh-shadow);
}

.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_filter {
  float: none;
  padding: 14px 16px;
}

.dataTables_wrapper .dataTables_info {
  order: 1;
  color: var(--dvh-muted);
  font-size: 13px;
}

.dataTables_wrapper .dataTables_filter {
  order: 2;
  margin-left: auto;
}

.dataTables_wrapper .dataTables_filter label {
  position: relative;
  display: block;
  margin: 0;
  font-size: 0;
}

.dataTables_wrapper .dataTables_filter label::before {
  position: absolute;
  top: 50%;
  left: 14px;
  z-index: 1;
  width: 13px;
  height: 13px;
  content: "";
  border: 2px solid #94a3b8;
  border-radius: 50%;
  pointer-events: none;
  transform: translateY(-60%);
}

.dataTables_wrapper .dataTables_filter label::after {
  position: absolute;
  top: 50%;
  left: 26px;
  z-index: 1;
  width: 6px;
  height: 2px;
  content: "";
  background: #94a3b8;
  border-radius: 2px;
  pointer-events: none;
  transform: translateY(5px) rotate(45deg);
  transform-origin: left center;
}

.dataTables_wrapper .dataTables_filter label .form-control {
  width: min(280px, 42vw);
  height: 40px;
  margin: 0;
  padding: 8px 14px 8px 40px !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  font-size: 14px;
}

.dataTables_wrapper table.table-list {
  order: 3;
  flex: 0 0 100%;
  width: 100% !important;
  margin: 0 !important;
  border: 0;
  border-top: 1px solid var(--dvh-border);
  border-radius: 0;
}

.dataTables_wrapper table.table-list thead th {
  padding: 13px 14px;
  color: #475569;
  background: #f8fafc;
  border: 0;
  border-bottom: 1px solid var(--dvh-border);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
}

.dataTables_wrapper table.table-list thead th.sorting_asc,
.dataTables_wrapper table.table-list thead th.sorting_desc {
  color: var(--dvh-primary);
  background-color: #eff6ff;
}

.dataTables_wrapper table.table-list tbody td {
  padding: 15px 14px;
  color: #334155;
  background: #fff;
  border-top: 1px solid #edf1f5;
  font-size: 13px;
}

.dataTables_wrapper table.table-list tbody tr:hover td {
  background: #f8fbff;
}

.dataTables_wrapper table.table-list tbody td.dataTables_empty {
  padding: 42px 16px;
  color: var(--dvh-muted);
  text-align: center;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_paginate {
  margin-top: 14px;
  color: var(--dvh-muted);
  font-size: 13px;
}

.dataTables_wrapper .dataTables_length {
  float: left;
}

.dataTables_wrapper .dataTables_length label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--dvh-muted);
  font-weight: 500;
}

.dataTables_wrapper .dataTables_length select.form-control {
  width: auto;
  min-width: 72px;
  min-height: 38px;
  padding: 6px 28px 6px 10px;
  background-color: #fff;
}

.dataTables_wrapper .dataTables_paginate {
  float: right;
}

.dataTables_wrapper .pagination {
  gap: 5px;
  margin: 0;
}

.dataTables_wrapper .page-link {
  min-width: 38px;
  padding: 8px 11px;
  color: #475569;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px !important;
  text-align: center;
}

.dataTables_wrapper .page-link:hover {
  color: var(--dvh-primary);
  background: #eff6ff;
  border-color: #93c5fd;
}

.dataTables_wrapper .page-item.active .page-link {
  color: #fff;
  background: var(--dvh-primary);
  border-color: var(--dvh-primary);
}

.dataTables_wrapper .page-item.disabled .page-link {
  color: #94a3b8;
  background: #f8fafc;
  border-color: var(--dvh-border);
}

/* Services list */
#tableServicesList_wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--dvh-border);
  border-radius: var(--dvh-radius);
  box-shadow: var(--dvh-shadow);
}

#tableServicesList_wrapper .listtable {
  grid-column: 1 / -1;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

#tableServicesList_wrapper .dataTables_info,
#tableServicesList_wrapper .dataTables_filter {
  min-height: 68px;
  padding: 14px 20px;
}

#tableServicesList_wrapper .dataTables_filter label .form-control {
  width: min(320px, 38vw);
}

#tableServicesList_wrapper .dataTables_length,
#tableServicesList_wrapper .dataTables_paginate {
  align-self: stretch;
  min-height: 64px;
  margin: 0;
  padding: 12px 20px;
  background: #fbfdff;
  border-top: 1px solid var(--dvh-border);
}

#tableServicesList_wrapper .dataTables_length {
  display: flex;
  align-items: center;
}

#tableServicesList_wrapper .dataTables_paginate {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

#tableServicesList_wrapper table.table-list {
  border-top: 1px solid var(--dvh-border);
}

#tableServicesList_wrapper table.table-list thead th:first-child {
  width: 72px;
  background: #f8fafc;
}

#tableServicesList_wrapper table.table-list thead th:nth-child(2) {
  width: 35%;
}

#tableServicesList_wrapper table.table-list thead th:nth-child(3) {
  width: 20%;
  text-align: center;
}

#tableServicesList_wrapper table.table-list thead th:nth-child(4) {
  width: 27%;
  text-align: center;
}

#tableServicesList_wrapper table.table-list thead th:nth-child(5) {
  width: 13%;
  text-align: center;
}

#tableServicesList_wrapper table.table-list tbody td:first-child {
  width: 72px;
}

#tableServicesList_wrapper table.table-list tbody td:first-child img {
  width: 26px;
  height: auto;
  opacity: 0.82;
}

#tableServicesList_wrapper table.table-list tbody td:nth-child(2) strong {
  color: var(--dvh-text);
  font-weight: 700;
}

#tableServicesList_wrapper table.table-list tbody td:nth-child(2) a {
  overflow-wrap: anywhere;
}

#tableServicesList_wrapper .label.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 27px;
  padding: 5px 10px;
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
  line-height: 1;
}

/* Product detail overview */
.product-details > .row {
  margin-right: -10px;
  margin-left: -10px;
}

.product-details > .row > [class*="col-"] {
  padding-right: 10px;
  padding-left: 10px;
}

.product-details .product-status {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  min-height: 112px;
  padding: 18px;
  background: #f8fafc !important;
  border: 1px solid var(--dvh-border);
  border-radius: var(--dvh-radius);
}

div.product-details div.product-icon {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: 48px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 13px;
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  font-size: inherit;
  line-height: 1.35;
  text-align: left !important;
}

.product-details .product-icon .fa-stack {
  grid-row: 1 / 3;
  width: 48px;
  height: 48px;
  color: var(--dvh-primary);
  font-size: 22px;
  line-height: 48px;
}

.product-details .product-icon h3 {
  align-self: end;
  min-width: 0;
  margin: 0 0 2px;
  overflow-wrap: anywhere;
  color: var(--dvh-text);
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.product-details .product-icon h4 {
  align-self: start;
  margin: 0;
  color: var(--dvh-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.product-details .product-status-text {
  flex: 0 0 auto;
  min-width: 74px;
  padding: 7px 11px;
  color: #fff;
  background: #64748b;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.045em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.product-details .product-status-active .product-status-text {
  background: #16a34a;
}

.product-details .product-status-pending .product-status-text {
  background: #d97706;
}

.product-details .product-status-suspended .product-status-text {
  background: #2563eb;
}

.product-details > .row > .col-md-6.text-center {
  display: grid;
  grid-template-columns: minmax(145px, 0.8fr) minmax(0, 1.2fr);
  grid-auto-rows: minmax(40px, auto);
  align-content: center;
  align-items: center;
  min-height: 112px;
  padding: 16px 20px;
  color: #334155;
  background: #f8fafc;
  border: 1px solid var(--dvh-border);
  border-radius: var(--dvh-radius);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
  text-align: left !important;
}

.product-details > .row > .col-md-6.text-center > h4 {
  grid-column: 1;
  margin: 0;
  padding-right: 18px;
  color: var(--dvh-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.055em;
  line-height: 1.35;
  text-transform: uppercase;
}

.product-details .product-actions-wrapper {
  margin: 10px -5px 0;
}

.product-details .product-actions-wrapper > div {
  padding-right: 5px;
  padding-left: 5px;
}

.product-details .product-actions-wrapper .btn {
  min-height: 40px;
  padding: 8px 14px;
  box-shadow: none;
  font-size: 13px;
}

.product-details .product-actions-wrapper .btn-danger {
  color: var(--dvh-danger);
  background: #fff;
  border-color: #fecaca;
}

.product-details .product-actions-wrapper .btn-danger:hover,
.product-details .product-actions-wrapper .btn-danger:focus {
  color: #fff;
  background: var(--dvh-danger);
  border-color: var(--dvh-danger);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
  transform: none;
}

/* Product detail tabs and hosting information */
.dvh-product-details-page ul.responsive-tabs-sm {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  width: auto;
  margin: 22px 0 10px;
  padding: 4px;
  background: #eef2f7;
  border: 1px solid var(--dvh-border);
  border-radius: 11px;
}

.dvh-product-details-page ul.responsive-tabs-sm .nav-item {
  margin: 0;
}

.dvh-product-details-page ul.responsive-tabs-sm .nav-link {
  margin: 0;
  padding: 8px 13px;
  color: var(--dvh-muted);
  background: transparent;
  border: 0 !important;
  border-radius: 8px !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.dvh-product-details-page ul.responsive-tabs-sm .nav-link:hover {
  color: var(--dvh-text);
  background: rgba(255, 255, 255, 0.62);
}

.dvh-product-details-page ul.responsive-tabs-sm .nav-link.active {
  color: var(--dvh-primary);
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1);
}

.dvh-product-details-page .responsive-tabs-sm-connector {
  display: none !important;
}

.dvh-product-details-page .product-details-tab-container {
  margin: 0 0 24px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--dvh-border);
  border-radius: var(--dvh-radius);
  box-shadow: var(--dvh-shadow);
}

.dvh-product-details-page .product-details-tab-container #domain.active {
  display: flex;
  flex-wrap: wrap;
  column-gap: 8px;
  align-items: center;
  justify-content: center;
}

.dvh-product-details-page .product-details-tab-container #domain > .row,
.dvh-product-details-page
  .product-details-tab-container
  :is(#configoptions, #additionalinfo)
  > .row {
  flex: 0 0 100%;
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  padding: 10px 0;
  border-bottom: 1px solid #edf1f5;
}

.dvh-product-details-page
  .product-details-tab-container
  #domain
  > .row:last-of-type,
.dvh-product-details-page
  .product-details-tab-container
  :is(#configoptions, #additionalinfo)
  > .row:last-child {
  border-bottom: 0;
}

.dvh-product-details-page
  .product-details-tab-container
  .row
  > .col-sm-5 {
  color: var(--dvh-muted);
  font-size: 12px;
  font-weight: 750;
  text-align: left !important;
}

.dvh-product-details-page
  .product-details-tab-container
  .row
  > .col-sm-7 {
  color: var(--dvh-text);
  font-size: 14px;
  font-weight: 600;
  overflow-wrap: anywhere;
  text-align: left !important;
}

.dvh-product-details-page .product-details-tab-container #domain > br {
  display: none;
}

.dvh-product-details-page .product-details-tab-container #domain > p {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 780px;
  margin: 18px 0 0;
}

.dvh-product-details-page .product-details-tab-container .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  min-height: 38px;
  padding: 8px 14px;
  font-size: 13px;
  line-height: 1.2;
}

.dvh-product-details-page .product-details-tab-container .module-client-area {
  display: flex;
  align-items: center;
  margin: 18px 0 0;
  padding: 0;
}

.dvh-product-details-page
  .product-details-tab-container
  .module-client-area
  form {
  margin: 0;
}

.dvh-product-details-page #resourceusage > .row > .col-sm-10 > .row {
  margin-right: -6px;
  margin-left: -6px;
}

/* WHMCS initializes the usage gauges while this tab is hidden. Keep every
   layout wrapper content-sized so a stale calculated height cannot stretch it. */
.dvh-product-details-page #resourceusage,
.dvh-product-details-page #resourceusage > .row,
.dvh-product-details-page #resourceusage > .row > .col-sm-10,
.dvh-product-details-page #resourceusage > .row > .col-sm-10 > .row {
  height: auto !important;
  min-height: 0 !important;
}

.dvh-product-details-page #resourceusage {
  padding: 4px 0 0;
}

.dvh-product-details-page #resourceusage > .row,
.dvh-product-details-page #resourceusage > .row > .col-sm-10 > .row {
  align-items: flex-start !important;
  align-content: flex-start !important;
}

.dvh-product-details-page
  #resourceusage
  > .row
  > .col-sm-10
  > .row
  > .col-sm-6 {
  padding: 18px;
  background: #f8fafc;
  border: 6px solid #fff;
  border-radius: calc(var(--dvh-radius) + 4px);
}

.dvh-product-details-page #resourceusage h4 {
  margin-bottom: 14px;
  color: var(--dvh-text);
  font-size: 15px;
  font-weight: 750;
}

.dvh-product-details-page #resourceusage p {
  margin: 12px 0 0;
  color: var(--dvh-muted);
  font-size: 13px;
}

.dvh-product-details-page #resourceusage > p.text-muted {
  margin-top: 16px;
  font-size: 12px;
}

/* Server status */
.dvh-server-status-page .dvh-server-overview {
  margin-bottom: 24px;
  background: #fff;
  border: 1px solid var(--dvh-border);
  border-radius: var(--dvh-radius);
  box-shadow: var(--dvh-shadow);
}

.dvh-server-status-page .dvh-server-overview > .card-body {
  padding: 24px;
}

.dvh-server-status-page .dvh-server-overview h3 {
  margin: 0 0 6px;
  color: var(--dvh-text);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.dvh-server-status-page .dvh-server-overview h3::before {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 10px;
  content: "";
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 5px #dcfce7;
  vertical-align: 2px;
}

.dvh-server-status-page .dvh-server-overview h3 + p {
  margin: 0 0 20px;
  color: var(--dvh-muted);
  font-size: 13px;
  line-height: 1.6;
}

.dvh-server-status-page .dvh-server-overview .table-responsive {
  overflow: hidden;
  border: 1px solid var(--dvh-border);
  border-radius: 11px;
}

.dvh-server-status-page .dvh-server-overview .table {
  min-width: 780px;
  margin: 0;
  color: #334155;
  background: #fff;
}

.dvh-server-status-page .dvh-server-overview .table thead th {
  padding: 12px 14px;
  color: var(--dvh-muted);
  background: #f8fafc;
  border: 0;
  border-bottom: 1px solid var(--dvh-border);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: nowrap;
}

.dvh-server-status-page .dvh-server-overview .table tbody td {
  padding: 15px 14px;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #edf1f5;
  font-size: 13px;
  vertical-align: middle;
}

.dvh-server-status-page .dvh-server-overview .table tbody tr:last-child td {
  border-bottom: 0;
}

.dvh-server-status-page .dvh-server-overview .table tbody tr:hover td {
  background: #f8fbff;
}

.dvh-server-status-page .dvh-server-overview .table tbody td:first-child {
  color: var(--dvh-text);
  font-weight: 700;
  white-space: nowrap;
}

.dvh-server-status-page
  .dvh-server-overview
  .table
  td:is([id^="port"], [id^="load"], [id^="uptime"]) {
  color: #475569;
  font-weight: 600;
  white-space: nowrap;
}

.dvh-server-status-page .dvh-server-overview td[id^="port"] img {
  width: 18px;
  height: 18px;
}

.dvh-server-status-page .dvh-server-overview td .fa-spinner {
  color: var(--dvh-primary);
  font-size: 14px;
}

.dvh-server-status-page .dvh-server-overview td a[target="_blank"] {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  color: var(--dvh-primary);
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.dvh-server-status-page .dvh-server-overview td a[target="_blank"]:hover,
.dvh-server-status-page .dvh-server-overview td a[target="_blank"]:focus {
  color: var(--dvh-primary-dark);
  background: #dbeafe;
  border-color: #bfdbfe;
}

@media (max-width: 767.98px) {
  .dvh-server-status-page .dvh-server-overview > .card-body {
    padding: 16px;
  }

  .dvh-server-status-page .dvh-server-overview .table-responsive {
    overflow-x: auto;
  }
}

@media (max-width: 575.98px) {
  .product-details .product-status {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-details > .row > .col-md-6.text-center {
    grid-template-columns: minmax(110px, 0.8fr) minmax(0, 1.2fr);
    padding: 14px;
  }

  .dvh-product-details-page .product-details-tab-container {
    padding: 14px;
  }

  .dvh-product-details-page
    .product-details-tab-container
    .row
    > .col-sm-5 {
    margin-bottom: 3px;
  }
}

/* Ticket list */
#tableTicketsList th:nth-child(3),
#tableTicketsList th:nth-child(4),
#tableTicketsList td:nth-child(3),
#tableTicketsList td:nth-child(4) {
  text-align: center;
}

#tableTicketsList a.border-left {
  display: block;
  padding-left: 0;
  color: var(--dvh-text);
  border-left: 0 !important;
}

#tableTicketsList .ticket-number {
  display: block;
  margin-bottom: 2px;
  color: var(--dvh-primary);
  font-size: 11px;
  font-weight: 750;
}

#tableTicketsList .ticket-subject {
  font-weight: 600;
}

#tableTicketsList .label.status {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 9px;
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
  line-height: 1;
}

/* Dashboard */
.tiles .tile {
  min-height: 145px;
  margin: 0 8px 16px;
  padding: 22px;
  color: var(--dvh-text);
  background: var(--dvh-surface);
  border: 1px solid var(--dvh-border);
  border-radius: var(--dvh-radius);
  box-shadow: var(--dvh-shadow);
}

.tiles .tile:hover {
  border-color: #93c5fd;
  box-shadow: var(--dvh-shadow-brand);
  transform: translateY(-2px);
}

.tiles .tile i {
  color: var(--dvh-primary);
  opacity: 1;
}

.tiles .tile .stat {
  color: var(--dvh-text);
  font-size: 34px;
  font-weight: 800;
}

.tiles .tile .title {
  color: var(--dvh-muted);
  font-size: 13px;
  font-weight: 650;
}

.tiles .tile .highlight {
  height: 4px;
  background: var(--dvh-primary) !important;
}

.client-home-cards .card[class*="card-accent-"] {
  border-top: 1px solid var(--dvh-border);
}

.client-home-cards .card[class*="card-accent-"]::before {
  display: block;
  width: 100%;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--dvh-primary), #60a5fa);
}

/* Twenty-One forces header actions to white text, including light buttons. */
.client-home-cards .card-header .btn {
  color: var(--dvh-text) !important;
  background: #fff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: none;
}

.client-home-cards .card-header .btn:hover,
.client-home-cards .card-header .btn:focus,
.client-home-cards .card-header .btn:not(:disabled):not(.disabled):active {
  color: var(--dvh-text) !important;
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.12);
  transform: none;
}

/* Keep grouped domain actions aligned with the input on hover. */
.client-home-cards .input-group .btn {
  margin-top: 0;
  margin-bottom: 0;
  box-shadow: none;
}

.client-home-cards .input-group .btn:hover,
.client-home-cards .input-group .btn:focus,
.client-home-cards .input-group .btn:active {
  box-shadow: none;
  transform: none;
}

/* Sidebar */
.sidebar .card,
.sidebar .panel {
  overflow: hidden;
  background: var(--dvh-surface);
  border: 1px solid var(--dvh-border);
  border-radius: var(--dvh-radius);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.03),
    0 10px 25px -20px rgba(15, 23, 42, 0.28);
}

.sidebar .card-header,
.sidebar .panel-heading {
  min-height: 54px;
  padding: 14px 16px;
  color: var(--dvh-text);
  font-weight: 750;
  background: #f8fafc;
  border-bottom: 1px solid var(--dvh-border);
  border-radius: 0;
}

.sidebar .card-title,
.sidebar .panel-title {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
  color: var(--dvh-text);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.35;
}

.sidebar .card-title > i:not(.card-minimise),
.sidebar .panel-title > i:not(.card-minimise) {
  display: inline-grid;
  flex: 0 0 30px;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-right: 9px !important;
  color: var(--dvh-primary);
  background: var(--dvh-primary-soft);
  border-radius: 8px;
  font-size: 13px;
}

div[menuitemname="Active Products/Services"] .btn-view-details {
  width: auto !important;
  min-width: 82px;
  min-height: 30px;
  height: 30px;
  margin: 0;
  padding: 4px 9px;
  color: var(--dvh-text) !important;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: none;
  font-size: 11px;
  font-weight: 700;
  line-height: 20px;
  white-space: nowrap;
  transform: none;
}

div[menuitemname="Active Products/Services"] .btn-view-details i {
  display: none;
}

div[menuitemname="Active Products/Services"] .btn-view-details:hover,
div[menuitemname="Active Products/Services"] .btn-view-details:focus {
  color: var(--dvh-text) !important;
  background: #f8fafc;
  border-color: #94a3b8;
  box-shadow: none;
  transform: none;
}

.sidebar .card-title .badge,
.sidebar .panel-title .badge {
  margin-left: auto;
}

.sidebar .card-sidebar .card-minimise {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 6px;
  color: #64748b;
  font-size: 12px;
  transform-origin: center;
}

.sidebar .card-title .badge + .card-minimise,
.sidebar .panel-title .badge + .card-minimise {
  margin-left: 8px;
}

.sidebar .card-sidebar > .collapsable-card-body,
.sidebar .card-sidebar > .collapsable-card-body > :is(.card-body, .list-group) {
  overflow: hidden;
  width: 100%;
  margin: 0;
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.sidebar .card-sidebar .list-group {
  padding: 0;
  font-size: 14px;
}

.sidebar .card-sidebar .list-group-item {
  min-height: 45px;
  margin: 0;
  padding: 11px 16px;
  color: #475569;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #edf1f5;
  border-radius: 0 !important;
  font-weight: 500;
  line-height: 1.45;
}

.sidebar .card-sidebar .list-group-item:last-child {
  border-bottom: 0;
}

.sidebar .card-sidebar .list-group-item-action:hover,
.sidebar .card-sidebar .list-group-item-action:focus {
  z-index: 1;
  color: var(--dvh-text);
  background: #f8fafc;
  box-shadow: inset 3px 0 #bfdbfe;
}

.sidebar .card-sidebar .list-group-item.active,
.sidebar .card-sidebar .list-group-item.active:hover,
.sidebar .card-sidebar .list-group-item.active:focus {
  z-index: 2;
  color: var(--dvh-primary);
  background: #eff6ff;
  box-shadow: inset 3px 0 var(--dvh-primary);
  font-weight: 700;
}

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

.sidebar .sidebar-menu-item-icon-wrapper {
  flex: 0 0 22px;
  width: 22px;
  margin-right: 7px;
  color: #94a3b8;
  text-align: center;
}

.sidebar .card-sidebar .list-group-item.active .sidebar-menu-item-icon-wrapper {
  color: var(--dvh-primary);
}

.sidebar .sidebar-menu-item-label {
  min-width: 0;
  overflow-wrap: anywhere;
}

.sidebar .sidebar-menu-item-badge {
  margin-left: auto;
  padding-left: 10px;
}

/* Recent ticket rows: keep the status and relative time separated. */
.sidebar
  :is(
    [menuitemname="Recent Tickets"],
    [menuitemname="Recent Support Tickets"]
  )
  .list-group-item {
  min-height: 60px;
  padding-top: 10px;
  padding-bottom: 10px;
  overflow: hidden;
}

.sidebar
  :is(
    [menuitemname="Recent Tickets"],
    [menuitemname="Recent Support Tickets"]
  )
  .sidebar-menu-item-label {
  flex: 1 1 100%;
  width: 100%;
  min-width: 0;
  line-height: 1.35;
}

.sidebar
  :is(
    [menuitemname="Recent Tickets"],
    [menuitemname="Recent Support Tickets"]
  )
  .sidebar-menu-item-label
  .status {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  margin-top: 5px;
  margin-right: 8px;
  padding: 3px 7px;
  color: #fff;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 750;
  line-height: 1;
  vertical-align: middle;
}

.sidebar
  :is(
    [menuitemname="Recent Tickets"],
    [menuitemname="Recent Support Tickets"]
  )
  .sidebar-menu-item-label
  .float-right {
  margin-top: 5px;
  margin-left: 8px;
  color: var(--dvh-muted);
  font-size: 11px;
  line-height: 21px;
  white-space: nowrap;
}

.sidebar .card-sidebar .list-group-item .badge {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 24px;
  padding: 3px 7px;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
}

.sidebar .card-sidebar .list-group-item.active .badge {
  color: #1d4ed8;
  background: #dbeafe;
  border-color: #bfdbfe;
}

.sidebar .card-body {
  padding: 16px;
}

/* Compact form rows inside narrow sidebar cards (CC recipients, searches...). */
.sidebar .card-body .input-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
  min-width: 0;
}

.sidebar .card-body .input-group > .form-control {
  flex: 1 1 0;
  width: 1%;
  min-width: 0;
  height: 44px;
  padding: 9px 12px;
  border-radius: var(--dvh-radius-sm) 0 0 var(--dvh-radius-sm);
  font-size: 13px;
  text-overflow: ellipsis;
}

.sidebar .card-body .input-group > .form-control::placeholder {
  color: #94a3b8;
  opacity: 1;
}

.sidebar .card-body .input-group-append {
  display: flex;
  flex: 0 0 auto;
  margin-left: -1px;
}

.sidebar .card-body .input-group > .btn,
.sidebar .card-body .input-group-append .btn {
  flex: 0 0 auto;
  min-width: 64px;
  min-height: 44px;
  margin: 0;
  padding: 9px 14px;
  border-radius: 0 var(--dvh-radius-sm) var(--dvh-radius-sm) 0;
  box-shadow: none;
  transform: none;
  white-space: nowrap;
}

.sidebar .card-body .input-group > .btn:hover,
.sidebar .card-body .input-group > .btn:focus,
.sidebar .card-body .input-group-append .btn:hover,
.sidebar .card-body .input-group-append .btn:focus {
  z-index: 3;
  transform: none;
}

div[menuitemname="Active Products/Services"] .dvh-service-search {
  position: relative;
  flex: 0 1 290px;
  width: 290px;
  margin-left: auto;
}

div[menuitemname="Active Products/Services"] .dvh-service-search::before {
  position: absolute;
  top: 50%;
  left: 13px;
  z-index: 1;
  width: 13px;
  height: 13px;
  content: "";
  border: 2px solid #94a3b8;
  border-radius: 50%;
  pointer-events: none;
  transform: translateY(-60%);
}

div[menuitemname="Active Products/Services"] .dvh-service-search::after {
  position: absolute;
  top: 50%;
  left: 25px;
  z-index: 1;
  width: 6px;
  height: 2px;
  content: "";
  background: #94a3b8;
  border-radius: 2px;
  pointer-events: none;
  transform: translateY(5px) rotate(45deg);
  transform-origin: left center;
}

div[menuitemname="Active Products/Services"] .dvh-service-search .form-control {
  height: 36px;
  padding: 7px 34px 7px 36px;
  color: var(--dvh-text);
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  box-shadow: none;
  font-size: 13px;
}

div[menuitemname="Active Products/Services"] > .card-header {
  display: flex;
  gap: 20px;
  align-items: center;
  min-height: 64px;
}

div[menuitemname="Active Products/Services"] > .card-header .card-title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

div[menuitemname="Active Products/Services"]
  .dvh-service-search
  .form-control::placeholder {
  color: #94a3b8;
}

div[menuitemname="Active Products/Services"]
  .dvh-service-search
  .form-control:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.sidebar .card-footer {
  padding: 12px 16px;
  background: #f8fafc;
  border-top: 1px solid var(--dvh-border);
  border-radius: 0;
}

.sidebar .card-footer .btn {
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  color: var(--dvh-text) !important;
  background: #fff;
  border-color: #cbd5e1;
  border-radius: 9px;
  box-shadow: none;
}

.sidebar .card-footer .btn:hover,
.sidebar .card-footer .btn:focus {
  color: var(--dvh-text) !important;
  background: #f8fafc;
  border-color: #94a3b8;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.12);
}

/* WHMCS renders this footer action as a plain link instead of a .btn. */
div[menuitemname="Active Products/Services"]
  .card-footer
  .btn-view-more {
  display: inline-flex;
  float: none !important;
  gap: 7px;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 32px;
  padding: 5px 11px;
  color: var(--dvh-primary);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition:
    color 0.16s ease,
    background-color 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

div[menuitemname="Active Products/Services"]
  > .card-footer {
  padding: 7px 16px;
  text-align: center;
}

div[menuitemname="Active Products/Services"]
  .card-footer
  .btn-view-more::after {
  width: 7px;
  height: 7px;
  content: "";
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

div[menuitemname="Active Products/Services"]
  .card-footer
  .btn-view-more:hover,
div[menuitemname="Active Products/Services"]
  .card-footer
  .btn-view-more:focus {
  color: var(--dvh-primary);
  background: #eff6ff;
  box-shadow: none;
  outline: 0;
}

div[menuitemname="Active Products/Services"]
  .card-footer
  .btn-view-more.disabled {
  pointer-events: none;
  color: #94a3b8;
  background: transparent;
  box-shadow: none;
}

@media (max-width: 767.98px) {
  div[menuitemname="Active Products/Services"] > .card-header {
    flex-wrap: wrap;
    gap: 10px;
  }

  div[menuitemname="Active Products/Services"] .dvh-service-search {
    flex-basis: 100%;
    width: 100%;
    margin-left: 0;
  }
}

/* Login, register and password pages */
.logincontainer,
.pwresetcontainer,
.register-form {
  max-width: 620px;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--dvh-border);
  border-radius: var(--dvh-radius-lg);
  box-shadow: 0 30px 70px -35px rgba(15, 23, 42, 0.35);
}

.logincontainer::before,
.pwresetcontainer::before {
  display: block;
  margin-bottom: 20px;
  color: var(--dvh-primary);
  font-family: "Font Awesome 5 Pro";
  font-size: 34px;
  font-weight: 300;
  text-align: center;
  content: "\f2bd";
}

.logincontainer .btn-primary,
.pwresetcontainer .btn-primary {
  width: 100%;
}

/* Domain search inserted by Twenty-One */
.domain-search-container {
  padding: 42px 0;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #172554);
}

.domain-search-container h2,
.domain-search-container p {
  color: #fff;
}

.domain-search-container .form-control {
  min-height: 54px;
  border: 0;
}

.domain-search-container .btn {
  min-height: 54px;
}

/* Branded portal homepage */
.dvh-portal-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 56px;
  align-items: center;
  overflow: hidden;
  margin-top: -34px;
  padding: 72px 0 82px;
}

.dvh-portal-hero::before {
  position: absolute;
  top: -250px;
  left: -260px;
  width: 600px;
  height: 600px;
  content: "";
  background: rgba(37, 99, 235, 0.13);
  border-radius: 50%;
  filter: blur(40px);
}

.dvh-portal-hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

.dvh-portal-hero__content,
.dvh-stack-card {
  position: relative;
  z-index: 1;
}

.dvh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px;
  color: var(--dvh-primary);
  background: rgba(37, 99, 235, 0.09);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

.dvh-status-dot {
  width: 8px;
  height: 8px;
  background: var(--dvh-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.12);
}

.dvh-portal-hero h1 {
  max-width: 720px;
  margin: 22px 0 18px;
  color: var(--dvh-text);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 850;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.dvh-portal-hero h1 span {
  color: var(--dvh-primary);
}

.dvh-portal-hero__content > p {
  max-width: 650px;
  color: var(--dvh-muted);
  font-size: 18px;
}

.dvh-portal-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.dvh-portal-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  color: var(--dvh-muted);
  font-size: 12px;
  font-weight: 650;
}

.dvh-portal-hero__trust i {
  margin-right: 5px;
  color: var(--dvh-primary);
}

.dvh-stack-card {
  padding: 25px;
  color: #fff;
  background: linear-gradient(145deg, #2563eb, #0f172a 86%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  box-shadow: 0 32px 70px -30px rgba(37, 99, 235, 0.7);
}

.dvh-stack-card__top,
.dvh-stack-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dvh-stack-card__top {
  color: #bfdbfe;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dvh-live {
  padding: 5px 9px;
  color: #dcfce7;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  font-size: 10px;
}

.dvh-live i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  background: #4ade80;
  border-radius: 50%;
}

.dvh-stack-card__items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  margin: 22px 0 30px;
}

.dvh-stack-card__items > div {
  display: grid;
  grid-template-columns: 26px 1fr;
  column-gap: 6px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
}

.dvh-stack-card__items i {
  grid-row: span 2;
  color: #93c5fd;
  font-size: 16px;
}

.dvh-stack-card__items strong {
  font-size: 12px;
}

.dvh-stack-card__items small {
  color: #94a3b8;
  font-size: 10px;
}

.dvh-stack-card__footer strong,
.dvh-stack-card__footer small {
  display: block;
}

.dvh-stack-card__footer strong {
  font-size: 28px;
  line-height: 1;
}

.dvh-stack-card__footer small {
  margin-top: 5px;
  color: #94a3b8;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dvh-stack-card__footer > i {
  color: #93c5fd;
  font-size: 28px;
}

.dvh-section {
  padding: 64px 0;
}

.dvh-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.dvh-section-label {
  color: var(--dvh-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.dvh-section-heading h2,
.dvh-support-strip h2 {
  margin: 7px 0 0;
  color: var(--dvh-text);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.dvh-section-heading > p {
  max-width: 440px;
  margin: 0;
  color: var(--dvh-muted);
}

.dvh-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.dvh-service-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 25px;
  color: var(--dvh-text);
  background: var(--dvh-surface);
  border: 1px solid var(--dvh-border);
  border-radius: var(--dvh-radius-lg);
  box-shadow: var(--dvh-shadow);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.dvh-service-card:hover {
  color: var(--dvh-text);
  border-color: #93c5fd;
  box-shadow: var(--dvh-shadow-brand);
  transform: translateY(-4px);
}

.dvh-service-card--dark,
.dvh-service-card--dark:hover {
  color: #fff;
  background: var(--dvh-secondary);
  border-color: var(--dvh-secondary);
}

.dvh-service-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--dvh-primary);
  background: var(--dvh-primary-soft);
  border-radius: 14px;
  font-size: 20px;
}

.dvh-service-card--dark .dvh-service-card__icon {
  color: #93c5fd;
  background: rgba(255, 255, 255, 0.09);
}

.dvh-service-card h3 {
  margin: 22px 0 8px;
  color: inherit;
  font-size: 20px;
  font-weight: 750;
}

.dvh-service-card p {
  margin-bottom: 22px;
  color: var(--dvh-muted);
  font-size: 14px;
}

.dvh-service-card--dark p {
  color: #94a3b8;
}

.dvh-service-card__link {
  margin-top: auto;
  color: var(--dvh-primary);
  font-size: 13px;
  font-weight: 750;
}

.dvh-service-card--dark .dvh-service-card__link {
  color: #93c5fd;
}

.dvh-service-card__link i {
  margin-left: 5px;
  transition: transform 0.18s ease;
}

.dvh-service-card:hover .dvh-service-card__link i {
  transform: translateX(4px);
}

.dvh-support-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 34px 0 24px;
  padding: 34px 38px;
  background: #fff;
  border: 1px solid var(--dvh-border);
  border-radius: var(--dvh-radius-lg);
  box-shadow: var(--dvh-shadow);
}

.dvh-support-strip p {
  margin: 7px 0 0;
  color: var(--dvh-muted);
}

.dvh-support-strip__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

/* Footer */
.footer {
  padding: 48px 0 34px;
  color: #94a3b8;
  background: var(--dvh-secondary);
  border-top: 0;
}

.footer a,
.footer .nav-link,
.footer .btn {
  color: #cbd5e1;
}

.footer a:hover,
.footer .nav-link:hover {
  color: #fff;
}

.footer .copyright {
  color: #64748b;
}

/* Responsive */
@media (max-width: 1199.98px) {
  .dvh-portal-hero {
    grid-template-columns: 1fr 370px;
    gap: 34px;
  }
}

@media (max-width: 991.98px) {
  .main-navbar-wrapper {
    padding: 10px 0;
  }

  .main-navbar-wrapper .navbar-nav > li > a {
    padding: 11px 12px !important;
  }

  .dvh-portal-hero {
    display: block;
    padding: 55px 0 65px;
  }

  .dvh-stack-card {
    display: none;
  }

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

  .dvh-support-strip {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767.98px) {
  .header .topbar .btn-active-client {
    max-width: 52vw;
  }

  .dataTables_wrapper .listtable {
    display: block;
  }

  .dataTables_wrapper .dataTables_filter,
  .dataTables_wrapper .dataTables_info {
    width: 100%;
    margin: 0;
    padding: 12px;
  }

  .dataTables_wrapper .dataTables_filter {
    padding-bottom: 0;
  }

  .dataTables_wrapper .dataTables_filter label .form-control {
    width: 100%;
  }

  .dataTables_wrapper .dataTables_info {
    padding-top: 10px;
    text-align: left;
  }

  .dataTables_wrapper .dataTables_length,
  .dataTables_wrapper .dataTables_paginate {
    float: none;
  }

  .dataTables_wrapper .dataTables_paginate {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
  }

  #tableServicesList_wrapper {
    display: block;
  }

  #tableServicesList_wrapper .dataTables_info,
  #tableServicesList_wrapper .dataTables_filter {
    min-height: 0;
  }

  #tableServicesList_wrapper .dataTables_filter {
    padding: 12px;
  }

  #tableServicesList_wrapper .dataTables_filter label .form-control {
    width: 100%;
  }

  #tableServicesList_wrapper .dataTables_length,
  #tableServicesList_wrapper .dataTables_paginate {
    min-height: 0;
    padding: 12px;
  }

  #tableServicesList_wrapper .dataTables_paginate {
    margin-top: 0;
    border-top: 0;
  }

  .product-details > .row > .col-md-6.text-center {
    margin-top: 12px;
  }

  .dvh-product-details-page ul.responsive-tabs-sm {
    display: flex;
    width: 100%;
    margin-top: 16px;
    border: 1px solid var(--dvh-border);
    border-radius: 11px;
  }

  .dvh-product-details-page ul.responsive-tabs-sm .nav-item {
    width: auto;
    margin: 0 !important;
    border: 0 !important;
  }

  .dvh-product-details-page ul.responsive-tabs-sm .nav-link {
    width: auto;
    padding: 8px 11px !important;
    border-radius: 8px !important;
  }

  .dvh-product-details-page .product-details-tab-container {
    padding: 18px;
  }

  #main-body {
    padding-top: 24px;
  }

  .header .navbar-light {
    min-height: 66px;
  }

  .header .navbar-brand .logo-img {
    max-width: 165px;
    max-height: 44px;
  }

  .tiles .tile {
    margin: 0 5px 10px;
    padding: 16px;
  }

  .dvh-portal-hero {
    margin-top: -24px;
  }

  .dvh-portal-hero h1 {
    font-size: 38px;
  }

  .dvh-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .dvh-service-grid {
    grid-template-columns: 1fr;
  }

  .dvh-service-card {
    min-height: 225px;
  }

  .dvh-support-strip {
    padding: 28px 24px;
  }

  .dvh-support-strip__actions {
    flex-wrap: wrap;
    width: 100%;
  }

  .dvh-support-strip__actions .btn {
    flex: 1 1 180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Homepage-aligned shell: header and footer child templates. */
.dvh-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(226, 232, 240, 0.72);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.dvh-site-navbar {
  min-height: 76px;
  padding: 12px 0;
  overflow: visible !important;
  background: transparent !important;
}

.dvh-site-navbar > .container {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  overflow: visible !important;
}

.dvh-site-navbar .navbar-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 48px;
  margin-right: 34px;
  padding: 0;
  color: var(--dvh-text);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.dvh-site-navbar .navbar-brand .logo-img {
  width: auto;
  max-width: 190px;
  max-height: 48px;
  object-fit: contain;
}

.dvh-site-navbar .navbar-collapse {
  min-width: 0;
}

.dvh-primary-nav {
  gap: 2px;
}

.dvh-site-navbar .navbar-nav > li > a {
  padding: 10px 11px !important;
  color: var(--dvh-muted) !important;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}

.dvh-site-navbar .navbar-nav > li > a:hover,
.dvh-site-navbar .navbar-nav > li.active > a,
.dvh-site-navbar .navbar-nav > li.show > a {
  color: var(--dvh-text) !important;
  background: transparent !important;
}

.dvh-site-navbar .navbar-nav > li.active > a {
  color: var(--dvh-primary) !important;
}

.dvh-site-navbar .navbar-nav > li > a:focus {
  outline: 0;
  box-shadow: none;
}

.dvh-site-navbar .navbar-nav > li > a:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.dvh-site-navbar .dropdown-menu {
  min-width: 210px;
  margin-top: 6px;
  padding: 5px;
  background: #fff;
  border: 1px solid var(--dvh-border);
  border-radius: 11px;
  box-shadow: 0 16px 36px -20px rgba(15, 23, 42, 0.32);
}

.dvh-site-navbar .dropdown-menu > li.dropdown-item {
  margin: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  border-radius: 7px;
}

.dvh-site-navbar .dropdown-menu > li.dropdown-item > a.dropdown-item {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 34px;
  padding: 7px 10px !important;
  color: #475569;
  background: transparent;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.dvh-site-navbar .dropdown-menu > li.dropdown-item > a.dropdown-item:hover,
.dvh-site-navbar .dropdown-menu > li.dropdown-item > a.dropdown-item:focus,
.dvh-site-navbar .dropdown-menu > li.dropdown-item.active > a.dropdown-item {
  color: var(--dvh-primary);
  background: #eff6ff;
}

.dvh-site-navbar .dropdown-menu > .dropdown-divider {
  margin: 5px 4px;
  border-top-color: #edf1f5;
}

.dvh-header-actions,
.dvh-header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: visible !important;
}

.dvh-header-actions {
  margin-left: auto;
}

.dvh-header-tools {
  order: 3;
  gap: 12px;
  margin: 4px 2px 4px 12px;
}

.dvh-header-icon,
.dvh-header-toggle,
.dvh-admin-return {
  position: relative;
  display: inline-grid;
  flex: 0 0 40px;
  place-items: center;
  width: 40px;
  min-height: 40px;
  padding: 0;
  color: var(--dvh-text);
  background: transparent;
  border: 1px solid var(--dvh-border);
  border-radius: 9px;
  box-shadow: none;
  overflow: visible !important;
}

.dvh-header-icon:hover,
.dvh-header-icon:focus,
.dvh-header-toggle:hover,
.dvh-header-toggle:focus,
.dvh-admin-return:hover,
.dvh-admin-return:focus {
  color: var(--dvh-primary);
  background: var(--dvh-primary-soft);
  border-color: #bfdbfe;
  box-shadow: none;
  transform: none;
}

.dvh-header-count {
  position: absolute;
  top: -8px;
  right: -8px;
  z-index: 4;
  display: grid;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  place-items: center;
  color: #fff;
  background: var(--dvh-primary);
  border: 2px solid #fff;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.dvh-header-toggle {
  display: none;
}

.footer.dvh-site-footer {
  min-height: 0 !important;
  padding: 0;
  color: var(--dvh-muted) !important;
  background:
    radial-gradient(
      circle at 84% 8%,
      rgba(219, 234, 254, 0.72),
      transparent 31%
    ),
    linear-gradient(180deg, #fff 0%, #f8fafc 100%) !important;
  border-top: 1px solid var(--dvh-border);
  border-radius: 0 !important;
}

.dvh-site-footer > .container {
  max-width: 1280px;
  padding-top: 40px;
  padding-bottom: 28px;
}

.dvh-footer-cta {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 46px;
  padding: 22px 24px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(
      circle at 82% 10%,
      rgba(147, 197, 253, 0.3),
      transparent 32%
    ),
    linear-gradient(135deg, #0f172a 0%, #172554 100%);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  box-shadow: 0 22px 50px -34px rgba(15, 23, 42, 0.8);
}

.dvh-footer-cta__icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: #fff;
  background: rgba(37, 99, 235, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  font-size: 21px;
}

.dvh-footer-cta__copy h2 {
  margin: 0 0 3px;
  color: #fff;
  font-size: 18px;
  font-weight: 780;
  letter-spacing: -0.02em;
}

.dvh-footer-cta__copy p {
  margin: 0;
  color: #aebdd3;
  font-size: 13px;
}

.dvh-footer-cta__actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.dvh-footer-call,
.dvh-footer-ticket {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 15px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}

.dvh-footer-call {
  color: #dbeafe !important;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.dvh-footer-ticket {
  color: #fff !important;
  background: var(--dvh-primary);
  border: 1px solid var(--dvh-primary);
  box-shadow: 0 16px 30px -18px rgba(37, 99, 235, 0.9);
}

.dvh-footer-call:hover,
.dvh-footer-call:focus,
.dvh-footer-ticket:hover,
.dvh-footer-ticket:focus {
  color: #fff !important;
  transform: translateY(-1px);
}

.dvh-footer-call:hover,
.dvh-footer-call:focus {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}

.dvh-footer-ticket:hover,
.dvh-footer-ticket:focus {
  background: var(--dvh-primary-dark);
  border-color: var(--dvh-primary-dark);
}

.dvh-footer-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1.45fr) repeat(2, minmax(180px, 0.8fr));
  gap: clamp(42px, 7vw, 96px);
  max-width: 990px;
}

.dvh-footer-logo {
  display: inline-flex;
  align-items: center;
  color: var(--dvh-text);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.dvh-footer-logo img {
  width: auto;
  max-width: 220px;
  max-height: 64px;
  object-fit: contain;
}

.dvh-footer-brand p {
  max-width: 320px;
  margin: 16px 0 0;
  color: var(--dvh-muted);
  font-size: 13px;
  line-height: 1.7;
}

.dvh-footer-contact {
  display: grid;
  gap: 3px;
  margin: 14px 0 0;
  color: var(--dvh-muted);
  font-size: 12px;
  font-style: normal;
}

.dvh-footer-contact a {
  color: var(--dvh-text);
  font-weight: 700;
}

.dvh-footer-column h2 {
  margin: 3px 0 20px;
  color: var(--dvh-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.dvh-footer-column ul,
.dvh-footer-utilities {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dvh-footer-column ul {
  display: grid;
  gap: 11px;
}

.dvh-footer-column a {
  color: rgba(15, 23, 42, 0.8);
  font-size: 14px;
  transition: color 0.16s ease;
}

.dvh-footer-column a:hover,
.dvh-footer-column a:focus,
.dvh-footer-contact a:hover,
.dvh-footer-contact a:focus {
  color: var(--dvh-primary);
}

.dvh-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--dvh-border);
}

.dvh-site-footer .copyright {
  margin: 0;
  color: var(--dvh-muted);
  font-size: 12px;
}

.dvh-footer-utilities {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.dvh-footer-utilities li {
  margin: 0;
}

.dvh-footer-utilities a,
.dvh-locale-button {
  color: var(--dvh-muted) !important;
}

.dvh-footer-utilities a:hover,
.dvh-locale-button:hover,
.dvh-locale-button:focus {
  color: var(--dvh-primary) !important;
}

.dvh-locale-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 11px;
  background: #fff;
  border: 1px solid var(--dvh-border);
  border-radius: 9px;
  box-shadow: none;
  font-size: 12px;
}

.dvh-locale-button:hover,
.dvh-locale-button:focus {
  background: #f8fafc;
  border-color: #bfdbfe;
  box-shadow: none;
  transform: none;
}

@media (max-width: 1199.98px) {
  .dvh-site-navbar > .container {
    flex-wrap: wrap;
  }

  .dvh-site-navbar .navbar-brand {
    margin-right: auto;
  }

  .dvh-header-toggle {
    display: inline-grid;
  }

  .dvh-site-navbar .navbar-collapse {
    order: 4;
    flex-basis: 100%;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--dvh-border);
  }

  .dvh-site-navbar .navbar-collapse.show,
  .dvh-site-navbar .navbar-collapse.collapsing {
    display: block;
  }

  .dvh-primary-nav,
  .dvh-account-nav {
    gap: 2px;
  }

  .dvh-site-navbar .navbar-nav > li > a {
    padding: 10px 12px !important;
  }

  .dvh-header-actions {
    align-items: stretch;
    flex-direction: column;
    margin: 10px 0 0;
  }

  .dvh-site-navbar .dropdown-menu {
    margin: 2px 0 6px 12px;
    box-shadow: none;
  }
}

@media (max-width: 991.98px) {
  .dvh-footer-cta {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .dvh-footer-cta__actions {
    grid-column: 2;
  }

  .dvh-footer-grid {
    grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
}

@media (max-width: 767.98px) {
  .dvh-site-navbar {
    min-height: 66px;
    padding: 9px 0;
  }

  .dvh-site-navbar .navbar-brand .logo-img {
    max-width: 160px;
    max-height: 42px;
  }

  .dvh-header-tools {
    gap: 10px;
    margin: 4px 2px 4px 8px;
  }

  .dvh-header-icon,
  .dvh-header-toggle {
    flex-basis: 38px;
    width: 38px;
    min-height: 38px;
  }

  .dvh-site-footer > .container {
    padding-top: 28px;
  }

  .dvh-footer-cta {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    margin-bottom: 38px;
    padding: 19px;
    border-radius: 16px;
  }

  .dvh-footer-cta__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 18px;
  }

  .dvh-footer-cta__actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .dvh-footer-call,
  .dvh-footer-ticket {
    width: 100%;
  }

  .dvh-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .dvh-footer-brand p {
    max-width: none;
  }

  .dvh-footer-column h2 {
    margin-bottom: 15px;
  }

  .dvh-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 38px;
  }
}
