@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;500;600;700&display=swap');

/*
 * netmind Nexus - WHMCS Client Area Skin v2
 * Parent theme: Nexus
 *
 * Safe first-pass branding: CSS variables + light component polish.
 * No WHMCS core/template files are modified.
 */

:root {
    --white: #ffffff;

    /* netmind-oriented neutral palette */
    --neutral-50: #f6f9fd;
    --neutral-100: #eef4fb;
    --neutral-200: #dfe9f5;
    --neutral-300: #c8d6e8;
    --neutral-400: #94a3b8;
    --neutral-500: #64748b;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;
    --neutral-950: #07111f;

    /* netmind blue palette */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;
    --primary-950: #172554;

    --primary: var(--primary-500);
    --primary-lifted: var(--primary-600);
    --primary-accented: var(--primary-700);

    --secondary: #475569;
    --secondary-lifted: #334155;
    --secondary-accented: #1e293b;

    --success: #16a34a;
    --success-lifted: #15803d;
    --success-accented: #166534;

    --info: #2563eb;
    --info-lifted: #1d4ed8;
    --info-accented: #1e40af;

    --notice: #6d28d9;
    --notice-lifted: #5b21b6;
    --notice-accented: #4c1d95;

    --warning: #f59e0b;
    --warning-lifted: #d97706;
    --warning-accented: #b45309;

    --error: #dc2626;
    --error-lifted: #b91c1c;
    --error-accented: #991b1b;

    --grayscale: var(--neutral-900);
    --grayscale-lifted: var(--neutral-800);
    --grayscale-accented: var(--neutral-700);

    --neutral: var(--neutral-500);
    --neutral-lifted: var(--neutral-600);
    --neutral-accented: var(--neutral-700);

    --text-inverted: var(--white);
    --text-muted: #94a3b8;
    --text-lifted: #64748b;
    --text-accented: #475569;
    --text: #172033;

    --border-muted: #e7edf5;
    --border: #dbe5f0;
    --border-lifted: #c8d6e8;
    --border-accented: #94a3b8;

    --bg: #ffffff;
    --bg-muted: #f6f9fd;
    --bg-lifted: #eef4fb;
    --bg-accented: #dfe9f5;
    --bg-inverted: #0a0a0a;

    --yellow-200: #fef3c7;
    --yellow-300: #fde68a;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --emerald-300: #6ee7b7;
    --pink-400: #f472b6;

    --text-xs: 0.625rem;
    --text-sm: 0.75rem;
    --text-md: 0.875rem;
    --text-lg: 1rem;

    --outline-sm: 1px;
    --outline-md: 2px;
    --outline-lg: 3px;

    --rounding-sm: 0.45rem;
    --rounding-md: 0.8rem;
    --rounding-lg: 1.15rem;

    --letter-spacing: 0em;
    --disabled-opacity: 35%;

    /* Extra netmind design tokens */
    --nm-shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.06);
    --nm-shadow-md: 0 14px 35px rgba(15, 23, 42, 0.08);
    --nm-gradient: linear-gradient(135deg, #1d4ed8 0%, #2563eb 48%, #3b82f6 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-muted);
    color: var(--text);
    font-family: "Comfortaa", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    line-height: 1.62;
}

button, input, optgroup, select, textarea {
    font-family: "Comfortaa", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6,
.navbar-brand,
.card-title,
.tile .stat {
    letter-spacing: -0.02em;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.05);
}

.header .topbar {
    background: var(--bg-inverted);
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 0;
}

.header .topbar .btn,
.header .topbar .input-group-text,
.header .topbar .btn-active-client {
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

.header .topbar .btn:hover,
.header .topbar .btn:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

.navbar.navbar-light {
    background: #fff;
}

.navbar-brand {
    font-weight: 800;
    color: var(--primary) !important;
}

.logo-img {
    max-height: 46px;
    width: auto;
}

.main-navbar-wrapper {
    background: #fff;
    border-top: 1px solid var(--border-muted);
    border-bottom: 1px solid var(--border-muted);
}

#mainNavbar .nav-link,
.navbar .toolbar .nav-link,
.navbar .btn.nav-link {
    border-radius: 999px;
    color: var(--neutral-700);
    font-weight: 600;
}

#mainNavbar .nav-link:hover,
#mainNavbar .nav-link:focus,
.navbar .toolbar .nav-link:hover,
.navbar .btn.nav-link:hover {
    background: var(--primary-50);
    color: var(--primary);
}

.dropdown-menu {
    border: 1px solid var(--border-muted);
    border-radius: var(--rounding-lg);
    box-shadow: var(--nm-shadow-md);
    overflow: hidden;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active,
.dropdown-item:active {
    color: var(--primary);
    background: var(--primary-50);
}

.search .form-control,
.search .btn,
.form-control,
.custom-select,
.input-group-text {
    border-color: var(--border);
}

.search .form-control,
.search .btn {
    background: var(--bg-muted);
}

.search .form-control:focus,
.form-control:focus,
.custom-select:focus {
    border-color: var(--primary-400);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.12);
}

.cart-btn .badge {
    background: var(--primary) !important;
}

/* Breadcrumb + main body */
.master-breadcrumb {
    background: var(--bg-muted);
    border-bottom: 1px solid var(--border-muted);
}

.master-breadcrumb .breadcrumb {
    background: transparent;
    margin-bottom: 0;
}

section#main-body {
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.10), transparent 28rem),
        var(--bg-muted);
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.primary-content {
    min-height: 55vh;
}


/* Wider netmind portal layout */
@media (min-width: 1200px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1320px;
    }
}

@media (min-width: 1440px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1440px;
    }
}

section#main-body > .container,
.header .container,
.main-navbar-wrapper .container,
.master-breadcrumb .container,
.footer .container {
    width: min(100% - 2rem, 1440px);
    max-width: 1440px;
}

.primary-content,
.main-content,
.content-area {
    width: 100%;
}

/* Keep focused forms readable even inside the wider layout */
.login-form,
.providerLinkingFeedback,
.mw-540 {
    max-width: 580px;
}

