/* =====================================================================
   PawHost WHMCS theme (child of Twenty-One)
   Design source: pawhost.de (dark slate surfaces, orange accent,
   system UI font stack, rounded cards).
   Local tweaks belong in custom.css (loaded after this file).
   ===================================================================== */

:root {
    --ph-bg: #020617;          /* hero / deepest */
    --ph-page: #0f172a;        /* page background */
    --ph-header: #111827;      /* header / navbar */
    --ph-topbar: #1e293b;
    --ph-surface: #1e293b;     /* cards */
    --ph-surface-2: #172033;   /* nested / table head */
    --ph-surface-3: #273449;   /* hover */
    --ph-input: #0b1222;
    --ph-border: #334155;
    --ph-border-soft: rgba(51, 65, 85, .6);
    --ph-text: #f1f5f9;
    --ph-text-2: #cbd5e1;
    --ph-muted: #94a3b8;
    --ph-orange: #f97316;      /* brand accent (text, icons, borders) */
    --ph-orange-light: #fb923c;
    --ph-btn: #cf4a0a;         /* button fill: 4.5:1 with white text */
    --ph-btn-hover: #b53f08;
    --ph-success: #4ade80;
    --ph-warning: #fbbf24;
    --ph-danger: #f87171;
    --ph-info: #38bdf8;
    --ph-radius: 10px;
    --ph-radius-sm: 6px;
    --ph-shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
    --ph-font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --ph-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* ---------------------------------------------------------------------
   Base
   --------------------------------------------------------------------- */
html { scroll-padding-top: 100px; }
body,
body.primary-bg-color {
    background: var(--ph-page);
    color: var(--ph-text-2);
    font-family: var(--ph-font);
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { color: var(--ph-text); font-family: var(--ph-font); }
a { color: var(--ph-orange-light); }
a:hover, a:focus { color: #fdba74; }
hr { border-top-color: var(--ph-border); }
.text-muted, small.text-muted { color: var(--ph-muted) !important; }
.text-dark { color: var(--ph-text) !important; }
.text-primary { color: var(--ph-orange-light) !important; }
.text-black-50 { color: var(--ph-muted) !important; }
.bg-white, .bg-light { background-color: var(--ph-surface) !important; }
.border, .border-top, .border-bottom, .border-left, .border-right { border-color: var(--ph-border) !important; }
code, kbd, pre, samp { font-family: var(--ph-mono); }
code { color: #fdba74; }
pre { color: var(--ph-text-2); }
::selection { background: rgba(249, 115, 22, .35); color: #fff; }
.ph-accent { color: var(--ph-orange); }

/* Focus states: always visible for keyboard users */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
[tabindex]:focus-visible,
.form-control:focus,
.custom-select:focus {
    outline: 2px solid var(--ph-orange-light) !important;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, .25) !important;
}
#main-body:focus { outline: none; }

.ph-skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 2000;
    padding: 10px 16px;
    border-radius: var(--ph-radius-sm);
    background: var(--ph-btn);
    color: #fff !important;
    font-weight: 600;
    transition: top .15s;
}
.ph-skip-link:focus { top: 12px; }

/* ---------------------------------------------------------------------
   Header: top bar + navbar
   --------------------------------------------------------------------- */
header.header.ph-header {
    background: var(--ph-header);
    border-bottom: 1px solid #1f2937;
    /* Only the navbar sticks: the top bar (fixed 42px) scrolls away. */
    position: sticky;
    top: -42px;
    z-index: 1030;
}
header.header .topbar.ph-topbar {
    background: var(--ph-topbar);
    border-bottom: 1px solid var(--ph-border-soft);
    padding: 0;
    height: 42px;
    display: flex;
    align-items: center;
    font-size: .875rem;
    color: var(--ph-text-2);
}
header.header .topbar.ph-topbar > .container { width: 100%; overflow: hidden; }
.ph-topbar-left, .ph-topbar-right { gap: 6px; min-width: 0; }
.ph-topbar-right { gap: 14px; }
.ph-topbar .btn,
.ph-topbar .ph-topbar-btn,
header.header .topbar .btn {
    color: var(--ph-text-2);
    background: transparent;
    border: 0;
    font-size: .875rem;
    padding: 4px 8px;
    line-height: 1.4;
}
.ph-topbar .btn:hover,
.ph-topbar .ph-topbar-link:hover { color: var(--ph-orange-light); }
.ph-topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ph-text-2);
    white-space: nowrap;
}
.ph-topbar-link:hover { text-decoration: none; }
.ph-count {
    display: inline-block;
    min-width: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--ph-btn);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    text-align: center;
}
.ph-active-client .btn-active-client { max-width: 260px; }
.ph-client-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; max-width: 200px; vertical-align: bottom; }
header.header .topbar .btn-return-to-admin { background: rgba(249, 115, 22, .15); color: var(--ph-orange-light); border-radius: var(--ph-radius-sm); }
.ph-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 12px;
    border-radius: 999px;
    border: 1px solid rgba(21, 128, 61, .55);
    background: rgba(22, 101, 52, .3);
    color: #86efac;
    font-size: .8125rem;
    white-space: nowrap;
}
.ph-status-pill:hover { color: #bbf7d0; text-decoration: none; background: rgba(22, 101, 52, .45); }
.ph-status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ph-success); box-shadow: 0 0 0 3px rgba(74, 222, 128, .15); }
.ph-lang {
    display: inline-flex;
    align-items: center;
    padding: 2px;
    border-radius: 999px;
    background: #273449;
    border: 1px solid var(--ph-border);
}
.ph-lang a {
    padding: 1px 10px;
    font-size: .75rem;
    font-weight: 700;
    color: var(--ph-text-2);
    border-radius: 999px;
}
.ph-lang a + a { border-left: 1px solid #475569; border-radius: 0 999px 999px 0; }
.ph-lang a:first-child { border-radius: 999px 0 0 999px; }
.ph-lang a.active { color: var(--ph-orange); }
.ph-lang a:hover { color: #fff; text-decoration: none; }

.navbar.ph-navbar {
    padding: 14px 0;
    background: var(--ph-header);
    min-height: 80px;
}
.ph-navbar .container { flex-wrap: wrap; }
.navbar-expand-xl.ph-navbar > .container { padding-left: 16px; padding-right: 16px; }
.ph-brand { padding: 0; margin-right: 24px; }
.ph-logo { height: 40px; width: auto; display: block; }
.ph-nav-tools { gap: 8px; margin-left: auto; }
.ph-icon-btn,
header.header .ph-icon-btn {
    position: relative;
    color: var(--ph-text-2);
    background: transparent;
    border: 1px solid var(--ph-border);
    border-radius: var(--ph-radius-sm);
    padding: 7px 10px;
    line-height: 1;
}
.ph-icon-btn:hover { color: var(--ph-orange-light); border-color: var(--ph-orange); }
.ph-icon-btn.cart-btn,
header.header .ph-icon-btn.cart-btn { overflow: visible; }
.ph-icon-btn .badge.ph-cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: var(--ph-btn);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 0 0 2px var(--ph-header);
}
.ph-icon-btn .badge.ph-cart-count.ph-cart-empty { display: none; }

.ph-navbar .navbar-nav > li > a {
    display: block;
    /* Twenty-One's autoCollapse("#nav", 30) moves items into "More" while
       the menu is taller than 30px, so a single row must stay below that. */
    padding: 3px 12px !important;
    line-height: 22px;
    color: var(--ph-text-2);
    font-size: 1rem;
    white-space: nowrap;
    border-radius: var(--ph-radius-sm);
    transition: color .15s;
}
.ph-navbar .navbar-nav > li > a:hover,
.ph-navbar .navbar-nav > li.show > a,
.ph-navbar .navbar-nav > li.active > a {
    color: var(--ph-orange-light);
    text-decoration: none;
}
.ph-navbar .navbar-nav .badge { background: var(--ph-btn); color: #fff; }
.ph-navbar .dropdown-toggle::after { border-top-color: currentColor; margin-left: 6px; vertical-align: .15em; }
.ph-navbar .ph-nav-secondary > li > a { color: var(--ph-text); }

/* WHMCS menu "More" helper and its collapsing script */
.ph-navbar #nav { flex: 1 1 auto; flex-wrap: wrap; justify-content: center; min-width: 0; }
.ph-navbar .ph-nav-secondary { flex: 0 0 auto; width: auto !important; }
.ph-navbar .collapsable-dropdown .dropdown-menu li a { white-space: nowrap; }

@media (max-width: 1199.98px) {
    .ph-navbar #mainNavbar {
        flex-basis: 100%;
        order: 10;
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px solid var(--ph-border);
    }
    .ph-navbar .navbar-nav > li > a { padding: 10px 6px !important; }
    .ph-navbar .navbar-nav .dropdown-menu { background: var(--ph-surface-2); border: 0; box-shadow: none; margin-left: 10px; }
    .ph-navbar .ph-nav-secondary { border-top: 1px solid var(--ph-border); margin-top: 8px; padding-top: 8px; }
}

/* Dropdowns (navbar + everywhere) */
.dropdown-menu {
    background: var(--ph-surface);
    border: 1px solid var(--ph-border);
    border-radius: var(--ph-radius);
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .7);
    padding: 8px;
    color: var(--ph-text-2);
}
.dropdown-menu li.dropdown-item { padding: 0; background: transparent; }
.dropdown-menu .dropdown-item,
.dropdown-menu li.dropdown-item > a {
    display: block;
    color: var(--ph-text-2);
    padding: 7px 12px !important;
    border-radius: var(--ph-radius-sm);
    background: transparent;
}
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus,
.dropdown-menu li.dropdown-item > a:hover {
    background: var(--ph-surface-3);
    color: var(--ph-orange-light);
    text-decoration: none;
}
.dropdown-menu .dropdown-item.active, .dropdown-item:active { background: rgba(249, 115, 22, .18); color: #fff; }
.dropdown-divider { border-top-color: var(--ph-border); }
.dropdown-header { color: var(--ph-muted); }

/* Breadcrumb bar */
.master-breadcrumb.ph-breadcrumb {
    background: var(--ph-bg);
    border-bottom: 1px solid #1f2937;
}
.master-breadcrumb .breadcrumb {
    background: transparent;
    padding: 12px 0;
    margin: 0;
    font-size: .875rem;
}
.breadcrumb { background: transparent; }
.breadcrumb-item, .breadcrumb-item.active { color: var(--ph-muted); }
.breadcrumb-item a { color: var(--ph-text-2); }
.breadcrumb-item a:hover { color: var(--ph-orange-light); }
.breadcrumb-item + .breadcrumb-item::before { color: #475569; }

#main-body { padding: 32px 0 56px; background: var(--ph-page); min-height: 50vh; }

/* Network issue banner */
.network-issue-alert { border-radius: 0; }

/* ---------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------- */
.btn { border-radius: var(--ph-radius-sm); font-weight: 500; }
.btn-primary,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.btn-success.btn-checkout {
    background: var(--ph-btn);
    border-color: var(--ph-btn);
    color: #fff;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus {
    background: var(--ph-btn-hover);
    border-color: var(--ph-btn-hover);
    color: #fff;
}
.btn-primary.disabled, .btn-primary:disabled { background: #7c2d12; border-color: #7c2d12; color: #fed7aa; }
.btn-outline-primary {
    color: var(--ph-orange-light);
    border-color: var(--ph-orange);
    background: transparent;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.btn-outline-primary:not(:disabled):not(.disabled).active {
    background: rgba(249, 115, 22, .12);
    color: #fdba74;
    border-color: var(--ph-orange-light);
}
.btn-default,
.btn-secondary,
.btn-light,
.btn-outline-secondary,
.btn-outline-light {
    background: #334155;
    border-color: #475569;
    color: var(--ph-text);
}
.btn-default:hover, .btn-default:focus,
.btn-secondary:hover, .btn-secondary:focus,
.btn-light:hover, .btn-outline-secondary:hover, .btn-outline-light:hover,
.btn-default:not(:disabled):not(.disabled):active,
.btn-secondary:not(:disabled):not(.disabled):active {
    background: #475569;
    border-color: #64748b;
    color: #fff;
}
.btn-default.disabled, .btn-default:disabled, .btn-default[disabled] { background: #273449; color: var(--ph-muted); }
.btn-link { color: var(--ph-orange-light); }
.btn-link:hover { color: #fdba74; }
.btn-success { background: #15803d; border-color: #15803d; color: #fff; }
.btn-success:hover { background: #166534; border-color: #166534; color: #fff; }
.btn-danger { background: #b91c1c; border-color: #b91c1c; color: #fff; }
.btn-danger:hover { background: #991b1b; border-color: #991b1b; }
.btn-warning { background: #b45309; border-color: #b45309; color: #fff; }
.btn-warning:hover { background: #92400e; border-color: #92400e; color: #fff; }
.btn-info { background: #0369a1; border-color: #0369a1; color: #fff; }
.btn-info:hover { background: #075985; border-color: #075985; color: #fff; }
.btn-lg { font-size: 1.0625rem; padding: 11px 22px; }

/* ---------------------------------------------------------------------
   Cards, panels, list groups, sidebar
   --------------------------------------------------------------------- */
.card,
.panel {
    background: var(--ph-surface);
    border: 1px solid var(--ph-border-soft);
    border-radius: var(--ph-radius);
    color: var(--ph-text-2);
    box-shadow: none;
}
.card-header,
.panel-heading,
.client-home-cards .card-header {
    background: var(--ph-surface-2);
    border-bottom: 1px solid var(--ph-border-soft);
    color: var(--ph-text);
}
.card-header:first-child { border-radius: calc(var(--ph-radius) - 1px) calc(var(--ph-radius) - 1px) 0 0; }
.card-title, .card-header .card-title, .panel-title { color: var(--ph-text); }
.card-footer, .panel-footer {
    background: var(--ph-surface-2);
    border-top: 1px solid var(--ph-border-soft);
    color: var(--ph-text-2);
}
.card-accent-gold, .card-accent-green, .card-accent-red, .card-accent-blue,
.card-accent-orange, .card-accent-teal, .card-accent-pomegranate,
.card-accent-sun-flower, .card-accent-asbestos, .card-accent-midnight-blue,
.card-accent-emerald, .card-accent-amethyst, .card-accent-turquoise { border-top-color: var(--ph-orange) !important; }

.list-group-item {
    background: transparent;
    border-color: var(--ph-border-soft);
    color: var(--ph-text-2);
}
.list-group-item-action:hover,
.list-group-item-action:focus,
a.list-group-item:hover {
    background: var(--ph-surface-3);
    color: var(--ph-text);
}
.list-group-item.active,
.list-group-item.active:hover {
    background: rgba(249, 115, 22, .14);
    border-color: var(--ph-border-soft);
    color: var(--ph-orange-light);
    box-shadow: inset 3px 0 0 var(--ph-orange);
}
.list-group-item.disabled, .list-group-item:disabled { background: transparent; color: #64748b; }

.sidebar .card { margin-bottom: 20px; }
.sidebar .card-header { background: var(--ph-surface-2); }
.sidebar .card-header .card-title { font-size: .95rem; font-weight: 700; }
.sidebar .card-header .card-title i { color: var(--ph-orange); }
.sidebar .list-group-item { padding: 9px 16px; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; overflow-wrap: anywhere; }
.sidebar .card-header .card-title { display: flex; align-items: center; gap: 8px; }
.sidebar .card-header .card-title .card-minimise { margin-left: auto; }
.sidebar .list-group-item .badge { background: #334155; color: var(--ph-text); }
.sidebar .list-group-item.active,
.sidebar .list-group-item.active:hover,
.card-sidebar .list-group-item.active {
    background: rgba(249, 115, 22, .14) !important;
    color: var(--ph-orange-light) !important;
    border-color: var(--ph-border-soft) !important;
}
.sidebar .list-group-item.active .badge { background: var(--ph-btn); color: #fff; }
.sidebar .card-body { color: var(--ph-text-2); }

/* Client area home tiles */
.tiles .tile,
.tiles .tile:hover {
    background: var(--ph-surface);
    color: var(--ph-text);
    border-color: var(--ph-border-soft);
}
.tiles .row { border-radius: var(--ph-radius); overflow: hidden; }
.tiles .tile { border: 1px solid var(--ph-border-soft); margin: -1px 0 0 -1px; }
.tiles .tile:hover { background: var(--ph-surface-3); text-decoration: none; }
.tiles .tile .stat { color: #fff; font-weight: 700; }
.tiles .tile .title { color: var(--ph-muted); text-transform: uppercase; letter-spacing: .04em; font-size: .75rem; }
.tiles .tile i { color: rgba(249, 115, 22, .35); }
.tiles .tile .highlight { background: var(--ph-orange) !important; }

.client-home-cards .card { margin-bottom: 24px; }
.client-home-cards .card-header .card-title i { color: var(--ph-orange); }
.client-home-cards .card-header .btn { font-size: .75rem; }
.client-home-cards .list-group-item { border-left: 0; border-right: 0; }
.client-home-cards .div-service-status .label, .div-service-status .label { font-size: .7rem; }

/* Product details page */
div.product-details div.product-icon {
    background: var(--ph-surface-2);
    border: 1px solid var(--ph-border-soft);
    border-radius: var(--ph-radius);
    color: var(--ph-text);
}
div.product-details div.product-icon .fa-stack .fas.fa-square,
div.product-details div.product-icon .fa-square { color: var(--ph-btn); }
div.product-details div.product-icon h3, div.product-details div.product-icon h4 { color: var(--ph-text); }
div.product-details-tab-container {
    background: var(--ph-surface);
    border: 1px solid var(--ph-border-soft);
    border-top: 0;
    border-radius: 0 0 var(--ph-radius) var(--ph-radius);
    color: var(--ph-text-2);
}
.product-status { border-radius: var(--ph-radius-sm); }
.product-details .product-status-text { color: #fff; }

/* Promo / misc light boxes */
.promo-container, .promo-banner, .jumbotron, .invite-box, .mc-promo-login, .mc-promo-manage, .continue-container,
.ticketfeedbackstaffcont, .featured-tld, .upgrade .product-to-be-upgraded, .upgrade .products .product,
.twofa-setup .backup-code, div.credit-card, .select-account a:hover, .kb-article-item:hover, .kb-category a:hover,
.announcements .announcement article, .responsive-tabs-sm, .home-domain-search .input-group-wrapper {
    background: var(--ph-surface);
    color: var(--ph-text-2);
    border-color: var(--ph-border-soft);
}
.home-domain-search { background: var(--ph-bg); border-bottom: 1px solid #1f2937; }
.home-domain-search .input-group-wrapper { border-radius: var(--ph-radius); }
.select-account a { color: var(--ph-text-2); }
.kb-category a, .kb-article-item { color: var(--ph-text-2); }

/* ---------------------------------------------------------------------
   Tables / DataTables
   --------------------------------------------------------------------- */
.table, .table-list { color: var(--ph-text-2); }
.table th, .table td, .table-list > tbody > tr > td { border-color: var(--ph-border-soft); background: transparent; }
.table thead th, table.table-list thead th, .table .thead-light th,
.dataTables_wrapper table.table-list thead th.sorting_asc,
.dataTables_wrapper table.table-list thead th.sorting_desc {
    background: var(--ph-surface-2);
    color: var(--ph-text);
    border-bottom: 1px solid var(--ph-border);
}
.table-striped tbody tr:nth-of-type(odd) { background: rgba(255, 255, 255, .02); }
.table-hover tbody tr:hover,
.table-list > tbody > tr:hover > td,
table.table-list tbody tr:hover td { background: var(--ph-surface-3) !important; color: var(--ph-text); }
.table-container { background: transparent; }
.table-list > tbody > tr > td { color: var(--ph-text-2); }
.table-list > tbody > tr > td a { color: var(--ph-orange-light); }
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label { color: var(--ph-muted); }
.dataTables_wrapper .dataTables_paginate .paginate_button { color: var(--ph-text-2) !important; }
.table-list > tbody > tr.selected > td { background: rgba(249, 115, 22, .12) !important; }
.table-list .sorting:after, .table-list .sorting_asc:after, .table-list .sorting_desc:after { color: var(--ph-muted); }
.dataTables_wrapper table.table-list { border-color: var(--ph-border-soft); }
.dataTables_wrapper table.table-list thead th { border-bottom: 1px solid var(--ph-border); font-weight: 600; }
.dataTables_wrapper .dataTables_filter label .form-control {
    background: var(--ph-input) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.2' stroke-linecap='round'%3e%3ccircle cx='11' cy='11' r='7'/%3e%3cpath d='m20 20-3.5-3.5'/%3e%3c/svg%3e") no-repeat 14px 50%;
    padding-left: 40px !important;
    color: var(--ph-text);
    border-color: var(--ph-border);
}
.pagination > li > a, .pagination > li > span { color: var(--ph-text-2); }
.pagination > .active > a, .pagination > .active > span, .page-item.active .page-link { background-color: var(--ph-btn); border-color: var(--ph-btn); color: #fff; }
div.dataTables_wrapper div.dataTables_processing { background: var(--ph-surface); color: var(--ph-text); border-color: var(--ph-border); }
.table-responsive { border-radius: var(--ph-radius); }
/* Wide client-area lists scroll inside their box instead of widening the page on phones */
.table-container { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------------------------------------------------------------------
   Forms
   --------------------------------------------------------------------- */
label, .form-control-label, legend, .col-form-label { color: var(--ph-text-2); }
.form-control,
.custom-select,
.custom-file-label,
select.form-control,
textarea.form-control,
.field,
input.field,
#registration .form-control,
#registration .field {
    background-color: var(--ph-input);
    border: 1px solid var(--ph-border);
    color: var(--ph-text);
    border-radius: var(--ph-radius-sm);
}
.form-control:focus, .custom-select:focus, .field:focus {
    background-color: var(--ph-input);
    border-color: var(--ph-orange);
    color: #fff;
}
.form-control::placeholder, .field::placeholder { color: #8391a7; opacity: 1; }
.form-control:disabled, .form-control[readonly], .custom-select:disabled,
#registration .form-control[readonly], #registration .form-control[disabled] {
    background-color: #131c2e;
    color: var(--ph-text-2);
    border-color: var(--ph-border-soft);
}
select.form-control option, .custom-select option { background: var(--ph-surface); color: var(--ph-text); }
.custom-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23cbd5e1' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e");
}
.input-group-text {
    background: var(--ph-surface-2);
    border-color: var(--ph-border);
    color: var(--ph-muted);
}
.input-group-merge .input-group-text { background: var(--ph-input); }
.input-group .btn-reveal-pw { background: var(--ph-input); border-color: var(--ph-border); color: var(--ph-muted); }
.input-group .btn-reveal-pw:hover, .input-group .btn-reveal-pw:active { background: var(--ph-surface-3); color: var(--ph-text); }
.custom-file-label::after { background: var(--ph-surface-2); color: var(--ph-text-2); }
.custom-control-label::before { background-color: var(--ph-input); border-color: #475569; }
.custom-control-input:checked ~ .custom-control-label::before { background-color: var(--ph-btn); border-color: var(--ph-btn); }
.custom-control-input:focus ~ .custom-control-label::before { box-shadow: 0 0 0 3px rgba(249, 115, 22, .3); }
.custom-switch .custom-control-input:checked ~ .custom-control-label::after { background-color: #fff; }
.form-text, .help-block { color: var(--ph-muted); }
.form-check-input { accent-color: var(--ph-btn); }
input[type=checkbox], input[type=radio] { accent-color: var(--ph-btn); }
.iti__country-list { background: var(--ph-surface); border-color: var(--ph-border); color: var(--ph-text-2); }
.iti__country.iti__highlight { background: var(--ph-surface-3); }
.iti__selected-flag { background: transparent !important; }
#registration .sub-heading span { background: var(--ph-page); color: var(--ph-text); }
.sub-heading { border-color: var(--ph-border); }
.sub-heading span { background: var(--ph-surface); color: var(--ph-text); }
.bootstrap-switch { border-color: var(--ph-border); }
.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default,
.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-secondary,
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-secondary,
.bootstrap-switch .bootstrap-switch-label { background: var(--ph-surface-3); color: var(--ph-text); }
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary,
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info,
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success { background: var(--ph-btn); }
.password-strength-meter .progress { background: var(--ph-input); }

/* Markdown editor (tickets): Twenty-One uses !important here */
.md-editor, div.md-editor.active { border-color: var(--ph-border) !important; border-radius: var(--ph-radius-sm); background: var(--ph-input); }
div.md-editor.active { border-color: var(--ph-orange) !important; }
.md-editor > .btn-toolbar, .md-editor > .md-header { background-color: var(--ph-surface-2) !important; }
.md-editor > textarea.markdown-editor,
.md-editor > textarea,
.md-editor > textarea:focus,
.md-editor > .md-preview {
    background-color: var(--ph-input) !important;
    color: var(--ph-text) !important;
    border-top-color: var(--ph-border) !important;
    border-bottom-color: var(--ph-border) !important;
}
.md-editor .md-footer { background: var(--ph-surface-2) !important; color: var(--ph-muted); }
.md-editor.md-fullscreen-mode, .md-editor.md-fullscreen-mode .md-input, .md-editor.md-fullscreen-mode .md-preview { background: var(--ph-page) !important; color: var(--ph-text) !important; }
.md-editor > textarea.markdown-editor,
.md-editor > .md-preview,
.md-editor > .btn-toolbar {
    background: var(--ph-input);
    color: var(--ph-text);
    border-color: var(--ph-border);
}
.md-editor > .btn-toolbar { background: var(--ph-surface-2); }
.md-editor .btn-toolbar .btn { background: transparent; border-color: transparent; color: var(--ph-text-2); }
.md-editor .btn-toolbar .btn:hover { background: var(--ph-surface-3); color: #fff; }
.md-editor.active { border-color: var(--ph-orange); }
.md-editor { border-color: var(--ph-border); }
.markdown-editor-status, .md-footer { background: var(--ph-surface-2); color: var(--ph-muted); }
.markdown-content table, .md-preview table, .markdown-content table > thead > tr > th, .md-preview table > thead > tr > th {
    background: var(--ph-surface);
    border-color: var(--ph-border);
    color: var(--ph-text-2);
}

/* ---------------------------------------------------------------------
   Alerts, badges, labels, status
   --------------------------------------------------------------------- */
.alert { border-radius: var(--ph-radius); border-width: 1px; }
.alert-success { background: rgba(22, 101, 52, .25); border-color: rgba(34, 197, 94, .4); color: #bbf7d0; }
.alert-info { background: rgba(3, 105, 161, .22); border-color: rgba(56, 189, 248, .4); color: #bae6fd; }
.alert-warning { background: rgba(146, 64, 14, .28); border-color: rgba(251, 191, 36, .45); color: #fde68a; }
.alert-danger { background: rgba(153, 27, 27, .28); border-color: rgba(248, 113, 113, .45); color: #fecaca; }
.alert-secondary, .alert-light, .alert-dark { background: var(--ph-surface-2); border-color: var(--ph-border); color: var(--ph-text-2); }
.alert a, .alert .alert-link { color: #fff; text-decoration: underline; }
.alert .close { color: inherit; text-shadow: none; opacity: .7; }

.badge-info, .badge-primary { background: var(--ph-btn); color: #fff; }
.badge-secondary, .badge-light { background: #334155; color: var(--ph-text); }
.label { border-radius: 4px; }
.label.status, .status-badge { font-weight: 600; letter-spacing: .02em; }
.label.status-active, .label.status-paid, .label.status-completed, .label.status-open,
.status-active, .status-paid { background-color: #15803d !important; color: #fff !important; }
.label.status-pending, .label.status-unpaid, .label.status-answered, .label.status-customer-reply, .label.status-onhold,
.label.status-inprogress, .label.status-in-progress { color: #fff !important; }
.label.status-unpaid, .status-unpaid { background-color: #b91c1c !important; }
.label.status-pending, .status-pending { background-color: #b45309 !important; }
.label.status-cancelled, .label.status-terminated, .label.status-closed, .label.status-suspended, .label.status-refunded,
.label.status-collections, .label.status-fraud, .label.status-expired {
    background-color: #475569 !important;
    color: #fff !important;
}
.label.status-suspended { background-color: #9a3412 !important; }

/* Progress */
.progress { background: var(--ph-input); border-radius: 999px; }
.progress-bar { background-color: var(--ph-btn); }
.progress-bar.bg-success { background-color: #16a34a !important; }

/* ---------------------------------------------------------------------
   Tabs, pagination, modals, popovers, tooltips
   --------------------------------------------------------------------- */
.nav-tabs { border-bottom-color: var(--ph-border); }
.nav-tabs .nav-link { color: var(--ph-text-2); border-radius: var(--ph-radius-sm) var(--ph-radius-sm) 0 0; }
.nav-tabs .nav-link:hover { border-color: transparent; color: var(--ph-orange-light); }
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    background: var(--ph-surface);
    color: var(--ph-orange-light);
    border-color: var(--ph-border-soft) var(--ph-border-soft) var(--ph-surface);
}
.nav-pills .nav-link.active, .nav-pills .show > .nav-link { background: var(--ph-btn); }
.nav-pills .nav-link { color: var(--ph-text-2); }
.responsive-tabs-sm .nav-item a.active, .responsive-tabs-sm .nav-item a:hover { background: var(--ph-surface-3); color: var(--ph-orange-light); }
.responsive-tabs-sm-connector .channel { background: var(--ph-surface); border-color: var(--ph-border-soft); }

.page-link { background: var(--ph-surface); border-color: var(--ph-border); color: var(--ph-text-2); }
.page-link:hover { background: var(--ph-surface-3); border-color: var(--ph-border); color: var(--ph-orange-light); }
.page-item.active .page-link { background: var(--ph-btn); border-color: var(--ph-btn); color: #fff; }
.page-item.disabled .page-link { background: var(--ph-surface-2); border-color: var(--ph-border); color: #64748b; }

.modal-content { background: var(--ph-surface); border: 1px solid var(--ph-border); border-radius: var(--ph-radius); color: var(--ph-text-2); }
.modal .modal-header, .modal-header { background: var(--ph-surface-2); border-bottom-color: var(--ph-border); color: var(--ph-text); }
.modal-footer { border-top-color: var(--ph-border); }
.modal-title { color: var(--ph-text); }
.close { color: var(--ph-text); text-shadow: none; }
.close:hover { color: #fff; }
.modal-backdrop.show { opacity: .7; }
.modal-localisation .modal-content { background: var(--ph-header); }
.modal-localisation .item-selector .item { color: var(--ph-text-2); border-radius: var(--ph-radius-sm); }
.modal-localisation .item-selector .item.active, .modal-localisation .item-selector .item:hover { background: rgba(249, 115, 22, .16); color: #fff; }

.popover { background: var(--ph-surface); border-color: var(--ph-border); box-shadow: var(--ph-shadow); }
.popover-header { background: var(--ph-surface-2); border-bottom-color: var(--ph-border); color: var(--ph-text); }
.popover-body { color: var(--ph-text-2); }
.bs-popover-bottom > .arrow::after, .bs-popover-auto[x-placement^="bottom"] > .arrow::after { border-bottom-color: var(--ph-surface); }
.bs-popover-bottom > .arrow::before, .bs-popover-auto[x-placement^="bottom"] > .arrow::before { border-bottom-color: var(--ph-border); }
.bs-popover-top > .arrow::after, .bs-popover-auto[x-placement^="top"] > .arrow::after { border-top-color: var(--ph-surface); }
.popover-user-notifications ul li a { color: var(--ph-text-2); }
.popover-user-notifications ul li a:hover { background: var(--ph-surface-3); color: #fff; }
.popover-user-notifications ul li.none { color: var(--ph-muted); }
.tooltip-inner { background: #0b1222; color: var(--ph-text); border: 1px solid var(--ph-border); }

/* ---------------------------------------------------------------------
   Tickets
   --------------------------------------------------------------------- */
.view-ticket .posted-by { background: var(--ph-surface-2); border-color: var(--ph-border-soft); color: var(--ph-muted); }
.view-ticket .card .card-body, .view-ticket .message { color: var(--ph-text-2); }
.view-ticket .staff .posted-by, .view-ticket .card.staff { border-left: 3px solid var(--ph-orange); }
.view-ticket .attachment-list li figure { background: var(--ph-surface-2); border-color: var(--ph-border); }
.view-ticket .attachment-list li a { color: var(--ph-text-2); }
.ticket-reply .user .type { background: var(--ph-btn); }

/* Invoices (client list, mass pay) */
.invoice-summary-table td.total-row, tr.masspay-total td { background: var(--ph-surface-2); color: var(--ph-text); }

/* Domain pricing */
.domain-pricing .tld-pricing-header div:nth-child(odd),
.domain-pricing .tld-pricing-header .col-sm-2,
.domain-pricing .tld-pricing-header .col-sm-4,
.domain-pricing .tld-pricing-header .col-xs-2,
.domain-pricing .tld-pricing-header .col-xs-4 { background: var(--ph-surface-2); color: var(--ph-text); }
.domain-pricing .tld-row { border-color: var(--ph-border-soft); }
.domain-pricing .tld-row.highlighted, .domain-pricing .tld-row:hover { background: var(--ph-surface-3); }

/* Homepage domain search */
.home-domain-search { padding: 48px 0; }
.home-domain-search h2 { font-weight: 800; color: #fff; }
.home-domain-search .input-group-wrapper { border: 1px solid var(--ph-border); background: var(--ph-input); }
.home-domain-search .input-group-wrapper .form-control { background: transparent; border: 0; }
.home-domain-search .btn-success { background: #334155; border-color: #475569; }
.home-domain-search .btn-success:hover { background: #475569; }

/* Featured TLDs (domain pricing page): white logo tile, neutral price bar */
.featured-tld { overflow: hidden; border: 1px solid var(--ph-border-soft); box-shadow: none; }
.featured-tld .img-container { background: #f8fafc; }
.featured-tld .price, .featured-tld .price[class*=" "] { background-color: var(--ph-surface-2) !important; color: #fff !important; font-weight: 700; }

/* Carousel / announcements */
.carousel-indicators li { background-color: var(--ph-muted); }
.img-thumbnail { background: var(--ph-surface); border-color: var(--ph-border); }

/* Two-factor / email verification banners */
.verification-banner { background: var(--ph-surface-2); color: var(--ph-text-2); border-bottom: 1px solid var(--ph-border); }
.verification-banner.user-validation { background: rgba(146, 64, 14, .28); }
.verification-banner .btn { background: var(--ph-btn); border-color: var(--ph-btn); color: #fff; }

/* Return-to-admin floating button */
.btn-return-to-admin { background: var(--ph-btn); color: #fff; }

/* Fullpage overlay */
#fullpage-overlay { background-color: rgba(2, 6, 23, .85); }
#fullpage-overlay .msg { color: var(--ph-text); }

/* ---------------------------------------------------------------------
   Service (product details) page
   --------------------------------------------------------------------- */
.ph-service-card { margin-bottom: 16px; }
.ph-service-card > .card-body { padding: 24px; }
.ph-service-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.ph-service-main { display: flex; align-items: center; gap: 18px; min-width: 0; }
.ph-service-icon {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--ph-orange);
    background: rgba(249, 115, 22, .12);
    border: 1px solid rgba(249, 115, 22, .3);
}
.ph-service-title { min-width: 0; }
.ph-service-group { color: var(--ph-orange-light); text-transform: uppercase; font-size: .75rem; font-weight: 700; letter-spacing: .06em; }
.ph-service-name { font-size: 1.5rem; font-weight: 800; color: #fff; margin: 2px 0 8px; word-break: break-word; }
.ph-service-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: .875rem; }
.ph-service-domain { color: var(--ph-text-2); word-break: break-all; }
.ph-service-domain i { color: var(--ph-muted); }
.ph-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    background: rgba(100, 116, 139, .2);
    border: 1px solid rgba(100, 116, 139, .5);
    color: var(--ph-text-2);
}
.ph-status .ph-status-dot { background: var(--ph-muted); box-shadow: none; }
.ph-status-active { background: rgba(22, 101, 52, .3); border-color: rgba(34, 197, 94, .45); color: #86efac; }
.ph-status-active .ph-status-dot { background: var(--ph-success); }
.ph-status-pending { background: rgba(146, 64, 14, .3); border-color: rgba(251, 191, 36, .45); color: #fde68a; }
.ph-status-pending .ph-status-dot { background: var(--ph-warning); }
.ph-status-suspended, .ph-status-fraud { background: rgba(153, 27, 27, .3); border-color: rgba(248, 113, 113, .45); color: #fecaca; }
.ph-status-suspended .ph-status-dot, .ph-status-fraud .ph-status-dot { background: var(--ph-danger); }
.ph-service-billing { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0 0 0 auto; }
.ph-service-billing dt, .ph-kv dt { font-size: .75rem; font-weight: 600; color: var(--ph-muted); text-transform: uppercase; letter-spacing: .04em; }
.ph-service-billing dd, .ph-kv dd { margin: 2px 0 0; color: var(--ph-text); font-weight: 600; }
.ph-service-billing .ph-price { font-size: 1.35rem; font-weight: 800; color: #fff; }
.ph-service-details {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--ph-border-soft);
}
.ph-kv { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; }
.ph-kv dd { font-weight: 500; color: var(--ph-text-2); }
.ph-service-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.btn-outline-danger { color: #fca5a5; border-color: rgba(248, 113, 113, .6); }
.btn-outline-danger:hover { background: rgba(185, 28, 28, .25); color: #fecaca; border-color: #f87171; }

.ph-service-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
    padding: 6px;
    background: var(--ph-surface);
    border: 1px solid var(--ph-border-soft);
    border-radius: var(--ph-radius);
}
.ph-service-nav .list-group-item {
    width: auto;
    border: 0 !important;
    border-radius: var(--ph-radius-sm) !important;
    padding: 7px 12px;
    font-size: .875rem;
    color: var(--ph-text-2);
    margin: 0;
}
.ph-service-nav .list-group-item.active {
    background: rgba(249, 115, 22, .16);
    color: var(--ph-orange-light);
    box-shadow: none;
}
.ph-service-nav .list-group-item.disabled { color: #64748b; }
.ph-service-nav .sidebar-menu-item-wrapper { display: flex; align-items: center; gap: 6px; }
.ph-service-nav .sidebar-menu-item-icon { color: var(--ph-muted); }
.ph-service-nav .active .sidebar-menu-item-icon { color: var(--ph-orange-light); }
.ph-service-nav .badge { background: #334155; color: var(--ph-text); }

/* Section cards + key/value rows. The OpenStack VPS module (Vue SPA) renders
   these class names and relies on the theme to style them. */
.product-section-stack { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.product-section-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.product-section-grid > .product-section-card { margin: 0; }
.product-section-card {
    background: linear-gradient(180deg, rgba(30, 41, 59, .7) 0%, rgba(15, 23, 42, .85) 100%);
    border: 1px solid var(--ph-border-soft);
    border-radius: 12px;
    overflow: hidden;
}
.product-section-title {
    margin: 0;
    padding: 16px 20px;
    font-size: 12px;
    font-weight: 700;
    color: var(--ph-orange);
    text-transform: uppercase;
    letter-spacing: .05em;
    border-bottom: 1px solid var(--ph-border-soft);
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
}
.product-section-title i { font-size: 14px; opacity: .85; }
.product-section-header {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.product-section-header .product-section-title { flex: 1; border-bottom: 0; }
.product-section-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 18px;
    font-size: 12px;
    font-weight: 700;
    color: var(--ph-orange-light) !important;
    text-decoration: none !important;
    border-left: 1px solid rgba(255, 255, 255, .06);
    text-transform: uppercase;
    letter-spacing: .05em;
}
.product-section-action:hover, .product-section-action:focus { background: rgba(249, 115, 22, .1); color: #fdba74 !important; }
.product-section-module .product-section-body { padding: 20px; }
.product-section-body { padding: 12px 20px; }
.product-section-body .kv-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    font-size: 14px;
}
.product-section-body .kv-row:last-child { border-bottom: 0; }
.product-section-body .kv-key { color: var(--ph-muted); font-weight: 500; flex-shrink: 0; }
.product-section-body .kv-val { color: #fff; font-weight: 600; text-align: right; word-break: break-word; }
@media (max-width: 900px) { .product-section-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
    .product-section-card { background: transparent; border: 0; border-radius: 0; }
    .product-section-title { padding: 16px 0; }
    .product-section-header .product-section-title { padding: 16px 0; }
    .product-section-body { padding: 8px 0; }
}

.ph-tpl-clientareaproductdetails .product-details-tab-container { padding: 24px; }
.ph-tpl-clientareaproductdetails .responsive-tabs-sm { background: transparent; border-bottom-color: var(--ph-border-soft); }
.ph-tpl-clientareaproductdetails .module-client-area,
.ph-tpl-clientareaproductdetails .module-client-area.text-center { text-align: left !important; }
.ph-tpl-clientareaproductdetails #domain > .row { max-width: 640px; margin-left: auto; margin-right: auto; }

@media (max-width: 767.98px) {
    .responsive-tabs-sm { background: var(--ph-surface); border-color: var(--ph-border-soft) !important; width: 100%; border-radius: var(--ph-radius) var(--ph-radius) 0 0; overflow: hidden; }
    .responsive-tabs-sm .nav-item { border-bottom-color: var(--ph-border-soft) !important; margin-left: 0; }
    .responsive-tabs-sm .nav-item a, .responsive-tabs-sm .nav-item a:hover { background: transparent !important; }
    .responsive-tabs-sm .nav-item a.active { background-color: rgba(249, 115, 22, .14) !important; color: var(--ph-orange-light); }
    .responsive-tabs-sm-connector { display: none; }
    .ph-tpl-clientareaproductdetails #domain .text-right { text-align: left !important; }
    .ph-tpl-clientareaproductdetails #domain .row + .row { margin-top: 6px; }
    .ph-service-billing { text-align: left; }
    .ph-service-card > .card-body { padding: 18px; }
    .ph-service-icon { flex-basis: 48px; width: 48px; height: 48px; font-size: 1.2rem; }
    .ph-service-name { font-size: 1.25rem; }
    .ph-tpl-clientareaproductdetails .product-details-tab-container { padding: 16px 12px; }
}

/* ---------------------------------------------------------------------
   Login / auth
   --------------------------------------------------------------------- */
.ph-tpl-login .ph-breadcrumb, .ph-tpl-homepage .ph-breadcrumb { display: none; }
.ph-tpl-login #main-body,
.ph-tpl-homepage #main-body,
.ph-tpl-password-reset-container #main-body,
.ph-tpl-clientregister #main-body {
    background:
        radial-gradient(700px 360px at 50% 0%, rgba(249, 115, 22, .10), transparent 70%),
        var(--ph-bg);
}
.ph-auth-card,
.login-form .card,
.password-reset-container .card {
    background: linear-gradient(180deg, rgba(30, 41, 59, .9) 0%, rgba(15, 23, 42, .96) 100%);
    border: 1px solid rgba(51, 65, 85, .7);
    border-radius: 16px;
    box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .8);
}
.ph-auth-card .card-footer { background: transparent; border-top-color: var(--ph-border-soft); padding-top: 18px; padding-bottom: 18px; }
.ph-auth-logo { display: flex; justify-content: center; margin-bottom: 22px; }
.ph-auth-logo img { height: 48px; width: auto; }
.ph-auth-title { font-weight: 800; color: #fff; }
.ph-auth-secure { margin: 18px 0 0; text-align: center; font-size: .8125rem; color: var(--ph-muted); }
.ph-auth-secure i { color: var(--ph-success); margin-right: 4px; }
.ph-redirect { max-width: 440px; margin: 40px auto; text-align: center; }
.ph-redirect .fa-spinner { color: var(--ph-orange); font-size: 1.5rem; margin-bottom: 14px; }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
footer.footer.ph-footer {
    position: relative;
    overflow: hidden;
    background: var(--ph-page);
    border-top: 1px solid #1e293b;
    padding: 64px 0 32px;
    color: var(--ph-muted);
    font-size: .9rem;
}
.ph-footer-wolf {
    position: absolute;
    left: 50%;
    top: 40px;
    width: 520px;
    max-width: 90%;
    aspect-ratio: 508 / 237;
    transform: translateX(-35%);
    background: #94a3b8;
    -webkit-mask: url(../img/wolf-head.svg) center / contain no-repeat;
    mask: url(../img/wolf-head.svg) center / contain no-repeat;
    opacity: .07;
    pointer-events: none;
}
.ph-footer .container { position: relative; }
.ph-footer-logo { height: 48px; width: auto; }
.ph-footer-tagline { max-width: 320px; color: var(--ph-muted); line-height: 1.6; }
.ph-footer-heading { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 14px; }
.ph-footer-links li { margin-bottom: 8px; }
.ph-footer-links a, .ph-legal a { color: var(--ph-muted); }
.ph-footer-links a:hover, .ph-legal a:hover { color: var(--ph-orange-light); text-decoration: none; }
.ph-social { display: flex; gap: 10px; flex-wrap: wrap; }
.ph-social .list-inline-item { margin: 0; }
.ph-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--ph-surface);
    color: var(--ph-text-2);
    font-size: 1.05rem;
}
.ph-social a:hover { background: var(--ph-btn); color: #fff; }
.ph-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #1e293b;
}
.ph-footer .copyright { color: var(--ph-muted); font-size: .85rem; }
.ph-locale-btn { padding: 0; font-size: .8125rem; color: var(--ph-muted); }
.ph-locale-btn:hover { color: var(--ph-orange-light); text-decoration: none; }
.ph-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; font-size: .8125rem; }

/* ---------------------------------------------------------------------
   Order form: standard_cart (body #order-standard_cart)
   Use "standard_cart" as order form template together with this theme.
   The order form CSS is loaded after this file, hence the "body" prefix.
   --------------------------------------------------------------------- */
body #order-standard_cart { color: var(--ph-text-2); }
body #order-standard_cart h1, body #order-standard_cart .header-lined h1 { color: #fff; font-weight: 800; }
body #order-standard_cart .header-lined p, body #order-standard_cart p { color: var(--ph-text-2); }
body #order-standard_cart label,
body #order-standard_cart p.domain-renewal-desc { color: var(--ph-text-2); }
body #order-standard_cart .field-help-text, body #order-standard_cart .text-muted { color: var(--ph-muted) !important; }
body #order-standard_cart .field,
body #order-standard_cart .form-control,
body #order-standard_cart select.form-control,
body #order-standard_cart textarea.form-control {
    background-color: var(--ph-input);
    border: 1px solid var(--ph-border);
    color: var(--ph-text);
    border-radius: var(--ph-radius-sm);
}
body #order-standard_cart .field[disabled], body #order-standard_cart .field[readonly],
body #order-standard_cart .form-control[disabled], body #order-standard_cart .form-control[readonly] { background-color: #131c2e; color: var(--ph-text-2); }
body #order-standard_cart .field-icon i { color: var(--ph-muted); }
body #order-standard_cart .sub-heading { border-top-color: var(--ph-border); }
body #order-standard_cart .sub-heading span,
body #order-standard_cart .sub-heading-borderless span { background: var(--ph-page); color: var(--ph-orange-light); font-weight: 700; }
body #order-standard_cart .sub-heading span i, body #order-standard_cart .sub-heading span em { color: var(--ph-muted); }

/* Product listing */
body #order-standard_cart .products .product {
    background: var(--ph-surface);
    border: 1px solid var(--ph-border-soft);
    border-radius: var(--ph-radius);
    color: var(--ph-text-2);
    overflow: hidden;
    transition: border-color .15s;
}
body #order-standard_cart .products .product:hover { border-color: rgba(249, 115, 22, .55); }
body #order-standard_cart .products .product header { background: var(--ph-surface-2); border-radius: 0; border-bottom: 1px solid var(--ph-border-soft); }
body #order-standard_cart .products .product header span { color: #fff; font-weight: 700; }
body #order-standard_cart .products .product header .qty { color: var(--ph-muted); }
body #order-standard_cart .products .product div.product-desc { color: var(--ph-text-2); }
body #order-standard_cart .products .product div.product-pricing { color: var(--ph-muted); }
body #order-standard_cart .products .product div.product-pricing span.price { color: #fff; font-weight: 800; }
body #order-standard_cart .products .product .btn-order-now,
body #order-standard_cart .btn-success,
body #order-standard_cart .btn-order-now {
    background: var(--ph-btn);
    border-color: var(--ph-btn);
    color: #fff;
}
body #order-standard_cart .products .product .btn-order-now:hover,
body #order-standard_cart .btn-success:hover { background: var(--ph-btn-hover); border-color: var(--ph-btn-hover); }
body #order-standard_cart .product-info {
    background: var(--ph-surface);
    border: 1px solid var(--ph-border-soft);
    border-radius: var(--ph-radius);
    color: var(--ph-text-2);
}
body #order-standard_cart .product-info .product-title { color: #fff; font-weight: 700; }
body #order-standard_cart .product-info p, body #order-standard_cart .product-info .product-group { color: var(--ph-muted); }

/* Cloudicon-compatible feature icons (class="icon-…" as used by Antler product
   descriptions). Drawn with inline SVG masks from img/icons (Lucide, ISC) - no icon
   font, no CDN. Unknown icon names fall back to a check-circle. */
i[class^="icon-"], i[class*=" icon-"] {
    --ph-i: url(../img/icons/circle-check.svg);
    display: inline-block;
    width: 1.25em;
    height: 1.25em;
    vertical-align: -.25em;
    background-color: var(--ph-orange);
    -webkit-mask: var(--ph-i) center / contain no-repeat;
    mask: var(--ph-i) center / contain no-repeat;
    font-style: normal;
}
i.icon-cpu { --ph-i: url(../img/icons/cpu.svg); }
i.icon-ram { --ph-i: url(../img/icons/memory.svg); }
i.icon-drives, i.icon-drivessd { --ph-i: url(../img/icons/drive.svg); }
i.icon-diskette { --ph-i: url(../img/icons/save.svg); }
i.icon-freenetwork, i.icon-global, i.icon-globe, i.icon-internet, i.icon-domains { --ph-i: url(../img/icons/globe.svg); }
i.icon-network, i.icon-router, i.icon-switch { --ph-i: url(../img/icons/network.svg); }
i.icon-speed, i.icon-latency, i.icon-frequency { --ph-i: url(../img/icons/gauge.svg); }
i.icon-database { --ph-i: url(../img/icons/database.svg); }
i.icon-cloud, i.icon-cloudserver, i.icon-cloudfast { --ph-i: url(../img/icons/cloud.svg); }
i.icon-location, i.icon-pin, i.icon-map { --ph-i: url(../img/icons/map-pin.svg); }
i.icon-support, i.icon-helpdesk { --ph-i: url(../img/icons/life-buoy.svg); }
i.icon-security, i.icon-protection, i.icon-protected, i.icon-firewall, i.icon-privacy { --ph-i: url(../img/icons/shield.svg); }
i.icon-servers, i.icon-dedicated, i.icon-vps, i.icon-rack, i.icon-managedserver { --ph-i: url(../img/icons/server.svg); }
i.icon-gaming { --ph-i: url(../img/icons/gamepad.svg); }
i.icon-user, i.icon-businesman { --ph-i: url(../img/icons/users.svg); }
i.icon-clock, i.icon-time, i.icon-timer { --ph-i: url(../img/icons/clock.svg); }
i.icon-sync, i.icon-reload, i.icon-refresh, i.icon-redundancy { --ph-i: url(../img/icons/refresh.svg); }
i.icon-alert, i.icon-danger { --ph-i: url(../img/icons/alert.svg); }
i.icon-check { --ph-i: url(../img/icons/check.svg); }
i.icon-lock, i.icon-key { --ph-i: url(../img/icons/lock.svg); }
i.icon-settings, i.icon-preferences, i.icon-tools { --ph-i: url(../img/icons/sliders.svg); }

/* The theme draws icon-* with SVG masks; suppress Cloudicon glyphs if an
   order form loads that font as well. */
i[class^="icon-"]::before, i[class*=" icon-"]::before { content: none !important; }

/* Product feature rows in descriptions:
   <div class="list-info"><i class="icon-cpu"></i><span><u>CPU</u></span><br /><span> 2 Kerne</span></div>
   Rendered as icon | label | value rows in store cards, product configure and
   anywhere else a product description is shown. */
.list-info:not(.product-desc) {
    display: grid;
    /* fixed label column so labels and values line up across rows */
    grid-template-columns: 20px 6.25rem minmax(0, 1fr);
    align-items: center;
    column-gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--ph-border-soft);
    font-size: .9rem;
    line-height: 1.35;
    text-align: left;
}
.list-info:last-of-type { border-bottom: 0; }
.list-info > br { display: none; }
.list-info > i[class^="icon-"], .list-info > i[class*=" icon-"] { width: 20px; height: 20px; vertical-align: 0; }
.list-info > span:first-of-type { color: var(--ph-muted); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.list-info > span:first-of-type u { text-decoration: none; }
.list-info > span:first-of-type { overflow: hidden; text-overflow: ellipsis; }
.list-info > span:last-of-type { color: var(--ph-text); font-weight: 600; text-align: right; text-wrap: balance; overflow-wrap: break-word; }
.list-info > span:only-of-type { grid-column: 2 / -1; }


/* ---------------------------------------------------------------------
   Store product cards (standard_cart products.tpl)
   Layout follows the CARD width (container queries), not the viewport:
   narrow card = specs full width, price + button in a footer row below;
   wide card (>= 640px) = specs left, price column right.
   --------------------------------------------------------------------- */
/* No category sidebar in the store (all widths, also if an order form shows it):
   group navigation is the Shop menu plus the category pill bar built in footer.tpl. */
body #order-standard_cart .cart-sidebar,
body #order-standard_cart .sidebar-collapsed { display: none !important; }
body #order-standard_cart .cart-body { width: 100% !important; float: none !important; }
body #order-standard_cart .cart-body { container-type: inline-size; container-name: phcart; }
/* standard_cart closes its .row after every 2nd card: flow all cards in one grid */
body #order-standard_cart .products { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin: 0; }
body #order-standard_cart .products > .row { display: contents; }
body #order-standard_cart .products > .row > [class*="col-"] { width: auto; max-width: none; flex: none; padding: 0; display: flex; }
@container phcart (min-width: 560px) { body #order-standard_cart .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container phcart (min-width: 1000px) { body #order-standard_cart .products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@container phcart (min-width: 1700px) { body #order-standard_cart .products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

body #order-standard_cart .products .product {
    container-type: inline-size;
    container-name: phcard;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0;
}
body #order-standard_cart .products .product header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
    padding: 14px 18px;
}
body #order-standard_cart .products .product header > span:first-child { font-size: 1.1rem; }
body #order-standard_cart .products .product header .qty {
    float: none;
    flex: 0 0 auto;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: .75rem;
    font-style: normal;
    font-weight: 600;
    color: #86efac;
    background: rgba(22, 101, 52, .3);
    border: 1px solid rgba(34, 197, 94, .4);
}
body #order-standard_cart .products .product div.product-desc {
    float: none;
    width: auto;
    flex: 1 1 auto;
    padding: 10px 18px 4px;
    font-size: .9rem;
}
/* Descriptions saved with line breaks: WHMCS adds <br /> between the rows,
   and the browser closes the wrapping <p> before the first <div>. */
body #order-standard_cart .product-desc:has(.list-info) > br,
body #order-standard_cart .product-desc:has(.list-info) > p > br { display: none; }
body #order-standard_cart .product-desc > p:empty { display: none; }
body #order-standard_cart .product-desc:has(.list-info) > p { margin: 0; }
body #order-standard_cart .product-desc > ul:empty { display: none; }
body #order-standard_cart .products .product footer {
    float: none;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 14px 18px;
    border-top: 1px solid var(--ph-border-soft);
    background: var(--ph-surface-2);
    font-size: .85rem;
    text-align: left;
}
body #order-standard_cart .products .product div.product-pricing { margin: 0; line-height: 1.3; color: var(--ph-muted); }
body #order-standard_cart .products .product div.product-pricing br { display: none; }
body #order-standard_cart .products .product div.product-pricing span.price { display: block; font-size: 1.35rem; white-space: nowrap; }
body #order-standard_cart .products .product footer .btn-order-now { flex: 0 0 auto; padding: 8px 16px; font-size: .9rem; white-space: nowrap; }
@container phcard (min-width: 640px) {
    body #order-standard_cart .products .product { display: grid; grid-template-columns: minmax(0, 1fr) 210px; grid-template-rows: auto 1fr; }
    body #order-standard_cart .products .product header { grid-column: 1 / -1; }
    body #order-standard_cart .products .product footer {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        border-top: 0;
        border-left: 1px solid var(--ph-border-soft);
    }
}
/* Narrow cards (tablet with 2 per row): label above value instead of squeezing both */
@container phcard (max-width: 360px) {
    body #order-standard_cart .products .product .list-info { grid-template-columns: 20px minmax(0, 1fr); row-gap: 2px; }
    body #order-standard_cart .products .product .list-info > span:last-of-type { grid-column: 2; text-align: left; }
}
@container phcard (max-width: 300px) {
    body #order-standard_cart .products .product footer { flex-direction: column; align-items: stretch; text-align: center; }
}
/* Category pill bar above the products (replaces the sidebar) */
.ph-cat-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 22px; }
.ph-cat-bar a {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--ph-border);
    background: var(--ph-surface);
    color: var(--ph-text-2);
    font-size: .875rem;
    font-weight: 600;
    white-space: nowrap;
}
.ph-cat-bar a:hover { color: #fff; border-color: var(--ph-orange); text-decoration: none; }
.ph-cat-bar a.active { background: rgba(249, 115, 22, .16); border-color: var(--ph-orange); color: var(--ph-orange-light); }
@media (max-width: 575.98px) {
    .ph-cat-bar { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
}

/* Out of stock (class set by the theme script when the stock count is 0) */
body #order-standard_cart .products .product.ph-out-of-stock header .qty { color: #fecaca; background: rgba(153, 27, 27, .3); border-color: rgba(248, 113, 113, .45); }
body #order-standard_cart .products .product.ph-out-of-stock .product-desc,
body #order-standard_cart .products .product.ph-out-of-stock .product-pricing { opacity: .55; }
body #order-standard_cart .products .product.ph-out-of-stock .btn-order-now {
    background: #334155;
    border-color: #334155;
    color: var(--ph-muted);
    pointer-events: none;
    cursor: not-allowed;
}

/* ---------------------------------------------------------------------
   Antler-style order forms (orderforms/antler and copies/renames of it, e.g.
   a custom "pawhost" order form). Detected by markup (#products.product,
   .plan-content, .header-content), not by name. Same look as standard_cart.
   --------------------------------------------------------------------- */
body #order-standard_cart:has(> #products.product) { container-type: inline-size; container-name: phcart; }
body #order-standard_cart .dropnav-header-lined,
body #order-standard_cart .categories-collapsed,
body #order-standard_cart #dropside-content { display: none !important; }
body #order-standard_cart .header-lined .text-center { text-align: left !important; }
body #order-standard_cart .header-lined .section-heading { color: #fff !important; font-size: 2.25rem; font-weight: 800; margin: 0 0 6px; }
body #order-standard_cart .header-lined .section-subheading { color: var(--ph-text-2) !important; font-size: .95rem; }
body #order-standard_cart #products.product {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}
body #order-standard_cart #products.product > .row { display: contents; }
@container phcart (min-width: 560px) { body #order-standard_cart #products.product { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container phcart (min-width: 1000px) { body #order-standard_cart #products.product { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@container phcart (min-width: 1700px) { body #order-standard_cart #products.product { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
body #order-standard_cart #products.product > .row > .plan-content {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
}
body #order-standard_cart #products.product .services { grid-column: 1 / -1; }
body #order-standard_cart .plan-content > .product {
    container-type: inline-size;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "head head" "desc desc" "price btn";
    grid-template-rows: auto 1fr auto;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--ph-surface) !important;
    border: 1px solid var(--ph-border-soft) !important;
    border-radius: var(--ph-radius) !important;
    overflow: hidden;
    box-shadow: none !important;
    color: var(--ph-text-2);
}
body #order-standard_cart .plan-content > .product:hover { border-color: rgba(249, 115, 22, .55) !important; }
body #order-standard_cart .plan-content .header-content { display: contents; }
body #order-standard_cart .plan-content .header-content header {
    grid-area: head;
    margin: 0;
    padding: 14px 18px;
    line-height: 1.3;
    background: var(--ph-surface-2);
    border-bottom: 1px solid var(--ph-border-soft);
}
body #order-standard_cart .plan-content .header-content header br { display: none; }
body #order-standard_cart .plan-content .header-content .title { display: block; color: #fff !important; font-size: 1.1rem; font-weight: 700; }
body #order-standard_cart .plan-content .header-content .fromer { display: block; margin-top: 4px; color: var(--ph-muted) !important; font-size: .8rem; }
body #order-standard_cart .plan-content .header-content .fromer .setupfee { color: var(--ph-muted); font-size: inherit; }
body #order-standard_cart .plan-content .badge.feat { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--ph-btn) !important; color: #fff; }
body #order-standard_cart .plan-content .product-pricing {
    grid-area: price;
    align-self: center;
    margin: 0 !important;
    padding: 14px 0 14px 18px;
    color: var(--ph-muted) !important;
    font-size: .85rem;
    line-height: 1.3;
    text-align: left;
}
body #order-standard_cart .plan-content .product-pricing br { display: none; }
body #order-standard_cart .plan-content .product-pricing .price { display: block; color: #fff !important; font-size: 1.35rem !important; font-weight: 800 !important; white-space: nowrap; }
body #order-standard_cart .plan-content .product-pricing .period { color: var(--ph-muted) !important; font-size: .85rem !important; }
body #order-standard_cart .plan-content a.btn-order-now {
    grid-area: btn;
    align-self: center;
    justify-self: end;
    margin: 0 18px 0 12px !important;
    padding: 8px 16px !important;
    border: 0 !important;
    border-radius: var(--ph-radius-sm) !important;
    background: var(--ph-btn) !important;
    color: #fff !important;
    font-size: .9rem !important;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    box-shadow: none !important;
}
body #order-standard_cart .plan-content a.btn-order-now:hover { background: var(--ph-btn-hover) !important; }
body #order-standard_cart .plan-content a.btn-order-now::before,
body #order-standard_cart .plan-content a.btn-order-now::after { display: none !important; }
body #order-standard_cart .plan-content .product-desc {
    grid-area: desc;
    display: block !important;
    margin: 0 !important;
    padding: 10px 18px 6px !important;
    font-size: .9rem;
    color: var(--ph-text-2);
    background: transparent !important;
    border-bottom: 1px solid var(--ph-border-soft);
}
body #order-standard_cart .plan-content .product-desc .prod-desc-div { line-height: normal !important; position: static; }
body #order-standard_cart .plan-content .product-desc .prod-desc-div > br { display: none; }
body #order-standard_cart .plan-content .product-desc .prod-desc-ul:empty { display: none; }
body #order-standard_cart .plan-content .product-desc .list-info {
    display: grid !important;
    grid-template-columns: 20px 6.25rem minmax(0, 1fr);
    align-items: center;
    column-gap: 10px;
    padding: 8px 0;
    margin: 0;
    font-size: .9rem;
    font-weight: 400;
    color: var(--ph-text-2);
    border-bottom: 1px solid var(--ph-border-soft);
}
body #order-standard_cart .plan-content .product-desc .list-info:last-of-type { border-bottom: 0; }
body #order-standard_cart .plan-content .product-desc .list-info > br { display: none; }
body #order-standard_cart .plan-content .product-desc .list-info > span:last-of-type { text-align: right; font-weight: 600 !important; }
body #order-standard_cart .plan-content .product-desc .list-info i { float: none !important; margin: 0 !important; font-size: inherit !important; line-height: 1 !important; }
body #order-standard_cart .plan-content .product-desc .list-info span { font-size: inherit !important; line-height: 1.35 !important; }
body #order-standard_cart .plan-content .product-desc .list-info > span:first-of-type { color: var(--ph-muted) !important; font-size: .75rem !important; }
body #order-standard_cart .plan-content .product-desc .list-info > span:last-of-type { color: var(--ph-text) !important; }
/* Logos/images inside descriptions (antler positions them absolutely over the title) */
body #order-standard_cart .plan-content .product-desc svg,
body #order-standard_cart .plan-content .product-desc img {
    position: static !important;
    display: block;
    width: 120px !important;
    max-width: 100%;
    height: 32px !important;
    margin: 4px 0 8px;
}
@container (max-width: 360px) {
    body #order-standard_cart .plan-content .product-desc .list-info { grid-template-columns: 20px minmax(0, 1fr); row-gap: 2px; }
    body #order-standard_cart .plan-content .product-desc .list-info > span:last-of-type { grid-column: 2; text-align: left; }
}
body #order-standard_cart .plan-content > .product.ph-out-of-stock .product-desc,
body #order-standard_cart .plan-content > .product.ph-out-of-stock .product-pricing { opacity: .55; }
body #order-standard_cart .plan-content > .product.ph-out-of-stock a.btn-order-now {
    background: #334155 !important;
    color: var(--ph-muted) !important;
    pointer-events: none;
}
/* "Included with all plans" (product group features) */
body #order-standard_cart #products.product .services { padding: 12px 0 0 !important; background: transparent !important; }
body #order-standard_cart #products.product .services .row { margin: 0; }
body #order-standard_cart #products.product .services h4 { color: #fff !important; font-size: 1.1rem; font-weight: 700; text-align: left; margin: 0 0 12px; }
body #order-standard_cart #products.product .services .col-sm-12 { padding: 0; text-align: left !important; }
body #order-standard_cart #products.product .services .col-md-12 { padding: 0; }
body #order-standard_cart #products.product .services .service-wrap .row { display: flex; flex-wrap: wrap; gap: 10px; }
body #order-standard_cart #products.product .services .service-wrap .row > [class*="col-"] { flex: 0 0 auto; width: auto; max-width: none; padding: 0; }
body #order-standard_cart #products.product .services .service-section {
    padding: 8px 14px !important;
    margin: 0 !important;
    background: var(--ph-surface) !important;
    border: 1px solid var(--ph-border-soft);
    border-radius: 999px;
    color: var(--ph-text) !important;
    box-shadow: none !important;
    font-size: .875rem;
    font-weight: 600;
}
body #order-standard_cart #products.product .services .service-section i { color: var(--ph-success) !important; font-size: 1rem !important; margin-right: 8px !important; }

/* Feature list used in PawHost product descriptions */
.clean-feature-list { list-style: none; padding: 0; margin: 0; line-height: 1.5; }
.clean-feature-list li {
    display: grid;
    grid-template-columns: 26px minmax(80px, max-content) 1fr;
    column-gap: 10px;
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px solid var(--ph-border-soft);
    font-size: 14px;
    list-style: none;
}
.clean-feature-list li:last-child { border-bottom: 0; }
.clean-feature-list li i { float: none !important; position: static !important; font-size: 18px !important; margin: 0 !important; color: var(--ph-orange) !important; text-align: center; }
.clean-feature-list li strong { font-weight: 600; white-space: nowrap; color: var(--ph-text); }
.clean-feature-list li span { text-align: right; color: var(--ph-text-2); word-break: break-word; }

/* Addons, domain options, sliders */
body #order-standard_cart .panel-addon { background: var(--ph-surface); border: 1px solid var(--ph-border-soft); border-radius: var(--ph-radius); overflow: hidden; }
body #order-standard_cart .panel-addon .panel-body { color: var(--ph-text-2); }
body #order-standard_cart .panel-addon .panel-body label { color: #fff; }
body #order-standard_cart .panel-addon .panel-price { background-color: var(--ph-surface-2); color: var(--ph-text); }
body #order-standard_cart .panel-addon .panel-add,
body #order-standard_cart .panel-addon-selected .panel-add { background-color: #334155; color: #fff; border-radius: 0; }
body #order-standard_cart .panel-addon-selected { border-color: var(--ph-orange); }
body #order-standard_cart .panel-addon-selected .panel-add { background-color: var(--ph-btn); }
body #order-standard_cart .domain-selection-options .option { background-color: var(--ph-surface); border: 1px solid var(--ph-border-soft); color: var(--ph-text-2); }
body #order-standard_cart .domain-selection-options .option-selected { background-color: var(--ph-surface-3); border-color: var(--ph-orange); }
.irs-line, .irs--flat .irs-line, .irs--round .irs-line { background: #334155 !important; border-color: #334155 !important; }
.irs-bar, .irs--flat .irs-bar, .irs--round .irs-bar { background: var(--ph-btn) !important; border-color: var(--ph-btn) !important; }
.irs-from, .irs-to, .irs-single, .irs--flat .irs-single, .irs--round .irs-single { background: var(--ph-btn) !important; color: #fff !important; }
.irs-min, .irs-max { background: #334155 !important; color: var(--ph-text-2) !important; }
.irs-line-left, .irs-line-mid, .irs-line-right { background: #334155 !important; }
.irs-grid-text { color: var(--ph-muted) !important; }
.irs-grid-pol { background: #475569 !important; }

/* Order summary */
body #order-standard_cart .order-summary {
    background-color: var(--ph-surface);
    border: 1px solid var(--ph-border-soft);
    border-bottom: 3px solid var(--ph-orange);
    border-radius: var(--ph-radius);
    overflow: hidden;
}
body #order-standard_cart .order-summary h2 { background: var(--ph-surface-2); color: #fff; font-weight: 700; border-bottom: 1px solid var(--ph-border-soft); }
body #order-standard_cart .summary-container { background-color: var(--ph-surface); color: var(--ph-text-2); border-radius: 0; }
body #order-standard_cart .order-summary .product-name { color: #fff; }
body #order-standard_cart .order-summary .product-group { color: var(--ph-muted); }
body #order-standard_cart .order-summary .summary-totals { border-color: var(--ph-border); }
body #order-standard_cart .order-summary .subtotal, body #order-standard_cart .order-summary .bordered-totals { border-bottom-color: var(--ph-border); }
body #order-standard_cart .order-summary .total-due-today .amt, body #order-standard_cart .order-summary .total-due-today .amount { color: #fff; font-weight: 800; }
body #order-standard_cart .order-summary .total-due-today span:not(.amt) { color: var(--ph-muted); }
body #order-standard_cart .order-summary .recurring-charges { color: var(--ph-muted); }
body #order-standard_cart .order-summary .btn-continue-shopping { color: var(--ph-text-2); }
body #order-standard_cart .order-summary .loader { color: var(--ph-muted); }
body #order-standard_cart .font-size-30 { background: transparent; }

/* View cart / checkout */
body #order-standard_cart .view-cart-items-header { background-color: var(--ph-surface-2); color: var(--ph-text); border: 1px solid var(--ph-border-soft); border-bottom: 0; border-radius: var(--ph-radius) var(--ph-radius) 0 0; }
body #order-standard_cart .view-cart-items { border-bottom: 2px solid var(--ph-orange); }
body #order-standard_cart .view-cart-items .item { background-color: var(--ph-surface); color: var(--ph-text-2); border-color: var(--ph-border-soft); }
body #order-standard_cart .view-cart-items .item:nth-child(even) { background-color: #1a2436; }
body #order-standard_cart .view-cart-items .item-title { color: #fff; }
body #order-standard_cart .view-cart-items .item-group, body #order-standard_cart .view-cart-items .item-domain { color: var(--ph-orange-light); }
body #order-standard_cart .view-cart-items .item-price span:first-child { color: #fff; }
body #order-standard_cart .btn-remove-from-cart { background: transparent; color: #fca5a5; }
body #order-standard_cart .empty-cart .btn { background-color: #334155; color: #fff; border-radius: 0 0 var(--ph-radius-sm) var(--ph-radius-sm); }
body #order-standard_cart .view-cart-empty { color: var(--ph-muted); }
body #order-standard_cart .view-cart-tabs .nav-tabs a { color: var(--ph-text-2); }
body #order-standard_cart .view-cart-tabs .nav-tabs a[aria-selected="true"],
body #order-standard_cart .view-cart-tabs .nav-tabs a[aria-expanded="true"] { background-color: var(--ph-surface); border-color: var(--ph-border-soft) var(--ph-border-soft) var(--ph-surface); color: var(--ph-orange-light); }
body #order-standard_cart .view-cart-tabs .tab-content { background: var(--ph-surface); border: 1px solid var(--ph-border-soft); border-top: 0; }
body #order-standard_cart .view-cart-promotion-code { background-color: var(--ph-surface-2); border: 1px dashed var(--ph-border); color: var(--ph-text); }
body #order-standard_cart .view-cart-gateway-checkout { background-color: var(--ph-surface); color: var(--ph-text-2); }
body #order-standard_cart .apply-credit-container { background-color: var(--ph-surface); color: var(--ph-text-2); border-radius: var(--ph-radius); }
body #order-standard_cart .cc-input-container { background-color: var(--ph-surface); border-color: var(--ph-border-soft); color: var(--ph-text-2); }
body #order-standard_cart .account-select-container { border-right-color: var(--ph-border-soft); }
body #order-standard_cart .account-select-container div.account { background: var(--ph-surface-2); border-color: var(--ph-border-soft); color: var(--ph-text-2); }
body #order-standard_cart .account-select-container div.account.active { background: var(--ph-surface-3); }
body #order-standard_cart .already-registered { background: transparent; border-color: var(--ph-border-soft); color: var(--ph-text-2); }
body #order-standard_cart .mc-promo, body #order-standard_cart .mc-promo .body { background: var(--ph-surface); color: var(--ph-text-2); }
body #order-standard_cart .cart-sidebar .list-group-item, body #order-standard_cart .sidebar-collapsed { border-color: var(--ph-border-soft); }
body #order-standard_cart .sidebar-collapsed { background: var(--ph-surface); }
body #order-standard_cart .alert-info { color: #bae6fd; }
body #order-standard_cart .transfer-not-eligible { background: var(--ph-surface); color: var(--ph-text-2); }
body #order-standard_cart .btn-checkout, body #order-standard_cart #btnCompleteOrder { background: var(--ph-btn); border-color: var(--ph-btn); color: #fff; }

/* Inline colours in standard_cart's domain configuration ("[No Hosting! Click to Add]") */
body #order-standard_cart a[style*="cc0000"] { color: #fca5a5 !important; overflow-wrap: anywhere; }
body #order-standard_cart span[style*="009900"] { color: #86efac !important; }

/* Billing cycle select on the configure page must not run off narrow screens */
body #order-standard_cart select.select-inline { max-width: 100%; }

/* iCheck radios/checkboxes (blue sprite) tinted to the brand orange */
.iradio_square-blue, .icheckbox_square-blue { filter: hue-rotate(180deg) saturate(1.3); }

/* Domain checker, TLD pricing, spotlight TLDs, suggestions, renewals
   (standard_cart pages and the domain pricing page) */
body .domain-checker-container {
    background: radial-gradient(520px 220px at 85% 0%, rgba(249, 115, 22, .22), transparent 70%), var(--ph-surface);
    border: 1px solid var(--ph-border-soft);
    border-radius: 14px;
    color: var(--ph-text-2);
}
body .domain-checker-bg {
    background-image: none;
    position: relative;
}
body .domain-checker-bg::after {
    content: "";
    position: absolute;
    right: 24px;
    top: 50%;
    width: 120px;
    height: 120px;
    transform: translateY(-50%);
    background: var(--ph-orange);
    opacity: .12;
    -webkit-mask: url(../img/icons/globe.svg) center / contain no-repeat;
    mask: url(../img/icons/globe.svg) center / contain no-repeat;
    pointer-events: none;
}
body .domain-checker-bg form { position: relative; z-index: 1; }
body .domain-checker-container .input-group-box {
    background-color: var(--ph-input);
    border: 1px solid var(--ph-border);
    border-radius: 12px;
}
body .domain-checker-container .input-group-box .form-control { border: 0; background: transparent; color: var(--ph-text); }
body .domain-checker-available { color: var(--ph-success); }
body .domain-checker-unavailable, body .domain-checker-invalid { color: var(--ph-danger); }
body #order-standard_cart .domain-checker-available { color: var(--ph-success); }
body #order-standard_cart .domain-checker-unavailable, body #order-standard_cart .domain-checker-invalid { color: var(--ph-danger); }
body #order-standard_cart .domain-checker-result-headline, body .domain-checker-result-headline { color: var(--ph-text); }
body #order-standard_cart .domain-price .price, body #order-standard_cart .domain-checker-result-headline .price { color: #fff; font-weight: 800; }
body #order-standard_cart .default-captcha,
body .default-captcha {
    background-color: var(--ph-surface-2);
    border: 1px solid var(--ph-border);
    color: var(--ph-muted);
    border-radius: var(--ph-radius-sm);
}
body #order-standard_cart .default-captcha p, body .default-captcha p { color: var(--ph-text-2); }
#inputCaptchaImage, body .captchaimage { border-radius: 4px; }
body #order-standard_cart a.font-size-18, body #order-standard_cart .font-size-18 { color: var(--ph-text-2); }
body #order-standard_cart .font-size-36 { color: #fff; font-weight: 800; }

body #order-standard_cart .transfer-eligible { color: #bbf7d0; background: rgba(22, 101, 52, .25); border-color: rgba(34, 197, 94, .4); }
body #order-standard_cart .transfer-not-eligible { color: var(--ph-text-2); background: var(--ph-surface-2); }

body .domain-pricing .tld-filters .badge, body .tld-filters a { border-radius: 999px; }
body .domain-pricing .tld-pricing-header .tld-column,
body .domain-pricing .tld-pricing-header div:nth-child(odd),
body .domain-pricing .tld-pricing-header .col-xs-2, body .domain-pricing .tld-pricing-header .col-sm-2,
body .domain-pricing .tld-pricing-header .col-xs-4, body .domain-pricing .tld-pricing-header .col-sm-4,
body .domain-pricing .tld-pricing-header .col-2, body .domain-pricing .tld-pricing-header .col-4,
body .domain-pricing .tld-pricing-header [class*="col-"] {
    background-color: var(--ph-surface-2);
    border-bottom: 3px solid var(--ph-orange);
    border-color: var(--ph-orange);
    color: var(--ph-text);
}
body .domain-pricing .tld-pricing-header div:nth-child(odd) { background-color: #1a2436; }
body .domain-pricing .tld-pricing-header .row { background: transparent; }
body .domain-pricing .tld-row, body .domain-pricing .row.no-gutters { background-color: var(--ph-surface); border-bottom: 1px solid var(--ph-border-soft); color: var(--ph-text-2); }
body .domain-pricing .tld-row.highlighted { background-color: #1a2436; }
body .domain-pricing .tld-row:hover { background-color: var(--ph-surface-3); }
body .domain-pricing .tld-row .col-md-4, body .domain-pricing .tld-row strong, body .domain-pricing .tld-row .two-row-center { color: var(--ph-text); }
body .domain-pricing .tld-row small, body .domain-pricing .tld-row .small { color: var(--ph-muted); }
body .domain-pricing .tld-column { border-color: var(--ph-border) !important; }

body .domain-promo-box {
    background-color: var(--ph-surface);
    border: 1px solid var(--ph-border-soft);
    border-radius: var(--ph-radius);
    color: var(--ph-text);
}
body .domain-promo-box h3, body .domain-promo-box .h3, body .domain-promo-box .font-size-22, body .domain-promo-box .font-size-24 { color: #fff !important; font-weight: 700; }
body .domain-promo-box p { color: var(--ph-text-2); }
body .domain-promo-box .no-wrap { white-space: normal; }
body .domain-promo-box .small, body .domain-promo-box small { color: var(--ph-muted); }
body .domain-promo-box .font-size-14, body .domain-promo-box p.font-size-14 { color: var(--ph-orange-light); }
body .domain-promo-box i { color: rgba(249, 115, 22, .45); }

body .spotlight-tlds { background-color: transparent; }
body .spotlight-tld {
    background-color: var(--ph-surface);
    border: 1px solid var(--ph-border-soft);
    border-radius: var(--ph-radius);
    color: #fff;
}
body .spotlight-tld .btn:not(.domain-contact-support), body .suggested-domains .btn:not(.domain-contact-support) {
    background-color: var(--ph-btn);
    border-color: var(--ph-btn);
    color: #fff;
}
body .spotlight-tld .unavailable, body .spotlight-tld .invalid,
body .spotlight-tld .btn.unavailable, body .spotlight-tld .btn.invalid { background-color: #334155 !important; border-color: #334155 !important; color: var(--ph-muted) !important; }
body .spotlight-tld .available.price { color: var(--ph-text-2); }
body .spotlight-tld-hot, body .suggested-domains .promo.hot { background-color: #b91c1c; color: #fff; }
body .spotlight-tld-sale, body .suggested-domains .promo.sale { background-color: #b45309; color: #fff; }
body .spotlight-tld-new, body .suggested-domains .promo.new { background-color: #15803d; color: #fff; }
body .suggested-domains { background: transparent; }
body .suggested-domains .card, body .suggested-domains .panel { background: var(--ph-surface); border-color: var(--ph-border-soft); }
body .suggested-domains .panel-heading, body .suggested-domains .card-header { background: var(--ph-surface-2); color: var(--ph-text); border-bottom: 2px solid var(--ph-orange); }
body .suggested-domains .domain-lookup-suggestions-loader { background-color: var(--ph-surface); color: var(--ph-muted); }
body .suggested-domains .list-group-item { background: transparent; color: var(--ph-text); }
body .suggested-domains .list-group-item .domain { color: #fff; }
body .suggested-domains .list-group-item .extension { color: var(--ph-orange-light); }
body .suggested-domains .list-group-item .price { color: var(--ph-text-2); }
body .suggested-domains .more-suggestions a { color: var(--ph-orange-light); }
body .suggested-domains .more-suggestions { background: var(--ph-surface-2); }

body .domain-checker-container .input-group-box, body .domain-checker-container .input-group-box .form-control::placeholder { color: #8391a7; }
body .domain-renewals, body .service-renewals, body .addon-renewals .service-renewal, body .product-recommendations .product-recommendation, body .product-recommendations .product-recommendation .body {
    background: var(--ph-surface);
    color: var(--ph-text-2);
    border-color: var(--ph-border-soft);
}
body .service-renewals .service-renewal:nth-child(even), body .domain-renewals .domain-renewal:nth-child(even), body .addon-renewals .service-renewal:nth-child(even) { background: #1a2436; }
body .service-renewals .div-renewal-ineligible, body .service-renewals .div-renewal-period-label { background: var(--ph-surface-2); color: var(--ph-text-2); }

/* Sidebar status filters in the same order as the default list sort:
   services Active, Pending, Suspended, Cancelled, Terminated; invoices Unpaid first. */
.view-filter-btns .list-group { display: flex; flex-direction: column; }
.view-filter-btns [menuItemName="Active"] { order: 1; }
.view-filter-btns [menuItemName="Pending"] { order: 2; }
.view-filter-btns [menuItemName="Suspended"] { order: 3; }
.view-filter-btns [menuItemName="Cancelled"] { order: 4; }
.view-filter-btns [menuItemName="Fraud"] { order: 5; }
.view-filter-btns [menuItemName="Terminated"] { order: 6; }
.view-filter-btns [menuItemName="Unpaid"] { order: -1; }

/* Contact page: help card next to the form */
.ph-contact-list li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--ph-border-soft); }
.ph-contact-list li:last-child { border-bottom: 0; }
.ph-contact-list i { flex: 0 0 22px; margin-top: 3px; color: var(--ph-orange); font-size: 1.1rem; text-align: center; }
.ph-contact-list a, .ph-contact-list strong { font-weight: 600; color: var(--ph-text); }
.ph-contact-list a:hover { color: var(--ph-orange-light); }
.ph-contact-list p { margin: 2px 0 0; font-size: .875rem; color: var(--ph-muted); }

/* ---------------------------------------------------------------------
   Fluid width: on wide screens the layout uses ~85% of the viewport
   (capped at 3300px) instead of Bootstrap's fixed 1140px container.
   --------------------------------------------------------------------- */
@media (min-width: 1400px) {
    .container { max-width: min(85vw, 3300px); }
    /* Sidebar keeps a fixed width; the content gets the rest */
    .ph-sidebar-col { flex: 0 0 300px; max-width: 300px; }
    .ph-main-col { flex: 1 1 0; max-width: calc(100% - 300px); }
    /* Pages stay full width; long running text keeps a readable line length
       inside its card instead of shrinking the whole page. */
    .ph-tpl-knowledgebasearticle .primary-content .card-body p,
    .ph-tpl-knowledgebasearticle .primary-content .card-body li,
    .ph-tpl-viewannouncement .primary-content .card-body p,
    .ph-tpl-viewannouncement .primary-content .card-body li,
    .ph-tpl-viewticket .primary-content .markdown-content p,
    .ph-tpl-viewticket .primary-content .markdown-content li { max-width: 110ch; }
}
@media (min-width: 2200px) {
    .ph-sidebar-col { flex-basis: 340px; max-width: 340px; }
    .ph-main-col { max-width: calc(100% - 340px); }
}

/* ---------------------------------------------------------------------
   Responsive tweaks
   --------------------------------------------------------------------- */
@media (max-width: 767.98px) {
    .ph-topbar-right { gap: 8px; }
    .ph-footer-bottom { flex-direction: column; align-items: flex-start; }
    #main-body { padding-top: 20px; }
    .ph-logo { height: 34px; }
}
@media (max-width: 767.98px) {
    /* Domain list bulk actions: wrap instead of running off the screen */
    #domainForm > .btn-group { display: flex; flex-wrap: wrap; width: 100%; }
    #domainForm > .btn-group > .btn, #domainForm > .btn-group > .btn-group { flex: 1 1 45%; }
    #domainForm > .btn-group > .btn-group > .btn { width: 100%; }
    /* Long single German words in cart headings ("Domainkonfiguration") */
    body #order-standard_cart h1, body #order-standard_cart .font-size-36 { font-size: 1.75rem; overflow-wrap: anywhere; hyphens: auto; }
}
@media (max-width: 400px) {
    .ph-client-name { max-width: 110px; }
}
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation-duration: .01ms !important; }
}
