/*
 * NovinParva Client Area — WHMCS 9 / Nexus child theme
 * RTL-first, responsive, and intentionally independent from parent markup changes.
 */

:root {
    --np-navy: #071a3d;
    --np-blue-900: #0b2452;
    --np-blue-700: #123f8c;
    --np-blue-600: #1768d7;
    --np-cyan: #12bce9;
    --np-sky: #eaf7ff;
    --np-orange: #ff8a34;
    --np-ink: #15233d;
    --np-muted: #6d7890;
    --np-line: #e5ebf4;
    --np-surface: #ffffff;
    --np-bg: #f4f7fc;
    --np-success: #16a36a;
    --np-danger: #e45160;
    --np-radius-sm: 12px;
    --np-radius: 18px;
    --np-radius-lg: 28px;
    --np-shadow-sm: 0 8px 24px rgba(14, 42, 91, .07);
    --np-shadow: 0 18px 55px rgba(14, 42, 91, .12);
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--np-ink);
    background:
        radial-gradient(circle at 8% 10%, rgba(18, 188, 233, .08), transparent 28rem),
        var(--np-bg);
    font-family: Tahoma, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
}

html[dir="ltr"] body {
    direction: ltr;
    text-align: left;
    font-family: "Open Sans", Arial, sans-serif;
}

a,
a:hover,
a:focus,
a:active,
a:visited {
    text-decoration: none !important;
}

a {
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.container {
    width: min(100% - 32px, 1240px);
    max-width: 1240px;
}

/* Header */

.header {
    position: relative;
    z-index: 100;
    box-shadow: 0 1px 0 rgba(15, 45, 94, .08);
}

.header .topbar {
    color: rgba(255, 255, 255, .88);
    background: var(--np-navy);
    border: 0;
}

.header .topbar .btn,
.header .topbar .input-group-text {
    color: inherit;
    background: transparent;
    border-color: rgba(255, 255, 255, .14);
}

.header .topbar .btn-return-to-admin {
    color: #fff;
    background: rgba(255, 138, 52, .22);
}

.header > .navbar-light {
    min-height: 82px;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(16px);
}

.header .navbar-brand {
    margin-right: 0;
    margin-left: 28px;
    color: var(--np-blue-900);
    font-size: 1.25rem;
    font-weight: 800;
}

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

.header .toolbar {
    flex-direction: row;
}

.header .toolbar .nav-link,
.header .search .form-control,
.header .search .btn {
    min-height: 44px;
    border-color: var(--np-line);
    background: #f8faff;
}

.header .toolbar .nav-link {
    display: grid;
    min-width: 44px;
    place-items: center;
    color: var(--np-blue-900);
    border-radius: 12px;
}

.header .toolbar .nav-link:hover {
    color: #fff;
    background: var(--np-blue-600);
    transform: translateY(-2px);
}

.header .cart-btn {
    position: relative;
}

.header .cart-btn .badge {
    position: absolute;
    top: -5px;
    left: -5px;
    color: #fff;
    background: var(--np-orange);
}

.main-navbar-wrapper {
    padding: 0;
    color: #fff;
    background: linear-gradient(100deg, var(--np-blue-900), var(--np-blue-700));
    border: 0;
}

.main-navbar-wrapper .navbar-nav {
    padding-right: 0;
}

.main-navbar-wrapper .nav-link {
    position: relative;
    padding: 16px 15px !important;
    color: rgba(255, 255, 255, .86) !important;
    font-size: .9rem;
    font-weight: 700;
}

.main-navbar-wrapper .nav-link::after {
    position: absolute;
    right: 15px;
    bottom: 8px;
    width: 0;
    height: 2px;
    content: "";
    background: var(--np-cyan);
    transition: width .2s ease;
}

.main-navbar-wrapper .nav-link:hover,
.main-navbar-wrapper .active > .nav-link {
    color: #fff !important;
}

.main-navbar-wrapper .nav-link:hover::after,
.main-navbar-wrapper .active > .nav-link::after {
    width: calc(100% - 30px);
}

.main-navbar-wrapper .dropdown-menu {
    right: 0;
    left: auto;
    min-width: 220px;
    padding: 10px;
    border: 1px solid var(--np-line);
    border-radius: 14px;
    box-shadow: var(--np-shadow);
}

.main-navbar-wrapper .dropdown-item {
    padding: 10px 12px;
    text-align: right;
    border-radius: 9px;
}

.main-navbar-wrapper .dropdown-item:hover {
    color: var(--np-blue-700);
    background: var(--np-sky);
}

/* Breadcrumb and global layout */

.master-breadcrumb {
    background: #fff;
    border-bottom: 1px solid var(--np-line);
}

.master-breadcrumb .breadcrumb {
    padding: 13px 0;
    margin: 0;
    background: transparent;
}

.breadcrumb-item + .breadcrumb-item {
    padding-right: .5rem;
    padding-left: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    float: right;
    padding-right: 0;
    padding-left: .5rem;
    content: "‹";
}

#main-body {
    min-height: 58vh;
    padding: 38px 0 64px;
}

.primary-content > h1,
.primary-content > .page-header h1 {
    color: var(--np-blue-900);
    font-weight: 900;
}

/* Domain search */

.domain-search {
    position: relative;
    padding: 38px 0;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 12% 10%, rgba(18, 188, 233, .3), transparent 22rem),
        linear-gradient(115deg, var(--np-navy), var(--np-blue-700));
}

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

.domain-search .form-control {
    min-height: 58px;
    padding: 0 20px;
    text-align: left;
    direction: ltr;
    border: 0;
    border-radius: 0 var(--np-radius-sm) var(--np-radius-sm) 0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .16);
}

.domain-search .btn {
    min-width: 120px;
    border: 0;
    border-radius: var(--np-radius-sm) 0 0 var(--np-radius-sm);
    background: var(--np-orange);
}

/* AI domain finder */
body .domain-checker-container.domain-checker-advanced {
    margin: 22px 0 30px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 18px 42px rgba(8, 37, 86, .16);
}

body .domain-checker-advanced .domain-checker-bg {
    min-height: 0;
    padding: 28px;
    background:
        radial-gradient(circle at 8% 50%, rgba(18, 188, 233, .3), transparent 22rem),
        linear-gradient(120deg, #092b63, #1768d7) !important;
}

body .domain-checker-advanced #frmDomainChecker > .row {
    display: block;
    margin: 0;
}

body .domain-checker-advanced #frmDomainChecker > .row > [class*="col-"] {
    width: min(100%, 760px);
    max-width: 760px;
    padding: 0;
    margin: 0 auto !important;
}

body .domain-checker-advanced .input-group-box {
    display: flex;
    width: 100%;
    padding: 12px;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    background: rgba(255, 255, 255, .97);
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(4, 25, 58, .2);
}

body .domain-checker-advanced .input-group-box #message {
    display: block;
    width: 100%;
    min-width: 100%;
    min-height: 96px;
    padding: 14px 16px;
    flex: 1 0 100%;
    resize: vertical;
    color: var(--np-ink);
    background: #f6f9fd;
    border: 1px solid #dce6f2;
    border-radius: 11px;
    outline: none;
    line-height: 1.8;
}

body .domain-checker-advanced .input-group-box #message:focus {
    background: #fff;
    border-color: var(--np-blue-600);
    box-shadow: 0 0 0 3px rgba(23, 104, 215, .12);
}

body .domain-checker-advanced .input-group-box #btnCheckAvailability {
    min-width: 112px;
    min-height: 42px;
    padding: 0 16px;
    margin: 0;
    order: 4;
    color: #fff !important;
    background: linear-gradient(135deg, #1768d7, #079bc9) !important;
    border: 0;
    border-radius: 10px !important;
    box-shadow: 0 7px 18px rgba(23, 104, 215, .24);
    white-space: nowrap;
}

body .domain-checker-advanced .input-group-box .multiselect-native-select,
body .domain-checker-advanced .input-group-box > .btn-group {
    min-width: 135px;
    flex: 0 1 auto;
}

body .domain-checker-advanced .input-group-box button.multiselect {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    color: var(--np-blue-900);
    background: #f6f9fd;
    border: 1px solid #dce6f2;
    border-radius: 10px;
}

body .domain-checker-advanced .input-group-box > label {
    display: inline-flex;
    min-height: 42px;
    padding: 0 10px;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: var(--np-ink);
    font-size: .82rem;
    white-space: nowrap;
}

body .domain-checker-advanced .input-group-box > label input {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: var(--np-blue-600);
}

html[dir="rtl"] body .domain-checker-advanced .input-group-box,
html[dir="rtl"] body .domain-checker-advanced .input-group-box #message {
    direction: rtl;
    text-align: right;
}

html[data-theme="dark"] body .domain-checker-advanced .input-group-box {
    background: #101f31;
    border-color: #2c4661;
}

html[data-theme="dark"] body .domain-checker-advanced .input-group-box #message,
html[data-theme="dark"] body .domain-checker-advanced .input-group-box button.multiselect {
    color: #e7f0fb;
    background: #0d1a2a;
    border-color: #304a68;
}

html[data-theme="dark"] body .domain-checker-advanced .input-group-box #message::placeholder {
    color: #91a4bb;
    opacity: 1;
}

html[data-theme="dark"] body .domain-checker-advanced .input-group-box > label {
    color: #dce8f7;
}

@media (max-width: 767.98px) {
    body .domain-checker-container.domain-checker-advanced {
        margin: 16px 0 24px;
        border-radius: 15px;
    }

    body .domain-checker-advanced .domain-checker-bg {
        padding: 14px;
    }

    body .domain-checker-advanced .input-group-box {
        padding: 9px;
        gap: 8px;
        border-radius: 13px;
    }

    body .domain-checker-advanced .input-group-box #message {
        min-height: 112px;
    }

    body .domain-checker-advanced .input-group-box .multiselect-native-select,
    body .domain-checker-advanced .input-group-box > .btn-group {
        min-width: calc(50% - 4px);
        flex: 1 1 calc(50% - 4px);
    }

    body .domain-checker-advanced .input-group-box > label {
        flex: 1 1 auto;
    }

    body .domain-checker-advanced .input-group-box #btnCheckAvailability {
        flex: 1 1 100%;
        order: 5;
    }
}

@media (max-width: 420px) {
    body .domain-checker-advanced .input-group-box .multiselect-native-select,
    body .domain-checker-advanced .input-group-box > .btn-group,
    body .domain-checker-advanced .input-group-box > label {
        width: 100%;
        min-width: 100%;
        flex-basis: 100%;
    }
}

/* Homepage */

.np-hero {
    position: relative;
    padding: clamp(38px, 7vw, 86px);
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(125deg, rgba(5, 22, 55, .99), rgba(15, 65, 138, .96)),
        var(--np-navy);
    border-radius: var(--np-radius-lg);
    box-shadow: var(--np-shadow);
    isolation: isolate;
}

.np-hero::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    opacity: .18;
    background-image:
        linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: linear-gradient(to left, #000, transparent 85%);
}

.np-hero__glow {
    position: absolute;
    z-index: -1;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(15px);
}

.np-hero__glow--one {
    top: -180px;
    right: 20%;
    background: rgba(18, 188, 233, .28);
}

.np-hero__glow--two {
    bottom: -230px;
    left: 10%;
    background: rgba(255, 138, 52, .2);
}

.np-eyebrow,
.np-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--np-cyan);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .02em;
}

.np-eyebrow {
    padding: 8px 13px;
    color: #dff9ff;
    background: rgba(18, 188, 233, .13);
    border: 1px solid rgba(18, 188, 233, .28);
    border-radius: 999px;
}

.np-hero h1 {
    max-width: 700px;
    margin: 22px 0 18px;
    color: #fff;
    font-size: clamp(2rem, 5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: -.04em;
}

.np-hero h1 span {
    color: transparent;
    background: linear-gradient(90deg, var(--np-cyan), #8be5ff);
    -webkit-background-clip: text;
    background-clip: text;
}

.np-hero p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, .74);
    font-size: 1rem;
    line-height: 2;
}

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

.np-btn-primary,
.np-btn-ghost,
.np-btn-light {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 22px;
    border-radius: 13px;
    font-weight: 800;
}

.np-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--np-blue-600), var(--np-cyan));
    border: 0;
    box-shadow: 0 12px 25px rgba(18, 188, 233, .24);
}

.np-btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(18, 188, 233, .32);
}

.np-btn-ghost {
    color: #fff;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .2);
}

.np-btn-ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, .13);
}

.np-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
    color: rgba(255, 255, 255, .64);
    font-size: .8rem;
}

.np-trust-row i {
    margin-left: 5px;
    color: #4cdda1;
}

.np-cloud-visual {
    position: relative;
    width: 330px;
    height: 330px;
    margin: auto;
}

.np-cloud-core {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 155px;
    height: 155px;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .06));
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 50%;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .22), inset 0 0 40px rgba(18, 188, 233, .12);
    transform: translate(-50%, -50%);
    backdrop-filter: blur(12px);
}

.np-cloud-core i {
    align-self: end;
    font-size: 4.2rem;
    color: #dff9ff;
}

.np-cloud-core small {
    align-self: start;
    font-weight: 800;
}

.np-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.np-orbit--outer {
    width: 300px;
    height: 300px;
    animation: np-spin 18s linear infinite;
}

.np-orbit--inner {
    width: 225px;
    height: 225px;
    animation: np-spin-reverse 13s linear infinite;
}

.np-orbit span {
    position: absolute;
    top: -18px;
    left: 50%;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: var(--np-cyan);
    background: var(--np-blue-900);
    border: 1px solid rgba(18, 188, 233, .5);
    border-radius: 12px;
}

@keyframes np-spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes np-spin-reverse {
    to { transform: translate(-50%, -50%) rotate(-360deg); }
}

.np-section {
    padding: clamp(54px, 7vw, 88px) 0 12px;
}

.np-section--soft {
    padding-right: clamp(20px, 4vw, 48px);
    padding-left: clamp(20px, 4vw, 48px);
    background: linear-gradient(145deg, #fff, #f0f7ff);
    border: 1px solid #e2edf9;
    border-radius: var(--np-radius-lg);
}

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

.np-section-heading h2 {
    margin: 7px 0 0;
    color: var(--np-blue-900);
    font-size: clamp(1.45rem, 3vw, 2.2rem);
    font-weight: 900;
}

.np-section-heading > p {
    max-width: 500px;
    margin: 0;
    color: var(--np-muted);
    line-height: 1.9;
}

.np-product-card {
    display: flex;
    min-height: 142px;
    align-items: center;
    gap: 17px;
    height: 100%;
    padding: 22px;
    color: var(--np-ink);
    background: #fff;
    border: 1px solid var(--np-line);
    border-radius: var(--np-radius);
    box-shadow: var(--np-shadow-sm);
}

.np-product-card:hover {
    color: var(--np-blue-700);
    text-decoration: none;
    border-color: rgba(23, 104, 215, .25);
    transform: translateY(-5px);
    box-shadow: var(--np-shadow);
}

.np-product-card__icon {
    display: grid;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    place-items: center;
    color: var(--np-blue-600);
    background: var(--np-sky);
    border-radius: 15px;
    font-size: 1.25rem;
}

.np-product-card__body {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 7px;
}

.np-product-card__body strong {
    color: var(--np-blue-900);
    font-size: 1rem;
}

.np-product-card__body small {
    display: -webkit-box;
    overflow: hidden;
    color: var(--np-muted);
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.np-product-card__arrow {
    color: #a9b5c8;
}

.np-quick-card {
    display: flex;
    min-height: 174px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 9px;
    height: 100%;
    padding: 22px 12px;
    color: var(--np-ink);
    background: rgba(255, 255, 255, .8);
    border: 1px solid rgba(215, 227, 243, .9);
    border-radius: var(--np-radius);
}

.np-quick-card > i {
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: 4px;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, var(--np-blue-600), var(--np-cyan));
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(23, 104, 215, .2);
}

.np-quick-card strong {
    color: var(--np-blue-900);
}

.np-quick-card span {
    color: var(--np-muted);
    font-size: .76rem;
}

.np-quick-card:hover {
    color: inherit;
    text-decoration: none;
    background: #fff;
    transform: translateY(-5px);
    box-shadow: var(--np-shadow-sm);
}

.np-support-banner {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: clamp(26px, 5vw, 46px);
    margin-top: 62px;
    color: #fff;
    background:
        radial-gradient(circle at 90% 10%, rgba(18, 188, 233, .3), transparent 19rem),
        linear-gradient(110deg, var(--np-blue-900), var(--np-blue-700));
    border-radius: var(--np-radius-lg);
    box-shadow: var(--np-shadow);
}

.np-support-banner__icon {
    display: grid;
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    place-items: center;
    color: var(--np-cyan);
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 20px;
    font-size: 1.7rem;
}

.np-support-banner > div:nth-child(2) {
    flex: 1;
}

.np-support-banner span {
    color: var(--np-cyan);
    font-size: .77rem;
    font-weight: 800;
}

.np-support-banner h2 {
    margin: 5px 0 7px;
    color: #fff;
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 900;
}

.np-support-banner p {
    margin: 0;
    color: rgba(255, 255, 255, .68);
}

.np-btn-light {
    flex: 0 0 auto;
    color: var(--np-blue-900);
    background: #fff;
    border: 0;
}

.np-btn-light:hover {
    color: var(--np-blue-700);
    background: var(--np-sky);
    transform: translateY(-2px);
}

/* Cards, forms, tables and dashboard */

.card,
.panel,
.list-group {
    border-color: var(--np-line);
    border-radius: var(--np-radius);
    box-shadow: var(--np-shadow-sm);
}

.card-header,
.panel-heading {
    color: var(--np-blue-900);
    background: #fff;
    border-color: var(--np-line);
    font-weight: 800;
}

.client-home-cards .card,
.tiles .tile {
    overflow: hidden;
    border: 1px solid var(--np-line);
    border-radius: var(--np-radius);
    box-shadow: var(--np-shadow-sm);
}

.client-home-cards .card:hover,
.tiles .tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--np-shadow);
}

.form-control,
.custom-select,
.input-group-text {
    min-height: 44px;
    border-color: #dce4f0;
    border-radius: 11px;
}

.form-control:focus,
.custom-select:focus {
    border-color: var(--np-blue-600);
    box-shadow: 0 0 0 3px rgba(23, 104, 215, .12);
}

label {
    color: var(--np-ink);
    font-weight: 700;
}

.btn {
    border-radius: 10px;
    font-weight: 700;
}

.btn-primary,
.btn-success {
    border-color: var(--np-blue-600);
    background: var(--np-blue-600);
}

.btn-primary:hover,
.btn-success:hover {
    border-color: var(--np-blue-700);
    background: var(--np-blue-700);
    transform: translateY(-1px);
}

.btn-outline-primary {
    color: var(--np-blue-600);
    border-color: var(--np-blue-600);
}

.btn-outline-primary:hover {
    color: #fff;
    background: var(--np-blue-600);
}

.table {
    color: var(--np-ink);
    background: #fff;
}

.table thead th {
    color: var(--np-blue-900);
    background: #f4f8fd;
    border-color: var(--np-line);
    white-space: nowrap;
}

.table td {
    border-color: var(--np-line);
    vertical-align: middle;
}

.table-list {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--np-line);
    border-radius: var(--np-radius);
    box-shadow: var(--np-shadow-sm);
}

.dataTables_wrapper .dataTables_filter {
    text-align: left;
}

.badge {
    border-radius: 999px;
}

.alert {
    text-align: right;
    border-radius: var(--np-radius-sm);
}

.modal-content {
    border: 0;
    border-radius: var(--np-radius);
    box-shadow: 0 30px 80px rgba(5, 24, 58, .25);
}

/* Sidebars */

.sidebar .card,
.sidebar .panel {
    overflow: hidden;
    border: 1px solid var(--np-line);
    box-shadow: var(--np-shadow-sm);
}

.sidebar .list-group-item {
    padding: 12px 14px;
    color: var(--np-muted);
    border-color: var(--np-line);
}

.sidebar .list-group-item:hover,
.sidebar .list-group-item.active {
    color: var(--np-blue-700);
    background: var(--np-sky);
    border-color: var(--np-line);
}

/* Login and registration */

.logincontainer,
.providerLinkingFeedback,
.registration-form {
    padding: clamp(20px, 4vw, 38px);
    background: #fff;
    border: 1px solid var(--np-line);
    border-radius: var(--np-radius-lg);
    box-shadow: var(--np-shadow);
}

/* Login — direction-safe for RTL and LTR */

.np-login-form {
    display: flex;
    justify-content: center;
    padding: clamp(20px, 4vw, 58px) 0;
}

.np-login-card {
    position: relative;
    width: min(100%, 540px);
    overflow: hidden;
    background:
        radial-gradient(circle at 100% 0, rgba(18, 188, 233, .11), transparent 15rem),
        #fff;
    border: 1px solid var(--np-line);
    border-radius: 24px;
    box-shadow: var(--np-shadow);
}

.np-login-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    content: "";
    background: linear-gradient(90deg, var(--np-blue-600), var(--np-cyan));
}

.np-login-card .card-body {
    padding: clamp(28px, 5vw, 48px) !important;
}

.np-login-heading .h3 {
    color: var(--np-blue-900);
    font-size: clamp(23px, 3vw, 29px);
    font-weight: 900;
}

.np-login-heading .text-muted {
    color: var(--np-muted) !important;
}

.np-login-form .form-control-label {
    margin-bottom: 9px;
    color: var(--np-ink);
    font-size: 13px;
    font-weight: 800;
}

.np-login-label-row,
.np-login-actions,
.np-remember-me {
    display: flex;
    align-items: center;
}

.np-login-label-row {
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 9px;
}

.np-login-label-row .form-control-label {
    margin-bottom: 0;
}

.np-login-label-row a {
    color: var(--np-muted) !important;
}

.np-login-label-row a:hover {
    color: var(--np-blue-600) !important;
}

.np-login-input {
    flex-wrap: nowrap;
    border-radius: 13px;
    box-shadow: 0 0 0 3px transparent;
    transition: box-shadow .2s ease;
}

.np-login-input:focus-within {
    box-shadow: 0 0 0 3px rgba(23, 104, 215, .14);
}

.np-login-input .input-group-text,
.np-login-input .btn-reveal-pw {
    display: grid;
    min-width: 48px;
    place-items: center;
    color: var(--np-blue-600);
    background: var(--np-sky);
    border-color: #d7e5f5;
}

.np-login-input .form-control {
    min-width: 0;
    min-height: 48px;
    color: var(--np-ink);
    background: #fff;
    border-color: #d7e5f5;
}

.np-login-form #inputEmail {
    direction: ltr;
    text-align: left;
}

html[dir="rtl"] .np-login-input .input-group-prepend {
    margin-right: 0;
    margin-left: -1px;
}

html[dir="rtl"] .np-login-input .input-group-append {
    margin-right: -1px;
    margin-left: 0;
}

html[dir="rtl"] .np-login-input .input-group-prepend .input-group-text {
    border-radius: 0 12px 12px 0 !important;
}

html[dir="rtl"] .np-login-input .input-group-append .btn {
    border-radius: 12px 0 0 12px !important;
}

html[dir="rtl"] .np-login-input:not(.np-password-input) > .form-control {
    border-radius: 12px 0 0 12px !important;
}

html[dir="rtl"] .np-password-input > .form-control {
    border-radius: 0 !important;
}

html[dir="ltr"] .np-login-input .input-group-prepend {
    margin-right: -1px;
    margin-left: 0;
}

html[dir="ltr"] .np-login-input .input-group-append {
    margin-right: 0;
    margin-left: -1px;
}

html[dir="ltr"] .np-login-input .input-group-prepend .input-group-text {
    border-radius: 12px 0 0 12px !important;
}

html[dir="ltr"] .np-login-input .input-group-append .btn {
    border-radius: 0 12px 12px 0 !important;
}