/* Buttons */
.btn {
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

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

.btn-primary,
button.btn-primary,
input.btn-primary,
.btn-default.bg-color-blue,
.bg-color-blue {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
button.btn-primary:hover,
input.btn-primary:hover {
    background: var(--primary-lifted) !important;
    border-color: var(--primary-lifted) !important;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
}

.btn-default,
.btn-secondary {
    background: #fff;
    border-color: var(--border);
    color: var(--neutral-700);
}

.btn-default:hover,
.btn-secondary:hover {
    background: var(--primary-50);
    border-color: var(--primary-200);
    color: var(--primary);
}

.btn-link,
a {
    color: var(--primary);
}

.btn-link:hover,
a:hover {
    color: var(--primary-lifted);
}

/* Cards, panels, tables */
.card,
.panel,
.sidebar .panel,
.list-group,
.table-container,
.login-form .card,
#registration .card,
.tiles .tile,
.kb-article-item,
.announcement-single,
.domain-pricing .tld-row {
    border-color: var(--border-muted) !important;
    border-radius: var(--rounding-lg) !important;
    box-shadow: var(--nm-shadow-sm);
}

.card,
.panel,
.login-form .card {
    background: #fff;
}

.card:hover,
.tiles .tile:hover {
    box-shadow: var(--nm-shadow-md);
}

.card-header,
.panel-heading,
.card-footer,
.panel-footer {
    background: #fff;
    border-color: var(--border-muted);
}

.card-header:first-child,
.panel-heading:first-child {
    border-radius: var(--rounding-lg) var(--rounding-lg) 0 0 !important;
}

.card-title,
.panel-title {
    color: var(--neutral-900);
    font-weight: 800;
}

.table {
    color: var(--text);
}

.table thead th {
    background: var(--bg-muted);
    border-bottom: 1px solid var(--border-muted);
    color: var(--neutral-700);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.table td,
.table th {
    border-top-color: var(--border-muted);
}


/* netmind wide dashboard refinements */
.client-home-panels,
.client-home-cards,
.tiles {
    width: 100%;
}

.client-home-cards .card,
.sidebar .panel,
.sidebar .card {
    margin-bottom: 1.35rem;
}

.card-body,
.panel-body {
    padding: 1.35rem;
}

@media (min-width: 1200px) {
    .card-body,
    .panel-body {
        padding: 1.5rem;
    }
}

/* Client area dashboard tiles */
.tiles {
    overflow: hidden;
    border-radius: var(--rounding-lg);
    box-shadow: var(--nm-shadow-sm);
}

.tiles .tile {
    background: #fff;
    border-color: var(--border-muted) !important;
    min-height: 140px;
}

.tiles .tile .stat {
    color: var(--primary);
    font-weight: 800;
}

.tiles .tile .title {
    color: var(--neutral-600);
    text-transform: none;
    font-size: 0.8rem;
    letter-spacing: 0;
}

.tiles .tile i {
    color: rgba(59, 130, 246, 0.13);
}

.tiles .tile:hover {
    background: linear-gradient(180deg, #ffffff 0%, var(--primary-50) 100%);
}

.tiles .tile:hover i {
    color: rgba(37, 99, 235, 0.22);
}

.tiles .highlight,
.bg-color-green,
.bg-color-red,
.bg-color-gold {
    background: var(--primary) !important;
}

.client-home-cards .card {
    margin-bottom: 1.25rem;
}

.client-home-cards .list-group {
    border: 0 !important;
    box-shadow: none;
}

.client-home-cards .list-group-item {
    border-color: var(--border-muted) !important;
}

.client-home-cards .list-group-item:hover {
    background: var(--primary-50);
    color: var(--primary);
}

/* Login/Register */
.login-form,
.providerLinkingFeedback,
.mw-540 {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.login-form .card,
#registration .card {
    border: 0;
    box-shadow: var(--nm-shadow-md);
}

.login-form .card-body::before {
    content: "Client Portal";
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: var(--primary-50);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 800;
}

.input-group-merge .input-group-text {
    background: var(--bg-muted);
    color: var(--primary);
}

/* Badges / labels / statuses */
.badge,
.label,
.status,
.status-active,
.status-pending,
.status-suspended,
.status-terminated,
.status-cancelled,
.status-expired {
    border-radius: 999px;
    font-weight: 700;
}

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

/* Sidebar */
.sidebar .list-group-item.active,
.sidebar .panel-sidebar .list-group-item.active,
.sidebar .list-group-item:hover {
    background: var(--primary-50);
    color: var(--primary);
    border-color: var(--border-muted);
}

.sidebar .panel-sidebar > .panel-heading,
.sidebar .card-header {
    color: var(--neutral-900);
}

/* Alerts */
.alert {
    border-radius: var(--rounding-md);
    border-width: 1px;
}

.alert-info {
    background: var(--primary-50);
    border-color: var(--primary-200);
    color: var(--primary-900);
}

/* Footer */
.footer {
    background: var(--bg-inverted);
    color: rgba(255, 255, 255, 0.75);
    border-top: 0;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

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

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

.footer .copyright {
    color: rgba(255, 255, 255, 0.55);
}

.footer .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
}

/* Responsive refinements */
@media (max-width: 991.98px) {
    section#main-body {
        padding-top: 1rem;
    }

    .tiles .tile {
        min-height: 120px;
    }

    .logo-img {
        max-height: 38px;
    }
}

/* ==========================================================
 * netmind WHMCS Skin v3 - closer to netmind.gr
 * Adds dark homepage hero, netmind-style sections and richer footer.
 * ========================================================== */

:root {
    --nm-black: #030506;
    --nm-black-2: #070a0f;
    --nm-dark-card: #11151b;
    --nm-site-blue: #3b82f6;
    --nm-site-blue-dark: #2563eb;
    --nm-site-light: #f3f6fa;
    --nm-soft-text: #d8e1ec;
}

body.nm-template-homepage {
    background: #fff;
}

body.nm-template-homepage section#main-body {
    padding-top: 0;
    padding-bottom: 0;
    background: #fff;
}

body.nm-template-homepage .primary-content {
    min-height: 0;
}

body.nm-template-homepage .master-breadcrumb {
    display: none;
}

body.nm-template-homepage section#main-body > .container {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

body.nm-template-homepage section#main-body > .container > .row {
    margin-left: 0;
    margin-right: 0;
}

body.nm-template-homepage .primary-content.col-12 {
    padding-left: 0;
    padding-right: 0;
}

/* Header like netmind.gr on the public homepage */
body.nm-template-homepage .header {
    background: var(--nm-black);
    color: rgba(255,255,255,0.88);
    box-shadow: none;
    position: relative;
    z-index: 5;
}

body.nm-template-homepage .header .navbar,
body.nm-template-homepage .header .navbar.navbar-light,
body.nm-template-homepage .main-navbar-wrapper {
    background: var(--nm-black) !important;
    border-color: rgba(255,255,255,0.08);
}

body.nm-template-homepage .navbar-brand,
body.nm-template-homepage .nm-portal-mark,
body.nm-template-homepage #mainNavbar .nav-link,
body.nm-template-homepage .navbar .toolbar .nav-link,
body.nm-template-homepage .navbar .btn.nav-link {
    color: rgba(255,255,255,0.88) !important;
}

body.nm-template-homepage .navbar-brand {
    font-weight: 800;
}

body.nm-template-homepage .logo-img {
    filter: brightness(0) invert(1);
}

.nm-portal-mark {
    margin-left: 0.85rem;
    padding-left: 0.85rem;
    border-left: 1px solid var(--border-muted);
    color: var(--neutral-500);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.nm-template-homepage .nm-portal-mark {
    border-left-color: rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.58) !important;
}

body.nm-template-homepage #mainNavbar .nav-link:hover,
body.nm-template-homepage #mainNavbar .nav-link:focus,
body.nm-template-homepage .navbar .toolbar .nav-link:hover,
body.nm-template-homepage .navbar .btn.nav-link:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.08);
}

body.nm-template-homepage .search .form-control,
body.nm-template-homepage .search .btn,
body.nm-template-homepage .header .toolbar .btn {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.12);
    color: #fff;
}

body.nm-template-homepage .search .form-control::placeholder {
    color: rgba(255,255,255,0.52);
}

/* Dark hero / domain search */
.nm-hero-domain {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 72% 18%, rgba(255,255,255,0.13), transparent 4rem),
        radial-gradient(circle at 78% 42%, rgba(54,143,229,0.16), transparent 18rem),
        linear-gradient(180deg, #050609 0%, #020305 70%, #000 100%);
    color: #fff;
    min-height: 560px;
    padding: 7.5rem 0 5rem;
}

.nm-hero-domain::before {
    content: "";
    position: absolute;
    right: 6%;
    top: 8%;
    width: 19rem;
    height: 13rem;
    border-top: 1px solid rgba(255,255,255,0.45);
    border-right: 1px solid rgba(255,255,255,0.24);
    border-radius: 0.7rem;
    opacity: 0.42;
    transform: skewX(-4deg);
}

.nm-hero-domain::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 7.5rem;
    height: 1px;
    background: linear-gradient(90deg, transparent 10%, rgba(255,255,255,0.06), rgba(255,255,255,0.46), rgba(255,255,255,0.08), transparent 90%);
    box-shadow: 0 28px 70px rgba(255,255,255,0.16);
}

.nm-hero-domain .container {
    position: relative;
    z-index: 2;
}

.nm-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 3rem;
    align-items: end;
}

.nm-eyebrow,
.nm-section-kicker,
.nm-mini-label {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--nm-site-blue);
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.nm-hero-copy h1 {
    max-width: 720px;
    margin: 0 0 1rem;
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    line-height: 1.05;
    letter-spacing: -0.065em;
}

.nm-hero-copy p {
    max-width: 720px;
    color: rgba(255,255,255,0.72);
    font-size: 1.03rem;
    line-height: 1.75;
}

