/*!
 * WIMH Support LLC - WHMCS "wimh" child theme (parent: twenty-one)
 * Brand values taken from https://wimhsupport.llc/assets/css/style.css
 *   .template_twelve { --color-primary:#673DE6; --color-secondary:#001233; --color-third:#C8FF92; --font-primary:"Inter Tight" }
 *   :root { --color-secondary:#2D3C58 (text); --plan-bg:#F6F9FF; --border-color:#E9EDFF; --light-border:#D4DCFF }
 *   .site-footer-twelve { background:#F9F9FF } .is_twelve { background:#EFEEFF }
 *   .section__gradient__bg { linear-gradient(180deg,#4B17E8 0%,#061C43 100%) }
 * Loaded automatically after the parent's theme.min.css (assetExists custom.css).
 */

:root {
    --wimh-primary: #673DE6;
    --wimh-primary-hover: #5429D6;
    --wimh-primary-soft: #EFEAFD;
    --wimh-dark: #001233;
    --wimh-accent: #C8FF92;
    --wimh-text: #2D3C58;
    --wimh-muted: #4C5671;
    --wimh-light: #F6F9FF;
    --wimh-footer-bg: #F9F9FF;
    --wimh-copyright-bg: #EFEEFF;
    --wimh-border: #E9EDFF;
    --wimh-border-strong: #D4DCFF;
    --wimh-header-border: #E1DFFF;
    --wimh-success: #18803A;
    --wimh-danger: #D92D2F;
    --wimh-warning: #B85C00;
    --wimh-info: #13709D;
    --wimh-gradient: linear-gradient(180deg, #4B17E8 0%, #061C43 100%);
    --wimh-font-body: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --wimh-font-heading: "Plus Jakarta Sans", "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --wimh-radius-btn: 4px;
    --wimh-radius-input: 6px;
    --wimh-radius-card: 10px;
    --wimh-radius-lg: 20px;
    --wimh-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    --wimh-shadow-hover: 0 12px 30px rgba(103, 61, 230, 0.14);
    --wimh-focus: 0 0 0 0.2rem rgba(103, 61, 230, 0.35);
    --wimh-transition: all .3s ease;
}

/* ------------------------------------------------------------------
 * Base
 * ------------------------------------------------------------------ */
html { scroll-behavior: smooth; }
body,
.primary-bg-color {
    background-color: #fff;
}
body {
    font-family: var(--wimh-font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--wimh-text);
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--wimh-font-heading);
    color: var(--wimh-dark);
    font-weight: 700;
    letter-spacing: -0.01em;
}
a { color: var(--wimh-primary); }
a:hover, a:focus { color: var(--wimh-primary-hover); }
.text-muted { color: var(--wimh-muted) !important; }
.text-primary { color: var(--wimh-primary) !important; }
.bg-primary { background-color: var(--wimh-primary) !important; }
::selection { background: var(--wimh-accent); color: var(--wimh-dark); }
hr { border-top-color: var(--wimh-border); }