html[dir="ltr"] .np-login-input:not(.np-password-input) > .form-control {
    border-radius: 0 12px 12px 0 !important;
}

html[dir="ltr"] .np-password-input > .form-control {
    border-radius: 0 !important;
}

.np-login-actions {
    justify-content: space-between;
    gap: 18px;
    margin-top: 28px;
}

.np-remember-me {
    gap: 9px;
    margin: 0;
    color: var(--np-ink);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
}

.np-remember-me input {
    position: static;
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: var(--np-blue-600);
}

.np-login-actions #login {
    min-width: 128px;
    min-height: 45px;
    padding: 10px 24px;
    color: #fff;
    background: linear-gradient(135deg, var(--np-blue-600), #0aa8d8);
    border: 0;
    border-radius: 12px;
    font-weight: 800;
    box-shadow: 0 9px 22px rgba(23, 104, 215, .24);
}

.np-login-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 17px clamp(20px, 5vw, 48px) !important;
    color: var(--np-muted);
    background: #f8fbff;
    border-color: var(--np-line);
}

html[data-theme="dark"] .np-login-card {
    color: #dce8f7;
    background:
        radial-gradient(circle at 100% 0, rgba(31, 139, 240, .14), transparent 17rem),
        linear-gradient(145deg, #132238, #0e1b2c);
    border-color: #2a405b !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
}

html[data-theme="dark"] .np-login-heading .h3,
html[data-theme="dark"] .np-login-form .form-control-label,
html[data-theme="dark"] .np-remember-me {
    color: #f1f6ff;
}

html[data-theme="dark"] .np-login-heading .text-muted,
html[data-theme="dark"] .np-login-label-row a {
    color: #a9bad0 !important;
}

html[data-theme="dark"] .np-login-input .input-group-text,
html[data-theme="dark"] .np-login-input .btn-reveal-pw {
    color: #75baff;
    background: #162a43;
    border-color: #304a68;
}

html[data-theme="dark"] .np-login-input .form-control {
    color: #eef5ff;
    background: #0a1727;
    border-color: #304a68;
}

html[data-theme="dark"] .np-login-input .form-control::placeholder {
    color: #8295ae;
    opacity: 1;
}

html[data-theme="dark"] .np-login-footer {
    color: #a9bad0;
    background: rgba(8, 17, 29, .34);
    border-color: #2a405b;
}

@media (max-width: 575.98px) {
    .np-login-form {
        padding: 8px 0 18px;
    }

    .np-login-card {
        margin-right: 0;
        margin-left: 0;
        border-radius: 18px;
    }

    .np-login-card .card-body {
        padding: 26px 20px !important;
    }

    .np-login-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .np-login-actions #login {
        width: 100%;
    }
}

/* Search is moved into the main navigation by Nexus on tablet/mobile. */
@media (max-width: 1199.98px) {
    body header#header.header .main-navbar-wrapper form.d-xl-none {
        width: 100%;
        min-width: 0;
        padding: 10px;
        margin: 0;
    }

    body header#header.header .main-navbar-wrapper .input-group.search {
        display: flex;
        width: 100%;
        min-width: 0;
        flex-wrap: nowrap;
        padding: 0;
        margin: 0 !important;
    }

    body header#header.header .main-navbar-wrapper .search {
        width: 100%;
        min-width: 0;
        padding: 0;
        margin: 0;
    }

    body header#header.header .main-navbar-wrapper .search form,
    body header#header.header .main-navbar-wrapper .search .input-group {
        display: flex;
        width: 100%;
        min-width: 0;
        flex-wrap: nowrap;
        margin: 0;
    }

    body header#header.header .main-navbar-wrapper .search .form-control {
        width: 1%;
        min-width: 0;
        height: 46px;
        flex: 1 1 auto;
        color: var(--np-ink);
        background: #fff;
        border: 1px solid #d7e2ef;
        box-shadow: none;
    }

    body header#header.header .main-navbar-wrapper .search .btn {
        display: grid;
        width: 46px;
        min-width: 46px;
        height: 46px;
        padding: 0;
        flex: 0 0 46px;
        place-items: center;
        color: var(--np-blue-600);
        background: #fff;
        border: 1px solid #d7e2ef;
        box-shadow: none;
    }

    html[dir="rtl"] body header#header.header .main-navbar-wrapper .search form,
    html[dir="rtl"] body header#header.header .main-navbar-wrapper .search .input-group,
    html[dir="rtl"] body header#header.header .main-navbar-wrapper .input-group.search {
        direction: ltr;
        flex-direction: row;
        gap: 0;
    }

    html[dir="rtl"] body header#header.header .main-navbar-wrapper .search .form-control {
        order: 2;
        direction: rtl;
        text-align: right;
        border-left: 0;
        border-radius: 0 12px 12px 0;
    }

    html[dir="rtl"] body header#header.header .main-navbar-wrapper .input-group.search > .input-group-prepend {
        order: 1;
        margin: 0;
    }

    html[dir="rtl"] body header#header.header .main-navbar-wrapper .search .btn {
        border-right: 0;
        border-radius: 12px 0 0 12px;
    }

    html[dir="ltr"] body header#header.header .main-navbar-wrapper .search form,
    html[dir="ltr"] body header#header.header .main-navbar-wrapper .search .input-group,
    html[dir="ltr"] body header#header.header .main-navbar-wrapper .input-group.search {
        direction: ltr;
    }

    html[dir="ltr"] body header#header.header .main-navbar-wrapper .search .form-control {
        order: 1;
        text-align: left;
        border-right: 0;
        border-radius: 12px 0 0 12px;
    }

    html[dir="ltr"] body header#header.header .main-navbar-wrapper .input-group.search > .input-group-prepend {
        order: 2;
        margin: 0;
    }

    html[dir="ltr"] body header#header.header .main-navbar-wrapper .search .btn {
        border-left: 0;
        border-radius: 0 12px 12px 0;
    }

    body header#header.header .main-navbar-wrapper .search .form-control:focus {
        border-color: #8abcf4;
        box-shadow: inset 0 0 0 1px #8abcf4;
    }
}

/* View-ticket CC recipient control */
html[dir="rtl"] body #inputAddCcEmail,
html[dir="rtl"] body input[name="ccemail"],
html[dir="rtl"] body input[name="ccEmail"] {
    direction: rtl;
    text-align: right;
    border-radius: 0 10px 10px 0 !important;
}

html[dir="rtl"] body #inputAddCcEmail + .input-group-append,
html[dir="rtl"] body input[name="ccemail"] + .input-group-append,
html[dir="rtl"] body input[name="ccEmail"] + .input-group-append {
    margin-right: -1px;
    margin-left: 0;
}

html[dir="rtl"] body #inputAddCcEmail + .input-group-append .btn,
html[dir="rtl"] body input[name="ccemail"] + .input-group-append .btn,
html[dir="rtl"] body input[name="ccEmail"] + .input-group-append .btn {
    border-radius: 10px 0 0 10px !important;
}

html[dir="ltr"] body #inputAddCcEmail,
html[dir="ltr"] body input[name="ccemail"],
html[dir="ltr"] body input[name="ccEmail"] {
    direction: ltr;
    text-align: left;
    border-radius: 10px 0 0 10px !important;
}

html[dir="ltr"] body #inputAddCcEmail + .input-group-append .btn,
html[dir="ltr"] body input[name="ccemail"] + .input-group-append .btn,
html[dir="ltr"] body input[name="ccEmail"] + .input-group-append .btn {
    border-radius: 0 10px 10px 0 !important;
}

/* View-ticket reply action — retain readable text in both colour modes. */
body a[href="#ticketReply"].btn,
body a[onclick*="ticketReply"].btn,
body button[data-target="#ticketReply"],
body button[onclick*="ticketReply"],
body #btnReply {
    color: var(--np-blue-900) !important;
    background: #fff !important;
    border-color: #d7e2ef !important;
    font-weight: 800;
}

body a[href="#ticketReply"].btn i,
body a[onclick*="ticketReply"].btn i,
body button[data-target="#ticketReply"] i,
body button[onclick*="ticketReply"] i,
body #btnReply i {
    color: var(--np-blue-600) !important;
}

body a[href="#ticketReply"].btn:hover,
body a[href="#ticketReply"].btn:focus,
body a[onclick*="ticketReply"].btn:hover,
body a[onclick*="ticketReply"].btn:focus,
body button[data-target="#ticketReply"]:hover,
body button[data-target="#ticketReply"]:focus,
body button[onclick*="ticketReply"]:hover,
body button[onclick*="ticketReply"]:focus,
body #btnReply:hover,
body #btnReply:focus {
    color: #fff !important;
    background: var(--np-blue-600) !important;
    border-color: var(--np-blue-600) !important;
}

body a[href="#ticketReply"].btn:hover i,
body a[href="#ticketReply"].btn:focus i,
body a[onclick*="ticketReply"].btn:hover i,
body a[onclick*="ticketReply"].btn:focus i,
body button[data-target="#ticketReply"]:hover i,
body button[data-target="#ticketReply"]:focus i,
body button[onclick*="ticketReply"]:hover i,
body button[onclick*="ticketReply"]:focus i,
body #btnReply:hover i,
body #btnReply:focus i {
    color: #fff !important;
}

/*
 * Nexus renders the reply action as a light/default button and does not expose
 * the ticketReply target on every instance (header and sidebar differ).
 */
html[data-theme="dark"] body .primary-content .btn-light,
html[data-theme="dark"] body .primary-content .btn-default,
html[data-theme="dark"] body .primary-content .btn-white,
html[data-theme="dark"] body .sidebar .btn-light,
html[data-theme="dark"] body .sidebar .btn-default,
html[data-theme="dark"] body .sidebar .btn-white,
html[data-theme="dark"] body .primary-content .btn:has(.fa-pencil),
html[data-theme="dark"] body .primary-content .btn:has(.fa-pencil-alt),
html[data-theme="dark"] body .primary-content .btn:has(.fa-pen),
html[data-theme="dark"] body .sidebar .btn:has(.fa-pencil),
html[data-theme="dark"] body .sidebar .btn:has(.fa-pencil-alt),
html[data-theme="dark"] body .sidebar .btn:has(.fa-pen) {
    color: #0b2d5c !important;
    background-color: #fff !important;
    border-color: #d7e2ef !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

html[data-theme="dark"] body .primary-content .btn-light i,
html[data-theme="dark"] body .primary-content .btn-default i,
html[data-theme="dark"] body .primary-content .btn-white i,
html[data-theme="dark"] body .sidebar .btn-light i,
html[data-theme="dark"] body .sidebar .btn-default i,
html[data-theme="dark"] body .sidebar .btn-white i,
html[data-theme="dark"] body .primary-content .btn:has(.fa-pencil) i,
html[data-theme="dark"] body .primary-content .btn:has(.fa-pencil-alt) i,
html[data-theme="dark"] body .primary-content .btn:has(.fa-pen) i,
html[data-theme="dark"] body .sidebar .btn:has(.fa-pencil) i,
html[data-theme="dark"] body .sidebar .btn:has(.fa-pencil-alt) i,
html[data-theme="dark"] body .sidebar .btn:has(.fa-pen) i {
    color: #1768d7 !important;
    opacity: 1 !important;
}

html[data-theme="dark"] body .primary-content .btn-light:hover,
html[data-theme="dark"] body .primary-content .btn-default:hover,
html[data-theme="dark"] body .primary-content .btn-white:hover,
html[data-theme="dark"] body .sidebar .btn-light:hover,
html[data-theme="dark"] body .sidebar .btn-default:hover,
html[data-theme="dark"] body .sidebar .btn-white:hover {
    color: #fff !important;
    background-color: #1768d7 !important;
    border-color: #3282e8 !important;
}

html[data-theme="dark"] body .primary-content .btn-light:hover i,
html[data-theme="dark"] body .primary-content .btn-default:hover i,
html[data-theme="dark"] body .primary-content .btn-white:hover i,
html[data-theme="dark"] body .sidebar .btn-light:hover i,
html[data-theme="dark"] body .sidebar .btn-default:hover i,
html[data-theme="dark"] body .sidebar .btn-white:hover i {
    color: #fff !important;
}

/* Ticket reply attachments — native file input and add-more action. */
html[dir="rtl"] body form[action*="viewticket"] .input-group:has(input[type="file"]),
html[dir="rtl"] body #ticketReply .input-group:has(input[type="file"]),
html[dir="rtl"] body #ticketReplyContainer .input-group:has(input[type="file"]) {
    direction: rtl;
    flex-direction: row;
    flex-wrap: nowrap;
}

html[dir="rtl"] body form[action*="viewticket"] input[type="file"],
html[dir="rtl"] body #ticketReply input[type="file"],
html[dir="rtl"] body #ticketReplyContainer input[type="file"] {
    min-width: 0;
    direction: rtl;
    text-align: right;
    border-radius: 0 10px 10px 0 !important;
}

html[dir="rtl"] body form[action*="viewticket"] .input-group:has(input[type="file"]) .input-group-append,
html[dir="rtl"] body #ticketReply .input-group:has(input[type="file"]) .input-group-append,
html[dir="rtl"] body #ticketReplyContainer .input-group:has(input[type="file"]) .input-group-append {
    margin-right: -1px;
    margin-left: 0;
}

html[dir="rtl"] body form[action*="viewticket"] .input-group:has(input[type="file"]) .input-group-append .btn,
html[dir="rtl"] body #ticketReply .input-group:has(input[type="file"]) .input-group-append .btn,
html[dir="rtl"] body #ticketReplyContainer .input-group:has(input[type="file"]) .input-group-append .btn {
    height: 44px;
    border-radius: 10px 0 0 10px !important;
    white-space: nowrap;
}

html[dir="ltr"] body form[action*="viewticket"] input[type="file"],
html[dir="ltr"] body #ticketReply input[type="file"],
html[dir="ltr"] body #ticketReplyContainer input[type="file"] {
    min-width: 0;
    direction: ltr;
    text-align: left;
    border-radius: 10px 0 0 10px !important;
}

html[dir="ltr"] body form[action*="viewticket"] .input-group:has(input[type="file"]) .input-group-append .btn,
html[dir="ltr"] body #ticketReply .input-group:has(input[type="file"]) .input-group-append .btn,
html[dir="ltr"] body #ticketReplyContainer .input-group:has(input[type="file"]) .input-group-append .btn {
    height: 44px;
    border-radius: 0 10px 10px 0 !important;
    white-space: nowrap;
}

html[data-theme="dark"] body form[action*="viewticket"] input[type="file"],
html[data-theme="dark"] body #ticketReply input[type="file"],
html[data-theme="dark"] body #ticketReplyContainer input[type="file"] {
    color: #dce8f7;
    background: #0d1a2a;
    border-color: #304a68;
}

/* Nexus does not consistently wrap the attachment input in #ticketReply. */
html[data-theme="dark"] body .primary-content .input-group:has(input[type="file"]) {
    overflow: hidden;
    background: #0d1a2a !important;
    border: 1px solid #304a68;
    border-radius: 10px;
}

html[data-theme="dark"] body .primary-content input[type="file"] {
    height: 44px;
    color: #b9c9dc !important;
    color-scheme: dark;
    background-color: #0d1a2a !important;
    border: 0 !important;
    box-shadow: none !important;
}

html[data-theme="dark"] body .primary-content input[type="file"]::file-selector-button {
    height: 44px;
    padding: 0 16px;
    color: #eaf3ff;
    background: #20364e;
    border: 0;
    border-inline-end: 1px solid #304a68;
    cursor: pointer;
}

html[data-theme="dark"] body .primary-content .input-group:has(input[type="file"]) .input-group-append {
    margin: 0;
}

html[data-theme="dark"] body .primary-content .input-group:has(input[type="file"]) .input-group-append .btn {
    height: 44px;
    color: #fff !important;
    background: var(--np-blue-600) !important;
    border: 0 !important;
    box-shadow: none;
}

html[data-theme="dark"] body .primary-content .input-group:has(input[type="file"]) .input-group-append .btn i {
    color: #fff !important;
}

html[data-theme="dark"] body .primary-content .input-group:has(input[type="file"]) .input-group-append .btn:hover {
    background: var(--np-blue-700) !important;
}

/* Bootstrap custom-file overlays the native input with this label. */
body .primary-content .input-group:has(input[type="file"]) .custom-file {
    min-width: 0;
    height: 44px;
    flex: 1 1 auto;
}

body .primary-content .input-group:has(input[type="file"]) .custom-file-label {
    height: 44px;
    padding-block: 9px;
    margin: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    line-height: 24px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body .primary-content .input-group:has(input[type="file"]) .custom-file-label::after {
    height: 44px;
    padding-block: 9px;
    border: 0;
    border-inline-start: 1px solid var(--np-line);
    line-height: 24px;
}

html[dir="rtl"] body .primary-content .input-group:has(input[type="file"]) .custom-file-label {
    padding-right: 16px;
    padding-left: 92px;
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] body .primary-content .input-group:has(input[type="file"]) .custom-file-label::after {
    right: auto;
    left: 0;
    border-right: 1px solid var(--np-line);
    border-left: 0;
}

html[dir="ltr"] body .primary-content .input-group:has(input[type="file"]) .custom-file-label {
    padding-right: 92px;
    padding-left: 16px;
    direction: ltr;
    text-align: left;
}

html[data-theme="dark"] body .primary-content .input-group:has(input[type="file"]) .custom-file-label {
    color: #b9c9dc !important;
    background: #0d1a2a !important;
}

html[data-theme="dark"] body .primary-content .input-group:has(input[type="file"]) .custom-file-label::after {
    color: #eaf3ff !important;
    background: #20364e !important;
    border-color: #304a68 !important;
}

@media (max-width: 575.98px) {
    html[dir] body .primary-content .input-group:has(input[type="file"]) {
        overflow: visible;
        background: transparent !important;
        border: 0;
        border-radius: 0;
    }

    html[dir] body .primary-content .input-group:has(input[type="file"]) .custom-file,
    html[dir] body .primary-content .input-group:has(input[type="file"]) input[type="file"] {
        width: 100%;
        flex: 0 0 44px;
        border: 1px solid #dce4f0 !important;
        border-radius: 10px !important;
    }

    html[data-theme="dark"] body .primary-content .input-group:has(input[type="file"]) .custom-file,
    html[data-theme="dark"] body .primary-content .input-group:has(input[type="file"]) input[type="file"] {
        border-color: #304a68 !important;
    }

    html[dir] body .primary-content .input-group:has(input[type="file"]) .custom-file-label {
        border-radius: 10px !important;
    }

    html[dir] body .primary-content .input-group:has(input[type="file"]) .custom-file-label::after {
        border-start-end-radius: 10px;
        border-end-end-radius: 10px;
    }

    html[dir="rtl"] body .primary-content .input-group:has(input[type="file"]) .custom-file-label::after {
        border-radius: 10px 0 0 10px;
    }

    html[dir="ltr"] body .primary-content .input-group:has(input[type="file"]) .custom-file-label::after {
        border-radius: 0 10px 10px 0;
    }

    html[dir] body .primary-content .input-group:has(input[type="file"]) .input-group-append {
        display: flex;
        width: 100%;
        flex: 0 0 44px;
    }

    html[dir] body .primary-content .input-group:has(input[type="file"]) .input-group-append .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    html[dir] body form[action*="viewticket"] .input-group:has(input[type="file"]),
    html[dir] body #ticketReply .input-group:has(input[type="file"]),
    html[dir] body #ticketReplyContainer .input-group:has(input[type="file"]) {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
    }

    html[dir] body form[action*="viewticket"] input[type="file"],
    html[dir] body #ticketReply input[type="file"],
    html[dir] body #ticketReplyContainer input[type="file"],
    html[dir] body form[action*="viewticket"] .input-group:has(input[type="file"]) .input-group-append .btn,
    html[dir] body #ticketReply .input-group:has(input[type="file"]) .input-group-append .btn,
    html[dir] body #ticketReplyContainer .input-group:has(input[type="file"]) .input-group-append .btn {
        width: 100%;
        border-radius: 10px !important;
    }

    html[dir] body form[action*="viewticket"] .input-group:has(input[type="file"]) .input-group-append,
    html[dir] body #ticketReply .input-group:has(input[type="file"]) .input-group-append,
    html[dir] body #ticketReplyContainer .input-group:has(input[type="file"]) .input-group-append {
        width: 100%;
        margin: 0;
    }
}

/* Password reset */

.np-password-reset {
    padding: clamp(20px, 4vw, 58px) 0;
}

.np-password-reset > .card {
    position: relative;
    width: min(100%, 540px);
    overflow: hidden;
    background:
        radial-gradient(circle at 100% 0, rgba(18, 188, 233, .12), transparent 15rem),
        #fff;
    border: 1px solid var(--np-line);
    border-radius: 24px;
    box-shadow: 0 22px 65px rgba(14, 42, 91, .14);
}

.np-password-reset > .card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    content: "";
    background: linear-gradient(90deg, var(--np-blue-600), var(--np-cyan));
}

.np-password-reset .card-body {
    padding: clamp(28px, 5vw, 48px) !important;
}

.np-password-reset .h3 {
    margin-bottom: 12px;
    color: var(--np-blue-900);
    font-size: clamp(23px, 3vw, 29px);
    font-weight: 900;
}

.np-password-reset .text-muted,
.np-password-reset p {
    color: var(--np-muted) !important;
    line-height: 2;
}

.np-password-reset form {
    margin-top: 28px;
}

.np-password-reset label {
    margin-bottom: 9px;
    color: var(--np-ink);
    font-size: 13px;
    font-weight: 800;
}

.np-password-reset .input-group {
    flex-wrap: nowrap;
    border-radius: 13px;
    box-shadow: 0 0 0 3px transparent;
    transition: box-shadow .2s ease;
}

.np-password-reset .input-group:focus-within {
    box-shadow: 0 0 0 3px rgba(23, 104, 215, .14);
}

.np-password-reset .input-group-text {
    display: grid;
    min-width: 48px;
    place-items: center;
    color: var(--np-blue-600);
    background: var(--np-sky);
    border-color: #d7e5f5;
}

.np-password-reset .form-control {
    min-height: 48px;
    color: var(--np-ink);
    background: #fff;
    border-color: #d7e5f5;
}

.np-password-reset #inputEmail {
    direction: ltr;
    text-align: left;
}

html[dir="rtl"] .np-password-reset .input-group-prepend {
    margin-right: 0;
    margin-left: -1px;
}

html[dir="rtl"] .np-password-reset .input-group-prepend .input-group-text {
    border-radius: 0 12px 12px 0 !important;
}

html[dir="rtl"] .np-password-reset .input-group > .form-control {
    border-radius: 12px 0 0 12px !important;
}

html[dir="ltr"] .np-password-reset .input-group-prepend {
    margin-right: -1px;
    margin-left: 0;
}

html[dir="ltr"] .np-password-reset .input-group-prepend .input-group-text {
    border-radius: 12px 0 0 12px !important;
}

html[dir="ltr"] .np-password-reset .input-group > .form-control {
    border-radius: 0 12px 12px 0 !important;
}