.nm-hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.nm-domain-card {
    position: relative;
    padding: 1.6rem;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 1.35rem;
    background: rgba(8, 12, 18, 0.76);
    box-shadow: 0 22px 70px rgba(0,0,0,0.42);
    backdrop-filter: blur(14px);
}

.nm-domain-card h2 {
    margin: 0 0 0.55rem;
    color: #fff;
    font-size: 1.5rem;
    letter-spacing: -0.04em;
}

.nm-domain-card p {
    color: rgba(255,255,255,0.64);
    font-size: 0.88rem;
}

.nm-domain-card .input-group {
    padding: 0.28rem;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
}

.nm-domain-card .form-control {
    height: 3rem;
    border: 0;
    color: #fff;
    background: transparent;
    box-shadow: none;
}

.nm-domain-card .form-control::placeholder {
    color: rgba(255,255,255,0.45);
}

.nm-domain-card .btn {
    min-height: 3rem;
    padding-left: 1.15rem;
    padding-right: 1.15rem;
    box-shadow: none !important;
}

.nm-domain-card .btn-success {
    color: #fff !important;
    background: #111827 !important;
    border-color: #111827 !important;
}

.nm-tld-logos {
    margin-top: 1rem;
    color: rgba(255,255,255,0.78);
}

.nm-domain-card .tld-logos li {
    color: rgba(255,255,255,0.78);
}

.nm-pricing-link {
    color: rgba(255,255,255,0.74) !important;
}

/* Home sections */
.nm-intro-section,
.nm-products-section,
.nm-account-section {
    padding: 5rem 0;
    background: #fff;
}

.nm-products-section,
.nm-account-section {
    background: var(--nm-site-light);
}

.nm-intro-section > *,
.nm-products-section > *,
.nm-support-section > *,
.nm-account-section > * {
    width: min(100% - 2rem, 1440px);
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

.nm-section-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
    gap: 4rem;
    align-items: center;
}

.nm-intro-section h2,
.nm-section-heading h2 {
    color: var(--neutral-900);
    font-size: clamp(1.65rem, 2.5vw, 2.35rem);
    line-height: 1.18;
    letter-spacing: -0.045em;
}

.nm-intro-section p,
.nm-section-heading p {
    color: var(--neutral-600);
    max-width: 760px;
}

.nm-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem 1rem;
    margin-top: 1.5rem;
}

.nm-check-grid span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--neutral-700);
    font-weight: 700;
    font-size: 0.88rem;
}

.nm-check-grid i {
    color: var(--nm-site-blue);
}

.nm-intro-card {
    position: relative;
    min-height: 270px;
    border-radius: 1.15rem;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.86), rgba(255,255,255,0.35)),
        radial-gradient(circle at 78% 18%, rgba(54,143,229,0.16), transparent 9rem),
        linear-gradient(135deg, #e7ecf2, #fff);
    box-shadow: var(--nm-shadow-md);
}

.nm-intro-visual::before {
    content: "";
    position: absolute;
    left: 16%;
    right: 12%;
    top: 28%;
    height: 7rem;
    border: 1px solid rgba(15,23,42,0.14);
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(226,232,240,0.48));
    box-shadow: 0 24px 50px rgba(15,23,42,0.11);
    transform: perspective(500px) rotateX(12deg) rotateZ(-3deg);
}

.nm-intro-visual::after {
    content: "";
    position: absolute;
    right: 13%;
    top: 19%;
    width: 4.6rem;
    height: 4.6rem;
    border-radius: 999px;
    background: radial-gradient(circle at 40% 35%, #fff 0 28%, #e5e7eb 29% 55%, #f8fafc 56% 100%);
    box-shadow: 0 20px 35px rgba(15,23,42,0.10);
}

.nm-experience-badge {
    position: absolute;
    left: 1.2rem;
    bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.65rem 0.9rem;
    border-radius: 0.85rem;
    color: var(--primary);
    background: #fff;
    box-shadow: var(--nm-shadow-sm);
}

.nm-experience-badge strong {
    font-size: 1.2rem;
}

.nm-experience-badge span {
    max-width: 5.5rem;
    font-size: 0.64rem;
    line-height: 1.2;
    color: var(--neutral-500);
    font-weight: 800;
}

.nm-section-heading {
    margin-bottom: 2rem;
}

.nm-section-heading h2,
.nm-section-heading p {
    margin-left: 0;
    margin-right: auto;
}

.nm-product-grid.card-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-count: initial;
    gap: 1.3rem;
}

.nm-product-grid.card-columns .card {
    display: block;
    width: 100%;
    margin-bottom: 0 !important;
    break-inside: auto;
}