/* Accessibility: visible focus + skip link */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--wimh-primary);
    outline-offset: 2px;
    box-shadow: none;
}
.wimh-skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 2000;
    padding: 10px 16px;
    border-radius: var(--wimh-radius-btn);
    background: var(--wimh-dark);
    color: #fff;
    font-weight: 600;
    transition: top .2s ease;
}
.wimh-skip-link:focus { top: 12px; color: #fff; }
#main-body:focus { outline: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

.wimh-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 14px;
    border-radius: 30px;
    background: var(--wimh-primary-soft);
    color: var(--wimh-primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.wimh-section-head { margin: 40px 0 28px; }
.wimh-section-title { font-size: 2rem; font-weight: 600; margin: 0; }

/* ------------------------------------------------------------------
 * Header
 * ------------------------------------------------------------------ */
header.header {
    background: #fff;
    border-bottom: 1px solid var(--wimh-header-border);
    position: relative;
    z-index: 1030;
}
header.header .topbar {
    background-color: var(--wimh-dark);
    color: rgba(255, 255, 255, .75);
    padding: 4px 0;
    font-size: 14px;
}
header.header .topbar .btn,
header.header .topbar .active-client .input-group-text { color: rgba(255, 255, 255, .8); font-size: 14px; }
header.header .topbar .btn:hover { color: var(--wimh-accent); }
header.header .topbar .active-client .btn-active-client { background: rgba(255, 255, 255, .08); border-radius: var(--wimh-radius-btn); }
header.header .topbar .btn-return-to-admin { background: var(--wimh-accent); color: var(--wimh-dark); }

header.header .wimh-brandbar {
    padding: 14px 0;
    min-height: 80px;
}
header.header .wimh-brandbar > .container { flex-wrap: nowrap; }
header.header .navbar-brand { padding: 0; }
header.header .logo-img { width: auto; height: 30px; max-height: 30px; }
@media (min-width: 576px) { header.header .logo-img { height: 34px; max-height: 34px; } }

.wimh-sitenav { margin: 0 auto; }
.wimh-sitenav__list { display: flex; align-items: center; margin: 0; padding: 0; }
.wimh-sitenav__item { position: relative; }
header.header .navbar a.wimh-sitenav__link,
.wimh-sitenav__link {
    display: block;
    padding: 10px 26px;
    color: var(--wimh-dark);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--wimh-transition);
}
header.header .navbar a.wimh-sitenav__link:hover,
header.header .navbar a.wimh-sitenav__link:focus,
.wimh-sitenav .show > .wimh-sitenav__link { color: var(--wimh-primary); }
.wimh-sitenav .dropdown-toggle::after {
    border: 0;
    content: "\f107";
    font-family: "Font Awesome 6 Pro", "Font Awesome 5 Pro", "Font Awesome 5 Free";
    font-weight: 400;
    vertical-align: 0;
    margin-left: 6px;
    font-size: 13px;
}
.wimh-sitenav .dropdown-menu { margin-top: 12px; min-width: 210px; }

header.header .toolbar { flex-direction: row; align-items: center; }
header.header .toolbar .nav-link,
header.header .toolbar .cart-btn,
header.header .wimh-menu-btn {
    color: var(--wimh-dark);
    font-size: 18px;
    padding: 6px 10px;
    border-radius: var(--wimh-radius-btn);
}
header.header .toolbar .cart-btn:hover,
header.header .wimh-menu-btn:hover { color: var(--wimh-primary); background: var(--wimh-light); }
header.header .toolbar .cart-btn .badge { background: var(--wimh-primary); color: #fff; border-radius: 30px; font-size: 11px; }
header.header .navbar a.wimh-chat-btn,
.wimh-chat-btn {
    padding: 12px 26px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
}

/* Row 2: WHMCS navigation */
header.header .main-navbar-wrapper {
    background: var(--wimh-light);
    border-top: 1px solid var(--wimh-border);
}
/* twenty-one's autoCollapse('#nav', 30) moves items into "More" when #nav is >= 30px tall,
   so keep link boxes at 28px and put the vertical rhythm on the wrapper instead. */
header.header .main-navbar-wrapper .navbar-collapse { padding: 9px 0; }
header.header .main-navbar-wrapper .navbar-nav > li > a,
header.header .main-navbar-wrapper .navbar-nav .nav-link {
    display: block;
    padding: 4px 14px;
    line-height: 20px;
    color: var(--wimh-text);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
}
header.header .main-navbar-wrapper .navbar-nav > li > a:hover,
header.header .main-navbar-wrapper .navbar-nav > li.show > a,
header.header .main-navbar-wrapper .navbar-nav > li.active > a { color: var(--wimh-primary); }
header.header .main-navbar-wrapper .navbar-nav a.pr-4 { padding-right: 14px !important; }
header.header .search .form-control,
header.header .search .btn {
    border-color: var(--wimh-border-strong);
    background: #fff;
    height: 38px;
}
header.header .search .btn { color: var(--wimh-muted); border-radius: var(--wimh-radius-input) 0 0 var(--wimh-radius-input); }
header.header .search .form-control { border-radius: 0 var(--wimh-radius-input) var(--wimh-radius-input) 0; }
.wimh-kbsearch .search { width: 240px; }
@media (max-width: 1199.98px) {
    header.header .main-navbar-wrapper { border-top: 0; }
    header.header .main-navbar-wrapper .navbar-collapse { padding: 0; }
    header.header .main-navbar-wrapper .navbar-nav > li > a,
    header.header .main-navbar-wrapper .navbar-nav .nav-link { padding: 10px 4px; }
    header.header .main-navbar-wrapper .navbar-collapse.show,
    header.header .main-navbar-wrapper .navbar-collapse.collapsing { padding: 14px 0; }
    .wimh-sitenav-mobile { border-bottom: 1px solid var(--wimh-border-strong); margin-bottom: 6px; padding-bottom: 6px; }
    header.header .main-navbar-wrapper .dropdown-menu { border: 0; box-shadow: none; background: transparent; padding-left: 12px; }
}

/* Dropdowns */
.dropdown-menu {
    border: 1px solid var(--wimh-border);
    border-radius: var(--wimh-radius-card);
    box-shadow: 0 10px 30px rgba(0, 18, 51, .10);
    padding: 8px;
    font-size: 15px;
}
.dropdown-item,
header.header .navbar .dropdown-menu a.dropdown-item {
    border-radius: 6px;
    color: var(--wimh-text);
    padding: 8px 12px;
}
li.dropdown-item { padding: 0; background: transparent !important; }
header.header .navbar .dropdown-menu li.dropdown-item > a.dropdown-item { padding: 8px 12px !important; }
.dropdown-item:hover, .dropdown-item:focus,
header.header .navbar .dropdown-menu a.dropdown-item:hover { background: var(--wimh-light); color: var(--wimh-primary); }
.dropdown-item.active, .dropdown-item:active { background: var(--wimh-primary); color: #fff; }

/* Breadcrumb */
.master-breadcrumb { background-color: var(--wimh-light); border-bottom: 1px solid var(--wimh-border); }
.master-breadcrumb .breadcrumb { padding: 12px 0; font-size: 14px; background: transparent; }
.master-breadcrumb .breadcrumb a { color: var(--wimh-muted); }
.master-breadcrumb .breadcrumb a:hover { color: var(--wimh-primary); }
.master-breadcrumb .breadcrumb-item.active { color: var(--wimh-dark); font-weight: 500; }

/* ------------------------------------------------------------------
 * Homepage hero (mirrors .hero_banner on wimhsupport.llc)
 * ------------------------------------------------------------------ */
.wimh-hero {
    position: relative;
    padding: 90px 0 80px;
    background-color: #F7FBF4;
    background-image: url("../img/hero-bg.webp"), linear-gradient(120deg, #EEFDF0 0%, #FFF8F1 45%, #F9F1FF 100%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.wimh-hero__eyebrow { font-weight: 600; color: var(--wimh-dark); margin-bottom: 18px; }
.wimh-hero__eyebrow span { color: var(--wimh-primary); }
.wimh-hero__title-wrap { position: relative; }
/* Decorative frame (hero-shape.svg from the site) wraps the highlighted word, like "99%" on wimhsupport.llc */
.wimh-hero__title .wimh-hl { position: relative; display: inline-block; z-index: 0; }
.wimh-hero__shape { position: absolute; left: -12px; bottom: -6px; width: calc(100% + 28px); height: auto; z-index: -1; pointer-events: none; }
.wimh-hero__title {
    position: relative;
    font-family: var(--wimh-font-body);
    font-size: 58px;
    line-height: 1.12;
    font-weight: 600;
    color: var(--wimh-dark);
    margin-bottom: 22px;
}
.wimh-hero__title .wimh-hl { color: var(--wimh-primary); }
.wimh-hero__lead { max-width: 520px; font-size: 18px; color: var(--wimh-text); margin-bottom: 30px; }
.wimh-hero__actions .btn { margin: 0 10px 10px 0; }
.wimh-hero__image img { width: 100%; height: auto; max-width: 560px; display: block; margin-left: auto; }
@media (max-width: 1199.98px) { .wimh-hero__title { font-size: 50px; } }
@media (max-width: 767.98px) {
    .wimh-hero { padding: 48px 0 40px; text-align: left; }
    .wimh-hero__title { font-size: 36px; }
    .wimh-hero__lead { font-size: 16px; }
    .wimh-hero__actions .btn { display: block; width: 100%; margin: 0 0 10px; }
}

/* Domain search band (twenty-one .home-domain-search) */
.home-domain-search { background: #fff !important; border-bottom: 1px solid var(--wimh-border); }
.home-domain-search h2 { font-weight: 600; }
.home-domain-search .input-group-wrapper .input-group,
.home-domain-search .input-group {
    border-radius: var(--wimh-radius-card);
    box-shadow: var(--wimh-shadow);
    border: 1px solid var(--wimh-border-strong);
    background: #fff;
    overflow: hidden;
}
.home-domain-search .form-control { border: 0; height: 60px; font-size: 18px; }
.home-domain-search .btn { height: 60px; padding: 0 28px; border-radius: 0; }
.home-domain-search .tld-logos li { color: var(--wimh-text); }

/* Homepage service cards (mirrors .rts-service__single.style_twelve) */
.wimh-service-card {
    border: 1px solid var(--wimh-border) !important;
    border-radius: var(--wimh-radius-card) !important;
    padding: 24px 12px;
    transition: var(--wimh-transition);
    box-shadow: none;
}
.wimh-service-card:hover { border-color: var(--wimh-primary) !important; box-shadow: var(--wimh-shadow-hover); }
.wimh-service-card__icon {
    width: 70px; height: 70px; margin: 0 auto 20px;
    display: flex; align-items: center; justify-content: center;
    background: var(--wimh-accent); color: var(--wimh-dark);
    border-radius: 10px; font-size: 30px;
}
.wimh-service-card__icon--primary { background: var(--wimh-primary); color: #fff; }
.wimh-service-card .card-title { font-size: 24px; font-weight: 600; color: var(--wimh-dark); margin-bottom: 14px; }
.wimh-service-card p { color: var(--wimh-muted); min-height: 3em; }
.wimh-service-card:hover .btn-outline-primary { background: var(--wimh-primary); color: #fff; }

/* Support band (mirrors .single__info__section.primary) */
.wimh-info-row { margin-top: 24px; }
.wimh-info-card {
    display: flex; gap: 20px; align-items: flex-start;
    height: 100%;
    padding: 30px 28px;
    border-radius: var(--wimh-radius-card);
    background: var(--wimh-primary);
    color: rgba(255, 255, 255, .92);
    font-size: 15px;
}
.wimh-info-card__icon { flex: 0 0 56px; width: 56px; height: 56px; }
.wimh-info-card__title { color: #fff; font-family: var(--wimh-font-body); font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.wimh-info-card p { margin-bottom: 8px; }
.wimh-info-card a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.wimh-info-card a:hover, .wimh-info-card a:focus { color: var(--wimh-accent); }
.wimh-info-card a:focus-visible { outline-color: var(--wimh-accent); }

/* Icon buttons (homepage "How can we help" / "Your account") */
.action-icon-btns a {
    border: 1px solid var(--wimh-border);
    border-radius: var(--wimh-radius-card);
    background: #fff;
    color: var(--wimh-dark);
    font-weight: 600;
    padding: 14px 8px 20px;
    box-shadow: none;
}
.action-icon-btns a .ico-container i,
.action-icon-btns a[class*="card-accent-"] .ico-container i { color: var(--wimh-primary) !important; }
.action-icon-btns a:hover,
.action-icon-btns a:focus {
    color: var(--wimh-primary);
    border-color: var(--wimh-primary);
    box-shadow: var(--wimh-shadow-hover);
    transform: translateY(-2px);
    background: #fff;
}
.action-icon-btns a[class*="card-accent-"] { border-top: 1px solid var(--wimh-border); }

/* ------------------------------------------------------------------
 * Main body + cards + sidebar
 * ------------------------------------------------------------------ */
section#main-body { padding: 40px 0 60px; background: #fff; }
.wimh-page-homepage section#main-body { padding-top: 10px; }
.card {
    border: 1px solid var(--wimh-border);
    border-radius: var(--wimh-radius-card);
    box-shadow: var(--wimh-shadow);
}
.card-header {
    background: #fff;
    border-bottom: 1px solid var(--wimh-border);
    border-radius: var(--wimh-radius-card) var(--wimh-radius-card) 0 0 !important;
}
.card-header .card-title, .card-title { font-family: var(--wimh-font-heading); color: var(--wimh-dark); font-weight: 700; }
.card-footer { background: var(--wimh-light); border-top: 1px solid var(--wimh-border); }
.card-footer:last-child { border-radius: 0 0 var(--wimh-radius-card) var(--wimh-radius-card); }
.primary-content > .card, .primary-content .card { overflow: visible; }

/* Sidebar panels */
.sidebar .card-sidebar { box-shadow: none; overflow: hidden; }
.sidebar .card-sidebar .card-header {
    background: var(--wimh-light);
    padding: 14px 16px;
}
.sidebar .card-sidebar .card-title { font-size: 16px; }
.sidebar .card-sidebar .card-title > i:not(.card-minimise) { color: var(--wimh-primary); }
.sidebar .card-sidebar .card-minimise { color: var(--wimh-muted); }
.sidebar .list-group-item,
.client-home-cards .list-group-item {
    border-color: var(--wimh-border);
    color: var(--wimh-text);
    font-size: 15px;
    padding: 10px 16px;
}
.sidebar .list-group-item-action:hover,
.sidebar .list-group-item-action:focus { background: var(--wimh-light); color: var(--wimh-primary); }
.sidebar .list-group-item.active,
.sidebar .list-group-item.active:hover,
.list-group-item.active {
    background: var(--wimh-primary);
    border-color: var(--wimh-primary);
    color: #fff;
}
.sidebar .list-group-item.active .sidebar-menu-item-icon,
.sidebar .list-group-item.active .badge { color: #fff; }
.sidebar .list-group-item .badge,
.client-home-cards .badge {
    background: var(--wimh-primary-soft);
    color: var(--wimh-primary);
    border-radius: 30px;
    font-weight: 600;
}
.sidebar .sidebar-menu-item-icon { color: var(--wimh-primary); }

/* ------------------------------------------------------------------
 * Buttons
 * ------------------------------------------------------------------ */
.btn {
    border-radius: var(--wimh-radius-btn);
    font-weight: 600;
    transition: var(--wimh-transition);
}
.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn-sm, .btn-xs { border-radius: var(--wimh-radius-btn); }
.btn-primary,
.btn-primary:not(:disabled):not(.disabled):active {
    background-color: var(--wimh-primary);
    border-color: var(--wimh-primary);
    color: #fff;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus {
    background-color: var(--wimh-accent);
    border-color: var(--wimh-accent);
    color: var(--wimh-dark);
    box-shadow: none;
}
.btn-primary.disabled, .btn-primary:disabled { background-color: var(--wimh-primary); border-color: var(--wimh-primary); color: #fff; opacity: .55; }
.btn-outline-primary {
    color: var(--wimh-primary);
    border-color: var(--wimh-primary);
    background: transparent;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.btn-outline-primary.active {
    background-color: var(--wimh-primary);
    border-color: var(--wimh-primary);
    color: #fff;
    box-shadow: none;
}
.btn-default,
.btn-secondary,
.btn-light {
    background: #fff;
    border: 1px solid var(--wimh-border-strong);
    color: var(--wimh-text);
}
.btn-default:hover, .btn-default:focus,
.btn-secondary:hover, .btn-secondary:focus,
.btn-light:hover, .btn-light:focus {
    background: var(--wimh-light);
    border-color: var(--wimh-primary);
    color: var(--wimh-primary);
}
.btn-success { background: var(--wimh-success); border-color: var(--wimh-success); }
.btn-success:hover, .btn-success:focus { background: #12692F; border-color: #12692F; }
.btn-danger { background: var(--wimh-danger); border-color: var(--wimh-danger); }
.btn-info { background: var(--wimh-info); border-color: var(--wimh-info); }
.btn-warning { background: var(--wimh-warning); border-color: var(--wimh-warning); color: #fff; }
.btn-link { color: var(--wimh-primary); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline-light:hover, .btn-outline-light:focus { background: var(--wimh-accent); border-color: var(--wimh-accent); color: var(--wimh-dark); }

/* ------------------------------------------------------------------
 * Forms
 * ------------------------------------------------------------------ */
.form-control,
.custom-select,
.custom-file-label,
select.form-control {
    border: 1px solid var(--wimh-border-strong);
    border-radius: var(--wimh-radius-input);
    color: var(--wimh-dark);
    min-height: 44px;
}
textarea.form-control { min-height: 120px; }
.form-control::placeholder { color: #8D9097; }
.form-control:focus,
.custom-select:focus,
.custom-file-input:focus ~ .custom-file-label {
    border-color: var(--wimh-primary);
    box-shadow: var(--wimh-focus);
}
.input-group-text {
    background: var(--wimh-light);
    border-color: var(--wimh-border-strong);
    color: var(--wimh-muted);
}
.input-group > .input-group-prepend > .input-group-text { border-radius: var(--wimh-radius-input) 0 0 var(--wimh-radius-input); }
.input-group > .input-group-append > .btn,
.input-group > .input-group-append > .input-group-text { border-radius: 0 var(--wimh-radius-input) var(--wimh-radius-input) 0; }
.input-group-merge .form-control { border-left: 0; }
label, .form-control-label, .col-form-label { color: var(--wimh-dark); font-weight: 600; font-size: 15px; }
.custom-control-input:checked ~ .custom-control-label::before { background-color: var(--wimh-primary); border-color: var(--wimh-primary); }
.form-check-input, input[type="checkbox"], input[type="radio"] { accent-color: var(--wimh-primary); }
.is-invalid, .form-control.is-invalid { border-color: var(--wimh-danger); }
.field-help-text, .form-text { color: var(--wimh-muted); }

/* ------------------------------------------------------------------
 * Tables (client area lists, invoices, tickets, domains, services)
 * ------------------------------------------------------------------ */
.table { color: var(--wimh-text); }
.table thead th,
.dataTables_wrapper table.table-list thead th {
    background: var(--wimh-light);
    color: var(--wimh-dark);
    font-weight: 600;
    font-size: 14px;
    border-bottom: 2px solid var(--wimh-border-strong) !important;
    border-top: 0;
}
.table td, .table th { border-top-color: var(--wimh-border); vertical-align: middle; }
.dataTables_wrapper table.table-list {
    border: 1px solid var(--wimh-border) !important;
    border-radius: var(--wimh-radius-card);
    overflow: hidden;
}
.dataTables_wrapper table.table-list tbody tr:hover td,
.table-hover tbody tr:hover { background-color: #FAFBFF; }
.dataTables_wrapper table.table-list tbody td { border-top: 1px solid var(--wimh-border); }
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    border: 1px solid var(--wimh-border-strong);
    border-radius: var(--wimh-radius-input);
}
.dataTables_wrapper .dataTables_info { color: var(--wimh-muted); }
.table-container { border-radius: var(--wimh-radius-card); }

/* Pagination */
.pagination .page-link { color: var(--wimh-primary); border-color: var(--wimh-border); }
.pagination .page-item.active .page-link { background: var(--wimh-primary); border-color: var(--wimh-primary); color: #fff; }
.pagination .page-link:hover { background: var(--wimh-light); color: var(--wimh-primary-hover); }
.page-item:first-child .page-link { border-radius: var(--wimh-radius-btn) 0 0 var(--wimh-radius-btn); }
.page-item:last-child .page-link { border-radius: 0 var(--wimh-radius-btn) var(--wimh-radius-btn) 0; }

/* Status labels (services, domains, invoices, tickets) */
.label, .label.status {
    border-radius: 30px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
}
.status-active, .status-open, .status-completed, .status-paid, .status-accepted, .status-delivered { background-color: var(--wimh-success); color: #fff; }
.status-pending, .status-unpaid, .status-overdue, .status-customer-reply, .status-dead, .status-cancelled, .status-terminated, .status-fraud, .status-expired, .status-refunded, .status-collections, .status-lost { color: #fff; }
.status-unpaid, .status-overdue { background-color: var(--wimh-danger); }
.status-answered { background-color: var(--wimh-primary); color: #fff; }
.status-customer-reply { background-color: var(--wimh-warning); }
.status-in-progress, .status-onhold { background-color: var(--wimh-info); color: #fff; }

/* Badges */
.badge { border-radius: 30px; font-weight: 600; }
.badge-info, .badge-primary { background: var(--wimh-primary); color: #fff; }
.badge-success { background: var(--wimh-success); }
.badge-danger { background: var(--wimh-danger); }
.badge-warning { background: var(--wimh-warning); color: #fff; }

/* ------------------------------------------------------------------
 * Alerts
 * ------------------------------------------------------------------ */
.alert {
    border: 0;
    border-left: 4px solid transparent;
    border-radius: var(--wimh-radius-card);
    font-size: 15px;
}
.alert-info { background: #EFEAFD; color: #3C1FA3; border-left-color: var(--wimh-primary); }
.alert-success { background: #EBFBEF; color: #135C24; border-left-color: var(--wimh-success); }
.alert-warning { background: #FFF5EA; color: #7A3B00; border-left-color: var(--wimh-warning); }
.alert-danger { background: #FFEEEE; color: #8E1416; border-left-color: var(--wimh-danger); }
.alert a:not(.btn), .alert .alert-link { color: inherit; font-weight: 700; text-decoration: underline; }
.alert .btn { margin-left: 4px; }

/* Nav tabs / pills */
.nav-tabs { border-bottom-color: var(--wimh-border-strong); }
.nav-tabs .nav-link { color: var(--wimh-muted); font-weight: 600; border-radius: var(--wimh-radius-input) var(--wimh-radius-input) 0 0; }
.nav-tabs .nav-link:hover { color: var(--wimh-primary); border-color: transparent; }
.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
    color: var(--wimh-primary);
    border-color: var(--wimh-border-strong) var(--wimh-border-strong) #fff;
    box-shadow: inset 0 3px 0 var(--wimh-primary);
}
.nav-pills .nav-link.active, .nav-pills .show > .nav-link { background: var(--wimh-primary); }

/* Modals / popovers */
.modal-content { border: 0; border-radius: var(--wimh-radius-card); box-shadow: 0 20px 60px rgba(0, 18, 51, .25); }
.modal-header { border-bottom-color: var(--wimh-border); }
.modal-footer { border-top-color: var(--wimh-border); background: var(--wimh-light); border-radius: 0 0 var(--wimh-radius-card) var(--wimh-radius-card); }
.modal-localisation .modal-content { background: var(--wimh-dark); }
.modal-localisation .modal-footer { background: rgba(255, 255, 255, .04); border-top-color: rgba(255, 255, 255, .1); }
.modal-localisation .item-selector .item.active { background: var(--wimh-primary); }
.popover { border-color: var(--wimh-border); border-radius: var(--wimh-radius-card); box-shadow: var(--wimh-shadow); font-family: var(--wimh-font-body); }
.client-alerts li a { color: var(--wimh-text); }
.client-alerts li a:hover { background: var(--wimh-light); color: var(--wimh-primary); }
.progress { border-radius: 30px; background: var(--wimh-light); }
.progress-bar { background-color: var(--wimh-primary); }

/* ------------------------------------------------------------------
 * Login / register / password reset
 * ------------------------------------------------------------------ */
.wimh-login {
    display: flex;
    max-width: 980px;
    margin: 0 auto;
    border-radius: var(--wimh-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 18, 51, .10);
    border: 1px solid var(--wimh-border);
    background: #fff;
}
.wimh-login__aside {
    flex: 0 0 44%;
    flex-direction: column;
    padding: 44px 40px 0;
    background: var(--wimh-gradient);
    color: rgba(255, 255, 255, .88);
    overflow: hidden;
}
.wimh-login__logo { height: 30px; width: auto; filter: brightness(0) invert(1); margin-bottom: 30px; align-self: flex-start; }
.wimh-login__heading { font-family: var(--wimh-font-heading); color: #fff; font-size: 26px; line-height: 1.3; font-weight: 700; margin-bottom: 20px; }
.wimh-login__heading span { color: var(--wimh-accent); }
.wimh-login__points li { margin-bottom: 10px; font-weight: 500; }
.wimh-login__points i { color: var(--wimh-accent); margin-right: 8px; }
.wimh-login__art { margin-top: auto; width: 115%; height: auto; margin-left: -10%; }
.wimh-login__form { flex: 1 1 auto; min-width: 0; }
.wimh-login__form .card { border: 0; box-shadow: none; border-radius: 0; height: 100%; }
.wimh-login__form .card-footer { border-radius: 0; }
.wimh-login .h3 { font-size: 30px; }
.wimh-remember { font-weight: 500; color: var(--wimh-text); padding-left: 1.25rem; position: relative; }
@media (max-width: 767.98px) {
    .wimh-login { border-radius: var(--wimh-radius-card); box-shadow: var(--wimh-shadow); }
    .wimh-login__form .card-body { padding: 28px 20px !important; }
}
.login-form .card, .password-reset-container .card, #registration .card, .using-password-strength .card { border-radius: var(--wimh-radius-card); }

/* ------------------------------------------------------------------
 * Client area home
 * ------------------------------------------------------------------ */
.wimh-welcome__title { font-size: 30px; margin: 0; }
.wimh-welcome__actions .btn { margin: 0 0 6px 6px; }
@media (max-width: 767.98px) { .wimh-welcome__actions .btn { margin: 0 6px 6px 0; } }

.tiles.wimh-tiles .row { margin: 0 -8px; }
.tiles.wimh-tiles .row > [class*="col-"] { padding: 0 8px 16px; }
.tiles .tile {
    position: relative;
    height: 100%;
    padding: 22px 22px 18px;
    background: #fff;
    border: 1px solid var(--wimh-border);
    border-radius: var(--wimh-radius-card);
    box-shadow: var(--wimh-shadow);
    color: var(--wimh-dark);
    overflow: hidden;
}
.tiles .tile:hover, .tiles .tile:focus { background: #fff; border-color: var(--wimh-primary); box-shadow: var(--wimh-shadow-hover); transform: translateY(-2px); }
.tiles .tile i {
    position: absolute; right: 18px; top: 18px;
    width: 46px; height: 46px; line-height: 46px; text-align: center;
    border-radius: 10px; font-size: 20px;
    background: var(--wimh-primary-soft); color: var(--wimh-primary);
}
.tiles .row > div:nth-child(2) .tile i { background: var(--wimh-accent); color: var(--wimh-dark); }
.tiles .row > div:nth-child(3) .tile i { background: var(--wimh-primary); color: #fff; }
.tiles .row > div:nth-child(4) .tile i { background: var(--wimh-dark); color: var(--wimh-accent); }
.tiles .tile .stat { font-family: var(--wimh-font-heading); font-size: 38px; font-weight: 700; color: var(--wimh-dark); margin-top: 6px; }
.tiles .tile .title { color: var(--wimh-muted); font-size: 13px; letter-spacing: .06em; }
.tiles .tile .highlight { height: 4px; border-radius: 4px; margin-top: 12px; width: 48px; }
.tiles .tile .highlight.bg-color-blue { background: var(--wimh-primary) !important; }
.tiles .tile .highlight.bg-color-green { background: #8BE04E !important; }
.tiles .tile .highlight.bg-color-red { background: var(--wimh-primary) !important; }
.tiles .tile .highlight.bg-color-gold { background: var(--wimh-dark) !important; }
@media (min-width: 1200px) { .tiles .row > [class*="col-"] { border: 0; } }

.wimh-support-strip {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
    padding: 18px 22px;
    border-radius: var(--wimh-radius-card);
    background: var(--wimh-gradient);
    color: rgba(255, 255, 255, .9);
}
.wimh-support-strip strong { color: var(--wimh-accent); }
.wimh-support-strip__links .btn { margin: 2px 0 2px 6px; }
.wimh-support-strip__links .btn-light { color: var(--wimh-dark); border-color: #fff; }

.client-home-cards .card { margin-bottom: 20px; overflow: hidden; }
.client-home-cards .card[class*="card-accent-"] { border-top: 3px solid var(--wimh-primary); }
.client-home-cards .card-header { background: #fff; }
.client-home-cards .card-title { font-size: 17px; }
.client-home-cards .card-title > i { color: var(--wimh-primary); }
.client-home-cards .card-header .btn { background: var(--wimh-primary) !important; border-color: var(--wimh-primary); color: #fff; }
.client-home-cards .card-header .btn:hover { background: var(--wimh-accent) !important; border-color: var(--wimh-accent); color: var(--wimh-dark); }
.client-home-cards .list-group-item-action:hover { background: var(--wimh-light); color: var(--wimh-primary); }
.client-home-cards .card-footer:empty { display: none; }

/* ------------------------------------------------------------------
 * Knowledgebase, announcements, downloads
 * ------------------------------------------------------------------ */
.kb-search .form-control, .input-group-lg.kb-search .form-control { height: 54px; font-size: 17px; }
.kb-search .btn { padding: 0 26px; }
.kb-category { transition: var(--wimh-transition); }
.kb-category:hover { border-color: var(--wimh-primary); box-shadow: var(--wimh-shadow-hover); }
.kb-category .card-title i, .kb-article-item i { color: var(--wimh-primary); }
.kb-article-item { color: var(--wimh-text); }
.kb-article-item:hover { color: var(--wimh-primary); background: var(--wimh-light); }
.kb-article-content, .announcement-single, .markdown-content { color: var(--wimh-text); line-height: 1.75; }
.kb-article-content h2, .kb-article-content h3 { margin-top: 1.4em; }
.kb-article-content pre, .markdown-content pre, code { background: var(--wimh-light); border-radius: 6px; color: #3C1FA3; }
.announcement-single .label, .announcements .label { background: var(--wimh-primary-soft); color: var(--wimh-primary); }

/* ------------------------------------------------------------------
 * Support tickets
 * ------------------------------------------------------------------ */
.ticket-number { color: var(--wimh-primary); font-weight: 700; }
.ticket-subject.unread { color: var(--wimh-dark); font-weight: 700; }
.view-ticket .card-header { background: var(--wimh-light); }
.ticket-reply { border: 1px solid var(--wimh-border); border-radius: var(--wimh-radius-card); margin-bottom: 18px; overflow: hidden; }
.ticket-reply .posted-by, .ticket-reply .user { background: var(--wimh-light); }
.ticket-reply.staff { border-left: 4px solid var(--wimh-primary); }
.ticket-reply.staff .posted-by, .ticket-reply.staff .user { background: var(--wimh-primary-soft); }
.ticket-reply .requestor-badge { background: var(--wimh-primary); }

/* ------------------------------------------------------------------
 * Invoices / quotes / payments (in client area)
 * ------------------------------------------------------------------ */
.invoice-summary, .masspay-container .card, .credit-card { border-radius: var(--wimh-radius-card); }
.invoice-container { border-radius: var(--wimh-radius-card); }
.paymethod-info .btn-primary { min-width: 160px; }

/* ------------------------------------------------------------------
 * Footer (mirrors .site-footer-twelve)
 * ------------------------------------------------------------------ */
footer.footer.wimh-footer {
    padding: 0;
    background: var(--wimh-footer-bg);
    color: var(--wimh-muted);
    font-size: 15px;
    border-top: 1px solid var(--wimh-border);
}
.wimh-footer > .container { padding-top: 70px; padding-bottom: 40px; }
.wimh-footer__col { margin-bottom: 30px; }
.wimh-footer__logo img { height: 30px; width: auto; }
.wimh-footer__hq { margin: 22px 0 18px; color: var(--wimh-muted); }
.wimh-footer__contact li { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.wimh-footer__contact-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; flex: 0 0 32px;
    border-radius: 4px; background: var(--wimh-primary);
}
.wimh-footer__contact-icon img { width: 20px; height: 20px; }
.wimh-footer__contact-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--wimh-muted); line-height: 1.2; }
footer.footer .wimh-footer__contact a { color: var(--wimh-dark); font-weight: 600; }
footer.footer .wimh-footer__contact a:hover { color: var(--wimh-primary); }
.wimh-footer__payments { margin: 18px 0 0; padding: 0; }
.wimh-footer__payments li { margin-right: 4px !important; }
.wimh-footer__payments img { height: 22px; width: auto; }
footer.footer .wimh-footer__title {
    font-family: var(--wimh-font-body);
    color: var(--wimh-dark);
    font-size: 20px;
    font-weight: 600;
    margin: 6px 0 26px;
}
footer.footer .wimh-footer__title--sm { font-size: 18px; margin: 22px 0 14px; }
.wimh-footer__menu li { margin-bottom: 12px; }
footer.footer .wimh-footer__menu a { color: var(--wimh-muted); transition: var(--wimh-transition); }
footer.footer .wimh-footer__menu a:hover, footer.footer .wimh-footer__menu a:focus { color: var(--wimh-primary); padding-left: 4px; text-decoration: none; }
.wimh-footer__reviews { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.wimh-footer__reviews img { height: 22px; width: auto; }
footer.footer .wimh-footer__social .btn-icon,
footer.footer .wimh-footer__social .btn {
    width: 34px; height: 34px; padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--wimh-primary);
    border-radius: 4px;
    background: transparent;
    color: var(--wimh-primary);
    font-size: 14px;
    line-height: 1;
}
footer.footer .wimh-footer__social .btn:hover,
footer.footer .wimh-footer__social .btn:focus { background: var(--wimh-primary); color: #fff; }
.wimh-footer__copyright { background: var(--wimh-copyright-bg); padding: 18px 0; color: var(--wimh-dark); font-size: 14px; }
footer.footer .wimh-locale-btn {
    background: #fff; color: var(--wimh-dark);
    border: 1px solid var(--wimh-border-strong);
    font-size: 14px; line-height: 1.75rem; padding: 2px 12px;
}
footer.footer .wimh-locale-btn:hover { border-color: var(--wimh-primary); color: var(--wimh-primary); }
@media (max-width: 767.98px) {
    .wimh-footer > .container { padding-top: 44px; padding-bottom: 10px; }
    footer.footer .wimh-footer__title { margin-bottom: 16px; }
    .wimh-footer__copyright { text-align: center; }
}

/* Misc WHMCS components */
.verification-banner, .user-validation { background: var(--wimh-dark); }
.verification-banner .btn, .user-validation .btn { background: var(--wimh-accent); border-color: var(--wimh-accent); color: var(--wimh-dark); }
.network-issues-notifications .alert, .alert-network-issues { border-radius: 0; }
#fullpage-overlay { background: rgba(0, 18, 51, .85); }
.btn-return-to-admin { background: var(--wimh-dark); color: #fff; }
.product-details .product-status { border-radius: var(--wimh-radius-card); }
.product-details .product-icon { color: var(--wimh-primary); }
.product-status-active { background: var(--wimh-primary) !important; }
.sub-heading span { color: var(--wimh-primary); }
.header-lined h1 { font-weight: 700; }

/* Domain search: phone layout (twenty-one shows stacked buttons below the field) */
@media (max-width: 575.98px) {
    .home-domain-search .p-5 { padding: 32px 0 !important; }
    .home-domain-search .input-group-wrapper .input-group,
    .home-domain-search .input-group { box-shadow: none; border: 0; overflow: visible; background: transparent; }
    .home-domain-search .form-control { border: 1px solid var(--wimh-border-strong) !important; border-radius: var(--wimh-radius-input) !important; height: 52px; }
    .home-domain-search .btn { height: 48px; border-radius: var(--wimh-radius-btn); }
    .home-domain-search h2 { font-size: 26px; }
}
.client-home-cards .card-footer { background: #fff; border-top: 0; padding-top: 0; }

/* Mobile menu: gutters + section labels so the website links and client-area links are distinguishable */
@media (max-width: 1199.98px) {
    header.header .main-navbar-wrapper .navbar-collapse { padding: 0 15px; }
    header.header .main-navbar-wrapper .navbar-collapse.show,
    header.header .main-navbar-wrapper .navbar-collapse.collapsing { padding: 14px 15px; }
    .wimh-sitenav-mobile::before,
    header.header #nav::before {
        display: block;
        padding: 6px 4px 2px;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: var(--wimh-primary);
    }
    .wimh-sitenav-mobile::before { content: "WIMH Support website"; }
    header.header #nav::before { content: "Client area"; }
}