.np-password-reset #resetPasswordButton,
.np-password-reset input[type="submit"],
.np-password-reset button[type="submit"] {
    min-width: 128px;
    min-height: 45px;
    padding: 10px 24px;
    color: #fff;
    background: linear-gradient(135deg, var(--np-blue-600), #0aa8d8);
    border: 0;
    border-radius: 12px;
    font-weight: 800;
    box-shadow: 0 9px 22px rgba(23, 104, 215, .24);
}

.np-password-reset #resetPasswordButton:hover,
.np-password-reset input[type="submit"]:hover,
.np-password-reset button[type="submit"]:hover {
    background: linear-gradient(135deg, #2379e4, #12bce9);
    box-shadow: 0 12px 27px rgba(23, 104, 215, .32);
    transform: translateY(-1px);
}

html[data-theme="dark"] .np-password-reset > .card {
    color: #dce8f7;
    background:
        radial-gradient(circle at 100% 0, rgba(31, 139, 240, .14), transparent 17rem),
        linear-gradient(145deg, #132238, #0e1b2c);
    border-color: #2a405b !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
}

html[data-theme="dark"] .np-password-reset .h3,
html[data-theme="dark"] .np-password-reset label {
    color: #f1f6ff;
}

html[data-theme="dark"] .np-password-reset .text-muted,
html[data-theme="dark"] .np-password-reset p {
    color: #a9bad0 !important;
}

html[data-theme="dark"] .np-password-reset .input-group-text {
    color: #75baff;
    background: #162a43;
    border-color: #304a68;
}

html[data-theme="dark"] .np-password-reset .form-control {
    color: #eef5ff;
    background: #0a1727;
    border-color: #304a68;
}

html[data-theme="dark"] .np-password-reset .form-control::placeholder {
    color: #8295ae;
    opacity: 1;
}

.np-sms-password-reset .alert {
    margin-bottom: 22px;
    line-height: 1.8;
}

.np-sms-password-reset .np-code-input {
    direction: ltr;
    text-align: center;
    letter-spacing: .45em;
    font-size: 20px;
    font-weight: 800;
}

.np-sms-password-reset .np-resend-form {
    margin-top: -14px;
    text-align: center;
}

.np-sms-password-reset .np-resend-form .btn-link {
    min-width: 0;
    min-height: auto;
    padding: 4px 8px;
    color: var(--np-blue-600);
    background: transparent;
    border: 0;
    box-shadow: none;
    font-size: 13px;
}

html[data-theme="dark"] .np-sms-password-reset .alert-warning {
    color: #ffe0a3;
    background: #302513;
    border-color: #6b5426;
}

html[data-theme="dark"] .np-sms-password-reset .alert-info {
    color: #b9e5ff;
    background: #102b3e;
    border-color: #235678;
}

html[data-theme="dark"] .np-sms-password-reset .alert-success {
    color: #b9f2d3;
    background: #102d24;
    border-color: #27624d;
}

html[data-theme="dark"] .np-sms-password-reset .np-resend-form .btn-link {
    color: #75baff;
}

@media (max-width: 575.98px) {
    .np-password-reset {
        padding: 8px 0 18px;
    }

    .np-password-reset > .card {
        margin-right: 0;
        margin-left: 0;
        border-radius: 18px;
    }

    .np-password-reset .card-body {
        padding: 26px 20px !important;
    }

    .np-password-reset #resetPasswordButton,
    .np-password-reset input[type="submit"],
    .np-password-reset button[type="submit"] {
        width: 100%;
    }
}

/* Footer */

.footer {
    position: relative;
    padding: 45px 0 34px;
    overflow: hidden;
    color: rgba(255, 255, 255, .7);
    background:
        radial-gradient(circle at 85% 0, rgba(18, 188, 233, .17), transparent 25rem),
        var(--np-navy);
    border: 0;
}

.footer::before {
    display: none;
    content: none;
}

.footer .nav-link,
.footer a {
    color: rgba(255, 255, 255, .72);
}

.footer a:hover {
    color: var(--np-cyan);
}

.footer .copyright {
    padding-top: 18px;
    margin-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

/* RTL fixes for Bootstrap/Nexus */

.mr-auto {
    margin-right: 0 !important;
    margin-left: auto !important;
}

.ml-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

.mr-2 {
    margin-right: 0 !important;
    margin-left: .5rem !important;
}

.ml-2 {
    margin-right: .5rem !important;
    margin-left: 0 !important;
}

.float-right {
    float: left !important;
}

.float-left {
    float: right !important;
}

.text-right {
    text-align: left !important;
}

.text-left {
    text-align: right !important;
}

.input-group-prepend {
    margin-right: 0;
    margin-left: -1px;
}

.input-group-append {
    margin-right: -1px;
    margin-left: 0;
}

.custom-control {
    padding-right: 1.5rem;
    padding-left: 0;
}

.custom-control-label::before,
.custom-control-label::after {
    right: -1.5rem;
    left: auto;
}

/* Responsive */

@media (max-width: 1199.98px) {
    .main-navbar-wrapper .navbar-collapse {
        padding: 12px 0 18px;
    }

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

    .main-navbar-wrapper .nav-link::after {
        display: none;
    }

    .main-navbar-wrapper .dropdown-menu {
        color: #fff;
        background: rgba(255, 255, 255, .06);
        border-color: rgba(255, 255, 255, .1);
        box-shadow: none;
    }

    .main-navbar-wrapper .dropdown-item {
        color: rgba(255, 255, 255, .8);
    }
}

@media (max-width: 991.98px) {
    #main-body {
        padding-top: 26px;
    }

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

    .np-support-banner {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .np-support-banner .np-btn-light {
        margin-right: 94px;
    }
}

@media (max-width: 767.98px) {
    .container {
        width: min(100% - 22px, 1240px);
    }

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

    .header .navbar-brand .logo-img {
        max-width: 135px;
        max-height: 43px;
    }

    .np-hero {
        padding: 34px 24px;
        border-radius: 22px;
    }

    .np-hero h1 {
        font-size: 2rem;
    }

    .np-hero__actions .btn {
        width: 100%;
    }

    .np-trust-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .np-section {
        padding-top: 52px;
    }

    .np-section--soft {
        padding-right: 14px;
        padding-left: 14px;
    }

    .np-quick-card {
        min-height: 150px;
        padding: 16px 8px;
    }

    .np-support-banner {
        gap: 16px;
        padding: 26px 22px;
        border-radius: 22px;
    }

    .np-support-banner__icon {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
        border-radius: 16px;
    }

    .np-support-banner > div:nth-child(2) {
        flex-basis: calc(100% - 72px);
    }

    .np-support-banner .np-btn-light {
        width: 100%;
        margin: 4px 0 0;
    }

    .table-list,
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .footer {
        text-align: center;
    }

    .footer .nav {
        justify-content: center !important;
    }

    .footer .float-lg-right {
        float: none !important;
    }
}

/* Persian/RTL component alignment */

html[dir="rtl"] body .primary-content .tiles .tile .stat,
html[dir="rtl"] body .primary-content .tiles .tile .title {
    text-align: right;
}

html[dir="rtl"] body .primary-content .client-home-cards .card-header,
html[dir="rtl"] body .sidebar .card-header,
html[dir="rtl"] body .sidebar .panel-heading {
    text-align: right;
}

html[dir="rtl"] body .primary-content .client-home-cards .card-title,
html[dir="rtl"] body .sidebar .card-title {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

html[dir="rtl"] body .primary-content .client-home-cards .card-title i,
html[dir="rtl"] body .sidebar .card-title i {
    margin: 0 !important;
}

html[dir="rtl"] body .client-home-cards .input-group {
    direction: rtl;
}

html[dir="rtl"] body .client-home-cards .input-group .form-control {
    min-width: 0;
    direction: ltr;
    text-align: left;
    border-radius: 0 10px 10px 0;
}

html[dir="rtl"] body .client-home-cards .input-group-prepend,
html[dir="rtl"] body .client-home-cards .input-group-append {
    margin: 0;
}

html[dir="rtl"] body .client-home-cards .input-group-prepend .btn:first-child,
html[dir="rtl"] body .client-home-cards .input-group-append .btn:first-child {
    border-radius: 0;
}

html[dir="rtl"] body .client-home-cards .input-group-prepend .btn:last-child,
html[dir="rtl"] body .client-home-cards .input-group-append .btn:last-child {
    border-radius: 10px 0 0 10px;
}

html[dir="rtl"] body header#header.header .topbar .d-flex {
    min-height: 38px;
    align-items: center;
}

html[dir="rtl"] body header#header.header .topbar .active-client {
    direction: rtl;
    min-height: 38px;
    overflow: hidden;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 11px;
}

html[dir="rtl"] body header#header.header .topbar .active-client .input-group-prepend {
    margin: 0;
}

html[dir="rtl"] body header#header.header .topbar .active-client .input-group-text {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    white-space: nowrap;
    background: transparent;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, .15);
    border-radius: 0;
    font-size: 12px;
}

html[dir="rtl"] body header#header.header .topbar .active-client .btn-group {
    direction: rtl;
}

html[dir="rtl"] body header#header.header .topbar .active-client .btn {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0 11px;
    background: transparent;
    border: 0;
    border-radius: 0;
}

html[dir="rtl"] body header#header.header .topbar .active-client .btn-active-client {
    min-width: 170px;
    justify-content: flex-start;
    text-align: right;
}

html[dir="rtl"] body header#header.header .topbar .active-client .btn i {
    display: block;
    margin: 0;
    line-height: 1;
}

html[dir="rtl"] body header#header.header .topbar .active-client .btn-active-client span {
    border-bottom-color: rgba(255, 255, 255, .35);
}

html[dir="rtl"] body header#header.header .topbar .active-client .btn-group .btn:last-child {
    border-right: 1px solid rgba(255, 255, 255, .15);
}

html[dir="rtl"] body header#header.header .topbar .active-client .btn:hover,
html[dir="rtl"] body header#header.header .topbar .active-client .btn:focus {
    background: rgba(255, 255, 255, .09);
}

@media (max-width: 575.98px) {
    html[dir="rtl"] body header#header.header .topbar .active-client .btn-active-client {
        min-width: 0;
        max-width: 190px;
    }

    html[dir="rtl"] body header#header.header .topbar .active-client .btn-active-client span {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* RTL spacing for sidebar filters and DataTables footer controls */

html[dir="rtl"] body .sidebar .list-group-item > i,
html[dir="rtl"] body .sidebar .list-group-item > .fas,
html[dir="rtl"] body .sidebar .list-group-item > .far,
html[dir="rtl"] body .sidebar .list-group-item > .fal,
html[dir="rtl"] body .sidebar .list-group-item > .fad {
    margin-right: 0 !important;
    margin-left: 9px !important;
}

html[dir="rtl"] body .sidebar .list-group-item label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
}

html[dir="rtl"] body .sidebar .list-group-item .sidebar-menu-item-wrapper {
    align-items: center;
}

html[dir="rtl"] body .sidebar .list-group-item .sidebar-menu-item-icon-wrapper {
    flex: 0 0 auto;
    margin-right: 0 !important;
    margin-left: 9px !important;
}

html[dir="rtl"] body .sidebar .list-group-item .sidebar-menu-item-icon {
    display: block;
    margin: 0 !important;
}

/* Bootstrap form-check is positioned for LTR by default. */

html[dir="rtl"] body .form-check {
    display: flex;
    padding-right: 0;
    padding-left: 0;
    align-items: center;
    gap: 10px;
}

html[dir="rtl"] body .form-check > label,
html[dir="rtl"] body label.form-check-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}

html[dir="rtl"] body .form-check .form-check-input {
    position: static;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    margin: 0 !important;
    vertical-align: middle;
}

html[dir="rtl"] body .form-check-inline {
    margin-right: 0;
    margin-left: 1rem;
}

/*
 * Private nameserver values are domain names and must retain their logical
 * left-to-right order even while the surrounding form is RTL.
 */
html[dir="rtl"] body .input-group:has(> input[id^="inputNs"]) {
    direction: ltr;
}

html[dir="rtl"] body .input-group:has(> input[id^="inputNs"]) > .form-control {
    direction: ltr;
    text-align: left;
    border-radius: 11px 0 0 11px;
}

html[dir="rtl"] body .input-group:has(> input[id^="inputNs"]) > .input-group-append {
    margin-right: 0;
    margin-left: -1px;
}

html[dir="rtl"] body .input-group:has(> input[id^="inputNs"]) > .input-group-append > .input-group-text {
    direction: ltr;
    white-space: nowrap;
    border-radius: 0 11px 11px 0;
}

html[dir="rtl"] body input[id^="inputIp"] {
    direction: ltr;
    text-align: left;
}

html[dir="rtl"] body .dataTables_wrapper .dataTables_length label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    white-space: nowrap;
}

html[dir="rtl"] body .dataTables_wrapper .dataTables_length select {
    min-width: 64px;
    margin: 0 !important;
}

html[dir="rtl"] body .dataTables_wrapper .dataTables_paginate {
    display: flex;
    align-items: center;
    margin-right: 0;
    margin-left: 18px;
}

html[dir="rtl"] body .dataTables_wrapper .dataTables_paginate .pagination {
    display: flex;
    align-items: center;
    gap: 3px;
    margin: 0;
}

html[dir="rtl"] body .dataTables_wrapper .dataTables_paginate .page-link {
    display: inline-flex;
    min-width: 38px;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
}

@media (max-width: 600px) {
    html[dir="rtl"] body .dataTables_wrapper .dataTables_paginate {
        width: 100%;
        justify-content: center;
        margin: 14px 0 0;
    }

    html[dir="rtl"] body .dataTables_wrapper .dataTables_length {
        display: flex;
        justify-content: center;
    }
}

/* Nexus homepage domain search and the desktop utility header */

@media (min-width: 1200px) {
    body header#header.header > div.navbar.navbar-light {
        display: none !important;
    }
}

/*
 * Hide only the empty notification control. Keep the active-client identity
 * visible and make the utility bar readable in both themes.
 */
body header#header.header .topbar .mr-auto:has(#accountNotificationsContent .client-alerts > li.none):not(:has(#accountNotificationsContent .client-alerts > li:not(.none))) {
    display: none !important;
}

body header#header.header .topbar {
    color: rgba(255, 255, 255, .88) !important;
    background: linear-gradient(100deg, #071a3d, #123f8c) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

body header#header.header .topbar .btn,
body header#header.header .topbar .input-group-text,
body header#header.header .topbar .btn-active-client,
body header#header.header .topbar .btn-active-client span {
    color: rgba(255, 255, 255, .9) !important;
}

body header#header.header .topbar .btn:hover,
body header#header.header .topbar .btn:focus {
    color: #fff !important;
    background: rgba(255, 255, 255, .1);
}

html[data-theme="dark"] body header#header.header .topbar {
    color: #c5d4e7 !important;
    background: #0d1b2e !important;
    border-bottom: 1px solid #243b57;
}

html[data-theme="dark"] body .home-domain-search.bg-white {
    color: var(--np-ink);
    background:
        radial-gradient(circle at 15% 0, rgba(49, 139, 240, .14), transparent 28rem),
        linear-gradient(135deg, #0c1828, #101f33) !important;
    border-top: 1px solid #1f334c;
    border-bottom: 1px solid #1f334c;
}

html[data-theme="dark"] body .home-domain-search h2 {
    color: #e7f1ff;
}

html[data-theme="dark"] body .home-domain-search .input-group-wrapper {
    padding: 6px;
    background: #14243a;
    border-color: #2b405c;
    box-shadow: 0 16px 42px rgba(0, 0, 0, .24);
}

html[data-theme="dark"] body .home-domain-search .input-group-wrapper .form-control {
    color: #e5edf8;
    background: #091524;
}

html[data-theme="dark"] body .home-domain-search .input-group-wrapper .form-control::placeholder {
    color: #7189a7;
}

html[data-theme="dark"] body .home-domain-search .tld-logos {
    color: #aabbd0;
}

html[data-theme="dark"] body .home-domain-search .tld-logos img {
    box-sizing: content-box;
    width: 72px;
    min-width: 72px;
    height: 28px;
    padding: 5px 8px;
    object-fit: contain;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 9px;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .18);
    vertical-align: middle;
}

html[data-theme="dark"] body .home-domain-search .tld-logos li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

html[data-theme="dark"] body .home-domain-search .btn-link {
    color: #78bbff;
}

html[data-theme="dark"] body .home-domain-search .btn-primary,
html[data-theme="dark"] body .home-domain-search .btn-success {
    color: #fff;
    background: linear-gradient(135deg, #318bf0, #1768d7);
    border-color: transparent;
}

body .home-domain-search #btnDomainSearch,
body .home-domain-search #btnDomainSearch2 {
    color: #fff !important;
    background: #1768d7 !important;
    border-color: #1768d7 !important;
    opacity: 1 !important;
}

body .home-domain-search #btnTransfer,
body .home-domain-search #btnTransfer2 {
    color: #fff !important;
    background: #15965f !important;
    border-color: #15965f !important;
    opacity: 1 !important;
}

body .home-domain-search #btnDomainSearch:hover,
body .home-domain-search #btnDomainSearch2:hover {
    background: #1156b7 !important;
    border-color: #1156b7 !important;
}

body .home-domain-search #btnTransfer:hover,
body .home-domain-search #btnTransfer2:hover {
    background: #0f784a !important;
    border-color: #0f784a !important;
}

html[dir="rtl"] body .home-domain-search .input-group-append #btnTransfer {
    border-radius: 12px 0 0 12px;
}

html[dir="rtl"] body .home-domain-search .input-group-append #btnDomainSearch {
    border-radius: 0;
}

html[dir="ltr"] body .home-domain-search .input-group-append #btnTransfer {
    border-radius: 0 12px 12px 0;
}

html[dir="ltr"] body .home-domain-search .input-group-append #btnDomainSearch {
    border-radius: 0;
}

html[data-theme="dark"] body .np-support-banner {
    color: #f4f8ff;
    background:
        radial-gradient(circle at 88% 5%, rgba(53, 201, 239, .2), transparent 20rem),
        linear-gradient(115deg, #102e63, #0a1d3d) !important;
    border: 1px solid #27466f;
    box-shadow: 0 22px 55px rgba(0, 0, 0, .3);
}

html[data-theme="dark"] body .np-support-banner__icon {
    color: #66ddfa;
    background: rgba(43, 172, 235, .13);
    border-color: rgba(102, 221, 250, .27);
}

html[data-theme="dark"] body .np-support-banner span {
    color: #66ddfa;
}

html[data-theme="dark"] body .np-support-banner h2 {
    color: #f5f9ff;
}

html[data-theme="dark"] body .np-support-banner p {
    color: #b9c9dc;
}

html[data-theme="dark"] body .np-support-banner .np-btn-light {
    color: #0d3978;
    background: #f7fbff;
    border: 1px solid rgba(255, 255, 255, .5);
}

html[data-theme="dark"] body .np-support-banner .np-btn-light:hover {
    color: #082554;
    background: #dceeff;
}

/* DataTables/table-list uses hard-coded white cells in Nexus. */

html[data-theme="dark"] body .dataTables_wrapper table.table-list {
    color: #dce8f7;
    background: #101d2d;
    border: 1px solid #2a405b;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .2);
}

html[data-theme="dark"] body .dataTables_wrapper table.table-list thead th {
    color: #e9f2ff !important;
    background: #162842 !important;
    border-color: #304a68 !important;
}

html[data-theme="dark"] body .dataTables_wrapper table.table-list thead th.sorting,
html[data-theme="dark"] body .dataTables_wrapper table.table-list thead th.sorting_asc,
html[data-theme="dark"] body .dataTables_wrapper table.table-list thead th.sorting_desc {
    color: #fff !important;
    background-color: #19304f !important;
}

html[data-theme="dark"] body .dataTables_wrapper table.table-list tbody td {
    color: #c7d6e9 !important;
    background: #101d2d !important;
    border-color: #293f59 !important;
}

html[data-theme="dark"] body .dataTables_wrapper table.table-list tbody tr:nth-child(even) td {
    background: #0d1928 !important;
}

html[data-theme="dark"] body .dataTables_wrapper table.table-list tbody tr:hover td {
    color: #f3f8ff !important;
    background: #172b43 !important;
}

html[data-theme="dark"] body .dataTables_wrapper table.table-list tbody td a {
    color: #78bbff;
}

html[data-theme="dark"] body .dataTables_wrapper .dataTables_filter label .form-control,
html[data-theme="dark"] body .dataTables_wrapper .dataTables_length select {
    color: #e6effb;
    background-color: #101d2d !important;
    border: 1px solid #304761;
}

html[data-theme="dark"] body .dataTables_wrapper .dataTables_filter label .form-control::placeholder {
    color: #8296af;
}

html[data-theme="dark"] body .dataTables_wrapper .dataTables_filter::after {
    color: #8296af;
}

html[data-theme="dark"] body .dataTables_wrapper .dataTables_info,
html[data-theme="dark"] body .dataTables_wrapper .dataTables_length,
html[data-theme="dark"] body .dataTables_wrapper .dataTables_paginate {
    color: #b8c8dc;
}

html[data-theme="dark"] body .dataTables_wrapper .pagination .page-link,
html[data-theme="dark"] body .dataTables_wrapper .dataTables_paginate .paginate_button {
    color: #c8d7e9 !important;
    background: #101d2d !important;
    border-color: #304761 !important;
}

html[data-theme="dark"] body .dataTables_wrapper .pagination .page-item.active .page-link,
html[data-theme="dark"] body .dataTables_wrapper .dataTables_paginate .paginate_button.current,
html[data-theme="dark"] body .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    color: #fff !important;
    background: #267bd8 !important;
    border-color: #3d91ed !important;
}

/* Account chooser and generic clickable lists */

html[data-theme="dark"] body .primary-content .list-group {
    background: transparent;
    border-color: #2b405b;
}

html[data-theme="dark"] body .primary-content .list-group-item {
    color: #d7e3f2;
    background: #101d2d;
    border-color: #2b405b;
}

html[data-theme="dark"] body .primary-content a.list-group-item,
html[data-theme="dark"] body .primary-content .list-group-item-action {
    color: #d7e3f2;
}

html[data-theme="dark"] body .primary-content a.list-group-item:hover,
html[data-theme="dark"] body .primary-content a.list-group-item:focus,
html[data-theme="dark"] body .primary-content .list-group-item-action:hover,
html[data-theme="dark"] body .primary-content .list-group-item-action:focus {
    color: #fff !important;
    background: #18324f !important;
    border-color: #3b5878;
    text-decoration: none;
}

html[data-theme="dark"] body .primary-content .list-group-item-action:hover .text-muted,
html[data-theme="dark"] body .primary-content .list-group-item-action:focus .text-muted,
html[data-theme="dark"] body .primary-content a.list-group-item:hover .text-muted,
html[data-theme="dark"] body .primary-content a.list-group-item:focus .text-muted {
    color: #b8c9dc !important;
}

html[data-theme="dark"] body .primary-content .list-group-item.active {
    color: #fff;
    background: #1f65ad;
    border-color: #3988d8;
}

html[data-theme="dark"] body nav.master-breadcrumb,
html[data-theme="dark"] body nav.master-breadcrumb .breadcrumb {
    color: #b8c9df;
    background: linear-gradient(90deg, #122b4d, #10243f);
    border-color: #294361;
}

html[data-theme="dark"] body nav.master-breadcrumb a,
html[data-theme="dark"] body nav.master-breadcrumb .breadcrumb-item.active {
    color: #dceaff;
}

html[data-theme="dark"] body header#header.header .main-navbar-wrapper .dropdown-menu {
    color: #dceaff;
    background: #111f31;
    border-color: #2b405c;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .36);
}

html[data-theme="dark"] body header#header.header .main-navbar-wrapper .dropdown-item {
    color: #dceaff;
    background: transparent;
}

html[data-theme="dark"] body header#header.header .main-navbar-wrapper .dropdown-item:hover,
html[data-theme="dark"] body header#header.header .main-navbar-wrapper .dropdown-item:focus,
html[data-theme="dark"] body header#header.header .main-navbar-wrapper .dropdown-item.active {
    color: #fff;
    background: #193653;
}

@media (max-width: 1199.98px) {
    body header#header.header > div.navbar.navbar-light {
        min-height: 64px;
        color: var(--np-ink);
        background: var(--np-surface);
        border-bottom: 1px solid var(--np-line);
    }

    html[data-theme="dark"] body header#header.header > div.navbar.navbar-light {
        background: #101c2c;
    }
}