.nm-product-card {
    border: 0 !important;
    min-height: 235px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nm-product-card:hover {
    transform: translateY(-4px);
}

.nm-product-card:first-child {
    background: var(--nm-site-blue);
    color: #fff;
}

.nm-product-card:first-child h3,
.nm-product-card:first-child p,
.nm-product-card:first-child .nm-card-icon {
    color: #fff;
}

.nm-product-card:first-child .btn {
    background: rgba(255,255,255,0.13);
    border-color: rgba(255,255,255,0.55);
    color: #fff;
}

.nm-card-icon {
    width: 2.8rem;
    height: 2.8rem;
    margin: 0 auto 1rem;
    display: grid;
    place-items: center;
    border-radius: 0.8rem;
    color: var(--nm-site-blue);
    background: var(--primary-50);
    font-size: 1.2rem;
}

.nm-product-card p {
    min-height: 3.5rem;
    color: var(--neutral-600);
    font-size: 0.83rem;
}

.nm-support-section {
    padding: 5rem 0;
    background:
        radial-gradient(circle at 82% 12%, rgba(54,143,229,0.15), transparent 15rem),
        linear-gradient(180deg, #030506 0%, #000 100%);
    color: #fff;
}

.nm-section-heading-light h2 {
    color: #fff;
}

.nm-section-heading-light p {
    color: rgba(255,255,255,0.62);
}

.nm-support-section .action-icon-btns a {
    color: rgba(255,255,255,0.86);
    background: var(--nm-dark-card);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: none;
}

.nm-support-section .action-icon-btns a:hover {
    color: #fff;
    background: #151b24;
    transform: translateY(-3px);
}

.nm-support-section .ico-container i {
    color: var(--nm-site-blue);
}

.nm-action-row {
    row-gap: 1rem;
}

.action-icon-btns a {
    min-height: 118px;
    border-radius: 1rem !important;
    box-shadow: var(--nm-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.action-icon-btns a:hover {
    box-shadow: var(--nm-shadow-md);
}

.action-icon-btns figure.ico-container {
    margin-bottom: 0.7rem;
}

.action-icon-btns .ico-container i {
    color: rgba(54,143,229,0.42);
}

/* Footer closer to netmind.gr */
.nm-footer {
    background:
        radial-gradient(circle at 76% 5%, rgba(54,143,229,0.13), transparent 13rem),
        linear-gradient(180deg, #030506 0%, #000 100%) !important;
    padding: 5rem 0 2rem !important;
}

.nm-footer-head {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 3rem;
}

.nm-footer-head h2 {
    max-width: 720px;
    margin: 0;
    color: #fff;
    font-size: clamp(1.7rem, 3vw, 2.65rem);
    letter-spacing: -0.055em;
}

.nm-footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr 1.1fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nm-footer-logo {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 0.6rem;
}

.nm-footer-brand p {
    color: rgba(255,255,255,0.58);
    font-size: 0.88rem;
}

.nm-footer-col h3 {
    margin: 0 0 1rem;
    color: #fff;
    font-size: 0.98rem;
    font-weight: 800;
}

.nm-footer-col a {
    display: block;
    padding: 0.28rem 0;
    color: rgba(255,255,255,0.62) !important;
    font-size: 0.84rem;
}

.nm-footer-col a:hover {
    color: #fff !important;
}

.nm-socials {
    margin-top: 1rem;
}

.nm-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.35rem;
    color: rgba(255,255,255,0.40);
    font-size: 0.76rem;
}

.nm-footer-bottom a {
    color: rgba(255,255,255,0.55) !important;
}

@media (max-width: 1199.98px) {
    .nm-hero-grid,
    .nm-section-grid {
        grid-template-columns: 1fr;
    }

    .nm-product-grid.card-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 767.98px) {
    .nm-hero-domain {
        min-height: auto;
        padding: 4.5rem 0 3rem;
    }

    .nm-hero-domain::before,
    .nm-hero-domain::after {
        display: none;
    }

    .nm-domain-card {
        padding: 1.15rem;
    }

    .nm-domain-card .input-group {
        border-radius: 1rem;
    }

    .nm-intro-section,
    .nm-products-section,
    .nm-support-section,
    .nm-account-section {
        padding: 3.25rem 0;
    }

    .nm-product-grid.card-columns,
    .nm-check-grid,
    .nm-footer-grid {
        grid-template-columns: 1fr;
    }

    .nm-footer-head,
    .nm-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* ==========================================================
 * netmind WHMCS Skin v4 - site-wide netmind.gr alignment
 * Dark header on all pages, wider canvas, footer translated from Flatsome layout.
 * ========================================================== */

:root {
    --nm-header-black: #05080c;
    --nm-header-black-2: #0a0f14;
    --nm-footer-black: #000000;
    --nm-blue-accent: #3b82f6;
    --nm-blue-accent-dark: #2563eb;
    --nm-page-max: 1600px;
}

/* Wider, closer to the public site */
section#main-body > .container,
.header .container,
.main-navbar-wrapper .container,
.nm-hero-domain .container,
.nm-intro-section > *,
.nm-products-section > *,
.nm-support-section > *,
.nm-account-section > *,
.nm-footer .container {
    max-width: var(--nm-page-max);
}

/* netmind black header globally */
.header {
    background: var(--nm-header-black) !important;
    color: rgba(255,255,255,0.88);
    box-shadow: none !important;
}

.header .topbar,
.navbar.navbar-light,
.header .navbar,
.main-navbar-wrapper {
    background: var(--nm-header-black) !important;
    border-color: rgba(255,255,255,0.08) !important;
}

.main-navbar-wrapper {
    border-top: 1px solid rgba(255,255,255,0.08) !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

.navbar-brand,
.header .nm-portal-mark,
#mainNavbar .nav-link,
.navbar .toolbar .nav-link,
.navbar .btn.nav-link,
.header .topbar .btn,
.header .topbar .input-group-text,
.header .topbar .btn-active-client {
    color: rgba(255,255,255,0.88) !important;
}

.navbar-brand {
    color: #fff !important;
    font-size: 1.72rem;
    letter-spacing: -0.055em;
}

.logo-img {
    filter: brightness(0) invert(1);
}

.header .nm-portal-mark {
    border-left-color: rgba(255,255,255,0.14) !important;
    color: rgba(255,255,255,0.55) !important;
}

#mainNavbar .nav-link:hover,
#mainNavbar .nav-link:focus,
.navbar .toolbar .nav-link:hover,
.navbar .btn.nav-link:hover,
.header .topbar .btn:hover,
.header .topbar .btn:focus {
    background: rgba(54,143,229,0.15) !important;
    color: #fff !important;
}

#mainNavbar .nav-item.active > .nav-link,
#mainNavbar .nav-link.active {
    color: #fff !important;
    box-shadow: inset 0 -2px 0 var(--nm-blue-accent);
}

.search .form-control,
.search .btn,
.header .toolbar .btn,
.header .topbar .btn,
.header .topbar .input-group-text,
.header .topbar .btn-active-client {
    background: rgba(255,255,255,0.06) !important;
    border-color: rgba(255,255,255,0.12) !important;
    color: #fff !important;
}

.search .form-control::placeholder {
    color: rgba(255,255,255,0.50) !important;
}

.cart-btn .badge {
    background: var(--nm-blue-accent) !important;
}

.master-breadcrumb {
    background: #f6f8fb !important;
    border-bottom: 1px solid #edf1f5 !important;
}

/* More netmind.gr-like cards: minimal border, lighter shadow */
.card,
.panel,
.list-group,
.tiles .tile,
.action-icon-btns a,
.nm-product-card,
.sidebar .card {
    border: 1px solid #e7ebef !important;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.035) !important;
}

.card:hover,
.tiles .tile:hover,
.action-icon-btns a:hover,
.nm-product-card:hover {
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07) !important;
}

.btn-primary,
button.btn-primary,
input.btn-primary,
.btn-success {
    background: var(--nm-blue-accent) !important;
    border-color: var(--nm-blue-accent) !important;
    color: #fff !important;
}

.btn-primary:hover,
button.btn-primary:hover,
input.btn-primary:hover,
.btn-success:hover {
    background: var(--nm-blue-accent-dark) !important;
    border-color: var(--nm-blue-accent-dark) !important;
}

/* Footer copied in spirit from netmind.gr / Flatsome footer */
.nm-footer-site {
    min-height: 600px;
    background:
        radial-gradient(circle at 50% 100%, rgba(255,255,255,0.08), transparent 19rem),
        radial-gradient(circle at 78% 0%, rgba(54,143,229,0.14), transparent 16rem),
        linear-gradient(rgba(0,0,0,0.88), rgba(0,0,0,0.88)),
        linear-gradient(180deg, #07090c 0%, #000 100%) !important;
    padding: 4.2rem 0 2.2rem !important;
    color: #fff;
}

.nm-footer-site .container {
    width: min(100% - 2rem, var(--nm-page-max));
}

.nm-footer-site .nm-footer-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.nm-footer-site .nm-footer-head h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.9rem, 3.2vw, 3.1rem);
    line-height: 1.08;
    letter-spacing: -0.06em;
    font-weight: 700;
}

.nm-footer-cta {
    padding: 0.72rem 1.25rem;
    border-radius: 0.65rem !important;
    color: #111827 !important;
    background: #fff !important;
    border-color: #fff !important;
    text-transform: none;
    font-size: 0.82rem;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(255,255,255,0.12);
}

.nm-footer-cta:hover {
    color: #fff !important;
    background: var(--nm-blue-accent) !important;
    border-color: var(--nm-blue-accent) !important;
}

.nm-footer-grid-site {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4rem;
    padding-bottom: 3.2rem;
    border-bottom: 0;
}

.nm-footer-site .nm-footer-col h3 {
    margin: 0 0 1.35rem;
    color: #fff;
    font-size: 1.18rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.nm-footer-site .nm-footer-col a,
.nm-footer-site .nm-footer-col span {
    display: flex;
    align-items: flex-start;
    gap: 0.52rem;
    padding: 0.25rem 0;
    color: rgba(255,255,255,0.74) !important;
    font-size: 0.88rem;
    line-height: 1.5;
    text-decoration: none !important;
}

.nm-footer-site .nm-footer-col a:hover {
    color: #fff !important;
    transform: translateX(2px);
}

.nm-footer-site .nm-footer-col i {
    width: 1rem;
    margin-top: 0.15rem;
    color: rgba(255,255,255,0.92);
    text-align: center;
}

.nm-footer-bottom-site {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
    padding-top: 0.2rem;
    color: rgba(255,255,255,0.55);
    font-size: 0.76rem;
}

.nm-footer-socials {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nm-footer-socials a {
    display: inline-grid;
    place-items: center;
    width: 1.65rem;
    height: 1.65rem;
    color: #fff !important;
    border-radius: 999px;
    text-decoration: none !important;
    transition: background-color 0.18s ease, transform 0.18s ease;
}

.nm-footer-socials a:hover {
    background: rgba(54,143,229,0.24);
    transform: translateY(-2px);
}

.nm-footer-center {
    text-align: center;
    color: rgba(255,255,255,0.45);
}

.nm-footer-center .nm-footer-logo {
    margin-bottom: 0.45rem;
    color: #fff;
    font-size: 1.15rem;
    letter-spacing: -0.055em;
}



.nm-footer-localisation {
    margin-top: 1rem;
    text-align: right;
}

.nm-footer-localisation .btn {
    border-color: rgba(255,255,255,0.18) !important;
    color: rgba(255,255,255,0.8) !important;
    background: rgba(255,255,255,0.05) !important;
}

@media (max-width: 991.98px) {
    .nm-footer-grid-site {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.4rem 3rem;
    }

    .nm-footer-bottom-site {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .nm-footer-socials,
}

@media (max-width: 767.98px) {
    .navbar-brand {
        font-size: 1.38rem;
    }

    .nm-footer-site {
        min-height: auto;
        padding: 3.2rem 0 2rem !important;
    }

    .nm-footer-site .nm-footer-head {
        grid-template-columns: 1fr;
        text-align: center;
        margin-bottom: 2.7rem;
    }

    .nm-footer-grid-site {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .nm-footer-site .nm-footer-col a,
    .nm-footer-site .nm-footer-col span {
        justify-content: center;
    }

    .nm-footer-localisation {
        text-align: center;
    }
}


/* ==========================================================
 * netmind WHMCS Skin v5 - fixes after live screenshot
 * Fixes: oversized TLD logos, injected powered-by line, hero balance.
 * ========================================================== */

/* Make the homepage hero a bit calmer and keep the domain card tidy */
.nm-hero-domain {
    min-height: 520px;
    padding-top: 6.4rem;
    padding-bottom: 4.4rem;
}

.nm-domain-card {
    max-width: 520px;
    margin-left: auto;
}

.nm-domain-card .input-group {
    overflow: hidden;
}

.nm-domain-card .input-group .btn {
    border-radius: 999px !important;
    margin-left: 0.25rem;
    white-space: nowrap;
}

/* Replace huge WHMCS TLD logo presentation with compact netmind pills */
.nm-tld-pills {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin: 1rem 0 0.6rem;
}

.nm-tld-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-width: 0;
    padding: 0.72rem 0.85rem;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 0.95rem;
    background: rgba(255,255,255,0.065);
}

.nm-tld-name {
    display: inline-flex;
    align-items: center;
    color: #fff;
    font-size: 1.34rem;
    line-height: 1;
    letter-spacing: -0.06em;
    font-weight: 800;
}

.nm-tld-name::before {
    content: "";
    width: 0.58rem;
    height: 0.58rem;
    margin-right: 0.5rem;
    border-radius: 999px;
    background: var(--nm-blue-accent);
    box-shadow: 0 0 0 0.25rem rgba(54,143,229,0.12);
}

.nm-tld-pill:nth-child(2) .nm-tld-name::before {
    background: #facc15;
    box-shadow: 0 0 0 0.25rem rgba(250,204,21,0.12);
}

.nm-tld-price {
    color: rgba(255,255,255,0.72);
    font-size: 0.76rem;
    line-height: 1.2;
    text-align: right;
    white-space: nowrap;
}

/* Fallback in case old WHMCS TLD logos still render somewhere */
.nm-domain-card .tld-logos,
.nm-domain-card .tld-logos li {
    list-style: none;
    padding-left: 0;
}

.nm-domain-card .tld-logos img {
    max-width: 72px !important;
    max-height: 34px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
}

/* Slightly closer to netmind.gr: header content breathes, but stays aligned */
.header .navbar {
    min-height: 62px;
}

.main-navbar-wrapper {
    min-height: 42px;
}

/* Product cards: keep the blue accent, but reduce the over-heavy SaaS feeling */
.nm-product-card:first-child {
    background: linear-gradient(135deg, var(--nm-blue-accent), #3b82f6) !important;
}

.nm-product-card:not(:first-child) .nm-card-icon {
    color: var(--nm-blue-accent);
    background: rgba(54,143,229,0.08);
}

/* Footer: avoid being too tall on laptop screens */
.nm-footer-site {
    min-height: 520px;
    padding-top: 3.7rem !important;
}

.nm-footer-grid-site {
    padding-bottom: 2.5rem;
}

@media (max-width: 991.98px) {
    .nm-domain-card {
        max-width: none;
        margin-left: 0;
    }
}

@media (max-width: 575.98px) {
    .nm-tld-pills {
        grid-template-columns: 1fr;
    }

    .nm-domain-card .input-group {
        border-radius: 1rem;
        padding: 0.45rem;
    }

    .nm-domain-card .input-group .form-control {
        flex: 0 0 100%;
        width: 100%;
        margin-bottom: 0.45rem;
    }

    .nm-domain-card .input-group-append {
        width: 100%;
        justify-content: stretch;
        gap: 0.4rem;
    }

    .nm-domain-card .input-group .btn {
        flex: 1 1 0;
        margin-left: 0;
    }
}


/* ==========================================================
 * netmind WHMCS Skin v6 - footer links + clean intro section
 * ========================================================== */

/* Remove the empty decorative second frame from the intro section. */
.nm-intro-section-clean {
    padding: 4.6rem 0;
}

.nm-section-grid-clean {
    display: block;
    max-width: 980px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.nm-section-grid-clean .nm-check-grid {
    max-width: 760px;
}

/* The old decorative card is no longer rendered, but keep this as a safety net if cache/template inheritance keeps it briefly. */
.nm-intro-section-clean .nm-intro-card,
.nm-intro-section-clean .nm-intro-visual,
.nm-intro-section-clean .nm-experience-badge {
    display: none !important;
}

/* More robust cleanup for the injected vendor line, including plain text wrappers. */
body.nm-template-homepage section#main-body .primary-content > p:last-child,
body.nm-template-homepage section#main-body .primary-content > center:last-child {
    display: none !important;
}

body.nm-template-homepage section#main-body .primary-content > .nm-account-section:last-child {
    display: block !important;
}

@media (max-width: 767.98px) {
    .nm-section-grid-clean {
        max-width: none !important;
    }

    .nm-section-grid-clean .nm-check-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================
 * netmind WHMCS Skin v7 - header/menu/login/footer refinements
 * ========================================================== */

/* Remove portal label beside logo; the brand should stay clean like netmind.gr */
.header .nm-portal-mark {
    display: none !important;
}

/* Nexus navbar.tpl does not always add .nav-link classes, so target direct anchors too */
#mainNavbar > ul > li > a,
#mainNavbar .navbar-nav > li > a,
.main-navbar-wrapper .navbar-nav > li > a,
.main-navbar-wrapper .navbar-nav > li > a.dropdown-toggle,
.main-navbar-wrapper .navbar-nav.ml-auto > li > a,
#mainNavbar .collapsable-dropdown > a {
    color: rgba(255, 255, 255, 0.82) !important;
    font-weight: 500;
    border-radius: 999px;
    padding: 0.65rem 1rem;
    text-decoration: none !important;
    transition: color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

#mainNavbar > ul > li > a:hover,
#mainNavbar > ul > li > a:focus,
#mainNavbar .navbar-nav > li > a:hover,
#mainNavbar .navbar-nav > li > a:focus,
.main-navbar-wrapper .navbar-nav > li > a:hover,
.main-navbar-wrapper .navbar-nav > li > a:focus,
.main-navbar-wrapper .navbar-nav > li.active > a,
.main-navbar-wrapper .navbar-nav > li.current > a {
    color: #ffffff !important;
    background: rgba(59, 130, 246, 0.16) !important;
}

.main-navbar-wrapper .navbar-nav > li.active > a,
.main-navbar-wrapper .navbar-nav > li.current > a {
    box-shadow: inset 0 -2px 0 var(--nm-blue-accent);
}

/* Keep dropdowns readable while still matching the dark header */
.header .dropdown-menu,
.main-navbar-wrapper .dropdown-menu {
    background: #111111 !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    box-shadow: 0 18px 45px rgba(0,0,0,.35) !important;
}

.header .dropdown-menu a,
.main-navbar-wrapper .dropdown-menu a,
.header .dropdown-item,
.main-navbar-wrapper .dropdown-item {
    color: rgba(255,255,255,.82) !important;
}

.header .dropdown-menu a:hover,
.main-navbar-wrapper .dropdown-menu a:hover,
.header .dropdown-item:hover,
.main-navbar-wrapper .dropdown-item:hover {
    color: #fff !important;
    background: rgba(59, 130, 246, 0.18) !important;
}

/* Login/register badge wording */
.login-form .card-body::before,
#registration .card-body::before {
    content: "Client Portal" !important;
    text-transform: none;
}

/* Payment icons closer to netmind.gr: compact, graphical, subtle */




/* Better mobile menu contrast */
@media (max-width: 1199.98px) {
    #mainNavbar {
        padding: .85rem 0 1rem;
    }
    #mainNavbar > ul > li > a,
    #mainNavbar .navbar-nav > li > a {
        display: block;
        color: rgba(255,255,255,.88) !important;
        padding: .8rem 1rem;
    }
}


/* ==========================================================
 * netmind WHMCS Skin v8 - license-safe vendor credit + homepage restore
 * ========================================================== */

/* netmind is written lowercase everywhere in visible UI. */
.nm-footer-logo,
.navbar-brand {
    text-transform: lowercase;
}

/* Keep header menu readable and on one line where possible. */
#mainNavbar > ul > li > a,
#mainNavbar .navbar-nav > li > a,
.main-navbar-wrapper .navbar-nav > li > a,
.main-navbar-wrapper .navbar-nav > li > a.dropdown-toggle,
.main-navbar-wrapper .navbar-nav.ml-auto > li > a,
#mainNavbar .collapsable-dropdown > a {
    color: rgba(255,255,255,.88) !important;
    white-space: nowrap;
}

#mainNavbar > ul > li > a:hover,
#mainNavbar .navbar-nav > li > a:hover,
.main-navbar-wrapper .navbar-nav > li > a:hover {
    color: #ffffff !important;
}

/* Restore homepage content: previous powered-by cleanup was too broad with :has(). */
body.nm-template-homepage section#main-body,
body.nm-template-homepage section#main-body > .container,
body.nm-template-homepage section#main-body > .container > .row,
body.nm-template-homepage section#main-body .primary-content,
body.nm-template-homepage .nm-intro-section,
body.nm-template-homepage .nm-products-section,
body.nm-template-homepage .nm-support-section,
body.nm-template-homepage .nm-account-section {
    visibility: visible !important;
    opacity: 1 !important;
}

body.nm-template-homepage section#main-body > .container > .row {
    display: flex !important;
}

body.nm-template-homepage section#main-body .primary-content {
    display: block !important;
}

/* License-safe WHMCS/WHMCompleteSolution credit: do not hide it; blend it into the transition before the footer. */
section#main-body .primary-content > p:has(a[href*="WHMCompleteSolution"]),
section#main-body .primary-content > center:has(a[href*="WHMCompleteSolution"]),
section#main-body .primary-content > p:has(a[href*="WHMCSCompleteSolution"]),
section#main-body .primary-content > center:has(a[href*="WHMCSCompleteSolution"]),
section#main-body .primary-content > p:has(a[href*="whmcsservices"]),
section#main-body .primary-content > center:has(a[href*="whmcsservices"]),
.nm-vendor-credit {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 !important;
    padding: .85rem 1rem !important;
    min-height: auto !important;
    height: auto !important;
    line-height: 1.4 !important;
    font-size: .72rem !important;
    text-align: center !important;
    background: #000 !important;
    color: rgba(255,255,255,.48) !important;
    border-top: 1px solid rgba(255,255,255,.06) !important;
}

section#main-body a[href*="WHMCompleteSolution"],
section#main-body a[href*="WHMCSCompleteSolution"],
section#main-body a[href*="whmcsservices"],
.nm-vendor-credit a {
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: rgba(255,255,255,.58) !important;
    font-size: .72rem !important;
    text-decoration: none !important;
}

section#main-body a[href*="WHMCompleteSolution"]:hover,
section#main-body a[href*="WHMCSCompleteSolution"]:hover,
section#main-body a[href*="whmcsservices"]:hover,
.nm-vendor-credit a:hover {
    color: rgba(255,255,255,.82) !important;
}

/* Payment icons closer to the public netmind.gr footer: small grey badges. */




/* Keep the legal credit separate from the white/light main area even on pages without custom homepage sections. */
section#main-body {
    padding-bottom: 0;
}