/* LTR counterpart for Nexus/Bootstrap directional rules */

html[dir="ltr"] .header .navbar-brand {
    margin-right: 28px;
    margin-left: 0;
}

html[dir="ltr"] .header .cart-btn .badge {
    right: -5px;
    left: auto;
}

html[dir="ltr"] .main-navbar-wrapper .navbar-nav {
    padding-right: initial;
    padding-left: 0;
}

html[dir="ltr"] .main-navbar-wrapper .nav-link::after {
    right: auto;
    left: 15px;
}

html[dir="ltr"] .main-navbar-wrapper .dropdown-menu {
    right: auto;
    left: 0;
}

html[dir="ltr"] .main-navbar-wrapper .dropdown-item {
    text-align: left;
}

html[dir="ltr"] .breadcrumb-item + .breadcrumb-item {
    padding-right: 0;
    padding-left: .5rem;
}

html[dir="ltr"] .breadcrumb-item + .breadcrumb-item::before {
    float: left;
    padding-right: .5rem;
    padding-left: 0;
    content: "/";
}

html[dir="ltr"] .mr-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

html[dir="ltr"] .ml-auto {
    margin-right: 0 !important;
    margin-left: auto !important;
}

html[dir="ltr"] .mr-2 {
    margin-right: .5rem !important;
    margin-left: 0 !important;
}

html[dir="ltr"] .ml-2 {
    margin-right: 0 !important;
    margin-left: .5rem !important;
}

html[dir="ltr"] .float-right {
    float: right !important;
}

html[dir="ltr"] .float-left {
    float: left !important;
}

html[dir="ltr"] .text-right,
html[dir="ltr"] .alert {
    text-align: right !important;
}

html[dir="ltr"] .text-left {
    text-align: left !important;
}

html[dir="ltr"] .dataTables_wrapper .dataTables_filter {
    text-align: right;
}

html[dir="ltr"] .input-group-prepend {
    margin-right: -1px;
    margin-left: 0;
}

html[dir="ltr"] .input-group-append {
    margin-right: 0;
    margin-left: -1px;
}

html[dir="ltr"] .custom-control {
    padding-right: 0;
    padding-left: 1.5rem;
}

html[dir="ltr"] .custom-control-label::before,
html[dir="ltr"] .custom-control-label::after {
    right: auto;
    left: -1.5rem;
}

html[dir="ltr"] .np-product-card__arrow,
html[dir="ltr"] .np-hero__actions .fa-arrow-left,
html[dir="ltr"] .np-support-banner .fa-arrow-left {
    transform: scaleX(-1);
}

html[dir="ltr"] body .primary-content .client-home-cards .card .card-header .float-right {
    float: right !important;
}

html[dir="ltr"] body .primary-content .client-home-cards .card .card-title > i {
    margin-right: 6px;
    margin-left: 0;
}

html[dir="ltr"] .np-theme-switcher {
    right: 18px;
    left: auto;
}

@media (max-width: 575.98px) {
    html[dir="ltr"] .np-theme-switcher {
        right: 12px;
        left: 12px;
    }
}

/* Footer: Nexus uses the more specific footer.footer selector. */

body footer.footer {
    position: relative;
    padding: 42px 0 30px;
    overflow: hidden;
    color: rgba(255, 255, 255, .72);
    background:
        radial-gradient(circle at 84% -20%, rgba(18, 188, 233, .24), transparent 25rem),
        linear-gradient(115deg, #061733, #0b2d65) !important;
    border: 0;
}

body footer.footer::before {
    display: none;
    content: none;
}

body footer.footer .nav-link,
body footer.footer a {
    color: rgba(255, 255, 255, .78);
}

body footer.footer a:hover {
    color: #7be3ff;
}

body footer.footer .btn {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .22);
}

body footer.footer .copyright {
    padding-top: 19px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, .58);
    border-top: 1px solid rgba(255, 255, 255, .11);
}

/* Theme selector */

.np-theme-switcher {
    position: fixed;
    bottom: 18px;
    left: 18px;
    z-index: 1040;
    display: flex;
    gap: 3px;
    padding: 5px;
    direction: inherit;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(19, 54, 105, .14);
    border-radius: 14px;
    box-shadow: 0 12px 38px rgba(4, 24, 58, .18);
    backdrop-filter: blur(14px);
}

.np-theme-choice {
    display: inline-flex;
    min-width: 42px;
    height: 36px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 10px;
    color: #64728a;
    background: transparent;
    border: 0;
    border-radius: 9px;
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.np-theme-choice:hover {
    color: var(--np-blue-700);
    background: #edf6ff;
}

.np-theme-choice.is-active {
    color: #fff;
    background: linear-gradient(135deg, var(--np-blue-600), #0daedb);
    box-shadow: 0 5px 13px rgba(23, 104, 215, .22);
}

/* Dark mode */

html[data-theme="dark"] {
    color-scheme: dark;
    --np-navy: #050d1b;
    --np-blue-900: #dceaff;
    --np-blue-700: #73b7ff;
    --np-blue-600: #318bf0;
    --np-cyan: #35c9ef;
    --np-sky: #102a44;
    --np-orange: #ff984d;
    --np-ink: #e5edf8;
    --np-muted: #95a6bd;
    --np-line: #24364d;
    --np-surface: #111d2d;
    --np-bg: #091321;
    --np-shadow-sm: 0 8px 24px rgba(0, 0, 0, .18);
    --np-shadow: 0 18px 55px rgba(0, 0, 0, .3);
}

html[data-theme="dark"] body {
    color: var(--np-ink);
    background:
        radial-gradient(circle at 10% 0, rgba(31, 139, 240, .09), transparent 30rem),
        var(--np-bg);
}

html[data-theme="dark"] body #main-body {
    background:
        radial-gradient(circle at 12% 0, rgba(31, 139, 240, .09), transparent 28rem),
        linear-gradient(180deg, #0a1524, #091321);
}

html[data-theme="dark"] body .header > .navbar-light,
html[data-theme="dark"] body .master-breadcrumb {
    color: var(--np-ink);
    background: #101c2c;
    border-color: var(--np-line);
}

html[data-theme="dark"] body .header .navbar-brand,
html[data-theme="dark"] body .master-breadcrumb a {
    color: var(--np-ink);
}

html[data-theme="dark"] body .header > .navbar-light .search .form-control,
html[data-theme="dark"] body .header > .navbar-light .search .btn,
html[data-theme="dark"] .form-control,
html[data-theme="dark"] .custom-select,
html[data-theme="dark"] .input-group-text {
    color: var(--np-ink);
    background: #0c1726;
    border-color: var(--np-line);
}

html[data-theme="dark"] .form-control::placeholder {
    color: #71839b;
}

html[data-theme="dark"] .card,
html[data-theme="dark"] .panel,
html[data-theme="dark"] .list-group,
html[data-theme="dark"] .table,
html[data-theme="dark"] .table-list,
html[data-theme="dark"] .modal-content,
html[data-theme="dark"] .logincontainer,
html[data-theme="dark"] .providerLinkingFeedback,
html[data-theme="dark"] .registration-form,
html[data-theme="dark"] body .primary-content .tiles .tile,
html[data-theme="dark"] body .primary-content .client-home-cards .card,
html[data-theme="dark"] body .sidebar .card,
html[data-theme="dark"] body .sidebar .panel {
    color: var(--np-ink);
    background: var(--np-surface);
    border-color: var(--np-line) !important;
}

html[data-theme="dark"] .card-header,
html[data-theme="dark"] .panel-heading,
html[data-theme="dark"] body .primary-content .client-home-cards .card .card-header,
html[data-theme="dark"] body .sidebar .card-header,
html[data-theme="dark"] body .sidebar .panel-heading {
    color: var(--np-ink);
    background: linear-gradient(180deg, #121f30, #101b2a);
    border-color: var(--np-line);
}

html[data-theme="dark"] body .primary-content .tiles .tile:hover,
html[data-theme="dark"] body .primary-content .client-home-cards .card .list-group .list-group-item,
html[data-theme="dark"] body .primary-content .client-home-cards .card .card-footer,
html[data-theme="dark"] body .sidebar .list-group-item {
    color: var(--np-ink);
    background: var(--np-surface);
    border-color: var(--np-line);
}

html[data-theme="dark"] body .primary-content .client-home-cards .card .list-group .list-group-item:hover,
html[data-theme="dark"] body .sidebar .list-group-item:hover,
html[data-theme="dark"] body .sidebar .list-group-item.active {
    color: #8bc8ff;
    background: #14263a;
}

html[data-theme="dark"] body .primary-content .tiles .tile i {
    color: #75baff;
    background: #142a43;
}

html[data-theme="dark"] body .primary-content .tiles .tile .stat,
html[data-theme="dark"] body .primary-content .client-home-cards .card .card-title,
html[data-theme="dark"] body .sidebar .card-header,
html[data-theme="dark"] label,
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] h5,
html[data-theme="dark"] h6 {
    color: var(--np-ink);
}

html[data-theme="dark"] .table thead th {
    color: #dceaff;
    background: #142238;
    border-color: var(--np-line);
}

html[data-theme="dark"] .table td,
html[data-theme="dark"] .table th {
    border-color: var(--np-line);
}

html[data-theme="dark"] .np-section--soft,
html[data-theme="dark"] .np-product-card,
html[data-theme="dark"] .np-quick-card {
    color: var(--np-ink);
    background: var(--np-surface);
    border-color: var(--np-line);
}

html[data-theme="dark"] .np-product-card__body strong,
html[data-theme="dark"] .np-quick-card strong,
html[data-theme="dark"] .np-section-heading h2 {
    color: var(--np-ink);
}

html[data-theme="dark"] .np-theme-switcher {
    background: rgba(14, 26, 42, .95);
    border-color: #2a3d55;
    box-shadow: 0 12px 38px rgba(0, 0, 0, .38);
}

html[data-theme="dark"] .np-theme-choice {
    color: #a7b7ca;
}

html[data-theme="dark"] .np-theme-choice:hover {
    color: #dceaff;
    background: #172a40;
}

@media (max-width: 575.98px) {
    .np-theme-switcher {
        right: 12px;
        bottom: 12px;
        left: 12px;
        justify-content: center;
    }

    .np-theme-choice {
        flex: 1;
    }
}

@media (max-width: 420px) {
    .header .navbar-brand {
        margin-left: 8px;
    }

    .header .navbar-brand .logo-img {
        max-width: 112px;
    }

    .np-hero {
        padding: 29px 18px;
    }

    .np-hero h1 {
        font-size: 1.72rem;
    }

    .np-quick-card strong {
        font-size: .88rem;
    }
}

/* Markdown toolbar — keep Bootstrap button groups usable in RTL. */
html[dir="rtl"] body form[action*="viewticket"] .md-editor > .md-header,
html[dir="rtl"] body #ticketReply .md-editor > .md-header,
html[dir="rtl"] body #ticketReplyContainer .md-editor > .md-header {
    direction: rtl;
    justify-content: flex-start;
}

body form[action*="viewticket"] .md-editor > .md-header .btn-group,
body #ticketReply .md-editor > .md-header .btn-group,
body #ticketReplyContainer .md-editor > .md-header .btn-group {
    display: inline-flex;
    float: none;
    gap: 3px;
    margin: 0 0 0 7px;
    vertical-align: middle;
}

html[dir="ltr"] body form[action*="viewticket"] .md-editor > .md-header .btn-group,
html[dir="ltr"] body #ticketReply .md-editor > .md-header .btn-group,
html[dir="ltr"] body #ticketReplyContainer .md-editor > .md-header .btn-group {
    margin: 0 7px 0 0;
}

body form[action*="viewticket"] .md-editor > .md-header .btn,
body #ticketReply .md-editor > .md-header .btn,
body #ticketReplyContainer .md-editor > .md-header .btn {
    display: inline-grid;
    width: 35px;
    min-width: 35px;
    height: 35px;
    min-height: 35px;
    padding: 0;
    place-items: center;
    color: var(--np-blue-900);
    background: #fff;
    border: 1px solid #d8e2ef;
    border-radius: 9px !important;
    box-shadow: none;
    line-height: 1;
}

body form[action*="viewticket"] .md-editor > .md-header .btn:hover,
body form[action*="viewticket"] .md-editor > .md-header .btn:focus,
body #ticketReply .md-editor > .md-header .btn:hover,
body #ticketReply .md-editor > .md-header .btn:focus,
body #ticketReplyContainer .md-editor > .md-header .btn:hover,
body #ticketReplyContainer .md-editor > .md-header .btn:focus {
    color: #fff;
    background: var(--np-blue-600);
    border-color: var(--np-blue-600);
}

body form[action*="viewticket"] .md-editor > .md-header .btn.btn-primary,
body #ticketReply .md-editor > .md-header .btn.btn-primary,
body #ticketReplyContainer .md-editor > .md-header .btn.btn-primary {
    display: inline-flex;
    width: auto;
    min-width: 122px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 13px;
    color: #fff;
    background: var(--np-blue-600);
    border-color: var(--np-blue-600);
    white-space: nowrap;
}

html[data-theme="dark"] body form[action*="viewticket"] .md-editor > .md-header .btn,
html[data-theme="dark"] body #ticketReply .md-editor > .md-header .btn,
html[data-theme="dark"] body #ticketReplyContainer .md-editor > .md-header .btn {
    color: #cfe3f8;
    background: #13263b;
    border-color: #35516d;
}

html[data-theme="dark"] body form[action*="viewticket"] .md-editor > .md-header .btn:hover,
html[data-theme="dark"] body form[action*="viewticket"] .md-editor > .md-header .btn:focus,
html[data-theme="dark"] body #ticketReply .md-editor > .md-header .btn:hover,
html[data-theme="dark"] body #ticketReply .md-editor > .md-header .btn:focus,
html[data-theme="dark"] body #ticketReplyContainer .md-editor > .md-header .btn:hover,
html[data-theme="dark"] body #ticketReplyContainer .md-editor > .md-header .btn:focus,
html[data-theme="dark"] body form[action*="viewticket"] .md-editor > .md-header .btn.btn-primary,
html[data-theme="dark"] body #ticketReply .md-editor > .md-header .btn.btn-primary,
html[data-theme="dark"] body #ticketReplyContainer .md-editor > .md-header .btn.btn-primary {
    color: #fff;
    background: #1768d7;
    border-color: #3282e8;
}

@media (max-width: 575.98px) {
    body form[action*="viewticket"] .md-editor > .md-header,
    body #ticketReply .md-editor > .md-header,
    body #ticketReplyContainer .md-editor > .md-header {
        gap: 6px 2px;
    }

    body form[action*="viewticket"] .md-editor > .md-header .btn-group,
    body #ticketReply .md-editor > .md-header .btn-group,
    body #ticketReplyContainer .md-editor > .md-header .btn-group {
        margin-inline-end: 4px;
        margin-inline-start: 0;
    }

    body form[action*="viewticket"] .md-editor > .md-header .btn,
    body #ticketReply .md-editor > .md-header .btn,
    body #ticketReplyContainer .md-editor > .md-header .btn {
        width: 33px;
        min-width: 33px;
        height: 33px;
        min-height: 33px;
    }
}

/* View ticket — conversation, reply form, RTL/LTR and colour modes */

body .ticket-reply {
    position: relative;
    margin-bottom: 18px;
    overflow: hidden;
    color: var(--np-ink);
    background: var(--np-surface);
    border: 1px solid var(--np-line);
    border-radius: var(--np-radius);
    box-shadow: var(--np-shadow-sm);
}

body .ticket-reply > .card-header,
body .ticket-reply > .panel-heading {
    min-height: 62px;
    padding: 14px 18px;
    color: var(--np-ink);
    background: #f7faff;
    border: 0;
    border-bottom: 1px solid var(--np-line);
}

body .ticket-reply > .card-header .card-title,
body .ticket-reply > .panel-heading .panel-title,
body .ticket-reply > .card-header h3,
body .ticket-reply > .panel-heading h3 {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: inherit;
    font-size: .94rem;
    font-weight: 800;
    line-height: 1.65;
}

body .ticket-reply > .card-header .date,
body .ticket-reply > .panel-heading .date {
    margin-inline-start: auto;
    color: var(--np-muted);
    font-size: .8rem;
    font-weight: 500;
    white-space: nowrap;
}

body .ticket-reply > .card-body,
body .ticket-reply > .panel-body {
    min-height: 108px;
    padding: 22px 24px;
    color: var(--np-ink);
    background: var(--np-surface);
    font-size: .94rem;
    line-height: 2;
    overflow-wrap: anywhere;
}

body .ticket-reply > .card-body > :last-child,
body .ticket-reply > .panel-body > :last-child {
    margin-bottom: 0;
}

body .ticket-reply .message,
body .ticket-reply .markdown-content {
    color: inherit;
}

body .ticket-reply .card-footer,
body .ticket-reply .panel-footer {
    padding: 10px 18px;
    color: var(--np-muted);
    background: #fbfcff;
    border: 0;
    border-top: 1px solid var(--np-line);
    font-size: .78rem;
}

/* Staff responses get a quiet visual distinction without relying on translated text. */
body .ticket-reply.staff,
body .ticket-reply.admin,
body .ticket-reply.panel-success,
body .ticket-reply.border-success {
    border-inline-start: 4px solid var(--np-success);
}

body .ticket-reply.staff > .card-header,
body .ticket-reply.admin > .card-header,
body .ticket-reply.panel-success > .panel-heading,
body .ticket-reply.border-success > .card-header {
    color: #08784c;
    background: #effbf6;
}

body .ticket-reply .badge {
    padding: 5px 8px;
    margin-inline-end: 7px;
    border-radius: 7px;
    font-size: .7rem;
    line-height: 1;
}

body .ticket-reply .posted-by .requestor-badge {
    display: inline-block;
    padding: 5px 8px;
    vertical-align: middle;
    border-radius: 0;
    line-height: 1;
}

html[dir="rtl"] body .ticket-reply .posted-by .requestor-badge {
    margin-right: 0;
    margin-left: 8px;
}

html[dir="ltr"] body .ticket-reply .posted-by .requestor-badge {
    margin-right: 8px;
    margin-left: 0;
}

@media (min-width: 576px) {
    body .card-title > .ticket-actions {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        margin-left: 14px;
    }

    body .card-title > .ticket-actions .btn {
        margin: 0;
        white-space: nowrap;
    }
}

@media (max-width: 575.98px) {
    body .card-title > .ticket-actions {
        display: flex;
        width: 100%;
        align-items: center;
        flex-wrap: wrap;
        gap: 7px;
        float: none !important;
        margin-right: 0;
        margin-left: 0;
    }
}

body .ticket-reply img {
    max-width: 100%;
    height: auto;
}

body .ticket-reply pre,
body .ticket-reply code {
    direction: ltr;
    text-align: left;
}

body .ticket-reply pre {
    padding: 14px;
    overflow-x: auto;
    color: #dcecff;
    background: #0b1e34;
    border-radius: 10px;
}

html[dir="rtl"] body .ticket-reply,
html[dir="rtl"] body .ticket-reply > .card-body,
html[dir="rtl"] body .ticket-reply > .panel-body {
    direction: rtl;
    text-align: right;
}

html[dir="ltr"] body .ticket-reply,
html[dir="ltr"] body .ticket-reply > .card-body,
html[dir="ltr"] body .ticket-reply > .panel-body {
    direction: ltr;
    text-align: left;
}

/* Ticket reply composer (Nexus currently uses the Bootstrap/Markdown editor). */
body #ticketReply,
body #ticketReplyContainer,
body form[id*="ticketReply"],
body form[action*="viewticket"] .md-editor {
    color: var(--np-ink);
}

body form[action*="viewticket"] .form-control,
body #ticketReply .form-control,
body #ticketReplyContainer .form-control {
    color: var(--np-ink);
    background: var(--np-surface);
    border-color: var(--np-line);
    border-radius: var(--np-radius-sm);
}

body form[action*="viewticket"] .form-control:focus,
body #ticketReply .form-control:focus,
body #ticketReplyContainer .form-control:focus {
    border-color: var(--np-blue-600);
    box-shadow: 0 0 0 3px rgba(23, 104, 215, .13);
}

body form[action*="viewticket"] .md-editor,
body #ticketReply .md-editor,
body #ticketReplyContainer .md-editor {
    overflow: hidden;
    background: var(--np-surface);
    border: 1px solid var(--np-line);
    border-radius: var(--np-radius-sm);
}

body form[action*="viewticket"] .md-editor > .md-header,
body #ticketReply .md-editor > .md-header,
body #ticketReplyContainer .md-editor > .md-header {
    display: flex;
    min-height: 48px;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    padding: 7px 9px;
    background: #f7faff;
    border-bottom: 1px solid var(--np-line);
}

body form[action*="viewticket"] .md-editor textarea,
body #ticketReply .md-editor textarea,
body #ticketReplyContainer .md-editor textarea,
body form[action*="viewticket"] .md-editor .md-preview,
body #ticketReply .md-editor .md-preview,
body #ticketReplyContainer .md-editor .md-preview {
    min-height: 220px;
    padding: 16px;
    color: var(--np-ink);
    background: var(--np-surface);
    border: 0;
    border-radius: 0;
    line-height: 1.9;
}

html[dir="rtl"] body form[action*="viewticket"] .md-editor textarea,
html[dir="rtl"] body #ticketReply .md-editor textarea,
html[dir="rtl"] body #ticketReplyContainer .md-editor textarea {
    direction: rtl;
    text-align: right;
}

html[dir="ltr"] body form[action*="viewticket"] .md-editor textarea,
html[dir="ltr"] body #ticketReply .md-editor textarea,
html[dir="ltr"] body #ticketReplyContainer .md-editor textarea {
    direction: ltr;
    text-align: left;
}

html[data-theme="dark"] body .ticket-reply {
    color: #e7f0fb;
    background: #101f31;
    border-color: #294159;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .2);
}

html[data-theme="dark"] body .ticket-reply > .card-header,
html[data-theme="dark"] body .ticket-reply > .panel-heading {
    color: #e7f0fb;
    background: #16283d;
    border-bottom-color: #294159;
}

html[data-theme="dark"] body .ticket-reply > .card-body,
html[data-theme="dark"] body .ticket-reply > .panel-body {
    color: #e7f0fb;
    background: #101f31;
}

html[data-theme="dark"] body .ticket-reply > .card-header .date,
html[data-theme="dark"] body .ticket-reply > .panel-heading .date,
html[data-theme="dark"] body .ticket-reply .card-footer,
html[data-theme="dark"] body .ticket-reply .panel-footer {
    color: #9eb0c5;
}

html[data-theme="dark"] body .ticket-reply .card-footer,
html[data-theme="dark"] body .ticket-reply .panel-footer {
    background: #0d1a2a;
    border-top-color: #294159;
}

html[data-theme="dark"] body .ticket-reply.staff > .card-header,
html[data-theme="dark"] body .ticket-reply.admin > .card-header,
html[data-theme="dark"] body .ticket-reply.panel-success > .panel-heading,
html[data-theme="dark"] body .ticket-reply.border-success > .card-header {
    color: #72e2b5;
    background: #102d2a;
}

html[data-theme="dark"] body form[action*="viewticket"] .form-control,
html[data-theme="dark"] body #ticketReply .form-control,
html[data-theme="dark"] body #ticketReplyContainer .form-control,
html[data-theme="dark"] body form[action*="viewticket"] .md-editor,
html[data-theme="dark"] body #ticketReply .md-editor,
html[data-theme="dark"] body #ticketReplyContainer .md-editor {
    color: #e7f0fb;
    background: #0d1a2a;
    border-color: #294159;
}

html[data-theme="dark"] body form[action*="viewticket"] .md-editor > .md-header,
html[data-theme="dark"] body #ticketReply .md-editor > .md-header,
html[data-theme="dark"] body #ticketReplyContainer .md-editor > .md-header {
    background: #16283d;
    border-bottom-color: #294159;
}