/* Greek uppercase labels are supplied without accents in templates; do not synthesize accented uppercase. */
.nm-section-kicker,
.nm-eyebrow,
.nm-mini-label {
    text-transform: none;
}

/* ==========================================================
 * v10 — Hero button hover fix
 * Keeps the outline button readable on dark hero backgrounds.
 * ========================================================== */
.nm-hero-links .btn-outline-light,
.nm-hero-links .btn-outline-light:visited {
    color: #ffffff !important;
    background: transparent !important;
    border-color: rgba(255,255,255,0.78) !important;
    opacity: 1 !important;
    text-decoration: none !important;
}

.nm-hero-links .btn-outline-light:hover,
.nm-hero-links .btn-outline-light:focus,
.nm-hero-links .btn-outline-light:active {
    color: #030506 !important;
    background: #ffffff !important;
    border-color: #ffffff !important;
    opacity: 1 !important;
    text-decoration: none !important;
    box-shadow: 0 12px 28px rgba(255,255,255,0.14) !important;
}

.nm-hero-links .btn-primary:hover,
.nm-hero-links .btn-primary:focus,
.nm-hero-links .btn-primary:active {
    color: #ffffff !important;
    opacity: 1 !important;
    text-decoration: none !important;
}

/* ==========================================================
   netmind WHMCS v11 fixes
   - Remove the decorative hero ::before frame that appeared wrong.
   - Keep footer headline on one line on desktop.
   ========================================================== */