html[data-theme="dark"] body form[action*="viewticket"] .md-editor textarea,
html[data-theme="dark"] body #ticketReply .md-editor textarea,
html[data-theme="dark"] body #ticketReplyContainer .md-editor textarea,
html[data-theme="dark"] body form[action*="viewticket"] .md-editor .md-preview,
html[data-theme="dark"] body #ticketReply .md-editor .md-preview,
html[data-theme="dark"] body #ticketReplyContainer .md-editor .md-preview {
    color: #e7f0fb;
    background: #0d1a2a;
}

html[data-theme="dark"] body form[action*="viewticket"] .md-editor .btn,
html[data-theme="dark"] body #ticketReply .md-editor .btn,
html[data-theme="dark"] body #ticketReplyContainer .md-editor .btn {
    color: #dce9f8;
    background: #20364e;
    border-color: #35516d;
}

@media (max-width: 767.98px) {
    body .ticket-reply {
        margin-bottom: 14px;
        border-radius: 14px;
    }

    body .ticket-reply > .card-header,
    body .ticket-reply > .panel-heading {
        padding: 12px 14px;
    }

    body .ticket-reply > .card-header .card-title,
    body .ticket-reply > .panel-heading .panel-title,
    body .ticket-reply > .card-header h3,
    body .ticket-reply > .panel-heading h3 {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    body .ticket-reply > .card-header .date,
    body .ticket-reply > .panel-heading .date {
        margin-inline-start: 0;
        white-space: normal;
    }

    body .ticket-reply > .card-body,
    body .ticket-reply > .panel-body {
        min-height: 84px;
        padding: 17px 16px;
    }
}

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

/* --------------------------------------------------------------------------
 * Nexus client dashboard refinements
 * These rules intentionally have stronger specificity than Nexus defaults.
 * -------------------------------------------------------------------------- */

body {
    font-size: 15px;
    line-height: 1.75;
}

body .header .main-navbar-wrapper {
    min-height: 62px;
    background: linear-gradient(100deg, #081d46 0%, #124da5 100%);
}

body .header .main-navbar-wrapper #nav > li > a,
body .header .main-navbar-wrapper .navbar-nav > li > a,
body .header .main-navbar-wrapper .navbar-nav .nav-link,
body .header .main-navbar-wrapper .navbar-nav .dropdown-toggle {
    display: flex;
    min-height: 62px;
    align-items: center;
    color: rgba(255, 255, 255, .9) !important;
    text-shadow: none;
}

body .header .main-navbar-wrapper #nav > li > a:hover,
body .header .main-navbar-wrapper .navbar-nav > li > a:hover,
body .header .main-navbar-wrapper .navbar-nav .show > a,
body .header .main-navbar-wrapper .navbar-nav .active > a {
    color: #fff !important;
    background: rgba(255, 255, 255, .08);
}

body .header .main-navbar-wrapper .navbar-nav.ml-auto > li > a {
    min-height: 42px;
    padding: 0 15px !important;
    margin: 10px 0;
    color: #fff !important;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 11px;
}

body .header .main-navbar-wrapper .navbar-nav.ml-auto > li > a:hover {
    background: rgba(255, 255, 255, .18);
}

@media (min-width: 1200px) {
    body .header .main-navbar-wrapper #nav,
    body .header .main-navbar-wrapper .navbar-nav {
        align-items: center;
        gap: 3px;
    }

    body .header .main-navbar-wrapper #nav > li > a,
    body .header .main-navbar-wrapper .navbar-nav > li > a,
    body .header .main-navbar-wrapper .navbar-nav .nav-link,
    body .header .main-navbar-wrapper .navbar-nav .dropdown-toggle {
        min-height: 44px;
        padding: 0 14px !important;
        margin: 9px 1px;
        border-radius: 11px;
    }

    body .header .main-navbar-wrapper #nav > li > a::after,
    body .header .main-navbar-wrapper .navbar-nav > li > a::after {
        display: none;
    }

    body .header .main-navbar-wrapper #nav > li > a:hover,
    body .header .main-navbar-wrapper .navbar-nav > li > a:hover,
    body .header .main-navbar-wrapper .navbar-nav .show > a,
    body .header .main-navbar-wrapper .navbar-nav .active > a {
        background: rgba(255, 255, 255, .12);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
    }
}

body header#header.header .main-navbar-wrapper .dropdown-menu {
    min-width: 245px;
    padding: 8px;
    margin-top: 8px;
    overflow: visible;
    background: #fff;
    border: 1px solid #dfe7f2;
    border-radius: 15px;
    box-shadow: 0 20px 48px rgba(5, 25, 58, .18);
}

body header#header.header .main-navbar-wrapper .dropdown-menu::before {
    position: absolute;
    top: -6px;
    right: 22px;
    width: 12px;
    height: 12px;
    content: "";
    background: inherit;
    border-top: 1px solid #dfe7f2;
    border-left: 1px solid #dfe7f2;
    transform: rotate(45deg);
}

body header#header.header .main-navbar-wrapper .dropdown-menu > li.dropdown-item {
    padding: 0;
    margin: 2px 0;
    color: var(--np-ink);
    background: transparent;
    border-radius: 10px;
}

body header#header.header .main-navbar-wrapper .dropdown-menu > li.dropdown-item > a {
    display: flex;
    min-height: 42px;
    width: 100%;
    align-items: center;
    padding: 9px 13px;
    color: #33435d;
    text-align: start;
    text-decoration: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

body header#header.header .main-navbar-wrapper .dropdown-menu > li.dropdown-item > a:hover,
body header#header.header .main-navbar-wrapper .dropdown-menu > li.dropdown-item > a:focus {
    color: #1559b0;
    background: #edf6ff;
    outline: 0;
    transform: translateX(-2px);
}

/* Support department chooser */

.np-ticket-departments {
    overflow: hidden;
}

.np-ticket-departments .card-body {
    padding: clamp(24px, 4vw, 42px);
}

.np-ticket-departments__heading {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 24px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--np-line);
}

.np-ticket-departments__heading-icon {
    display: grid;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, var(--np-blue-600), var(--np-cyan));
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(23, 104, 215, .22);
    font-size: 23px;
}

.np-ticket-departments__heading .card-title {
    margin: 0 0 6px;
    font-size: clamp(1.15rem, 2.3vw, 1.55rem);
}

.np-ticket-departments__heading p {
    line-height: 1.85;
}

.np-department-grid {
    margin-right: -8px;
    margin-left: -8px;
}

.np-department-grid > [class*="col-"] {
    padding-right: 8px;
    padding-left: 8px;
}

.np-department-card {
    display: grid;
    min-height: 112px;
    height: 100%;
    grid-template-columns: 54px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 15px;
    padding: 18px;
    color: var(--np-ink);
    background: #fff;
    border: 1px solid var(--np-line);
    border-radius: 16px;
    box-shadow: 0 7px 22px rgba(14, 42, 91, .055);
}

.np-department-card:hover,
.np-department-card:focus {
    color: var(--np-blue-700);
    background: #f7fbff;
    border-color: rgba(23, 104, 215, .35);
    box-shadow: 0 15px 34px rgba(14, 42, 91, .12);
    text-decoration: none;
    transform: translateY(-3px);
    outline: 0;
}

.np-department-card__icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    color: var(--np-blue-600);
    background: #edf6ff;
    border-radius: 14px;
    font-size: 20px;
}

.np-department-card__content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 5px;
}

.np-department-card__content strong {
    color: inherit;
    font-size: 15px;
    font-weight: 800;
}

.np-department-card__content small {
    overflow: hidden;
    color: var(--np-muted);
    line-height: 1.7;
    text-overflow: ellipsis;
}

.np-department-card__arrow {
    color: #9aabc0;
    transition: color .18s ease, transform .18s ease;
}

.np-department-card:hover .np-department-card__arrow,
.np-department-card:focus .np-department-card__arrow {
    color: var(--np-blue-600);
    transform: translateX(-3px);
}

html[dir="ltr"] .np-department-card__arrow {
    transform: scaleX(-1);
}

html[dir="ltr"] .np-department-card:hover .np-department-card__arrow,
html[dir="ltr"] .np-department-card:focus .np-department-card__arrow {
    transform: scaleX(-1) translateX(-3px);
}

html[data-theme="dark"] body .np-ticket-departments__heading {
    border-color: #293f59;
}

html[data-theme="dark"] body .np-department-card {
    color: #e2ecf8;
    background: #101d2d;
    border-color: #293f59;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .16);
}

html[data-theme="dark"] body .np-department-card:hover,
html[data-theme="dark"] body .np-department-card:focus {
    color: #fff;
    background: #172d47;
    border-color: #3d6d9f;
    box-shadow: 0 17px 38px rgba(0, 0, 0, .28);
}

html[data-theme="dark"] body .np-department-card__icon {
    color: #72c2ff;
    background: #173653;
}

html[data-theme="dark"] body .np-department-card__content small {
    color: #9fb1c8;
}

@media (max-width: 575.98px) {
    .np-ticket-departments .card-body {
        padding: 20px 16px;
    }

    .np-ticket-departments__heading {
        align-items: flex-start;
    }

    .np-department-card {
        min-height: 96px;
        grid-template-columns: 46px minmax(0, 1fr) 18px;
        gap: 12px;
        padding: 15px;
    }

    .np-department-card__icon {
        width: 46px;
        height: 46px;
        border-radius: 12px;
        font-size: 18px;
    }
}

html[dir="ltr"] body header#header.header .main-navbar-wrapper .dropdown-menu::before {
    right: auto;
    left: 22px;
}

html[dir="ltr"] body header#header.header .main-navbar-wrapper .dropdown-menu > li.dropdown-item > a:hover,
html[dir="ltr"] body header#header.header .main-navbar-wrapper .dropdown-menu > li.dropdown-item > a:focus {
    transform: translateX(2px);
}

html[data-theme="dark"] body header#header.header .main-navbar-wrapper .dropdown-menu::before {
    border-color: #2b405c;
}

html[data-theme="dark"] body header#header.header .main-navbar-wrapper .dropdown-menu > li.dropdown-item > a {
    color: #d8e5f5;
}

html[data-theme="dark"] body header#header.header .main-navbar-wrapper .dropdown-menu > li.dropdown-item > a:hover,
html[data-theme="dark"] body header#header.header .main-navbar-wrapper .dropdown-menu > li.dropdown-item > a:focus {
    color: #fff;
    background: #1a3a5a;
}

@media (max-width: 1199.98px) {
    body header#header.header .main-navbar-wrapper .dropdown-menu {
        width: 100%;
        margin-top: 4px;
        box-shadow: none;
    }

    body header#header.header .main-navbar-wrapper .dropdown-menu::before {
        display: none;
    }
}

body .header > .navbar-light .search {
    width: min(34vw, 340px);
}

body .header > .navbar-light .search .form-control {
    color: var(--np-ink);
    background: #f5f8fc;
    border: 1px solid #edf1f7;
    border-right: 0;
    border-radius: 12px 0 0 12px;
}

body .header > .navbar-light .search .btn {
    color: var(--np-muted);
    background: #f5f8fc;
    border: 1px solid #edf1f7;
    border-left: 0;
    border-radius: 0 12px 12px 0;
}

body .master-breadcrumb {
    color: var(--np-muted);
    box-shadow: 0 3px 12px rgba(14, 42, 91, .03);
}

body #main-body {
    background:
        radial-gradient(circle at 12% 0, rgba(18, 188, 233, .08), transparent 26rem),
        linear-gradient(180deg, #f4f8fd 0%, #f7f9fc 100%);
}

/* Metric tiles: remove Nexus absolute-position overlap in RTL. */

body .primary-content .tiles {
    overflow: visible;
}

body .primary-content .tiles .row {
    margin-right: -7px;
    margin-left: -7px;
}

body .primary-content .tiles .row > div {
    padding: 0 7px;
}

body .primary-content .tiles .tile {
    display: grid;
    min-height: 128px;
    grid-template-columns: 58px 1fr;
    grid-template-rows: 1fr auto;
    align-items: center;
    gap: 5px 14px;
    padding: 20px;
    overflow: hidden;
    color: var(--np-ink);
    background: #fff;
    border: 1px solid var(--np-line) !important;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(14, 42, 91, .06);
}

body .primary-content .tiles .tile::before {
    position: absolute;
    top: -35px;
    left: -35px;
    width: 115px;
    height: 115px;
    content: "";
    background: rgba(23, 104, 215, .04);
    border-radius: 50%;
}

body .primary-content .tiles .tile:hover {
    color: var(--np-blue-700);
    background: #fff;
    border-color: rgba(23, 104, 215, .24) !important;
    transform: translateY(-4px);
    box-shadow: var(--np-shadow);
}

body .primary-content .tiles .tile i {
    position: static;
    display: grid;
    width: 58px;
    height: 58px;
    grid-row: 1 / span 2;
    grid-column: 1;
    place-items: center;
    color: var(--np-blue-600);
    background: linear-gradient(145deg, #edf7ff, #e5f2ff);
    border-radius: 16px;
    font-size: 25px;
    line-height: 1;
}

body .primary-content .tiles .tile:hover i {
    color: #fff;
    background: linear-gradient(145deg, var(--np-blue-600), var(--np-cyan));
    font-size: 27px;
    transform: none;
}

body .primary-content .tiles .tile .stat {
    align-self: end;
    grid-row: 1;
    grid-column: 2;
    margin: 0;
    color: var(--np-blue-900);
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
}

body .primary-content .tiles .tile .title {
    align-self: start;
    grid-row: 2;
    grid-column: 2;
    color: var(--np-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: none;
}

body .primary-content .tiles .tile .highlight {
    position: absolute;
    right: 20px;
    bottom: 0;
    left: 20px;
    height: 3px;
    margin: 0;
    border-radius: 3px 3px 0 0;
}

/* Dashboard panels */

body .primary-content .client-home-cards > .row {
    margin-right: -8px;
    margin-left: -8px;
}

body .primary-content .client-home-cards > .row > [class*="col-"] {
    padding-right: 8px;
    padding-left: 8px;
}

body .primary-content .client-home-cards .card {
    margin-bottom: 17px;
    overflow: hidden;
    font-size: 13px;
    background: #fff;
    border: 1px solid var(--np-line) !important;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(14, 42, 91, .055);
}

body .primary-content .client-home-cards .card:hover {
    transform: none;
    box-shadow: 0 13px 35px rgba(14, 42, 91, .09);
}

body .primary-content .client-home-cards .card .card-header {
    min-height: 54px;
    padding: 14px 18px;
    color: var(--np-blue-900);
    background: linear-gradient(180deg, #fff, #fbfdff);
    border-bottom: 1px solid var(--np-line);
    border-radius: 18px 18px 0 0;
}

body .primary-content .client-home-cards .card .card-title {
    color: var(--np-blue-900);
    font-size: 14px;
    font-weight: 900;
    line-height: 26px;
}

body .primary-content .client-home-cards .card .card-title > i {
    margin-inline-end: 7px;
    margin-left: 0;
    color: var(--np-blue-600);
}

body .primary-content .client-home-cards .card .card-header .float-right {
    float: left !important;
}

body .primary-content .client-home-cards .card .card-header .btn {
    padding: 4px 10px;
    color: var(--np-blue-700);
    background: var(--np-sky);
    border: 1px solid #dceeff;
    border-radius: 8px;
    font-size: 11px;
}

body .primary-content .client-home-cards .card .card-body {
    min-height: 94px;
    color: var(--np-muted);
}

body .primary-content .client-home-cards .card .card-body p {
    padding: 24px 20px;
    margin: 0;
    line-height: 1.9;
}

body .primary-content .client-home-cards .card .list-group {
    max-height: 210px;
    border-color: var(--np-line) !important;
}

body .primary-content .client-home-cards .card .list-group .list-group-item {
    min-height: 46px;
    padding: 10px 18px;
    color: var(--np-ink);
    background: #fff;
    border-bottom: 1px solid var(--np-line);
}

body .primary-content .client-home-cards .card .list-group .list-group-item:hover {
    color: var(--np-blue-700);
    background: #f6faff;
}

body .primary-content .client-home-cards .card .card-footer {
    min-height: 12px;
    padding: 8px 18px;
    background: #fff;
    border-radius: 0 0 18px 18px;
}

/* Right sidebar */

body .sidebar .card,
body .sidebar .panel {
    margin-bottom: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--np-line);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(14, 42, 91, .055);
}

body .sidebar .card-header,
body .sidebar .panel-heading {
    min-height: 50px;
    padding: 13px 16px;
    color: var(--np-blue-900);
    background: linear-gradient(180deg, #fff, #fbfdff);
    border-bottom: 1px solid var(--np-line);
    font-size: 13px;
    font-weight: 900;
}

body .sidebar .card-body,
body .sidebar .panel-body {
    color: var(--np-muted);
    line-height: 1.85;
}

body .sidebar .list-group {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

body .sidebar .list-group-item {
    min-height: 44px;
    padding: 11px 16px;
    color: #61708b;
    background: #fff;
    border-width: 0 0 1px;
}

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

/* Standard Cart / Store — dark theme */

html[data-theme="dark"] body #order-standard_cart {
    color: #dce8f7;
}

html[data-theme="dark"] body #order-standard_cart .header-lined h1,
html[data-theme="dark"] body #order-standard_cart .header-lined h2 {
    color: #f4f8ff;
}

html[data-theme="dark"] body #order-standard_cart .products .product {
    overflow: hidden;
    color: #dce8f7;
    background: linear-gradient(145deg, #122238, #0e1b2c) !important;
    border: 1px solid #2a405b !important;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
}

html[data-theme="dark"] body #order-standard_cart .products .product:hover {
    background: linear-gradient(145deg, #172b45, #112238) !important;
    border-color: #3c6897 !important;
    box-shadow: 0 16px 38px rgba(0, 0, 0, .32);
    transform: translateY(-3px);
}

html[data-theme="dark"] body #order-standard_cart .products .product header {
    color: #f4f8ff !important;
    background: rgba(20, 39, 63, .92) !important;
    border-bottom: 1px solid #2a405b;
}

html[data-theme="dark"] body #order-standard_cart .products .product header span,
html[data-theme="dark"] body #order-standard_cart .products .product header strong {
    color: #f4f8ff !important;
}

html[data-theme="dark"] body #order-standard_cart .products .product .product-desc {
    color: #b7c6da !important;
    background: transparent !important;
}

html[data-theme="dark"] body #order-standard_cart .products .product .product-desc p,
html[data-theme="dark"] body #order-standard_cart .products .product .product-desc li,
html[data-theme="dark"] body #order-standard_cart .products .product .product-desc strong {
    color: #b7c6da !important;
}

html[data-theme="dark"] body #order-standard_cart .products .product footer {
    color: #b7c6da !important;
    background: rgba(8, 17, 29, .34) !important;
    border-top-color: #263b55 !important;
}

html[data-theme="dark"] body #order-standard_cart .products .product .product-pricing {
    color: #b7c6da !important;
}

html[data-theme="dark"] body #order-standard_cart .products .product .product-pricing .price {
    color: #61c6ff !important;
    text-shadow: none;
}

html[data-theme="dark"] body #order-standard_cart .products .product .btn-order-now {
    color: #fff !important;
    background: linear-gradient(135deg, #1877e8, #0aa8d8) !important;
    border-color: transparent !important;
    box-shadow: 0 7px 18px rgba(24, 119, 232, .27);
}

html[data-theme="dark"] body #order-standard_cart .products .product .btn-order-now:hover,
html[data-theme="dark"] body #order-standard_cart .products .product .btn-order-now:focus {
    color: #fff !important;
    background: linear-gradient(135deg, #2588f5, #13b8e8) !important;
}

html[data-theme="dark"] body #order-standard_cart .cart-sidebar .card,
html[data-theme="dark"] body #order-standard_cart .sidebar-collapsed .card {
    color: #dce8f7;
    background: #101d2d !important;
    border-color: #2a405b !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .2);
}

html[data-theme="dark"] body #order-standard_cart .cart-sidebar .card-header,
html[data-theme="dark"] body #order-standard_cart .cart-sidebar .panel-heading,
html[data-theme="dark"] body #order-standard_cart .sidebar-collapsed .card-header,
html[data-theme="dark"] body #order-standard_cart .sidebar-collapsed .panel-heading {
    color: #eef5ff !important;
    background: #16283f !important;
    border-color: #2a405b !important;
}

html[data-theme="dark"] body #order-standard_cart .cart-sidebar .panel-title,
html[data-theme="dark"] body #order-standard_cart .sidebar-collapsed .panel-title {
    color: #eef5ff !important;
}

html[data-theme="dark"] body #order-standard_cart .cart-sidebar .list-group-item {
    color: #b7c6da !important;
    background: #101d2d !important;
    border-color: #263b55 !important;
}

html[data-theme="dark"] body #order-standard_cart .cart-sidebar .list-group-item:hover,
html[data-theme="dark"] body #order-standard_cart .cart-sidebar .list-group-item:focus {
    color: #fff !important;
    background: #172b45 !important;
}

html[data-theme="dark"] body #order-standard_cart .cart-sidebar .list-group-item.active {
    color: #fff !important;
    background: linear-gradient(135deg, #176bd1, #098fb9) !important;
    border-color: #2389df !important;
}

html[data-theme="dark"] body #order-standard_cart .sidebar-collapsed .card-body {
    color: #dce8f7;
    background: #101d2d !important;
}

html[data-theme="dark"] body #order-standard_cart .sidebar-collapsed .form-control,
html[data-theme="dark"] body #order-standard_cart .sidebar-collapsed .custom-select {
    color: #e6eef9 !important;
    background-color: #0c1827 !important;
    border-color: #304864 !important;
}

/* Standard Cart — cart review and checkout */

html[data-theme="dark"] body #order-standard_cart .secondary-cart-body .view-cart-items-header {
    color: #dce8f7 !important;
    background: #16283f !important;
    border-color: #2a405b !important;
}

html[data-theme="dark"] body #order-standard_cart .secondary-cart-body .view-cart-items {
    color: #dce8f7 !important;
    background: transparent !important;
    border-color: #2a405b !important;
}

html[data-theme="dark"] body #order-standard_cart .secondary-cart-body .view-cart-items .item {
    color: #dce8f7 !important;
    background: #101d2d !important;
    border-color: #2a405b !important;
}

html[data-theme="dark"] body #order-standard_cart .secondary-cart-body .view-cart-items .item-domain,
html[data-theme="dark"] body #order-standard_cart .secondary-cart-body .view-cart-items .item-title,
html[data-theme="dark"] body #order-standard_cart .secondary-cart-body .view-cart-items .item-price {
    color: #eef5ff !important;
}

html[data-theme="dark"] body #order-standard_cart .secondary-cart-body .view-cart-items .item-cycle,
html[data-theme="dark"] body #order-standard_cart .secondary-cart-body .view-cart-items .item-options {
    color: #a9bad0 !important;
}

html[data-theme="dark"] body #order-standard_cart .secondary-cart-body .view-cart-empty {
    display: flex;
    min-height: 145px;
    align-items: center;
    justify-content: center;
    padding: 30px;
    color: #a9bad0 !important;
    background:
        radial-gradient(circle at 50% 0, rgba(31, 139, 240, .1), transparent 18rem),
        #101d2d !important;
    border-color: #2a405b !important;
    font-size: 14px;
    font-weight: 700;
}

html[data-theme="dark"] body #order-standard_cart .secondary-cart-body .view-cart-tabs {
    margin-top: 24px;
}

html[data-theme="dark"] body #order-standard_cart .secondary-cart-body .view-cart-tabs .nav-tabs {
    gap: 7px;
    border: 0 !important;
}