.nm-hero-domain::before {
    content: none !important;
    display: none !important;
}

@media (min-width: 992px) {
    .nm-footer-site .nm-footer-head h2 {
        white-space: nowrap;
        font-size: clamp(1.85rem, 2.55vw, 2.75rem);
        letter-spacing: -0.055em;
    }
}

@media (max-width: 991.98px) {
    .nm-footer-site .nm-footer-head h2 {
        white-space: normal;
    }
}

/* ==========================================================
   netmind WHMCS v12 fixes
   - Downloads page: keep file descriptions visible on light cards.
   - Keep WHMCSCompleteSolution credit visible for license compliance.
   ========================================================== */
body:not(.nm-template-homepage) .kb-article-item,
body:not(.nm-template-homepage) a.kb-article-item,
body:not(.nm-template-homepage) .list-group-item.kb-article-item {
    background: #ffffff !important;
    color: var(--neutral-900) !important;
    opacity: 1 !important;
}

body:not(.nm-template-homepage) .kb-article-item small,
body:not(.nm-template-homepage) a.kb-article-item small,
body:not(.nm-template-homepage) .list-group-item.kb-article-item small,
body:not(.nm-template-homepage) .kb-article-item small strong,
body:not(.nm-template-homepage) .downloads small,
body:not(.nm-template-homepage) .download-description,
body:not(.nm-template-homepage) .text-muted {
    color: #64748b !important;
    opacity: 1 !important;
}

body:not(.nm-template-homepage) .kb-article-item:hover,
body:not(.nm-template-homepage) a.kb-article-item:hover,
body:not(.nm-template-homepage) .list-group-item.kb-article-item:hover {
    background: #f8fbff !important;
    color: var(--primary-700) !important;
}

body:not(.nm-template-homepage) .kb-article-item:hover small,
body:not(.nm-template-homepage) .kb-article-item:hover small strong,
body:not(.nm-template-homepage) a.kb-article-item:hover small {
    color: #475569 !important;
}

body:not(.nm-template-homepage) .card .list-group.list-group-flush .list-group-item + .list-group-item {
    border-top-color: #e7edf5 !important;
}