html[data-theme="dark"] body #order-standard_cart .secondary-cart-body .view-cart-tabs .nav-tabs .nav-link {
    color: #a9bad0 !important;
    background: #0d1929 !important;
    border: 1px solid #2a405b !important;
    border-radius: 11px 11px 0 0 !important;
}

html[data-theme="dark"] body #order-standard_cart .secondary-cart-body .view-cart-tabs .nav-tabs .nav-link.active,
html[data-theme="dark"] body #order-standard_cart .secondary-cart-body .view-cart-tabs .nav-tabs .nav-link[aria-expanded="true"] {
    color: #eef5ff !important;
    background: #16283f !important;
    border-color: #345474 !important;
    border-bottom-color: #16283f !important;
}

html[data-theme="dark"] body #order-standard_cart .secondary-cart-body .view-cart-tabs .tab-content {
    color: #dce8f7 !important;
    background: #101d2d !important;
    border-color: #2a405b !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}

html[data-theme="dark"] body #order-standard_cart .secondary-cart-body .view-cart-tabs .field,
html[data-theme="dark"] body #order-standard_cart .secondary-cart-body .view-cart-tabs .form-control,
html[data-theme="dark"] body #order-standard_cart .secondary-cart-body .view-cart-tabs .custom-select {
    color: #eef5ff !important;
    background: #0a1727 !important;
    border-color: #304a68 !important;
}

html[data-theme="dark"] body #order-standard_cart .secondary-cart-body .view-cart-tabs .form-control::placeholder {
    color: #8295ae !important;
    opacity: 1;
}

html[data-theme="dark"] body #order-standard_cart .secondary-cart-body .view-cart-tabs .field-icon {
    color: #75baff !important;
    background: transparent !important;
}

body #order-standard_cart .secondary-cart-body .view-cart-tabs .prepend-icon {
    position: relative;
}

body #order-standard_cart .secondary-cart-body .view-cart-tabs .prepend-icon .field-icon {
    position: absolute;
    top: 1px;
    bottom: 1px;
    z-index: 3;
    display: grid;
    width: 48px;
    height: auto;
    margin: 0;
    place-items: center;
    pointer-events: none;
}

html[dir="rtl"] body #order-standard_cart .secondary-cart-body .view-cart-tabs .prepend-icon .field-icon {
    right: 1px;
    left: auto;
    border-right: 0;
    border-left: 1px solid var(--np-line);
    border-radius: 0 9px 9px 0;
}

html[dir="rtl"] body #order-standard_cart .secondary-cart-body .view-cart-tabs .prepend-icon .form-control {
    padding-right: 60px !important;
    padding-left: 14px !important;
    text-align: right;
}

html[dir="ltr"] body #order-standard_cart .secondary-cart-body .view-cart-tabs .prepend-icon .field-icon {
    right: auto;
    left: 1px;
    border-right: 1px solid var(--np-line);
    border-left: 0;
    border-radius: 9px 0 0 9px;
}

html[dir="ltr"] body #order-standard_cart .secondary-cart-body .view-cart-tabs .prepend-icon .form-control {
    padding-right: 14px !important;
    padding-left: 60px !important;
    text-align: left;
}

html[data-theme="dark"] body #order-standard_cart .secondary-cart-body .view-cart-tabs .btn-default {
    color: #fff !important;
    background: linear-gradient(135deg, #176bd1, #099bc7) !important;
    border-color: transparent !important;
    border-radius: 10px;
}

html[data-theme="dark"] body #order-standard_cart .secondary-cart-sidebar .order-summary {
    color: #dce8f7 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: 0 14px 36px rgba(0, 0, 0, .22);
}

html[data-theme="dark"] body #order-standard_cart .secondary-cart-sidebar .order-summary h2 {
    padding: 16px 18px;
    color: #f1f6ff !important;
    background: #16283f !important;
    border-color: #2a405b !important;
}

html[data-theme="dark"] body #order-standard_cart .secondary-cart-sidebar .order-summary .summary-container {
    color: #dce8f7 !important;
    background: #101d2d !important;
    border-color: #2a405b !important;
}

html[data-theme="dark"] body #order-standard_cart .secondary-cart-sidebar .order-summary .subtotal,
html[data-theme="dark"] body #order-standard_cart .secondary-cart-sidebar .order-summary .bordered-totals,
html[data-theme="dark"] body #order-standard_cart .secondary-cart-sidebar .order-summary .recurring-totals {
    color: #c6d4e7 !important;
    border-color: #2a405b !important;
}

html[data-theme="dark"] body #order-standard_cart .secondary-cart-sidebar .order-summary .total-due-today {
    color: #b7c6da !important;
    background: #0d1929 !important;
    border-color: #2a405b !important;
}

html[data-theme="dark"] body #order-standard_cart .secondary-cart-sidebar .order-summary .total-due-today .amt {
    color: #61c6ff !important;
}

html[data-theme="dark"] body #order-standard_cart .secondary-cart-sidebar .order-summary .btn-checkout {
    color: #fff !important;
    background: linear-gradient(135deg, #176bd1, #099bc7) !important;
    border-color: transparent !important;
    box-shadow: 0 9px 22px rgba(23, 107, 209, .25);
}

html[data-theme="dark"] body #order-standard_cart .secondary-cart-sidebar .order-summary .btn-checkout.disabled {
    color: #8fa2ba !important;
    background: #162538 !important;
    border: 1px solid #30445d !important;
    box-shadow: none;
    opacity: 1;
}

html[data-theme="dark"] body #order-standard_cart .secondary-cart-sidebar .order-summary .btn-continue-shopping {
    color: #75baff !important;
}

/* Standard Cart — domain renewals */

html[data-theme="dark"] body #order-standard_cart .secondary-cart-body #domainRenewals {
    overflow: hidden;
    color: #dce8f7 !important;
    background:
        radial-gradient(circle at 100% 0, rgba(31, 139, 240, .1), transparent 18rem),
        #101d2d !important;
    border: 1px solid #2a405b !important;
    border-radius: 16px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, .22);
}

html[data-theme="dark"] body #order-standard_cart .secondary-cart-body #domainRenewals .domain-renewal {
    color: #dce8f7 !important;
    background: transparent !important;
    border-color: #2a405b !important;
}

html[data-theme="dark"] body #order-standard_cart .secondary-cart-body #domainRenewals .domain-renewal:hover {
    background: rgba(23, 43, 69, .58) !important;
}

html[data-theme="dark"] body #order-standard_cart .secondary-cart-body #domainRenewals .domain-renewal h3,
html[data-theme="dark"] body #order-standard_cart .secondary-cart-body #domainRenewals .domain-renewal h4,
html[data-theme="dark"] body #order-standard_cart .secondary-cart-body #domainRenewals .domain-renewal .domain-name,
html[data-theme="dark"] body #order-standard_cart .secondary-cart-body #domainRenewals .domain-renewal .domain-name a {
    color: #f1f6ff !important;
}

html[data-theme="dark"] body #order-standard_cart .secondary-cart-body #domainRenewals .domain-renewal p,
html[data-theme="dark"] body #order-standard_cart .secondary-cart-body #domainRenewals .domain-renewal label,
html[data-theme="dark"] body #order-standard_cart .secondary-cart-body #domainRenewals .domain-renewal small,
html[data-theme="dark"] body #order-standard_cart .secondary-cart-body #domainRenewals .domain-renewal .text-muted,
html[data-theme="dark"] body #order-standard_cart .secondary-cart-body #domainRenewals .domain-renewal .domain-renewal-desc,
html[data-theme="dark"] body #order-standard_cart .secondary-cart-body #domainRenewals .domain-renewal .domain-expiry {
    color: #a9bad0 !important;
}

html[data-theme="dark"] body #order-standard_cart .secondary-cart-body #domainRenewals .domain-renewal .form-control,
html[data-theme="dark"] body #order-standard_cart .secondary-cart-body #domainRenewals .domain-renewal select {
    min-height: 44px;
    color: #eef5ff !important;
    background-color: #0a1727 !important;
    border-color: #304a68 !important;
    border-radius: 11px;
}

html[data-theme="dark"] body #order-standard_cart .secondary-cart-body #domainRenewals .domain-renewal .btn-default,
html[data-theme="dark"] body #order-standard_cart .secondary-cart-body #domainRenewals .domain-renewal .btn-primary,
html[data-theme="dark"] body #order-standard_cart .secondary-cart-body #domainRenewals .domain-renewal .btn-success {
    min-height: 42px;
    padding: 8px 18px;
    color: #fff !important;
    background: linear-gradient(135deg, #176bd1, #099bc7) !important;
    border-color: transparent !important;
    border-radius: 11px;
    box-shadow: 0 8px 20px rgba(23, 107, 209, .23);
}

html[data-theme="dark"] body #order-standard_cart .secondary-cart-body #domainRenewals .domain-renewal .label-success,
html[data-theme="dark"] body #order-standard_cart .secondary-cart-body #domainRenewals .domain-renewal .badge-success {
    color: #c7f7dd !important;
    background: #146b47 !important;
    border: 1px solid #25845d;
}

html[data-theme="dark"] body #order-standard_cart #orderSummary.order-summary {
    color: #dce8f7 !important;
    background: transparent !important;
}

html[data-theme="dark"] body #order-standard_cart #orderSummary.order-summary h2 {
    color: #f1f6ff !important;
    background: #16283f !important;
    border-color: #2a405b !important;
}

html[data-theme="dark"] body #order-standard_cart #orderSummary.order-summary .summary-container {
    color: #dce8f7 !important;
    background: #101d2d !important;
    border-color: #2a405b !important;
}

html[data-theme="dark"] body #order-standard_cart #orderSummary.order-summary .total-due-today {
    color: #a9bad0 !important;
    background: #0d1929 !important;
    border-color: #2a405b !important;
}

html[data-theme="dark"] body #order-standard_cart #orderSummary.order-summary .total-due-today .amt {
    color: #61c6ff !important;
}

html[data-theme="dark"] body #order-standard_cart .btn-view-cart,
html[data-theme="dark"] body #order-standard_cart a[href*="a=view"].btn-primary {
    color: #fff !important;
    background: linear-gradient(135deg, #176bd1, #099bc7) !important;
    border-color: transparent !important;
    border-radius: 11px;
    box-shadow: 0 9px 22px rgba(23, 107, 209, .25);
}

/* Standard Cart — domain registration and pricing */

html[data-theme="dark"] body #order-standard_cart .domain-pricing .bg-white {
    overflow: hidden;
    color: #dce8f7 !important;
    background: #101d2d !important;
    border-color: #2a405b !important;
    box-shadow: 0 14px 36px rgba(0, 0, 0, .22);
}

html[data-theme="dark"] body #order-standard_cart .domain-pricing .tld-pricing-header,
html[data-theme="dark"] body #order-standard_cart .domain-pricing .tld-pricing-header > div,
html[data-theme="dark"] body #order-standard_cart .domain-pricing .tld-pricing-header div,
html[data-theme="dark"] body #order-standard_cart .domain-pricing .tld-pricing-header .tld-column {
    color: #eef5ff !important;
    background: #16283f !important;
    border-color: #304a68 !important;
}

html[data-theme="dark"] body #order-standard_cart .domain-pricing .tld-pricing-header .col-md-8,
html[data-theme="dark"] body #order-standard_cart .domain-pricing .tld-pricing-header .col-md-8 > div {
    color: #dce8f7 !important;
    background: #16283f !important;
    border-color: #304a68 !important;
}

html[data-theme="dark"] body #order-standard_cart .domain-pricing .tld-row,
html[data-theme="dark"] body #order-standard_cart .domain-pricing .filtered-row {
    color: #c6d4e7 !important;
    background: #101d2d !important;
    border-color: #263b55 !important;
}

html[data-theme="dark"] body #order-standard_cart .domain-pricing .tld-row:nth-child(even),
html[data-theme="dark"] body #order-standard_cart .domain-pricing .filtered-row:nth-child(even) {
    background: #0d1929 !important;
}

html[data-theme="dark"] body #order-standard_cart .domain-pricing .tld-row:hover,
html[data-theme="dark"] body #order-standard_cart .domain-pricing .filtered-row:hover,
html[data-theme="dark"] body #order-standard_cart .domain-pricing .highlighted {
    color: #eef5ff !important;
    background: #172b45 !important;
}

html[data-theme="dark"] body #order-standard_cart .domain-pricing .tld-row > div,
html[data-theme="dark"] body #order-standard_cart .domain-pricing .filtered-row > div {
    color: #b9c9dc !important;
    border-color: #263b55 !important;
}

html[data-theme="dark"] body #order-standard_cart .domain-pricing .tld-row .tld-name,
html[data-theme="dark"] body #order-standard_cart .domain-pricing .filtered-row .tld-name,
html[data-theme="dark"] body #order-standard_cart .domain-pricing .tld-row strong {
    color: #75baff !important;
}

html[data-theme="dark"] body #order-standard_cart .domain-pricing .tld-row small,
html[data-theme="dark"] body #order-standard_cart .domain-pricing .filtered-row small {
    color: #8295ae !important;
}

html[data-theme="dark"] body #order-standard_cart .domain-pricing .tld-filters .badge {
    color: #b7c6da !important;
    background: #101d2d !important;
    border-color: #304a68 !important;
}

html[data-theme="dark"] body #order-standard_cart .domain-pricing .tld-filters .badge.badge-success,
html[data-theme="dark"] body #order-standard_cart .domain-pricing .tld-filters .badge.active {
    color: #fff !important;
    background: #176bd1 !important;
    border-color: #2389df !important;
}

html[data-theme="dark"] body #order-standard_cart .domain-promo-box {
    color: #dce8f7 !important;
    background:
        radial-gradient(circle at 100% 0, rgba(31, 139, 240, .1), transparent 13rem),
        #101d2d !important;
    border: 1px solid #2a405b !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
}

html[data-theme="dark"] body #order-standard_cart .domain-promo-box h2,
html[data-theme="dark"] body #order-standard_cart .domain-promo-box h3,
html[data-theme="dark"] body #order-standard_cart .domain-promo-box .text-primary {
    color: #eef5ff !important;
}

html[data-theme="dark"] body #order-standard_cart .domain-promo-box p {
    color: #a9bad0 !important;
}

html[data-theme="dark"] body #order-standard_cart .domain-promo-box i,
html[data-theme="dark"] body #order-standard_cart .domain-promo-box .fas,
html[data-theme="dark"] body #order-standard_cart .domain-promo-box .far {
    color: #75baff !important;
}

html[data-theme="dark"] body #order-standard_cart .domain-promo-box .btn-warning,
html[data-theme="dark"] body #order-standard_cart .domain-promo-box .btn-primary {
    color: #fff !important;
    background: linear-gradient(135deg, #176bd1, #099bc7) !important;
    border-color: transparent !important;
    box-shadow: 0 8px 20px rgba(23, 107, 209, .23);
}

/* Standard Cart — transfer domain */

html[data-theme="dark"] body #order-standard_cart #frmDomainTransfer .card,
html[data-theme="dark"] body #order-standard_cart #frmDomainTransfer .panel {
    overflow: hidden;
    color: #dce8f7 !important;
    background:
        radial-gradient(circle at 100% 0, rgba(31, 139, 240, .1), transparent 15rem),
        #101d2d !important;
    border: 1px solid #2a405b !important;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
}

html[data-theme="dark"] body #order-standard_cart #frmDomainTransfer .panel-heading,
html[data-theme="dark"] body #order-standard_cart #frmDomainTransfer .card-header {
    color: #f1f6ff !important;
    background: #16283f !important;
    border-color: #2a405b !important;
}

html[data-theme="dark"] body #order-standard_cart #frmDomainTransfer .panel-heading .panel-title,
html[data-theme="dark"] body #order-standard_cart #frmDomainTransfer .card-header .card-title {
    color: #f1f6ff !important;
}

html[data-theme="dark"] body #order-standard_cart #frmDomainTransfer .panel-body,
html[data-theme="dark"] body #order-standard_cart #frmDomainTransfer .card-body {
    color: #dce8f7 !important;
    background: transparent !important;
}

html[data-theme="dark"] body #order-standard_cart #frmDomainTransfer label {
    color: #dce8f7 !important;
}

html[data-theme="dark"] body #order-standard_cart #frmDomainTransfer label a {
    color: #75baff !important;
}

html[data-theme="dark"] body #order-standard_cart #frmDomainTransfer .form-control,
html[data-theme="dark"] body #order-standard_cart #frmDomainTransfer #inputTransferDomain,
html[data-theme="dark"] body #order-standard_cart #frmDomainTransfer #inputAuthCode {
    min-height: 46px;
    color: #eef5ff !important;
    background: #0a1727 !important;
    border-color: #304a68 !important;
    border-radius: 11px;
}

html[data-theme="dark"] body #order-standard_cart #frmDomainTransfer .form-control::placeholder {
    color: #8295ae !important;
    opacity: 1;
}

body #order-standard_cart #frmDomainTransfer #inputTransferDomain,
body #order-standard_cart #frmDomainTransfer #inputAuthCode {
    direction: ltr;
    text-align: left;
}

@media (min-width: 576px) {
    html[dir="rtl"] body #order-standard_cart #frmDomainTransfer .offset-sm-2,
    html[dir="rtl"] body #order-standard_cart #frmDomainTransfer .col-sm-offset-2 {
        margin-right: 16.666667%;
        margin-left: 0;
    }
}

html[data-theme="dark"] body #order-standard_cart #frmDomainTransfer .panel-footer,
html[data-theme="dark"] body #order-standard_cart #frmDomainTransfer .card-footer {
    color: #dce8f7 !important;
    background: #0d1929 !important;
    border-color: #2a405b !important;
}

html[data-theme="dark"] body #order-standard_cart #frmDomainTransfer #btnTransferDomain {
    min-height: 44px;
    padding: 9px 20px;
    color: #fff !important;
    background: linear-gradient(135deg, #176bd1, #099bc7) !important;
    border-color: transparent !important;
    border-radius: 11px;
    box-shadow: 0 8px 20px rgba(23, 107, 209, .23);
}

html[data-theme="dark"] body #order-standard_cart #frmDomainTransfer .alert-warning {
    color: #ffe0a3;
    background: #302513;
    border-color: #6b5426;
}

/* Standard Cart — hosting order domain selection */

html[data-theme="dark"] body #order-standard_cart #frmProductDomain .domain-selection-options {
    overflow: hidden;
    color: #dce8f7 !important;
    background:
        radial-gradient(circle at 100% 0, rgba(31, 139, 240, .1), transparent 18rem),
        #101d2d !important;
    border: 1px solid #2a405b !important;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
}

html[data-theme="dark"] body #order-standard_cart #frmProductDomain .domain-selection-options .option {
    padding: 14px 20px 20px;
    color: #dce8f7 !important;
    background: transparent !important;
    border-color: #2a405b !important;
}

body #order-standard_cart #frmProductDomain .domain-selection-options .option > label:first-child {
    display: flex;
    min-height: 26px;
    align-items: center;
    gap: 9px;
    margin: 0 0 14px;
    line-height: 1.7;
}

body #order-standard_cart #frmProductDomain .domain-selection-options .domain-input-group {
    margin: 4px 0 0;
}

body #order-standard_cart #frmProductDomain #domainregister > .row:first-child {
    align-items: center;
}

body #order-standard_cart #frmProductDomain #domainregister > .row + .row {
    margin-top: 18px;
}

body #order-standard_cart #frmProductDomain #domainregister > .row + .row .domains-row {
    display: flex;
    min-height: 42px;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin: 0;
}

body #order-standard_cart #frmProductDomain #domainregister > .row + .row .multiselect-native-select,
body #order-standard_cart #frmProductDomain #domainregister > .row + .row .btn-group {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    margin: 0;
}

body #order-standard_cart #frmProductDomain #domainregister > .row + .row button.multiselect {
    min-width: 112px;
    min-height: 38px;
    padding: 7px 11px !important;
    margin: 0 !important;
    line-height: 1.4;
    white-space: nowrap;
}

body #order-standard_cart #frmProductDomain #domainregister > .row + .row .domains-row > label {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 7px;
    padding: 0 4px;
    margin: 0;
    white-space: nowrap;
}

body #order-standard_cart #frmProductDomain #domainregister > .row + .row .domains-row > label input {
    flex: 0 0 auto;
    margin: 0;
}

html[data-theme="dark"] body #order-standard_cart #frmProductDomain .domain-selection-options .option.option-selected,
html[data-theme="dark"] body #order-standard_cart #frmProductDomain .domain-selection-options .option:has(input[name="domainoption"]:checked) {
    color: #eef5ff !important;
    background: rgba(23, 43, 69, .62) !important;
}

html[data-theme="dark"] body #order-standard_cart #frmProductDomain .domain-selection-options .option > label,
html[data-theme="dark"] body #order-standard_cart #frmProductDomain .domain-selection-options .option label {
    color: #dce8f7 !important;
}

html[data-theme="dark"] body #order-standard_cart #frmProductDomain .domain-selection-options input[type="radio"],
html[data-theme="dark"] body #order-standard_cart #frmProductDomain .domain-selection-options input[type="checkbox"] {
    accent-color: #1f8bf0;
}

html[data-theme="dark"] body #order-standard_cart #frmProductDomain .domain-selection-options textarea,
html[data-theme="dark"] body #order-standard_cart #frmProductDomain .domain-selection-options .form-control,
html[data-theme="dark"] body #order-standard_cart #frmProductDomain .domain-selection-options select {
    color: #eef5ff !important;
    background-color: #0a1727 !important;
    border: 1px solid #304a68 !important;
    border-radius: 11px;
}

html[data-theme="dark"] body #order-standard_cart #frmProductDomain .domain-selection-options textarea {
    min-height: 120px;
    padding: 13px 15px;
    resize: vertical;
}

html[data-theme="dark"] body #order-standard_cart #frmProductDomain .domain-selection-options textarea::placeholder,
html[data-theme="dark"] body #order-standard_cart #frmProductDomain .domain-selection-options .form-control::placeholder {
    color: #8295ae !important;
    opacity: 1;
}

html[data-theme="dark"] body #order-standard_cart #frmProductDomain .domain-selection-options .input-group-text,
html[data-theme="dark"] body #order-standard_cart #frmProductDomain .domain-selection-options .input-group-addon {
    color: #b9c9dc !important;
    background: #16283f !important;
    border-color: #304a68 !important;
}

body #order-standard_cart #frmProductDomain #domaintransfer .domains-row,
body #order-standard_cart #frmProductDomain #domainowndomain .domains-row {
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    direction: ltr;
}

body #order-standard_cart #frmProductDomain #domaintransfer .domains-row .col-9,
body #order-standard_cart #frmProductDomain #domainowndomain .domains-row .col-9 {
    flex: 0 0 75%;
    max-width: 75%;
}

body #order-standard_cart #frmProductDomain #domaintransfer .domains-row .col-3,
body #order-standard_cart #frmProductDomain #domainowndomain .domains-row .col-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

body #order-standard_cart #frmProductDomain #domaintransfer .input-group,
body #order-standard_cart #frmProductDomain #domainowndomain .input-group {
    flex-wrap: nowrap;
    direction: ltr;
}

body #order-standard_cart #frmProductDomain #domaintransfer .input-group-prepend,
body #order-standard_cart #frmProductDomain #domainowndomain .input-group-prepend {
    margin-right: -1px;
    margin-left: 0;
}

body #order-standard_cart #frmProductDomain #domaintransfer .input-group-prepend .input-group-text,
body #order-standard_cart #frmProductDomain #domainowndomain .input-group-prepend .input-group-text {
    border-radius: 10px 0 0 10px !important;
}

body #order-standard_cart #frmProductDomain #domaintransfer .input-group > .form-control,
body #order-standard_cart #frmProductDomain #domainowndomain .input-group > .form-control {
    min-width: 0;
    direction: ltr;
    text-align: left;
    border-radius: 0 10px 10px 0 !important;
}

body #order-standard_cart #frmProductDomain #transfertld,
body #order-standard_cart #frmProductDomain #owndomaintld {
    direction: ltr;
    text-align: left;
}

html[data-theme="dark"] body #order-standard_cart #frmProductDomain .domain-selection-options .multiselect-native-select .btn,
html[data-theme="dark"] body #order-standard_cart #frmProductDomain .domain-selection-options button.multiselect {
    color: #dce8f7 !important;
    background: #0a1727 !important;
    border-color: #304a68 !important;
}

html[data-theme="dark"] body #order-standard_cart #frmProductDomain .domain-selection-options .multiselect-container {
    color: #dce8f7 !important;
    background: #101d2d !important;
    border-color: #304a68 !important;
}

html[data-theme="dark"] body #order-standard_cart #frmProductDomain .domain-selection-options .multiselect-container .dropdown-item,
html[data-theme="dark"] body #order-standard_cart #frmProductDomain .domain-selection-options .multiselect-container label {
    color: #dce8f7 !important;
    background: transparent !important;
}

html[data-theme="dark"] body #order-standard_cart #frmProductDomain .domain-selection-options .multiselect-container .dropdown-item:hover {
    color: #fff !important;
    background: #172b45 !important;
}

html[data-theme="dark"] body #order-standard_cart #frmProductDomain .domain-selection-options .btn-primary,
html[data-theme="dark"] body #order-standard_cart #frmProductDomain .domain-selection-options button[type="submit"] {
    min-height: 42px;
    color: #fff !important;
    background: linear-gradient(135deg, #176bd1, #099bc7) !important;
    border-color: transparent !important;
    border-radius: 11px;
    box-shadow: 0 8px 20px rgba(23, 107, 209, .23);
}

html[data-theme="dark"] body #order-standard_cart #DomainSearchResults,
html[data-theme="dark"] body #order-standard_cart #DomainSearchResults #searchDomainInfo,
html[data-theme="dark"] body #order-standard_cart #DomainSearchResults .domain-lookup-result,
html[data-theme="dark"] body #order-standard_cart #DomainSearchResults .domain-suggestion,
html[data-theme="dark"] body #order-standard_cart #DomainSearchResults .suggested-domain {
    color: #dce8f7 !important;
    background: #101d2d !important;
    border-color: #2a405b !important;
}

html[data-theme="dark"] body #order-standard_cart #DomainSearchResults .primary-domain-header {
    color: #eef5ff !important;
    background: #16283f !important;
    border-color: #2a405b !important;
}

html[data-theme="dark"] body #order-standard_cart #DomainSearchResults .domain-available,
html[data-theme="dark"] body #order-standard_cart #DomainSearchResults .domain-checker-available {
    color: #70dfa8 !important;
}

html[data-theme="dark"] body #order-standard_cart #DomainSearchResults .domain-unavailable,
html[data-theme="dark"] body #order-standard_cart #DomainSearchResults .domain-checker-unavailable {
    color: #ff929f !important;
}

/* Standard Cart — final checkout */

html[data-theme="dark"] body #order-standard_cart #frmCheckout {
    color: #dce8f7;
}

html[data-theme="dark"] body #order-standard_cart #frmCheckout .sub-heading {
    color: #eef5ff !important;
    border-color: #304a68 !important;
}

html[data-theme="dark"] body #order-standard_cart #frmCheckout .sub-heading span {
    color: #eef5ff !important;
    background: #091523 !important;
}

html[data-theme="dark"] body #order-standard_cart #frmCheckout .account-select-container,
html[data-theme="dark"] body #order-standard_cart #frmCheckout #containerExistingAccountSelect {
    overflow: hidden;
    color: #dce8f7 !important;
    background: #0d1929 !important;
    border: 1px solid #2a405b !important;
    border-radius: 14px;
}

html[data-theme="dark"] body #order-standard_cart #frmCheckout .account-select-container div.account,
html[data-theme="dark"] body #order-standard_cart #frmCheckout #containerExistingAccountSelect .account {
    padding: 14px 16px;
    color: #a9bad0 !important;
    background: #0d1929 !important;
    border-color: #2a405b !important;
}

html[data-theme="dark"] body #order-standard_cart #frmCheckout .account-select-container div.account.active,
html[data-theme="dark"] body #order-standard_cart #frmCheckout #containerExistingAccountSelect .account.active,
html[data-theme="dark"] body #order-standard_cart #frmCheckout #containerExistingAccountSelect .account:has(input:checked) {
    color: #eef5ff !important;
    background:
        radial-gradient(circle at 100% 0, rgba(31, 139, 240, .1), transparent 14rem),
        #16283f !important;
}

html[data-theme="dark"] body #order-standard_cart #frmCheckout .account-select-container strong,
html[data-theme="dark"] body #order-standard_cart #frmCheckout .account-select-container label,
html[data-theme="dark"] body #order-standard_cart #frmCheckout #containerExistingAccountSelect strong,
html[data-theme="dark"] body #order-standard_cart #frmCheckout #containerExistingAccountSelect label {
    color: #eef5ff !important;
}

html[data-theme="dark"] body #order-standard_cart #frmCheckout .account-select-container small,
html[data-theme="dark"] body #order-standard_cart #frmCheckout #containerExistingAccountSelect small {
    color: #9bacc2 !important;
}

html[data-theme="dark"] body #order-standard_cart #frmCheckout .form-control,
html[data-theme="dark"] body #order-standard_cart #frmCheckout .field,
html[data-theme="dark"] body #order-standard_cart #frmCheckout .custom-select {
    color: #eef5ff !important;
    background-color: #0a1727 !important;
    border-color: #304a68 !important;
}

html[data-theme="dark"] body #order-standard_cart #frmCheckout .form-control::placeholder,
html[data-theme="dark"] body #order-standard_cart #frmCheckout .field::placeholder {
    color: #8295ae !important;
    opacity: 1;
}

body #order-standard_cart #frmCheckout .prepend-icon {
    position: relative;
    display: block;
    width: 100%;
}

body #order-standard_cart #frmCheckout .prepend-icon .field-icon {
    position: absolute;
    top: 1px;
    bottom: 1px;
    z-index: 4;
    display: grid;
    width: 48px;
    height: auto;
    margin: 0;
    place-items: center;
    color: var(--np-blue-600);
    background: transparent;
    pointer-events: none;
}

html[dir="rtl"] body #order-standard_cart #frmCheckout .prepend-icon .field-icon {
    right: 1px;
    left: auto !important;
    border-right: 0;
    border-left: 1px solid var(--np-line);
    border-radius: 0 9px 9px 0;
}

html[dir="rtl"] body #order-standard_cart #frmCheckout .prepend-icon > .field,
html[dir="rtl"] body #order-standard_cart #frmCheckout .prepend-icon > .form-control {
    padding-right: 60px !important;
    padding-left: 14px !important;
    text-align: right;
}

html[dir="ltr"] body #order-standard_cart #frmCheckout .prepend-icon .field-icon {
    right: auto;
    left: 1px !important;
    border-right: 1px solid var(--np-line);
    border-left: 0;
    border-radius: 9px 0 0 9px;
}

html[dir="ltr"] body #order-standard_cart #frmCheckout .prepend-icon > .field,
html[dir="ltr"] body #order-standard_cart #frmCheckout .prepend-icon > .form-control {
    padding-right: 14px !important;
    padding-left: 60px !important;
    text-align: left;
}

html[data-theme="dark"] body #order-standard_cart #frmCheckout .prepend-icon .field-icon {
    color: #75baff !important;
    background: #102039 !important;
    border-color: #304a68 !important;
}

body #order-standard_cart #frmCheckout .row:has(.prepend-icon) {
    margin-right: 0;
    margin-left: 0;
    padding-right: 8px;
    padding-left: 8px;
}

body #order-standard_cart #frmCheckout .row:has(.prepend-icon) > [class*="col-"] {
    padding-right: 8px;
    padding-left: 8px;
}

body #order-standard_cart #frmCheckout .row:has(.prepend-icon) .prepend-icon {
    margin-bottom: 16px;
}

/* International telephone input — RTL/LTR and dark mode */

.intl-tel-input,
.iti {
    width: 100%;
}

.prepend-icon:has(.intl-tel-input) > .field-icon,
.prepend-icon:has(.iti) > .field-icon {
    display: none !important;
}

html[dir="rtl"] .intl-tel-input .flag-container,
html[dir="rtl"] .iti .iti__flag-container {
    right: auto;
    left: 0;
}

html[dir="rtl"] .intl-tel-input .selected-flag,
html[dir="rtl"] .iti .iti__selected-country {
    right: auto;
    left: 0;
    min-width: 82px;
    direction: ltr;
    border-right: 1px solid var(--np-line);
    border-left: 0;
    border-radius: 10px 0 0 10px;
}

html[dir="rtl"] .intl-tel-input .selected-dial-code,
html[dir="rtl"] .iti .iti__selected-dial-code {
    direction: ltr;
    color: inherit;
    unicode-bidi: isolate;
}

html[dir="rtl"] .intl-tel-input input[type="tel"],
html[dir="rtl"] .iti input[type="tel"] {
    padding-right: 14px !important;
    padding-left: 100px !important;
    direction: ltr;
    text-align: left;
}

html[dir="rtl"] .intl-tel-input .country-list,
html[dir="rtl"] .iti .iti__country-list {
    right: auto;
    left: 0;
    direction: rtl;
    text-align: right;
}

html[dir="ltr"] .intl-tel-input .country-list,
html[dir="ltr"] .iti .iti__country-list {
    right: auto;
    left: 0;
    direction: ltr;
    text-align: left;
}

.intl-tel-input .country-list,
.iti .iti__country-list {
    z-index: 1060;
    width: min(400px, calc(100vw - 32px));
    max-width: min(400px, calc(100vw - 32px));
    max-height: 280px;
    padding: 6px;
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(5, 20, 42, .22);
}

.intl-tel-input .country-list .country,
.iti .iti__country-list .iti__country {
    display: flex;
    min-height: 38px;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    line-height: 1.45;
}

.intl-tel-input .country-list .flag-box,
.iti .iti__country-list .iti__flag-box {
    width: 22px;
    min-width: 22px;
    margin: 0;
    flex: 0 0 22px;
}

.intl-tel-input .country-list .country-name,
.iti .iti__country-list .iti__country-name {
    min-width: 0;
    overflow: hidden;
    flex: 1 1 auto;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.intl-tel-input .country-list .dial-code,
.iti .iti__country-list .iti__dial-code {
    direction: ltr;
    margin: 0;
    white-space: nowrap;
}

.intl-tel-input .country-list .divider,
.iti .iti__country-list .iti__divider {
    margin: 5px 4px;
}

html[data-theme="dark"] .intl-tel-input .selected-flag,
html[data-theme="dark"] .iti .iti__selected-country {
    background: #102039 !important;
    border-color: #304a68 !important;
}

html[data-theme="dark"] .intl-tel-input .selected-flag:hover,
html[data-theme="dark"] .intl-tel-input .selected-flag:focus,
html[data-theme="dark"] .iti .iti__selected-country:hover,
html[data-theme="dark"] .iti .iti__selected-country:focus {
    background: #172b45 !important;
}

html[data-theme="dark"] .intl-tel-input .iti-arrow {
    border-top-color: #9fc5e9;
}

html[data-theme="dark"] .intl-tel-input .iti-arrow.up {
    border-top-color: transparent;
    border-bottom-color: #9fc5e9;
}

html[data-theme="dark"] .intl-tel-input .country-list,
html[data-theme="dark"] .iti .iti__country-list {
    color: #dce8f7 !important;
    background: #101d2d !important;
    border: 1px solid #304a68 !important;
    box-shadow: 0 20px 55px rgba(0, 0, 0, .42);
}

html[data-theme="dark"] .intl-tel-input .country-list .country,
html[data-theme="dark"] .iti .iti__country-list .iti__country {
    color: #dce8f7 !important;
    background: transparent !important;
}

html[data-theme="dark"] .intl-tel-input .country-list .country.highlight,
html[data-theme="dark"] .intl-tel-input .country-list .country:hover,
html[data-theme="dark"] .iti .iti__country-list .iti__country.iti__highlight,
html[data-theme="dark"] .iti .iti__country-list .iti__country:hover {
    color: #fff !important;
    background: #172b45 !important;
}

html[data-theme="dark"] .intl-tel-input .country-list .dial-code,
html[data-theme="dark"] .iti .iti__country-list .iti__dial-code {
    color: #75baff !important;
}

html[data-theme="dark"] .intl-tel-input .country-list .divider,
html[data-theme="dark"] .iti .iti__country-list .iti__divider {
    border-color: #2a405b !important;
}

html[data-theme="dark"] .intl-tel-input .country-list input,
html[data-theme="dark"] .iti .iti__search-input {
    color: #eef5ff !important;
    background: #0a1727 !important;
    border-color: #304a68 !important;
}

html[data-theme="dark"] body #order-standard_cart #frmCheckout label,
html[data-theme="dark"] body #order-standard_cart #frmCheckout .control-label,
html[data-theme="dark"] body #order-standard_cart #frmCheckout .payment-method,
html[data-theme="dark"] body #order-standard_cart #frmCheckout .payment-methods,
html[data-theme="dark"] body #order-standard_cart #frmCheckout .payment-gateway {
    color: #c6d4e7 !important;
}

html[data-theme="dark"] body #order-standard_cart #frmCheckout .payment-methods label,
html[data-theme="dark"] body #order-standard_cart #frmCheckout .payment-method label,
html[data-theme="dark"] body #order-standard_cart #frmCheckout .payment-gateway label {
    color: #c6d4e7 !important;
}

html[data-theme="dark"] body #order-standard_cart #frmCheckout input[type="radio"],
html[data-theme="dark"] body #order-standard_cart #frmCheckout input[type="checkbox"] {
    accent-color: #1f8bf0;
}

html[data-theme="dark"] body #order-standard_cart #frmCheckout .total-due-today {
    color: #bff3d6 !important;
    background: #103126 !important;
    border: 1px solid #286149 !important;
    border-radius: 13px;
}

html[data-theme="dark"] body #order-standard_cart #frmCheckout .total-due-today .amt,
html[data-theme="dark"] body #order-standard_cart #frmCheckout #totalDueToday {
    color: #75e5aa !important;
}

/* Checkout additional fields */

body #order-standard_cart #frmCheckout .row:has(.field-help-text) {
    margin-right: 0;
    margin-left: 0;
    padding-right: 8px;
    padding-left: 8px;
}

body #order-standard_cart #frmCheckout .row:has(.field-help-text) > [class*="col-"] {
    max-width: 100%;
    padding-right: 8px;
    padding-left: 8px;
    flex: 0 0 100%;
}

body #order-standard_cart #frmCheckout .form-group:has(.field-help-text) {
    width: 100%;
    margin-bottom: 24px;
}

body #order-standard_cart #frmCheckout .field-help-text {
    display: block;
    margin: 8px 2px 0;
    line-height: 1.7;
}

html[data-theme="dark"] body #order-standard_cart #frmCheckout .field-help-text {
    color: #9fb0c6 !important;
}

/* Checkout payment total is rendered as an alert in WHMCS 9. */

html[data-theme="dark"] body #order-standard_cart #frmCheckout .alert-success,
html[data-theme="dark"] body #order-standard_cart .checkout .alert-success,
html[data-theme="dark"] body #order-standard_cart .total-due-today {
    color: #c9f7dc !important;
    background: linear-gradient(135deg, #12392b, #0e2b22) !important;
    border: 1px solid #2e7054 !important;
    border-radius: 13px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .16);
}

html[data-theme="dark"] body #order-standard_cart #frmCheckout .alert-success *,
html[data-theme="dark"] body #order-standard_cart .checkout .alert-success *,
html[data-theme="dark"] body #order-standard_cart .total-due-today *,
html[data-theme="dark"] body #order-standard_cart #totalDueToday {
    color: #8cebb7 !important;
}

html[data-theme="dark"] body #order-standard_cart #frmCheckout #creditCardInputFields,
html[data-theme="dark"] body #order-standard_cart #frmCheckout .cc-input-container,
html[data-theme="dark"] body #order-standard_cart #frmCheckout #containerNewUserSignup,
html[data-theme="dark"] body #order-standard_cart #frmCheckout .panel,
html[data-theme="dark"] body #order-standard_cart #frmCheckout .card {
    color: #dce8f7 !important;
    background: #101d2d !important;
    border-color: #2a405b !important;
}

html[data-theme="dark"] body #order-standard_cart #frmCheckout .checkout-security-msg {
    position: relative;
    min-height: 62px;
    padding: 16px 70px 16px 20px;
    color: #ffe0a3 !important;
    background: #302513 !important;
    border: 1px solid #6b5426;
    border-radius: 13px;
}

html[data-theme="dark"] body #order-standard_cart #frmCheckout .checkout-security-msg i {
    position: absolute;
    top: 50%;
    right: 22px;
    left: auto;
    float: none;
    margin: 0;
    color: #efbd42 !important;
    transform: translateY(-50%);
}

/* View invoice */

body.np-view-invoice {
    min-height: 100vh;
    padding: clamp(12px, 3vw, 34px) 0;
    background:
        radial-gradient(circle at 8% 4%, rgba(18, 188, 233, .09), transparent 28rem),
        var(--np-bg) !important;
}

body .invoice-container {
    width: min(100%, 960px);
    min-height: 0 !important;
    margin: 0 auto 40px;
    padding: clamp(22px, 4vw, 48px);
    color: var(--np-ink);
    background: var(--np-surface);
    border: 1px solid var(--np-line);
    border-radius: 18px;
    box-shadow: 0 18px 55px rgba(15, 43, 78, .09);
}

body .invoice-container > .row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-right: 0;
    margin-left: 0;
    gap: 28px;
}

body .invoice-container > .row > [class*="col-"] {
    width: auto;
    max-width: none;
    padding: 0;
    float: none;
}

body .invoice-container > .row:first-of-type {
    padding-bottom: 24px;
    align-items: center;
}