section#main-body a[href*="WHMCompleteSolution"],
section#main-body a[href*="WHMCSCompleteSolution"],
section#main-body a[href*="whmcsservices"] {
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* ==========================================================
   netmind WHMCS v13 fixes
   - Remove mixed-case brand word from services kicker.
   - Make the featured product icon visible on the blue card.
   - Give featured product button inverse colors.
   ========================================================== */
.nm-products-section .nm-section-kicker {
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
}

.nm-product-card:first-child .nm-card-icon {
    color: var(--nm-site-blue) !important;
    background: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.70) !important;
    box-shadow: 0 16px 34px rgba(0,0,0,0.10) !important;
}

.nm-product-card:first-child .nm-card-icon i,
.nm-product-card:first-child .nm-card-icon svg {
    color: var(--nm-site-blue) !important;
    opacity: 1 !important;
}

.nm-product-card:first-child .btn,
.nm-product-card:first-child .btn-outline-primary {
    background: #07111d !important;
    border-color: #07111d !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.nm-product-card:first-child .btn:hover,
.nm-product-card:first-child .btn:focus,
.nm-product-card:first-child .btn:active,
.nm-product-card:first-child .btn-outline-primary:hover,
.nm-product-card:first-child .btn-outline-primary:focus,
.nm-product-card:first-child .btn-outline-primary:active {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: #07111d !important;
    box-shadow: 0 12px 26px rgba(0,0,0,0.13) !important;
    text-decoration: none !important;
}

/* ==========================================================
   netmind WHMCS v14 fixes
   - Keep the products section intro text on one line on desktop.
   - Remove any leftover mixed brand text in the products kicker.
   ========================================================== */
.nm-products-section .nm-section-heading {
    max-width: none !important;
    width: 100% !important;
}

.nm-products-section .nm-section-heading .nm-section-kicker {
    display: inline-block !important;
    text-transform: uppercase !important;
}

.nm-products-section .nm-section-heading h2,
.nm-products-section .nm-section-heading p {
    max-width: none !important;
    width: 100% !important;
}

@media (min-width: 1200px) {
    .nm-products-section .nm-section-heading h2,
    .nm-products-section .nm-section-heading p {
        white-space: nowrap !important;
    }
}

@media (min-width: 1200px) and (max-width: 1450px) {
    .nm-products-section .nm-section-heading h2 {
        font-size: clamp(1.85rem, 2.15vw, 2.2rem) !important;
        letter-spacing: -0.05em !important;
    }
}

@media (max-width: 1199.98px) {
    .nm-products-section .nm-section-heading h2,
    .nm-products-section .nm-section-heading p {
        white-space: normal !important;
    }
}

/* ==========================================================
   netmind WHMCS v15 fix
   - Featured/blue product card: make CTA button white by default.
   ========================================================== */
.nm-product-card:first-child .btn,
.nm-product-card:first-child .btn-outline-primary,
.nm-product-card:first-child a.btn,
.nm-product-card:first-child a.btn-outline-primary {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: #07111d !important;
    box-shadow: 0 12px 26px rgba(0,0,0,0.10) !important;
}

.nm-product-card:first-child .btn:hover,
.nm-product-card:first-child .btn:focus,
.nm-product-card:first-child .btn:active,
.nm-product-card:first-child .btn-outline-primary:hover,
.nm-product-card:first-child .btn-outline-primary:focus,
.nm-product-card:first-child .btn-outline-primary:active,
.nm-product-card:first-child a.btn:hover,
.nm-product-card:first-child a.btn:focus,
.nm-product-card:first-child a.btn:active,
.nm-product-card:first-child a.btn-outline-primary:hover,
.nm-product-card:first-child a.btn-outline-primary:focus,
.nm-product-card:first-child a.btn-outline-primary:active {
    background: #07111d !important;
    border-color: #07111d !important;
    color: #ffffff !important;
    box-shadow: 0 14px 30px rgba(0,0,0,0.16) !important;
    text-decoration: none !important;
}

/* ==========================================================
   netmind WHMCS v16 fix
   - Restore centered container width for products section heading.
   - v14 made the heading width 100%, which pushed it to the viewport edge.
   ========================================================== */
.nm-products-section .nm-section-heading {
    width: min(100% - 2rem, var(--nm-page-max, 1600px)) !important;
    max-width: var(--nm-page-max, 1600px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 2.25rem !important;
}

.nm-products-section .nm-section-heading h2,
.nm-products-section .nm-section-heading p {
    max-width: 100% !important;
}

@media (min-width: 1200px) {
    .nm-products-section .nm-section-heading h2,
    .nm-products-section .nm-section-heading p {
        white-space: nowrap !important;
    }
}

@media (max-width: 1199.98px) {
    .nm-products-section .nm-section-heading {
        width: min(100% - 2rem, 100%) !important;
        max-width: none !important;
    }

    .nm-products-section .nm-section-heading h2,
    .nm-products-section .nm-section-heading p {
        white-space: normal !important;
    }
}

/* ==========================================================
   netmind WHMCS v17 fixes
   - Use one shared alignment container from header to footer.
   - Prevent homepage sections from drifting to different left edges.
   - Keep the design wide on large screens without becoming edge-to-edge.
   ========================================================== */
:root {
    --nm-align-max: 960px;
}

@media (min-width: 1200px) {
    :root { --nm-align-max: 1140px; }
}

@media (min-width: 1400px) {
    :root { --nm-align-max: 1320px; }
}

@media (min-width: 1600px) {
    :root { --nm-align-max: 1450px; }
}

/* One ruler for all homepage blocks: header, hero, content sections, footer. */
body.nm-template-homepage .header .container,
body.nm-template-homepage .main-navbar-wrapper .container,
body.nm-template-homepage .nm-hero-domain .container,
body.nm-template-homepage .nm-products-section > .nm-section-heading,
body.nm-template-homepage .nm-products-section > .nm-product-grid,
body.nm-template-homepage .nm-support-section > .nm-section-heading,
body.nm-template-homepage .nm-support-section > .nm-action-row,
body.nm-template-homepage .nm-account-section > .nm-section-heading,
body.nm-template-homepage .nm-account-section > .nm-action-row,
body.nm-template-homepage .nm-footer-site > .container {
    width: 100% !important;
    max-width: var(--nm-align-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Bootstrap rows already use negative side margins. Keep action rows visually aligned with section headings. */
body.nm-template-homepage .nm-action-row {
    margin-left: auto !important;
    margin-right: auto !important;
}

body.nm-template-homepage .nm-action-row > [class*="col-"] {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Product grid is not a Bootstrap row, so keep it on the same left edge as the heading. */
body.nm-template-homepage .nm-product-grid.card-columns {
    box-sizing: border-box !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Undo older full-width v14/v16 heading rules on homepage. */
body.nm-template-homepage .nm-products-section .nm-section-heading {
    width: 100% !important;
    max-width: var(--nm-align-max) !important;
}

/* The hero should share the same ruler, not the earlier edge-to-edge homepage container. */
body.nm-template-homepage .nm-hero-domain .container {
    position: relative;
    z-index: 2;
}

/* Keep headings readable on the now-consistent content width. */
@media (min-width: 1200px) {
    body.nm-template-homepage .nm-products-section .nm-section-heading h2,
    body.nm-template-homepage .nm-products-section .nm-section-heading p {
        white-space: nowrap !important;
    }
}

@media (max-width: 1199.98px) {
    body.nm-template-homepage .nm-products-section .nm-section-heading h2,
    body.nm-template-homepage .nm-products-section .nm-section-heading p {
        white-space: normal !important;
    }
}

@media (max-width: 575.98px) {
    body.nm-template-homepage .header .container,
    body.nm-template-homepage .main-navbar-wrapper .container,
    body.nm-template-homepage .nm-hero-domain .container,
    body.nm-template-homepage .nm-products-section > .nm-section-heading,
    body.nm-template-homepage .nm-products-section > .nm-product-grid,
    body.nm-template-homepage .nm-support-section > .nm-section-heading,
    body.nm-template-homepage .nm-support-section > .nm-action-row,
    body.nm-template-homepage .nm-account-section > .nm-section-heading,
    body.nm-template-homepage .nm-account-section > .nm-action-row,
    body.nm-template-homepage .nm-footer-site > .container {
        padding-left: 1.1rem !important;
        padding-right: 1.1rem !important;
    }
}

/* ==========================================================
 * netmind WHMCS Skin v18 - footer air / spacing refinement
 * Keeps the shared alignment ruler from v17, but gives the
 * footer more breathing room like the public netmind.gr footer.
 * ========================================================== */
@media (min-width: 992px) {
    body.nm-template-homepage .nm-footer-site {
        min-height: 660px;
        padding-top: 5.4rem !important;
        padding-bottom: 3rem !important;
    }

    body.nm-template-homepage .nm-footer-site .nm-footer-head {
        gap: 4.5rem;
        margin-bottom: 5.2rem;
    }

    body.nm-template-homepage .nm-footer-site .nm-footer-head h2 {
        white-space: nowrap;
    }

    body.nm-template-homepage .nm-footer-grid-site {
        gap: clamp(4rem, 7vw, 7.5rem);
        padding-bottom: 4.4rem;
    }

    body.nm-template-homepage .nm-footer-site .nm-footer-col h3 {
        margin-bottom: 1.55rem;
    }

    body.nm-template-homepage .nm-footer-site .nm-footer-col a,
    body.nm-template-homepage .nm-footer-site .nm-footer-col span {
        padding-top: 0.34rem;
        padding-bottom: 0.34rem;
        line-height: 1.68;
    }

    body.nm-template-homepage .nm-footer-bottom-site {
        padding-top: 1.25rem;
    }
}

@media (min-width: 1400px) {
    body.nm-template-homepage .nm-footer-site > .container {
        /* Slightly wider only inside the footer, while keeping the same visual left ruler on common screens. */
        max-width: min(1500px, calc(100vw - 4rem)) !important;
    }
}

@media (max-width: 991.98px) {
    body.nm-template-homepage .nm-footer-site {
        padding-top: 4rem !important;
        padding-bottom: 2.6rem !important;
    }

    body.nm-template-homepage .nm-footer-site .nm-footer-head {
        margin-bottom: 3.2rem;
    }

    body.nm-template-homepage .nm-footer-grid-site {
        gap: 3rem 3.5rem;
        padding-bottom: 3.2rem;
    }
}

/* ==========================================================
   netmind WHMCS v20 fixes
   - Fix domain transfer button hover inside the dark hero card.
   - Keep the transfer button visually secondary: dark by default, white on hover.
   ========================================================== */
.nm-domain-card .input-group .btn,
.nm-domain-card .input-group button.btn,
.nm-domain-card .input-group input.btn {
    min-height: 2.8rem;
    border-radius: 999px !important;
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 1 !important;
}

.nm-domain-card .input-group .btn-primary,
.nm-domain-card .input-group button.btn-primary,
.nm-domain-card .input-group input.btn-primary {
    background: var(--nm-blue-accent) !important;
    border-color: var(--nm-blue-accent) !important;
    color: #ffffff !important;
}

.nm-domain-card .input-group .btn-primary:hover,
.nm-domain-card .input-group .btn-primary:focus,
.nm-domain-card .input-group .btn-primary:active,
.nm-domain-card .input-group button.btn-primary:hover,
.nm-domain-card .input-group input.btn-primary:hover {
    background: #5aa4f5 !important;
    border-color: #5aa4f5 !important;
    color: #ffffff !important;
}

.nm-domain-card .input-group .btn-success,
.nm-domain-card .input-group button.btn-success,
.nm-domain-card .input-group input.btn-success,
.nm-domain-card .btn-success {
    background: #121a27 !important;
    border-color: rgba(255,255,255,0.16) !important;
    color: #ffffff !important;
}

.nm-domain-card .input-group .btn-success:hover,
.nm-domain-card .input-group .btn-success:focus,
.nm-domain-card .input-group .btn-success:active,
.nm-domain-card .input-group button.btn-success:hover,
.nm-domain-card .input-group input.btn-success:hover,
.nm-domain-card .btn-success:hover,
.nm-domain-card .btn-success:focus,
.nm-domain-card .btn-success:active {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: #0b111c !important;
}

/* ==========================================================
   netmind WHMCS v21 fixes
   - Logo links to public netmind.gr.
   - Mobile header gets more height/width and better touch targets.
   - Footer payment badges centre properly on mobile and read better.
   ========================================================== */

@media (max-width: 767.98px) {
    /* Make the mobile header feel like a proper bar instead of a thin strip. */
    .header .navbar.navbar-light {
        min-height: 58px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .header .navbar.navbar-light > .container,
    .header .main-navbar-wrapper > .container,
    .main-navbar-wrapper .container {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 58px !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .navbar-brand {
        display: inline-flex !important;
        align-items: center !important;
        min-height: 58px !important;
        margin-right: auto !important;
        padding: 0 !important;
        font-size: 1.38rem !important;
        line-height: 1 !important;
    }

    .logo-img {
        max-height: 30px !important;
        width: auto !important;
    }

    .header .navbar-nav.toolbar {
        flex-direction: row !important;
        align-items: center !important;
        gap: 6px !important;
        margin-left: auto !important;
    }

    .header .toolbar .btn,
    .header .navbar .btn.nav-link {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        padding: 0 !important;
        border-radius: 8px !important;
    }

    .cart-btn .badge {
        top: -7px !important;
        right: -7px !important;
    }

    .main-navbar-wrapper {
        border-top: 1px solid rgba(255,255,255,.08) !important;
    }

    .main-navbar-wrapper .collapse.show,
    .main-navbar-wrapper .collapsing {
        width: 100% !important;
        padding: .75rem 0 1rem !important;
    }

    .main-navbar-wrapper .search {
        margin-bottom: .9rem !important;
    }

    #mainNavbar .navbar-nav {
        width: 100% !important;
    }

    #mainNavbar .nav-link,
    #mainNavbar a {
        padding-left: .35rem !important;
        padding-right: .35rem !important;
    }

    /* Footer: centre payment methods and make them more legible on narrow screens. */
    .nm-footer-bottom-site {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 1.25rem !important;
        text-align: center !important;
        width: 100% !important;
    }

    .nm-footer-socials,
    .nm-footer-center,



    .nm-footer-localisation {
        display: flex !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
        margin-top: 1rem !important;
    }

    .nm-footer-localisation .btn {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media (max-width: 380px) {
    .header .navbar.navbar-light > .container,
    .header .main-navbar-wrapper > .container,
    .main-navbar-wrapper .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .logo-img {
        max-height: 27px !important;
    }

    .navbar-brand {
        font-size: 1.25rem !important;
    }

    .header .toolbar .btn,
    .header .navbar .btn.nav-link {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
    }
}


/* ==========================================================
 * netmind WHMCS Skin v22 - remove footer payment icons
 * Flatsome renders payment marks from its own SVG/icon assets.
 * In WHMCS we keep the footer cleaner and leave payment info as a link.
 * ========================================================== */
.nm-footer-bottom-spacer {
    min-height: 1px;
}

@media (max-width: 991.98px) {
    .nm-footer-bottom-spacer {
        display: none !important;
    }
}

/* ============================================================
   v24 — menu spacing fix
   The 1440px container made the 8 nav items spread full-width with
   big gaps. Pack them into a centered, evenly-spaced group like
   netmind.gr instead of stretching edge-to-edge.
   ============================================================ */
.main-navbar-wrapper #mainNavbar .navbar-nav {
    justify-content: center;   /* center the menu as a tight group */
    gap: 0.25rem;              /* small, even spacing between items */
}
.main-navbar-wrapper #mainNavbar .navbar-nav .nav-item {
    flex: 0 0 auto;            /* stop items growing to fill the row */
    margin: 0;
}
.main-navbar-wrapper #mainNavbar .nav-link {
    padding-left: 0.95rem;
    padding-right: 0.95rem;
}