body .invoice-container .invoice-header {
    display: flex;
    margin: 0;
    padding: 0 0 24px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

body .invoice-container .invoice-logo img,
body .invoice-container .invoice-brand img {
    width: auto;
    max-width: 230px;
    max-height: 76px;
}

body .invoice-container .invoice-logo {
    margin: 0 0 14px;
}

body .invoice-container h3,
body .invoice-container h4 {
    color: var(--np-navy);
    font-weight: 800;
}

body .invoice-container > .row:first-of-type h3 {
    margin: 0;
    font-size: clamp(22px, 3vw, 30px);
}

body .invoice-container hr {
    margin: 20px 0;
    border-color: var(--np-line);
}

body .invoice-container .invoice-col {
    min-width: 0;
    line-height: 1.9;
}

html[dir="rtl"] body .invoice-container,
html[dir="rtl"] body .invoice-container .invoice-col,
html[dir="rtl"] body .invoice-container address,
body .invoice-container[dir="rtl"],
body .invoice-container[dir="rtl"] .invoice-col,
body .invoice-container[dir="rtl"] address {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] body .invoice-container > .row,
body .invoice-container[dir="rtl"] > .row {
    direction: rtl;
}

html[dir="rtl"] body .invoice-container > .row > [class*="col-"],
body .invoice-container[dir="rtl"] > .row > [class*="col-"] {
    direction: rtl;
    text-align: right !important;
}

html[dir="rtl"] body .invoice-container > .row:first-of-type > [class*="col-"]:last-child,
body .invoice-container[dir="rtl"] > .row:first-of-type > [class*="col-"]:last-child {
    text-align: left !important;
}

html[dir="ltr"] body .invoice-container > .row:first-of-type > [class*="col-"]:last-child {
    text-align: right !important;
}

body .invoice-container address {
    margin: 8px 0 0;
    color: var(--np-muted);
    font-style: normal;
    line-height: 2;
}

body .invoice-container .invoice-status {
    display: inline-flex;
    min-width: 142px;
    min-height: 46px;
    padding: 8px 22px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
}

body .invoice-container .invoice-status + small {
    display: block;
    margin-top: 9px;
    color: var(--np-muted);
}

body .invoice-container .invoice-items {
    margin-top: 28px;
    overflow: hidden;
    border: 1px solid var(--np-line);
    border-radius: 14px;
}

body .invoice-container .invoice-items .table {
    margin-bottom: 0;
}

body .invoice-container .table-responsive {
    margin-top: 28px;
    overflow: hidden;
    border: 1px solid var(--np-line);
    border-radius: 14px;
}

body .invoice-container table.table {
    width: 100%;
    margin: 0;
    color: var(--np-ink);
    background: var(--np-surface);
    border-collapse: separate;
    border-spacing: 0;
}

body .invoice-container table.table th,
body .invoice-container table.table td {
    padding: 12px 16px;
    vertical-align: middle;
    border-color: var(--np-line);
}

body .invoice-container table.table thead th {
    color: var(--np-navy);
    background: var(--np-bg);
    font-weight: 800;
}

html[dir="rtl"] body .invoice-container table.table th,
html[dir="rtl"] body .invoice-container table.table td,
body .invoice-container[dir="rtl"] table.table th,
body .invoice-container[dir="rtl"] table.table td {
    text-align: right;
}

html[dir="rtl"] body .invoice-container table.table th:last-child,
html[dir="rtl"] body .invoice-container table.table td:last-child,
body .invoice-container[dir="rtl"] table.table th:last-child,
body .invoice-container[dir="rtl"] table.table td:last-child {
    text-align: left !important;
}

html[dir="rtl"] body .invoice-container table.table,
body .invoice-container[dir="rtl"] table.table {
    direction: rtl;
}

html[dir="rtl"] body .invoice-container .invoice-logo,
html[dir="rtl"] body .invoice-container .invoice-brand,
body .invoice-container[dir="rtl"] .invoice-logo,
body .invoice-container[dir="rtl"] .invoice-brand {
    text-align: right !important;
}

/* Compact invoice composition */
body .invoice-container {
    position: relative;
    padding: clamp(24px, 3vw, 34px);
}

body .invoice-container > .row:first-of-type {
    min-height: 112px;
    padding-bottom: 14px;
    align-items: start;
    gap: 20px;
}

html[dir="rtl"] body .invoice-container > .row:first-of-type,
body .invoice-container[dir="rtl"] > .row:first-of-type {
    direction: ltr;
}

html[dir="rtl"] body .invoice-container > .row:first-of-type > [class*="col-"]:first-child,
body .invoice-container[dir="rtl"] > .row:first-of-type > [class*="col-"]:first-child {
    grid-column: 2;
    direction: rtl;
    text-align: right !important;
}

html[dir="rtl"] body .invoice-container > .row:first-of-type > [class*="col-"]:last-child,
body .invoice-container[dir="rtl"] > .row:first-of-type > [class*="col-"]:last-child {
    grid-column: 1;
    direction: rtl;
    text-align: left !important;
}

body .invoice-container .invoice-logo {
    margin-bottom: 8px;
}

body .invoice-container .invoice-logo img,
body .invoice-container .invoice-brand img {
    max-width: 185px;
    max-height: 58px;
}

body .invoice-container > .row:first-of-type h3 {
    font-size: clamp(20px, 2.4vw, 25px);
    line-height: 1.5;
}

html[dir="rtl"] body .invoice-container .invoice-status,
body .invoice-container[dir="rtl"] .invoice-status {
    position: absolute;
    top: 34px;
    left: 34px;
    min-width: 122px;
    min-height: 40px;
    padding: 6px 17px;
    margin: 0;
    font-size: 15px;
}

body .invoice-container hr {
    margin: 14px 0;
}

body .invoice-container > .row:nth-of-type(2) {
    padding: 16px 18px;
    align-items: start;
    gap: 24px;
    background: #f8faff;
    border: 1px solid var(--np-line);
    border-radius: 13px;
}

body .invoice-container > .row:nth-of-type(2) .invoice-col {
    line-height: 1.65;
}

body .invoice-container > .row:nth-of-type(2) address {
    margin-top: 3px;
    line-height: 1.65;
}

body .invoice-container .invoice-items,
body .invoice-container .table-responsive {
    margin-top: 16px;
}

body .invoice-container .invoice-items > h2,
body .invoice-container .invoice-items > h3,
body .invoice-container .invoice-items > h4,
body .invoice-container .table-responsive > h2,
body .invoice-container .table-responsive > h3,
body .invoice-container .table-responsive > h4 {
    padding: 11px 16px;
    margin: 0;
    font-size: 20px;
    line-height: 1.5;
    background: #f8faff;
    border-bottom: 1px solid var(--np-line);
}

body .invoice-container table.table th,
body .invoice-container table.table td {
    padding: 9px 14px;
    line-height: 1.55;
}

html[data-theme="dark"] body .invoice-container > .row:nth-of-type(2),
html[data-theme="dark"] body .invoice-container .invoice-items > h2,
html[data-theme="dark"] body .invoice-container .invoice-items > h3,
html[data-theme="dark"] body .invoice-container .invoice-items > h4,
html[data-theme="dark"] body .invoice-container .table-responsive > h2,
html[data-theme="dark"] body .invoice-container .table-responsive > h3,
html[data-theme="dark"] body .invoice-container .table-responsive > h4 {
    background: #132338;
    border-color: #2a405b;
}

@media (max-width: 767px) {
    body .invoice-container > .row:first-of-type {
        min-height: 0;
        padding-bottom: 8px;
    }

    html[dir="rtl"] body .invoice-container > .row:first-of-type > [class*="col-"]:first-child,
    html[dir="rtl"] body .invoice-container > .row:first-of-type > [class*="col-"]:last-child,
    body .invoice-container[dir="rtl"] > .row:first-of-type > [class*="col-"]:first-child,
    body .invoice-container[dir="rtl"] > .row:first-of-type > [class*="col-"]:last-child {
        grid-column: auto;
        text-align: center !important;
    }

    html[dir="rtl"] body .invoice-container .invoice-status,
    body .invoice-container[dir="rtl"] .invoice-status {
        position: static;
        margin: 8px auto 0;
    }

    body .invoice-container > .row:nth-of-type(2) {
        padding: 14px;
        gap: 14px;
    }
}

/* Normalized by the invoice footer hook; independent of Nexus column markup. */
body .invoice-container .np-invoice-header-normalized {
    display: grid !important;
    min-height: 0 !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas: "brand status";
    padding: 0 0 16px !important;
    align-items: start !important;
    gap: 24px !important;
}

html[dir="rtl"] body .invoice-container .np-invoice-header-normalized,
body .invoice-container[dir="rtl"] .np-invoice-header-normalized {
    direction: rtl !important;
}

body .invoice-container .np-invoice-header-normalized > * {
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
}

body .invoice-container .np-invoice-header-brand {
    grid-area: brand;
    align-self: start;
}

html[dir="rtl"] body .invoice-container .np-invoice-header-brand,
body .invoice-container[dir="rtl"] .np-invoice-header-brand {
    text-align: right !important;
}

body .invoice-container .np-invoice-header-status {
    display: flex;
    grid-area: status;
    min-width: 145px;
    align-items: center;
    align-self: start;
    flex-direction: column;
    justify-content: center;
    text-align: center !important;
}

body .invoice-container .np-invoice-header-status .invoice-status,
body .invoice-container .np-invoice-header-status .paid,
body .invoice-container .np-invoice-header-status .unpaid,
body .invoice-container .np-invoice-header-status .cancelled,
body .invoice-container .np-invoice-header-status .refunded,
body .invoice-container .np-invoice-header-status .collections {
    position: static !important;
    inset: auto !important;
    min-width: 124px;
    min-height: 38px;
    padding: 6px 14px;
    margin: 0 0 5px !important;
    font-size: 15px;
    line-height: 1.6;
}

/* Invoice statuses — Nexus leaves the unpaid label without light-mode contrast. */
body .status.status-unpaid,
body .status-unpaid,
body .label-unpaid,
body .invoice-container .unpaid {
    color: #fff !important;
    background-color: #d9364f !important;
    border-color: #d9364f !important;
    opacity: 1 !important;
}

body .status.status-paid,
body .status-paid,
body .label-paid,
body .invoice-container .paid {
    color: #fff !important;
    background-color: #15965f !important;
    border-color: #15965f !important;
    opacity: 1 !important;
}

body .status.status-cancelled,
body .status-cancelled,
body .label-cancelled,
body .invoice-container .cancelled {
    color: #fff !important;
    background-color: #687585 !important;
    border-color: #687585 !important;
    opacity: 1 !important;
}

body .status.status-refunded,
body .status-refunded,
body .label-refunded,
body .invoice-container .refunded {
    color: #fff !important;
    background-color: #7351b7 !important;
    border-color: #7351b7 !important;
    opacity: 1 !important;
}

body .status.status-collections,
body .status-collections,
body .label-collections,
body .invoice-container .collections {
    color: #fff !important;
    background-color: #b86812 !important;
    border-color: #b86812 !important;
    opacity: 1 !important;
}

body .status.status-payment-pending,
body .status-payment-pending,
body .label-payment-pending,
body .invoice-container .payment-pending {
    color: #fff !important;
    background-color: #1768d7 !important;
    border-color: #1768d7 !important;
    opacity: 1 !important;
}

body .dataTables_wrapper .status,
body .dataTables_wrapper [class*="status-"] {
    display: inline-flex;
    min-height: 24px;
    padding: 4px 9px;
    align-items: center;
    justify-content: center;
    border-radius: 999px !important;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

/* Product/service statuses */
body .status.status-active,
body .status-active,
body .label-active {
    color: #fff !important;
    background-color: #15965f !important;
    border-color: #15965f !important;
    opacity: 1 !important;
}

body .status.status-pending,
body .status-pending,
body .label-pending {
    color: #513500 !important;
    background-color: #ffc247 !important;
    border-color: #ffc247 !important;
    opacity: 1 !important;
}

body .status.status-suspended,
body .status-suspended,
body .label-suspended {
    color: #fff !important;
    background-color: #df7a12 !important;
    border-color: #df7a12 !important;
    opacity: 1 !important;
}

body .status.status-terminated,
body .status-terminated,
body .label-terminated {
    color: #fff !important;
    background-color: #687585 !important;
    border-color: #687585 !important;
    opacity: 1 !important;
}

body .status.status-fraud,
body .status-fraud,
body .label-fraud {
    color: #fff !important;
    background-color: #b4233c !important;
    border-color: #b4233c !important;
    opacity: 1 !important;
}

body .status.status-completed,
body .status-completed,
body .label-completed {
    color: #fff !important;
    background-color: #1768d7 !important;
    border-color: #1768d7 !important;
    opacity: 1 !important;
}

/* Support ticket statuses */
body .status.status-open,
body .status-open,
body .label-open {
    color: #fff !important;
    background-color: #15965f !important;
    border-color: #15965f !important;
    opacity: 1 !important;
}

body .status.status-answered,
body .status-answered,
body .label-answered {
    color: #fff !important;
    background-color: #1768d7 !important;
    border-color: #1768d7 !important;
    opacity: 1 !important;
}

body .status.status-customer-reply,
body .status-customer-reply,
body .status-customerreply,
body .label-customer-reply {
    color: #4b3100 !important;
    background-color: #ffc247 !important;
    border-color: #ffc247 !important;
    opacity: 1 !important;
}

body .status.status-in-progress,
body .status-in-progress,
body .status-inprogress,
body .label-in-progress {
    color: #fff !important;
    background-color: #7351b7 !important;
    border-color: #7351b7 !important;
    opacity: 1 !important;
}

body .status.status-closed,
body .status-closed,
body .label-closed {
    color: #fff !important;
    background-color: #687585 !important;
    border-color: #687585 !important;
    opacity: 1 !important;
}

body #tableTicketsList .status,
body #tableTicketsList [class*="status-"],
body table[id*="ticket"] .status,
body table[id*="ticket"] [class*="status-"] {
    display: inline-flex;
    min-width: 72px;
    min-height: 25px;
    padding: 4px 10px;
    align-items: center;
    justify-content: center;
    border-radius: 999px !important;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

body .invoice-container .np-invoice-header-brand .invoice-logo,
body .invoice-container .np-invoice-header-brand .invoice-brand {
    margin: 0 0 7px !important;
}

body .invoice-container .np-invoice-header-brand img {
    display: block;
    max-width: 170px !important;
    max-height: 54px !important;
    margin: 0 !important;
}

html[dir="rtl"] body .invoice-container .np-invoice-header-brand img,
body .invoice-container[dir="rtl"] .np-invoice-header-brand img {
    margin-right: 0 !important;
    margin-left: auto !important;
}

body .invoice-container .np-invoice-header-brand h3,
body .invoice-container .np-invoice-header-brand h2 {
    margin: 7px 0 0 !important;
    font-size: 22px !important;
}

body .invoice-container > .np-invoice-address-row,
body .invoice-container > .np-invoice-meta-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    padding: 13px 16px !important;
    margin: 0 0 10px !important;
    align-items: start;
    gap: 20px !important;
    background: #f8faff;
    border: 1px solid var(--np-line);
    border-radius: 12px;
}

body .invoice-container > .np-invoice-address-row > *,
body .invoice-container > .np-invoice-meta-row > * {
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
    line-height: 1.6 !important;
}

body .invoice-container > .np-invoice-address-row address {
    margin: 2px 0 0 !important;
    line-height: 1.55 !important;
}

body .invoice-container > .np-invoice-meta-row {
    margin-bottom: 14px !important;
    background: transparent;
}

html[data-theme="dark"] body .invoice-container > .np-invoice-address-row,
html[data-theme="dark"] body .invoice-container > .np-invoice-meta-row {
    background: #132338;
    border-color: #2a405b;
}

@media (max-width: 575.98px) {
    body .invoice-container .np-invoice-header-normalized {
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "brand"
            "status";
        gap: 13px !important;
    }

    body .invoice-container .np-invoice-header-brand,
    body .invoice-container .np-invoice-header-status,
    html[dir="rtl"] body .invoice-container .np-invoice-header-brand,
    body .invoice-container[dir="rtl"] .np-invoice-header-brand {
        align-items: flex-start;
        text-align: right !important;
    }

    body .invoice-container .np-invoice-header-status {
        min-width: 0;
    }

    body .invoice-container > .np-invoice-address-row,
    body .invoice-container > .np-invoice-meta-row {
        grid-template-columns: 1fr !important;
        padding: 12px !important;
        gap: 12px !important;
    }
}

body .np-invoice-payment {
    margin: 18px 0;
    padding: 17px;
    text-align: center;
    background: var(--np-bg);
    border: 1px solid var(--np-line);
    border-radius: 15px;
}

body .np-invoice-payment__title {
    margin: 0 0 18px;
    color: var(--np-ink);
    font-size: 14px;
    font-weight: 700;
}

body .np-invoice-payment__gateways {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    max-width: 620px;
    margin: 0 auto;
    gap: 14px;
}

body .np-invoice-payment__form {
    min-width: 0;
    margin: 0;
}

body .np-invoice-payment__gateway {
    display: flex;
    width: 100%;
    min-height: 82px;
    padding: 12px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    color: var(--np-gateway-color);
    background: var(--np-surface);
    border: 1px solid color-mix(in srgb, var(--np-gateway-color) 65%, var(--np-line));
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(15, 43, 78, .06);
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

body .np-invoice-payment__gateway:hover,
body .np-invoice-payment__gateway:focus-visible {
    color: var(--np-gateway-color);
    border-color: var(--np-gateway-color);
    box-shadow: 0 10px 25px color-mix(in srgb, var(--np-gateway-color) 18%, transparent);
    outline: none;
    transform: translateY(-2px);
}

body .np-invoice-payment__icon {
    font-size: 28px;
    line-height: 1;
}

body .np-invoice-payment__gateway strong {
    color: inherit;
    font-size: 13px;
    line-height: 1.6;
}

html[data-theme="dark"] body .invoice-container {
    color: #dce8f7;
    background: #091523;
    border-color: #2a405b;
    box-shadow: 0 22px 65px rgba(0, 0, 0, .34);
}

html[data-theme="dark"] body.np-view-invoice {
    background:
        radial-gradient(circle at 8% 4%, rgba(31, 139, 240, .1), transparent 30rem),
        #07111e !important;
}

html[data-theme="dark"] body .invoice-container h3,
html[data-theme="dark"] body .invoice-container h4,
html[data-theme="dark"] body .invoice-container strong {
    color: #eef5ff;
}

html[data-theme="dark"] body .invoice-container address,
html[data-theme="dark"] body .invoice-container small {
    color: #9fb0c6 !important;
}

html[data-theme="dark"] body .invoice-container hr {
    border-color: #2a405b;
}

html[data-theme="dark"] body .invoice-container .invoice-items,
html[data-theme="dark"] body .invoice-container .invoice-items .table,
html[data-theme="dark"] body .invoice-container .invoice-items th,
html[data-theme="dark"] body .invoice-container .invoice-items td,
html[data-theme="dark"] body .invoice-container .table-responsive,
html[data-theme="dark"] body .invoice-container table.table,
html[data-theme="dark"] body .invoice-container table.table td {
    color: #dce8f7 !important;
    background: #0d1b2c !important;
    border-color: #2a405b !important;
}

html[data-theme="dark"] body .invoice-container .invoice-items thead th,
html[data-theme="dark"] body .invoice-container table.table thead th {
    color: #eef5ff !important;
    background: #132640 !important;
}

html[data-theme="dark"] body .np-invoice-payment {
    background: #0d1b2c;
    border-color: #2a405b;
}

html[data-theme="dark"] body .np-invoice-payment__title {
    color: #eef5ff;
}

html[data-theme="dark"] body .np-invoice-payment__gateway {
    background: #101f33;
    border-color: color-mix(in srgb, var(--np-gateway-color) 72%, #304a68);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .2);
}

@media (max-width: 767px) {
    body .invoice-container {
        width: calc(100% - 20px);
        margin: 10px auto 28px;
        padding: 18px 14px;
        border-radius: 14px;
    }

    body .invoice-container .invoice-header {
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
    }

    body .invoice-container > .row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    body .invoice-container .invoice-header .invoice-col {
        width: 100%;
        text-align: center !important;
    }

    html[dir="rtl"] body .invoice-container > .row:first-of-type > [class*="col-"],
    html[dir="ltr"] body .invoice-container > .row:first-of-type > [class*="col-"] {
        text-align: center !important;
    }

    body .np-invoice-payment {
        padding: 16px 12px;
    }

    body .np-invoice-payment__gateways {
        grid-template-columns: 1fr;
    }

    body .np-invoice-payment__gateway {
        min-height: 82px;
    }

    body .invoice-container .invoice-items {
        overflow-x: auto;
    }
}

html[dir="ltr"][data-theme="dark"] body #order-standard_cart #frmCheckout .checkout-security-msg {
    padding-right: 20px;
    padding-left: 70px;
}

html[dir="ltr"][data-theme="dark"] body #order-standard_cart #frmCheckout .checkout-security-msg i {
    right: auto;
    left: 22px;
}

html[data-theme="dark"] body #order-standard_cart #frmCheckout #btnCompleteOrder,
html[data-theme="dark"] body #order-standard_cart #frmCheckout .btn-complete-order {
    min-height: 48px;
    padding: 10px 24px;
    color: #fff !important;
    background: linear-gradient(135deg, #176bd1, #099bc7) !important;
    border-color: transparent !important;
    border-radius: 12px;
    box-shadow: 0 9px 22px rgba(23, 107, 209, .25);
}

html[data-theme="dark"] body #order-standard_cart #frmCheckout .alert-info {
    color: #b9e5ff;
    background: #102b3e;
    border-color: #235678;
}

@media (min-width: 576px) {
    html[dir="rtl"] body #order-standard_cart #frmProductDomain .offset-sm-1,
    html[dir="rtl"] body #order-standard_cart #frmProductDomain .col-sm-offset-1 {
        margin-right: 8.333333%;
        margin-left: 0;
    }
}

@media (max-width: 767.98px) {
    body #order-standard_cart .secondary-cart-body,
    body #order-standard_cart .secondary-cart-sidebar {
        width: 100%;
    }

    body #order-standard_cart .secondary-cart-sidebar {
        margin-top: 24px;
    }

    html[data-theme="dark"] body #order-standard_cart .secondary-cart-body .view-cart-empty {
        min-height: 110px;
        padding: 22px 15px;
    }

    body #order-standard_cart .secondary-cart-body #domainRenewals .domain-renewal {
        padding: 18px 15px;
    }

    body #order-standard_cart .secondary-cart-body #domainRenewals .domain-renewal .form-control,
    body #order-standard_cart .secondary-cart-body #domainRenewals .domain-renewal select,
    body #order-standard_cart .secondary-cart-body #domainRenewals .domain-renewal .btn {
        width: 100%;
        max-width: none;
        margin-top: 10px;
    }

    body #order-standard_cart .domain-pricing {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    body #order-standard_cart .domain-pricing .bg-white {
        min-width: 620px;
    }

    body #order-standard_cart .domain-promo-box {
        min-height: 0;
        margin-bottom: 16px;
    }

    body #order-standard_cart #frmDomainTransfer .col-sm-8 {
        padding-right: 0;
        padding-left: 0;
    }

    body #order-standard_cart #frmDomainTransfer .card-body,
    body #order-standard_cart #frmDomainTransfer .panel-body {
        padding: 20px 16px;
    }

    body #order-standard_cart #frmDomainTransfer #btnTransferDomain {
        width: 100%;
    }

    body #order-standard_cart #frmProductDomain .domain-selection-options .option {
        padding: 16px 14px 20px;
    }

    body #order-standard_cart #frmProductDomain .domain-selection-options .domain-input-group .col-sm-8,
    body #order-standard_cart #frmProductDomain .domain-selection-options .domain-input-group .col-sm-2 {
        padding-right: 0;
        padding-left: 0;
    }

    body #order-standard_cart #frmProductDomain .domain-selection-options .domain-input-group .btn {
        width: 100%;
        margin-top: 10px;
    }

    body #order-standard_cart #frmProductDomain #domainregister > .row + .row {
        margin-top: 14px;
    }

    body #order-standard_cart #frmProductDomain #domainregister > .row + .row .domains-row {
        align-items: stretch;
        flex-direction: column;
        gap: 9px;
    }

    body #order-standard_cart #frmProductDomain #domainregister > .row + .row .multiselect-native-select,
    body #order-standard_cart #frmProductDomain #domainregister > .row + .row .btn-group,
    body #order-standard_cart #frmProductDomain #domainregister > .row + .row button.multiselect {
        width: 100%;
    }

    html[data-theme="dark"] body #order-standard_cart #frmCheckout .checkout-security-msg {
        padding-right: 58px;
        padding-left: 14px;
    }

    html[data-theme="dark"] body #order-standard_cart #frmCheckout .checkout-security-msg i {
        right: 18px;
        font-size: 26px;
    }

    body #order-standard_cart #frmCheckout #btnCompleteOrder,
    body #order-standard_cart #frmCheckout .btn-complete-order {
        width: 100%;
    }

    body #order-standard_cart #frmCheckout .row:has(.prepend-icon) {
        padding-right: 4px;
        padding-left: 4px;
    }

    body #order-standard_cart #frmCheckout .row:has(.prepend-icon) > [class*="col-"] {
        padding-right: 6px;
        padding-left: 6px;
    }
}

@media (max-width: 1199.98px) {
    body .header .main-navbar-wrapper,
    body .header .main-navbar-wrapper #nav > li > a,
    body .header .main-navbar-wrapper .navbar-nav > li > a,
    body .header .main-navbar-wrapper .navbar-nav .nav-link {
        min-height: auto;
    }

    body .header .main-navbar-wrapper .navbar-nav.ml-auto > li > a {
        display: inline-flex;
        min-height: 42px;
    }

    body .primary-content .tiles .row > div {
        margin-bottom: 14px;
    }
}

@media (max-width: 767.98px) {
    body {
        font-size: 14px;
    }

    body header#header.header .topbar {
        padding: 5px 0;
    }

    body header#header.header .topbar .container {
        width: min(100% - 22px, 1240px);
        padding-right: 0;
        padding-left: 0;
    }

    body header#header.header .topbar .d-flex,
    body header#header.header .topbar .ml-auto {
        width: 100%;
        min-width: 0;
    }

    body header#header.header .topbar .ml-auto {
        margin: 0 !important;
    }

    body header#header.header .topbar .active-client,
    body header#header.header .topbar .active-client .btn-group {
        width: 100%;
        min-width: 0;
    }

    body header#header.header .topbar .active-client .btn-group {
        display: flex;
    }

    body header#header.header .topbar .active-client .btn-active-client {
        min-width: 0 !important;
        max-width: none !important;
        flex: 1 1 auto;
        justify-content: flex-start;
        overflow: hidden;
    }

    body header#header.header .topbar .active-client .btn-active-client span {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body header#header.header .topbar .active-client .btn-group > .btn:not(.btn-active-client) {
        width: 42px;
        min-width: 42px;
        padding: 0;
        flex: 0 0 42px;
    }

    body header#header.header > .navbar-light > .container {
        width: min(100% - 22px, 1240px);
        min-height: 62px;
        flex-wrap: nowrap;
        padding-right: 0;
        padding-left: 0;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    body header#header.header > .navbar-light .navbar-brand {
        min-width: 0;
        max-width: calc(100% - 108px);
        margin: 0;
        overflow: hidden;
    }

    body header#header.header > .navbar-light .navbar-brand .logo-img {
        display: block;
        max-width: 135px;
        max-height: 42px;
    }

    body header#header.header > .navbar-light .toolbar {
        align-items: center;
        flex: 0 0 auto;
        flex-direction: row;
        gap: 8px;
        margin-inline-start: auto;
    }

    body header#header.header > .navbar-light .toolbar .nav-item {
        margin: 0 !important;
    }

    body header#header.header > .navbar-light .toolbar .nav-link {
        display: grid;
        width: 44px;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
        padding: 0;
        place-items: center;
        color: var(--np-blue-700);
        background: #eef5ff;
        border: 1px solid #d9e6f5;
        border-radius: 12px;
    }

    body header#header.header > .navbar-light .toolbar .cart-btn .badge {
        top: -6px;
        right: auto;
        left: -6px;
        min-width: 25px;
        padding: 4px 7px;
        border: 2px solid #fff;
    }

    html[data-theme="dark"] body header#header.header > .navbar-light .toolbar .nav-link {
        color: #8ac7ff;
        background: #142840;
        border-color: #29445f;
    }

    html[data-theme="dark"] body header#header.header > .navbar-light .toolbar .cart-btn .badge {
        border-color: #101c2c;
    }

    body .header > .navbar-light .search {
        width: 100%;
    }

    body .primary-content .tiles .tile {
        min-height: 110px;
        grid-template-columns: 46px 1fr;
        padding: 15px;
        border-radius: 15px;
    }

    body .primary-content .tiles .tile i {
        width: 46px;
        height: 46px;
        font-size: 20px;
        border-radius: 13px;
    }

    body .primary-content .tiles .tile .stat {
        font-size: 25px;
    }

    body .primary-content .client-home-cards .card,
    body .sidebar .card,
    body .sidebar .panel {
        border-radius: 15px;
    }
}

@media (max-width: 420px) {
    body header#header.header > .navbar-light .navbar-brand .logo-img {
        max-width: 112px;
    }

    body header#header.header > .navbar-light .toolbar {
        gap: 6px;
    }

    body header#header.header > .navbar-light .toolbar .nav-link {
        width: 42px;
        min-width: 42px;
        height: 42px;
        min-height: 42px;
    }
}
