/* GeekPreach — Load Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
/*
=========================================================
 GEEKPREACH WEB SERVICES — BOLD MAKEOVER v2.0
 WHMCS Twenty-One Child Theme
=========================================================
*/

:root {
    --gp-green: #398e0b;
    --gp-bright: #79bd35;
    --gp-purple: #7524a8;
    --gp-dark-purple: #531977;
    --gp-ink: #222b38;
    --gp-muted: #667386;
    --gp-border: #e2e8ee;
    --gp-background: #f4f6fa;
    --gp-radius: 20px;
    --gp-shadow: 0 9px 28px rgba(35,45,65,.10);
    --gp-shadow-hover: 0 18px 40px rgba(35,45,65,.17);
}

/* GLOBAL APPEARANCE */
html {
    scroll-behavior: smooth;
}

body,
body.primary-bg-color,
#main-body {
    background: var(--gp-background);
    color: var(--gp-ink);
    font-family: "Segoe UI", Arial, sans-serif;
}

h1,h2,h3,h4,h5,h6 {
    color: var(--gp-ink);
    font-weight: 700;
    letter-spacing: -.035em;
}

a {
    color: var(--gp-purple);
    transition: color .2s ease;
}

a:hover {
    color: var(--gp-green);
    text-decoration: none;
}

/* HEADER */
#header,
#header .navbar,
#header .main-navbar-wrapper {
    background: white;
}

#header {
    box-shadow: 0 5px 22px rgba(30,40,60,.08);
    border-bottom: 0;
}

#header .navbar-brand {
    padding: 10px 0;
}

#header .logo-img {
    width: 380px !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: none !important;
    object-fit: contain;
    filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.04));
}

#header .main-navbar-wrapper {
    border-top: 1px solid #edf0f4;
}

#header .main-navbar-wrapper .nav-link,
#header .main-navbar-wrapper a {
    color: var(--gp-ink);
    font-weight: 600;
}

#header .main-navbar-wrapper a:hover,
#header .main-navbar-wrapper .nav-item:hover > a {
    color: var(--gp-green);
}

#header .dropdown-menu {
    background: #fff;
    border: 1px solid var(--gp-border);
    border-radius: 16px;
    box-shadow: var(--gp-shadow);
    padding: 10px;
}

#header .dropdown-item {
    border-radius: 10px;
}

#header .dropdown-item:hover {
    background: #eff8e9;
    color: var(--gp-green);
}

/* BREADCRUMB */
.master-breadcrumb {
    background: linear-gradient(90deg,#edf5e8,#f4eef9);
    border-bottom: 1px solid var(--gp-border);
}

.master-breadcrumb a {
    color: var(--gp-dark-purple);
}

/* BIG ROUNDED BUTTONS */
.btn,
button.btn,
a.btn {
    border-radius: 20px;
    font-weight: 600;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.btn-primary,
button.btn-primary,
input.btn-primary {
    color: white;
    background: linear-gradient(135deg,#52ad19,#2f8207);
    border-color: #398e0b;
    box-shadow: 0 5px 14px rgba(57,142,11,.22);
}

.btn-primary:hover,
.btn-primary:focus {
    color: white;
    background: linear-gradient(135deg,#398e0b,#256f06);
    border-color: #256f06;
    box-shadow: 0 9px 20px rgba(57,142,11,.30);
    transform: translateY(-2px);
}

.btn-success {
    color: white;
    background: linear-gradient(135deg,#389c52,#176a34);
    border-color: #257c42;
    box-shadow: 0 5px 14px rgba(22,110,55,.16);
}

.btn-success:hover {
    color: white;
    background: #176a34;
    border-color: #176a34;
    transform: translateY(-2px);
}

.btn-outline-primary {
    background: white;
    color: var(--gp-purple);
    border: 2px solid var(--gp-purple);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    color: white;
    background: var(--gp-purple);
    border-color: var(--gp-purple);
    box-shadow: 0 8px 18px rgba(117,36,168,.2);
    transform: translateY(-2px);
}

.btn-default {
    border-color: var(--gp-border);
}

.btn-default:hover {
    background: #ecf7e6;
    border-color: var(--gp-bright);
}

/* DOMAIN SEARCH — HERO */
.home-domain-search {
    background: linear-gradient(
        125deg,
        #eaf9e5 0%,
        #ffffff 48%,
        #eee6f8 100%
    );
    padding-top: 42px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--gp-border);
    position: relative;
	max-width: 1230px;
    width: calc(100% - 32px);
    margin: 20px auto 40px;
    border-radius: 24px;
}

.home-domain-search h2 {
    font-size: clamp(1.9rem,3vw,2.8rem);
    font-weight: 800;
    color: #253528;
    letter-spacing: -.045em;
}

.home-domain-search .card,
.home-domain-search .domain-search {
    border: 1px solid rgba(80,130,90,.18);
    border-radius: 22px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 13px 35px rgba(40,80,50,.12);
}

.home-domain-search .btn {
    border-radius: 20px;
}

/* INPUTS & FORMS */
.form-control,
.custom-select,
textarea,
select.form-control {
    border: 1px solid #dce4ed;
    border-radius: 12px;
    background: #fff;
    color: var(--gp-ink);
}

.form-control:focus,
.custom-select:focus,
textarea.form-control:focus {
    border-color: var(--gp-bright);
    box-shadow: 0 0 0 4px rgba(121,189,53,.17);
}

.input-group-text {
    background: #f2f5f8;
    border-color: var(--gp-border);
}

.form-control::placeholder {
    color: #8794a3;
}

/* PRODUCT AND CONTENT CARDS */
.card,
.panel {
    border: 1px solid var(--gp-border);
    border-radius: var(--gp-radius);
    background: #fff;
    box-shadow: var(--gp-shadow);
}

.card {
    transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--gp-shadow-hover);
}

.card-header,
.panel-heading {
    background: linear-gradient(90deg,#f8fcf5,#faf7fd);
    border-bottom: 1px solid var(--gp-border);
    border-radius: 20px 20px 0 0;
}

.card-footer {
    background: #fafbfd;
    border-top: 1px solid var(--gp-border);
}

/* HOME PRODUCT GROUP */
.homepage-product-service,
.homepage-product-services,
section#main-body .card {
    border-radius: 20px;
}

/* HOMEPAGE SHORTCUT TILES */
.home-shortcuts,
.homepage-shortcuts {
    background: transparent;
}

.home-shortcuts a,
.homepage-shortcuts a {
    transition: transform .2s ease, box-shadow .2s ease;
}

.home-shortcuts a:hover,
.homepage-shortcuts a:hover {
    transform: translateY(-4px);
}

.tiles .tile {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 17px rgba(30,40,60,.07);
    transition: transform .2s ease, box-shadow .2s ease;
}

.tiles .tile:hover {
    transform: translateY(-5px);
    box-shadow: var(--gp-shadow-hover);
}

/* PANELS & SIDEBAR */
.sidebar .card,
.sidebar .panel {
    border-radius: 16px;
    overflow: hidden;
}

.sidebar .list-group-item:hover {
    background: #eff8e9;
}

/* TABLES */
.table thead th {
    color: var(--gp-ink);
    background: #edf4e9;
    border-bottom: 2px solid #dcebd4;
}

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

.table-hover tbody tr:hover {
    background: #f0f8ed;
}

/* ALERTS */
.alert {
    border-radius: 16px;
}

.alert-success {
    background: #eaf8e6;
    border-color: #c8eabf;
    color: #236322;
}

.alert-info {
    background: #f0eefb;
    border-color: #e0d6f3;
    color: #53317a;
}

/* PAGINATION AND SELECTION */
.page-link {
    color: var(--gp-purple);
    border-color: var(--gp-border);
}

.page-item.active .page-link {
    background: var(--gp-purple);
    border-color: var(--gp-purple);
}

::selection {
    background: #dbefcc;
    color: #20351b;
}

/* FOOTER */
#footer,
.footer {
    background: #fff;
    color: var(--gp-ink);
    border-top: 3px solid transparent;
    border-image: linear-gradient(
        90deg,
        var(--gp-green),
        var(--gp-bright),
        var(--gp-purple)
    ) 1;
    padding-top: 35px;
    padding-bottom: 35px;
}

#footer a,
.footer a {
    color: var(--gp-purple);
    font-weight: 500;
}

#footer a:hover,
.footer a:hover {
    color: var(--gp-green);
}

#footer .copyright,
.footer .copyright {
    color: var(--gp-muted);
}

/* KEYBOARD ACCESSIBILITY */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.form-control:focus-visible {
    outline: 3px solid var(--gp-purple);
    outline-offset: 3px;
}

/* RESPONSIVE */
@media(max-width:991px) {
    #header .logo-img {
        max-width: 250px;
        height: auto;
    }

    .home-domain-search {
        padding-top: 28px;
        padding-bottom: 32px;
    }

    .card {
        margin-bottom: 12px;
    }

    #header .dropdown-menu {
        box-shadow: none;
    }
}

@media(max-width:575px) {
    #header .logo-img {
        max-width: 205px;
    }

    .home-domain-search {
        padding: 24px 10px;
    }

    .btn {
        font-size: .95rem;
    }

    h1 {
        font-size: 1.8rem;
    }
}

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

/* =========================================================
   GEEKPREACH HOMEPAGE POLISH — DOMAIN SEARCH + CARD POP
   Add below existing custom.css
========================================================= */

/* PAGE BACKGROUND */
body,
body.primary-bg-color,
#main-body {
    background: linear-gradient(180deg, #f7fbf3 0%, #f7f5fc 45%, #ffffff 100%);
}

/* MAIN CONTENT AREA */
#main-body {
    padding-bottom: 40px;
}

/* SECTION SPACING */
section,
.homepage-featured-products,
.homepage-domain-search,
.home-shortcuts,
.homepage-shortcuts {
    position: relative;
}

/* DOMAIN HERO / SEARCH SECTION */
.home-domain-search,
.domain-search-section,
#main-body .homepage-domain-search,
#main-body .domain-checker-container {
    background: linear-gradient(135deg, #effbe7 0%, #f8f2ff 100%);
    border: 1px solid #d9e8d2;
    border-radius: 30px;
    padding: 36px 32px 42px;
    margin-top: 18px;
    margin-bottom: 36px;
    box-shadow: 0 18px 45px rgba(37, 57, 77, 0.10);
}

/* DOMAIN SEARCH TITLE */
.home-domain-search h2,
.domain-search-section h2,
#main-body .domain-checker-container h2 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.05;
    text-align: center;
    color: #1f2a37;
    margin-bottom: 26px;
    text-shadow: 0 2px 0 rgba(255,255,255,.6);
}

/* DOMAIN SEARCH MAIN BOX */
.home-domain-search .domain-search-form,
.home-domain-search .search-box,
.domain-search-section form,
#main-body .domain-checker-container form {
    background: #ffffff;
    border: 2px solid #d8e3ef;
    border-radius: 26px;
    padding: 18px;
    box-shadow: 0 10px 28px rgba(33, 46, 66, 0.08);
}

/* SEARCH TEXT AREA / INPUT */
.home-domain-search textarea,
.home-domain-search input[type="text"],
.home-domain-search .form-control,
.domain-search-section textarea,
.domain-search-section input[type="text"],
#main-body .domain-checker-container textarea,
#main-body .domain-checker-container input[type="text"] {
    border: 2px solid #dce4ec;
    border-radius: 20px;
    background: #fcfdff;
    min-height: 72px;
    padding: 16px 18px;
    font-size: 1.1rem;
    color: #243244;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.03);
}

.home-domain-search textarea:focus,
.home-domain-search input[type="text"]:focus,
.home-domain-search .form-control:focus,
.domain-search-section textarea:focus,
.domain-search-section input[type="text"]:focus,
#main-body .domain-checker-container textarea:focus,
#main-body .domain-checker-container input[type="text"]:focus {
    border-color: #7fbe38;
    box-shadow: 0 0 0 5px rgba(127,190,56,.15);
    background: #fff;
}

/* SEARCH / TRANSFER ACTION AREA */
.home-domain-search .btn,
.domain-search-section .btn,
#main-body .domain-checker-container .btn {
    border-radius: 999px !important;
    padding: 12px 26px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .01em;
    box-shadow: 0 8px 18px rgba(0,0,0,.12);
}

.home-domain-search .btn-primary,
.domain-search-section .btn-primary,
#main-body .domain-checker-container .btn-primary {
    background: linear-gradient(135deg, #52b31d, #2f8508);
    border: 0;
    color: #fff;
}

.home-domain-search .btn-primary:hover,
.domain-search-section .btn-primary:hover,
#main-body .domain-checker-container .btn-primary:hover {
    background: linear-gradient(135deg, #3f9710, #2c7307);
    transform: translateY(-2px);
}

.home-domain-search .btn-success,
.domain-search-section .btn-success,
#main-body .domain-checker-container .btn-success {
    background: linear-gradient(135deg, #7b2ec9, #5a1f96);
    border: 0;
    color: #fff;
}

.home-domain-search .btn-success:hover,
.domain-search-section .btn-success:hover,
#main-body .domain-checker-container .btn-success:hover {
    background: linear-gradient(135deg, #6923b2, #4f1a86);
    transform: translateY(-2px);
}

/* DOMAIN SEARCH FILTER ROW */
.home-domain-search .search-options,
.home-domain-search .domain-search-options,
.domain-search-section .search-options,
#main-body .domain-checker-container .search-options,
#main-body .domain-checker-container .domain-search-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 16px;
    padding-top: 8px;
}

/* DROPDOWNS IN DOMAIN SEARCH */
.home-domain-search select,
.domain-search-section select,
#main-body .domain-checker-container select {
    border: 2px solid #d8dfeb;
    background: #ffffff;
    color: #243244;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 600;
    min-height: 46px;
    box-shadow: 0 4px 10px rgba(0,0,0,.04);
}

.home-domain-search select:focus,
.domain-search-section select:focus,
#main-body .domain-checker-container select:focus {
    border-color: #7b2ec9;
    box-shadow: 0 0 0 4px rgba(123,46,201,.12);
}

/* GEEKPREACH-STYLE SAFE SEARCH CHECKBOX */
.home-domain-search input[type="checkbox"],
.domain-search-section input[type="checkbox"],
#main-body .domain-checker-container input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border: 2px solid #7b2ec9;
    border-radius: 8px;
    background: #fff;
    display: inline-grid;
    place-content: center;
    margin-right: 8px;
    vertical-align: middle;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(123,46,201,.12);
}

.home-domain-search input[type="checkbox"]::before,
.domain-search-section input[type="checkbox"]::before,
#main-body .domain-checker-container input[type="checkbox"]::before {
    content: "";
    width: 10px;
    height: 10px;
    transform: scale(0);
    transition: .15s ease-in-out;
    border-radius: 3px;
    background: linear-gradient(135deg, #52b31d, #7b2ec9);
}

.home-domain-search input[type="checkbox"]:checked::before,
.domain-search-section input[type="checkbox"]:checked::before,
#main-body .domain-checker-container input[type="checkbox"]:checked::before {
    transform: scale(1);
}

/* FILTER LABELS */
.home-domain-search label,
.home-domain-search .checkbox-inline,
.home-domain-search .small,
.domain-search-section label,
#main-body .domain-checker-container label,
#main-body .domain-checker-container .small {
    font-weight: 700;
    color: #334155;
}

/* TLD PRICE ROW */
.tld-pricing,
.domain-pricing,
.home-domain-search .tld-pricing {
    margin-top: 28px;
}

.tld-pricing div,
.tld-pricing li {
    background: #ffffff;
    border: 1px solid #e3e8ef;
    border-radius: 18px;
    padding: 10px 18px;
    box-shadow: 0 8px 18px rgba(34, 44, 59, 0.06);
}


/* SECTION HEADINGS */
#main-body h2 {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 26px;
    text-align: center;
}


/* GeekPreach — Domain Pricing Category Filters */

#main-body .domain-pricing .tld-filters {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    padding: 16px !important;
    background: #ffffff !important;
    border: 1px solid #dfd0ed !important;
    border-radius: 16px !important;
    margin-bottom: 20px !important;
}

#main-body .domain-pricing .tld-filters a.badge {
    display: inline-flex !important;
    align-items: center !important;
    padding: 9px 14px !important;
    background: #ffffff !important;
    color: #7524a8 !important;
    border: 1px solid #cda8e8 !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
}


#main-body .domain-pricing .tld-filters a.badge:hover {
    background: #7524a8 !important;
    color: #ffffff !important;
    border-color: #7524a8 !important;
}

/* Remove mouse-click ring; retain keyboard focus */
#main-body .domain-pricing .tld-filters a.badge:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
}


#main-body .domain-pricing .tld-filters a.badge-success {
    background: #7524a8 !important;
    color: #ffffff !important;
    border-color: #7524a8 !important;
}

/* PRODUCT/SERVICE CARDS */
.card,
.homepage-products .card,
.homepage-products .product,
.homepage-products .package,
.home-shortcuts .tile,
.homepage-shortcuts .tile {
    border-radius: 24px !important;
    border: 1px solid #dde5ec !important;
    background: #ffffff !important;
    box-shadow: 0 14px 34px rgba(33, 44, 61, 0.09) !important;
    transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover,
.homepage-products .card:hover,
.homepage-products .product:hover,
.homepage-products .package:hover,
.home-shortcuts .tile:hover,
.homepage-shortcuts .tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(33, 44, 61, 0.14) !important;
}

/* CARD TOP ACCENTS */
.homepage-products .card:nth-child(1),
.homepage-products .product:nth-child(1),
.home-shortcuts a:nth-child(1) .tile,
.homepage-shortcuts a:nth-child(1) .tile {
    border-top: 4px solid #52b31d !important;
}
.homepage-products .card:nth-child(2),
.homepage-products .product:nth-child(2),
.home-shortcuts a:nth-child(2) .tile,
.homepage-shortcuts a:nth-child(2) .tile {
    border-top: 4px solid #7b2ec9 !important;
}
.homepage-products .card:nth-child(3),
.homepage-products .product:nth-child(3),
.home-shortcuts a:nth-child(3) .tile,
.homepage-shortcuts a:nth-child(3) .tile {
    border-top: 4px solid #19a7ae !important;
}
.home-shortcuts a:nth-child(4) .tile,
.homepage-shortcuts a:nth-child(4) .tile {
    border-top: 4px solid #f39c12 !important;
}
.home-shortcuts a:nth-child(5) .tile,
.homepage-shortcuts a:nth-child(5) .tile {
    border-top: 4px solid #e74c3c !important;
}

/* CARD BUTTONS */
.card .btn,
.homepage-products .btn,
.home-shortcuts .btn,
.homepage-shortcuts .btn {
    border-radius: 999px !important;
    font-weight: 700;
    padding: 11px 24px;
}

/* POP THE SHORTCUT TILES */
.home-shortcuts a,
.homepage-shortcuts a {
    text-decoration: none;
}

.home-shortcuts .tile,
.homepage-shortcuts .tile {
    padding: 26px 14px;
}

.home-shortcuts .tile i,
.homepage-shortcuts .tile i {
    color: #7c8ea3 !important;
    opacity: .8;
}

/* ACCOUNT AREA */
.account-home-panels,
.client-home-panels,
#main-body .panel,
#main-body .card {
    background: transparent;
}

/* FOOTER */
#footer,
.footer {
    background: linear-gradient(135deg, #ffffff 0%, #f7f9fc 100%);
    border-top: 4px solid transparent;
    border-image: linear-gradient(90deg, #52b31d, #7b2ec9, #19a7ae) 1;
}

#footer a,
.footer a {
    color: #7b2ec9;
    font-weight: 600;
}

#footer a:hover,
.footer a:hover {
    color: #52b31d;
}

/* MOBILE */
@media (max-width: 991px) {
    .home-domain-search,
    .domain-search-section,
    #main-body .domain-checker-container {
        padding: 24px 18px 28px;
        border-radius: 22px;
    }

    .home-domain-search h2,
    .domain-search-section h2,
    #main-body .domain-checker-container h2 {
        font-size: 2.1rem;
    }

    .home-domain-search .btn,
    .domain-search-section .btn,
    #main-body .domain-checker-container .btn {
        width: 100%;
        margin-top: 10px;
    }
}


/*
=========================================================
 GEEKPREACH — BOLD CORRECTION PASS v3
 Real WHMCS Twenty-One selectors
=========================================================
*/

/* 1. REMOVE THE GRAY BREADCRUMB BAR */
.master-breadcrumb,
.master-breadcrumb .container,
.master-breadcrumb .breadcrumb {
    background: #eaf7e5 !important;
}

.master-breadcrumb {
    border: 0 !important;
    border-bottom: 3px solid #7cbb38 !important;
}

.master-breadcrumb .breadcrumb {
    border-radius: 0 !important;
    padding: 16px 18px !important;
}

.master-breadcrumb .breadcrumb-item {
    color: #316b17 !important;
    font-weight: 700;
}

/* 2. REPLACE THE GRAY PAGE BACKGROUND */
body,
body.primary-bg-color,
#main-body {
    background: #fff !important;
}

#main-body {
    background:
        linear-gradient(135deg,
            #e9f8e3 0%,
            #ffffff 35%,
            #f2e8fb 75%,
            #ffffff 100%) !important;
}

/* 3. TRANSFORM THE DOMAIN SEARCH SECTION */
#frmDomainHomepage .home-domain-search {
    background:
        radial-gradient(
            circle at 10% 15%,
            rgba(118,196,61,.24),
            transparent 40%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(132,54,191,.18),
            transparent 45%
        ),
        #ffffff !important;

    border: 3px solid #80bd44 !important;
    border-radius: 32px !important;
    box-shadow:
        0 15px 35px rgba(62,120,34,.16),
        0 28px 60px rgba(103,39,159,.10) !important;
    margin: 25px auto 45px !important;
    padding: 20px !important;
}

#frmDomainHomepage .home-domain-search h2 {
    font-size: clamp(2rem,4vw,3.2rem) !important;
    font-weight: 800 !important;
    color: #263926 !important;
    margin-bottom: 32px !important;
}

/* 4. REMOVE THE OLD INPUT GROUP BOX */
#frmDomainHomepage .input-group-wrapper {
    background: #fff !important;
    border: 2px solid #d8e9d0 !important;
    border-radius: 26px !important;
    box-shadow: 0 12px 30px rgba(35,55,70,.10);
    padding: 20px !important;
}

/* 5. REARRANGE SEARCH FIELD, FILTERS AND BUTTONS */
#frmDomainHomepage .input-group.advanced-input {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 12px !important;
}

/* Main search textarea becomes its own full row */
#frmDomainHomepage .advanced-input > textarea {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 115px !important;
    min-height: 115px !important;
    padding: 20px !important;
    border: 2px solid #b9dba7 !important;
    border-radius: 20px !important;
    background: #f8fff5 !important;
    color: #243329 !important;
    font-size: 1.15rem !important;
    line-height: 1.6 !important;
    box-shadow: none !important;
    resize: vertical;
    order: 0;
}

#frmDomainHomepage .advanced-input > textarea:focus {
    border-color: #8433bc !important;
    box-shadow: 0 0 0 5px rgba(132,51,188,.13) !important;
    outline: none;
}

/* 6. STRONG, ATTRACTIVE FILTER CONTROLS */
#frmDomainHomepage .advanced-input .btn-group {
    position: relative;
    order: 1;
}

#frmDomainHomepage .advanced-input .multiselect,
#frmDomainHomepage .advanced-input button.multiselect {
    background: #f1e7fb !important;
    color: #652398 !important;
    border: 2px solid #b98bd8 !important;
    border-radius: 999px !important;
    padding: 11px 19px !important;
    min-height: 46px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(117,36,168,.12);
}

#frmDomainHomepage .advanced-input button.multiselect:hover,
#frmDomainHomepage .advanced-input button.multiselect:focus {
    background: #e6d1f6 !important;
    border-color: #8433bc !important;
    box-shadow: 0 6px 16px rgba(117,36,168,.2);
}

#frmDomainHomepage .advanced-input .multiselect-container {
    border-radius: 16px !important;
    border: 1px solid #d7b5ec !important;
    background: #fff !important;
    box-shadow: 0 15px 35px rgba(60,30,90,.18) !important;
    padding: 8px !important;
    z-index: 1100;
}

#frmDomainHomepage .advanced-input .multiselect-container a {
    color: #30323b !important;
    border-radius: 8px;
}

#frmDomainHomepage .advanced-input .multiselect-container a:hover {
    background: #f1e7fb !important;
    color: #652398 !important;
}

/* 7. SAFE SEARCH AS A GEEKPREACH FILTER PILL */
#frmDomainHomepage .advanced-input > label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px;
    background: #eaf8e3 !important;
    color: #33741e !important;
    border: 2px solid #87c56b !important;
    border-radius: 999px !important;
    padding: 9px 16px !important;
    min-height: 46px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer;
    order: 2;
}

#frmDomainHomepage .advanced-input > label input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0;
    margin: 0 !important;
    border: 2px solid #4d9e29 !important;
    border-radius: 8px !important;
    background: #fff !important;
    display: inline-grid !important;
    place-content: center;
    cursor: pointer;
}

#frmDomainHomepage .advanced-input > label input[type="checkbox"]::before {
    content: "✓";
    display: block;
    color: #fff;
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
    transform: scale(0);
}

#frmDomainHomepage .advanced-input > label input[type="checkbox"]:checked {
    background: #4b9e25 !important;
}

#frmDomainHomepage .advanced-input > label input[type="checkbox"]:checked::before {
    transform: scale(1);
}

#frmDomainHomepage .advanced-input > label input[type="checkbox"]:focus-visible {
    outline: 3px solid #7524a8;
    outline-offset: 3px;
}

/* 8. MOVE SEARCH / TRANSFER BELOW THE FIELD */
#frmDomainHomepage .advanced-input > .input-group-append {
    position: static !important;
    display: flex !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    margin: 12px 0 0 !important;
    order: 3;
}

/* 9. FORCE REAL PILL BUTTONS */
#frmDomainHomepage #btnDomainSearch,
#frmDomainHomepage #btnTransfer,
#frmDomainHomepage #btnDomainSearch2,
#frmDomainHomepage #btnTransfer2 {
    position: static !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    min-height: 54px;
    padding: 13px 32px !important;
    border-radius: 999px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    box-shadow: 0 8px 20px rgba(40,40,60,.17) !important;
}

#frmDomainHomepage #btnDomainSearch,
#frmDomainHomepage #btnDomainSearch2 {
    background: linear-gradient(135deg,#66c831,#328608) !important;
    border: 0 !important;
    color: #fff !important;
}

#frmDomainHomepage #btnTransfer,
#frmDomainHomepage #btnTransfer2 {
    background: linear-gradient(135deg,#963dd4,#602098) !important;
    border: 0 !important;
    color: #fff !important;
}

#frmDomainHomepage #btnDomainSearch:hover,
#frmDomainHomepage #btnTransfer:hover {
    transform: translateY(-3px);
    filter: brightness(1.08);
}

/* 10. MAKE PAGE CARDS STAND OUT */
#main-body .card {
    background: #fff !important;
    border: 2px solid #e0e6ee !important;
    border-radius: 24px !important;
    box-shadow:
        0 15px 35px rgba(36,43,68,.13) !important;
}

#main-body .card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 22px 45px rgba(61,38,92,.18) !important;
}

/* MOBILE */
@media (max-width: 767px) {
    #frmDomainHomepage .home-domain-search {
        padding: 12px !important;
        border-radius: 22px !important;
    }

    #frmDomainHomepage .home-domain-search .p-5 {
        padding: 20px 8px !important;
    }

    #frmDomainHomepage .input-group-wrapper {
        padding: 14px !important;
    }

    #frmDomainHomepage .advanced-input > textarea {
        height: 120px !important;
    }

    #frmDomainHomepage .advanced-input > .input-group-append {
        gap: 10px !important;
    }

    #frmDomainHomepage #btnDomainSearch,
    #frmDomainHomepage #btnTransfer {
        min-width: 130px;
    }
}


/* GeekPreach — Auto-expanding Domain Search Field */

#frmDomainHomepage .advanced-input > textarea {
    field-sizing: content;
    height: auto !important;
    min-height: 120px !important;
    max-height: 320px !important;
    overflow-y: auto !important;
    resize: vertical;
}


/* GeekPreach — Clean White Domain Search Field */

#frmDomainHomepage .advanced-input > textarea {
    background: #ffffff !important;
    border: 2px solid #cbd7e2 !important;
    border-radius: 20px !important;
    resize: none !important;
}

#frmDomainHomepage .advanced-input > textarea:focus {
    background: #ffffff !important;
    border-color: #7524a8 !important;
    box-shadow: 0 0 0 4px rgba(117,36,168,.12) !important;
}


/* ==========================================
   GEEKPREACH — DOMAIN SEARCH FINAL POLISH
   ========================================== */

/* Shorter, cleaner search field */
#frmDomainHomepage .advanced-input > textarea {
    min-height: 90px !important;
    height: 90px !important;
    max-height: 250px !important;
    field-sizing: content;
    resize: none !important;
    overflow-y: hidden !important;
}

/* Move Search and Transfer to the right */
#frmDomainHomepage .advanced-input > .input-group-append {
    justify-content: flex-end !important;
    padding-right: 5px;
}

/* Reset old checkbox styling */
#frmDomainHomepage .advanced-input > label input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: none !important;
    background-color: #fff !important;
    border: 2px solid #4b9e25 !important;
    border-radius: 7px !important;
    width: 23px !important;
    height: 23px !important;
    box-shadow: none !important;
    display: inline-grid !important;
    place-items: center;
    position: relative;
}

/* Remove earlier generated checkbox symbol */
#frmDomainHomepage .advanced-input > label input[type="checkbox"]::before {
    content: none !important;
}

/* Replace with one centered checkmark */
#frmDomainHomepage .advanced-input > label input[type="checkbox"]:checked {
    background-color: #4b9e25 !important;
    background-image: none !important;
}

#frmDomainHomepage .advanced-input > label input[type="checkbox"]:checked::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    color: white;
    font-family: Arial, sans-serif;
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
}


/* GeekPreach — Domain Pricing Button */

.home-domain-search a[href*="domain/pricing"],
.home-domain-search a[href*="domain-pricing"],
.home-domain-search a[href*="domainregister"] {
    background: #ffffff !important;
    color: #7524a8 !important;
    border: 2px solid #7524a8 !important;
    border-radius: 999px !important;
    padding: 12px 24px !important;
    font-weight: 700 !important;
    box-shadow: 0 7px 18px rgba(117,36,168,.18) !important;
    transition: all .2s ease;
}

.home-domain-search a[href*="domain/pricing"]:hover,
.home-domain-search a[href*="domain-pricing"]:hover,
.home-domain-search a[href*="domainregister"]:hover {
    background: #7524a8 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}



/* GeekPreach — Compact Domain Search Textbox */

#frmDomainHomepage .advanced-input > textarea {
    field-sizing: fixed !important;
    box-sizing: border-box !important;
    height: 65px !important;
    min-height: 65px !important;
    max-height: 65px !important;
    padding: 12px 18px !important;
    line-height: 1.45 !important;
    resize: none !important;
    overflow: hidden !important;
}


/* ==========================================
   GEEKPREACH — HEADER SEARCH & CART
   ========================================== */

/* Knowledgebase search container */
#header .search {
    border: 2px solid #c9a4e3 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(117,36,168,.09);
    transition: border-color .2s, box-shadow .2s;
}

#header .search:focus-within {
    border-color: #4b9e25 !important;
    box-shadow: 0 0 0 4px rgba(75,158,37,.13);
}

/* Search icon and input */
#header .search .btn,
#header .search .input-group-text,
#header .search .form-control {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    color: #7524a8 !important;
}

#header .search .form-control {
    min-height: 42px;
    color: #263426 !important;
}

#header .search .form-control::placeholder {
    color: #737185 !important;
    opacity: 1;
}

#header .search .btn:hover {
    color: #4b9e25 !important;
    transform: none;
}

/* Make Cart the primary header action */
#header .toolbar .cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 50px;
    padding: 8px !important;
    border: 0 !important;
    border-radius: 20px !important;
    background: linear-gradient(135deg,#62bd23,#348b0b) !important;
    color: #ffffff !important;
    box-shadow: 0 7px 18px rgba(57,142,11,.24) !important;
    transition: transform .2s, box-shadow .2s;
}

#header .toolbar .cart-btn:hover {
    background: linear-gradient(135deg,#4ba515,#287307) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(57,142,11,.34) !important;
}

#header .toolbar .cart-btn i {
    color: #ffffff !important;
    opacity: 1 !important;
    font-size: 22px;
}

/* Purple cart item counter */
#header .cart-btn #cartItemCount {
    position: absolute;
    top: -7px;
    right: -7px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 24px;
    height: 24px;
    padding: 2px 6px;
    border-radius: 999px !important;
    background: #7524a8 !important;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 2px 7px rgba(117,36,168,.28);
}

/* Keyboard focus */
#header .cart-btn:focus-visible {
    outline: 3px solid #7524a8;
    outline-offset: 4px;
}

/* Mobile adjustments */
@media (max-width: 575px) {
    #header .toolbar .cart-btn {
        width: 48px;
        height: 46px;
        border-radius: 17px !important;
    }
}


/* GeekPreach — Fix Clipped Cart Counter */

#header .toolbar,
#header .toolbar .nav-item,
#header .toolbar .cart-btn {
    overflow: visible !important;
}

#header .cart-btn #cartItemCount {
    top: -8px !important;
    right: -8px !important;
    z-index: 10 !important;
}


/* ==================================================
   GEEKPREACH — SUPPORT & ACCOUNT TILES
   ================================================== */

/* Homepage shortcut cards */
.homepage .icon-box,
.homepage .home-shortcuts a,
.homepage .homepage-shortcuts a,
.homepage .features a,
.homepage .quick-links a {
    border-radius: 20px !important;
}

/* WHMCS Twenty-One homepage tile styles */
.homepage .icon-box,
.homepage .feature,
.homepage .tile,
.homepage .home-shortcuts .tile,
.homepage .homepage-shortcuts .tile {
    background: #ffffff !important;
    border: 2px solid #e6ddf2 !important;
    border-radius: 20px !important;
    box-shadow: 0 12px 28px rgba(38,38,65,.12) !important;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease !important;
}

/* Hover lift */
.homepage .icon-box:hover,
.homepage .feature:hover,
.homepage .tile:hover {
    transform: translateY(-7px) !important;
    border-color: #8b39c7 !important;
    box-shadow: 0 20px 40px rgba(99,41,146,.22) !important;
}

/* Icons */
.homepage .icon-box i,
.homepage .feature i,
.homepage .tile i,
.homepage .home-shortcuts i,
.homepage .homepage-shortcuts i {
    color: #7524a8 !important;
    opacity: 1 !important;
    font-size: 42px !important;
    transition: color .2s ease, transform .2s ease;
}

/* Green icon on hover */
.homepage .icon-box:hover i,
.homepage .feature:hover i,
.homepage .tile:hover i {
    color: #4b9e25 !important;
    transform: scale(1.1);
}

/* Shortcut labels */
.homepage .icon-box a,
.homepage .feature a,
.homepage .tile a {
    color: #263426 !important;
    font-weight: 700 !important;
}

/* Keep the spacing comfortable */
.homepage .icon-box,
.homepage .feature,
.homepage .tile {
    padding: 22px 14px !important;
}

/* Keyboard focus */
.homepage .icon-box:focus-within,
.homepage .feature:focus-within,
.homepage .tile:focus-within {
    outline: 3px solid #7524a8;
    outline-offset: 3px;
}

/* Mobile */
@media (max-width: 767px) {
    .homepage .icon-box,
    .homepage .feature,
    .homepage .tile {
        border-radius: 16px !important;
        padding: 18px 10px !important;
    }
}


/* ================================================
   GEEKPREACH — SUPPORT & ACCOUNT TILES v2
   Target actual WHMCS Twenty-One classes
================================================ */

/* Both rows of tiles */
#main-body .action-icon-btns a[class*="card-accent-"] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    padding: 20px 12px !important;
    background: #ffffff !important;
    border: 2px solid #e2d9ee !important;
    border-radius: 20px !important;
    box-shadow: 0 12px 25px rgba(49,35,71,.14) !important;
    color: #263426 !important;
    font-size: 15px;
    font-weight: 700 !important;
    text-align: center;
    text-decoration: none !important;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

/* Strong hover effect */
#main-body .action-icon-btns a[class*="card-accent-"]:hover {
    transform: translateY(-7px);
    border-color: #7524a8 !important;
    box-shadow: 0 20px 38px rgba(117,36,168,.24) !important;
    color: #7524a8 !important;
}

/* Icon containers */
#main-body .action-icon-btns .ico-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 65px;
    margin-bottom: 10px;
    color: #7524a8 !important;
}

/* FontAwesome icons */
#main-body .action-icon-btns .ico-container i {
    color: #7524a8 !important;
    opacity: 1 !important;
    font-size: 44px !important;
    transition: transform .25s ease, color .25s ease;
}

/* WHMCS SVG icons */
#main-body .action-icon-btns .ico-container svg {
    color: #7524a8 !important;
    fill: none;
    opacity: 1 !important;
    width: 48px;
    height: 48px;
    transition: transform .25s ease;
}

/* Icon hover */
#main-body .action-icon-btns a:hover .ico-container i,
#main-body .action-icon-btns a:hover .ico-container svg {
    color: #4b9e25 !important;
    transform: scale(1.12);
}

/* Preserve colorful card accents */
#main-body .action-icon-btns a[class*="card-accent-"] {
    border-top: 4px solid #7524a8 !important;
}

/* Alternate green and purple accents */
#main-body .action-icon-btns > div:nth-child(even) a {
    border-top-color: #4b9e25 !important;
}

/* Accessible keyboard focus */
#main-body .action-icon-btns a:focus-visible {
    outline: 3px solid #4b9e25;
    outline-offset: 4px;
}

/* Mobile */
@media (max-width: 767px) {
    #main-body .action-icon-btns a[class*="card-accent-"] {
        min-height: 135px;
        padding: 16px 8px !important;
        font-size: 14px;
    }
}


/* ==========================================
   GEEKPREACH — LOWER HOMEPAGE SECTION FRAME
   ========================================== */

/* One border around all three homepage sections */
body:has(#frmDomainHomepage) #main-body .primary-content {
    background: linear-gradient(
        135deg,
        #f0fae9 0%,
        #ffffff 45%,
        #f3e8fb 100%
    ) !important;

    border: 3px solid #7524a8 !important;
    border-radius: 30px !important;

    padding: 45px 35px 55px !important;
    box-shadow: 0 18px 40px rgba(117,36,168,.13) !important;
}

/* Keep the frame comfortable on mobile */
@media (max-width: 767px) {
    body:has(#frmDomainHomepage) #main-body .primary-content {
        border-radius: 22px !important;
        padding: 25px 15px 35px !important;
    }
}


/* GeekPreach — Widen Lower Homepage Frame */

body:has(#frmDomainHomepage) #main-body .primary-content {
    width: calc(100% + 100px) !important;
    max-width: none !important;
    margin-left: -50px !important;
    margin-right: -50px !important;

    /* Keep the cards comfortably inset */
    padding-left: 85px !important;
    padding-right: 85px !important;
}

/* Tablet and mobile */
@media (max-width: 991px) {
    body:has(#frmDomainHomepage) #main-body .primary-content {
        width: calc(100% + 30px) !important;
        margin-left: -15px !important;
        margin-right: -15px !important;
        padding-left: 25px !important;
        padding-right: 25px !important;
    }
}

@media (max-width: 575px) {
    body:has(#frmDomainHomepage) #main-body .primary-content {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}


/* GeekPreach — Align Purple Frame with Green Frame */

@media (min-width: 992px) {
    body:has(#frmDomainHomepage) #main-body .primary-content {
        width: calc(100% + 110px) !important;
        max-width: none !important;
        margin-left: -56px !important;
        margin-right: -56px !important;

        /* Keep cards in their current positions */
        padding: 45px 91px 55px !important;

        border: 3px solid #7524a8 !important;
        border-radius: 30px !important;
    }
}

/* GeekPreach — Purple Breadcrumb Navigation */

.master-breadcrumb,
.master-breadcrumb .container,
.master-breadcrumb .breadcrumb {
    background: #7524a8 !important;
}

.master-breadcrumb {
    border: 0 !important;
    border-bottom: 3px solid #4b9e25 !important;
}

.master-breadcrumb .breadcrumb-item,
.master-breadcrumb .breadcrumb-item a,
.master-breadcrumb a {
    color: #ffffff !important;
    font-weight: 700;
}

.master-breadcrumb .breadcrumb-item.active {
    color: #ffffff !important;
}


/* GeekPreach — Domain Search Border Colors */

#frmDomainHomepage .advanced-input > textarea {
    background: #ffffff !important;
    border: 2px solid #7524a8 !important;
    border-radius: 20px !important;
    transition: border-color .2s ease, box-shadow .2s ease;
}

#frmDomainHomepage .advanced-input > textarea:focus {
    border-color: #4b9e25 !important;
    box-shadow: 0 0 0 4px rgba(75,158,37,.16) !important;
    outline: none !important;
}


/* =================================================
   GEEKPREACH — CUSTOMER LOGIN PAGE MAKEOVER
   ================================================= */

/* Main login card */
#main-body .logincontainer .card {
    background: #ffffff !important;
    border: 2px solid #e4d2f1 !important;
    border-radius: 24px !important;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(75, 35, 115, .16) !important;
}

/* Login card contents */
#main-body .logincontainer .card-body {
    padding: 35px 40px !important;
}

/* Login heading */
#main-body .logincontainer h1,
#main-body .logincontainer h2 {
    color: #263426 !important;
    font-weight: 800 !important;
}

/* Form labels */
#main-body .logincontainer label {
    color: #263426;
    font-weight: 700;
}

/* Email and password fields */
#main-body .logincontainer .form-control {
    background: #ffffff !important;
    border: 2px solid #cda8e8 !important;
    border-radius: 14px !important;
    min-height: 48px;
    color: #263426 !important;
}

/* Green focus indicator */
#main-body .logincontainer .form-control:focus {
    border-color: #4b9e25 !important;
    box-shadow: 0 0 0 4px rgba(75,158,37,.15) !important;
}

/* Input icons */
#main-body .logincontainer .input-group-text {
    background: #f3eafa !important;
    color: #7524a8 !important;
    border: 2px solid #cda8e8 !important;
    border-radius: 14px 0 0 14px !important;
}

/* Password visibility control */
#main-body .logincontainer .input-group-append .btn {
    background: #f3eafa !important;
    color: #7524a8 !important;
    border: 2px solid #cda8e8 !important;
    border-radius: 0 14px 14px 0 !important;
    box-shadow: none !important;
}

#main-body .logincontainer .input-group-append .btn:hover {
    background: #e4d2f1 !important;
    transform: none;
}

/* Login button */
#main-body .logincontainer button[type="submit"],
#main-body .logincontainer input[type="submit"] {
    min-width: 130px;
    min-height: 48px;
    border-radius: 999px !important;
    font-weight: 800 !important;
    box-shadow: 0 8px 20px rgba(57,142,11,.24) !important;
}

/* Remember Me checkbox */
#main-body .logincontainer input[type="checkbox"] {
    accent-color: #4b9e25;
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

/* Bottom registration area */
#main-body .logincontainer .card-footer {
    background: linear-gradient(
        90deg,
        #edf9e7,
        #f3eafa
    ) !important;
    border-top: 2px solid #e4d2f1 !important;
    border-radius: 0 0 24px 24px !important;
    padding: 18px 35px !important;
}

/* Registration link */
#main-body .logincontainer .card-footer a {
    color: #7524a8 !important;
    font-weight: 800 !important;
    text-decoration: none;
}

#main-body .logincontainer .card-footer a:hover {
    color: #4b9e25 !important;
}

/* Mobile */
@media (max-width: 575px) {
    #main-body .logincontainer .card-body {
        padding: 25px 20px !important;
    }

    #main-body .logincontainer .card-footer {
        padding: 18px 20px !important;
    }
}


/* =========================================
   GEEKPREACH — LOGIN PAGE v2
   Verified WHMCS Login Selectors
   ========================================= */

/* Main login card */
#main-body form.login-form > .card {
    background: #ffffff !important;
    border: 3px solid #7524a8 !important;
    border-radius: 24px !important;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(117,36,168,.20) !important;
}

/* Form content */
#main-body form.login-form .card-body {
    padding: 35px 40px !important;
    background: #ffffff !important;
}

/* Heading */
#main-body form.login-form h1,
#main-body form.login-form h2 {
    color: #263426 !important;
    font-weight: 800 !important;
}

/* Labels */
#main-body form.login-form label {
    color: #263426 !important;
    font-weight: 700 !important;
}

/* Email and password fields */
#main-body form.login-form .form-control {
    background: #ffffff !important;
    border: 2px solid #cda8e8 !important;
    border-radius: 14px !important;
    min-height: 48px;
}

/* Green focus */
#main-body form.login-form .form-control:focus {
    border-color: #4b9e25 !important;
    box-shadow: 0 0 0 4px rgba(75,158,37,.15) !important;
}

/* Input icons */
#main-body form.login-form .input-group-text {
    background: #f3eafa !important;
    color: #7524a8 !important;
    border: 2px solid #cda8e8 !important;
}

/* Password visibility button */
#main-body form.login-form .input-group-append .btn {
    background: #f3eafa !important;
    color: #7524a8 !important;
    border: 2px solid #cda8e8 !important;
    border-radius: 0 14px 14px 0 !important;
    box-shadow: none !important;
}

/* Login button */
#main-body form.login-form button[type="submit"] {
    min-width: 140px;
    min-height: 50px;
    border-radius: 999px !important;
    font-weight: 800 !important;
    box-shadow: 0 8px 20px rgba(57,142,11,.28) !important;
}

/* Remember Me */
#main-body form.login-form input[type="checkbox"] {
    accent-color: #4b9e25;
    width: 19px;
    height: 19px;
}

/* Registration footer */
#main-body form.login-form .card-footer {
    background: linear-gradient(90deg,#edf9e7,#f3eafa) !important;
    border-top: 2px solid #e4d2f1 !important;
    padding: 20px 35px !important;
}

/* Create account link */
#main-body form.login-form .card-footer a {
    color: #7524a8 !important;
    font-weight: 800 !important;
}

#main-body form.login-form .card-footer a:hover {
    color: #4b9e25 !important;
}

/* Mobile */
@media (max-width: 575px) {
    #main-body form.login-form .card-body {
        padding: 25px 20px !important;
    }
}


/* ==========================================
   GEEKPREACH — LOGIN GREEN/PURPLE BALANCE
   ========================================== */

/* Green outer card frame */
#main-body form.login-form > .card {
    border: 3px solid #4b9e25 !important;
    box-shadow: 0 20px 50px rgba(57,142,11,.17) !important;
}

/* Purple input borders */
#main-body form.login-form .form-control {
    border: 2px solid #b77ddd !important;
}

/* Clean green focus */
#main-body form.login-form .form-control:focus {
    border-color: #4b9e25 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(75,158,37,.15) !important;
}

/* Avoid competing focus outlines */
#main-body form.login-form .input-group:focus-within {
    outline: none !important;
    box-shadow: none !important;
}

/* Green registration footer accent */
#main-body form.login-form .card-footer {
    border-top: 2px solid #90ca75 !important;
}


/* ==========================================
   GEEKPREACH — LOGIN CAPTCHA REFINEMENT
   ========================================== */

/* Make the CAPTCHA answer field compact */
#main-body form.login-form input[name="code"] {
    width: 110px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    padding: 5px 10px !important;
    border: 2px solid #b77ddd !important;
    border-radius: 12px !important;
    text-align: center;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: none !important;
}

/* Green focus border */
#main-body form.login-form input[name="code"]:focus {
    border-color: #4b9e25 !important;
    box-shadow: 0 0 0 3px rgba(75,158,37,.14) !important;
}

/* Keep the CAPTCHA image neatly aligned */
#main-body form.login-form img[src*="verifyimage"] {
    vertical-align: middle;
    border-radius: 8px;
    margin-right: 10px;
}

/* Improve CAPTCHA row alignment */
#main-body form.login-form .captcha-container {
    align-items: center;
}


/* =============================================
   GEEKPREACH — CUSTOMER DASHBOARD SUMMARY CARDS
   ============================================= */

/* Dashboard summary cards */
#main-body .tiles .tile {
    position: relative;
    display: block;
    min-height: 140px;
    padding: 22px 20px !important;
    background: #ffffff !important;
    border: 2px solid #e3d7ef !important;
    border-radius: 20px !important;
    box-shadow: 0 12px 26px rgba(53,35,75,.13) !important;
    overflow: hidden;
    text-decoration: none !important;
    transition: transform .25s ease, box-shadow .25s ease;
}

/* Hover */
#main-body .tiles .tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 36px rgba(117,36,168,.22) !important;
}

/* Dashboard numbers */
#main-body .tiles .tile .stat {
    color: #7524a8 !important;
    font-size: 42px !important;
    font-weight: 800 !important;
}

/* Labels */
#main-body .tiles .tile .title {
    color: #263426 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
}

/* Icons */
#main-body .tiles .tile i {
    color: #7524a8 !important;
    opacity: .9 !important;
    font-size: 54px !important;
}

/* Bottom accents */
#main-body .tiles .tile .highlight {
    height: 5px !important;
    border-radius: 999px;
    background: #4b9e25 !important;
}

/* Alternate accent colors */
#main-body .tiles .row > div:nth-child(even) .tile .highlight {
    background: #7524a8 !important;
}

/* Keyboard focus */
#main-body .tiles .tile:focus-visible {
    outline: 3px solid #4b9e25;
    outline-offset: 4px;
}

/* Mobile */
@media (max-width: 767px) {
    #main-body .tiles .tile {
        min-height: 125px;
        padding: 18px 14px !important;
    }

    #main-body .tiles .tile .stat {
        font-size: 36px !important;
    }

    #main-body .tiles .tile i {
        font-size: 44px !important;
    }
}


/* GeekPreach — Dashboard Icon Hover Animation */

/* Smooth icon enlargement */
#main-body .tiles .tile i {
    transition: transform 0.25s ease, color 0.25s ease !important;
    transform-origin: center center;
}

/* Enlarge icon when hovering over its card */
#main-body .tiles .tile:hover i {
    transform: scale(1.18) !important;
    color: #4b9e25 !important;
}

/* Keyboard navigation */
#main-body .tiles .tile:focus-visible i {
    transform: scale(1.18) !important;
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    #main-body .tiles .tile i {
        transition: none !important;
    }
}


/* ================================================
   GEEKPREACH — CUSTOMER DASHBOARD PANELS
   Verified WHMCS Twenty-One selectors
================================================ */

/* All main dashboard panels */
#main-body .client-home-cards .card {
    background: #ffffff !important;
    border: 2px solid #e4d9ef !important;
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(49,35,71,.13) !important;
    transition: transform .25s ease, box-shadow .25s ease;
}

/* Lift panels slightly on hover */
#main-body .client-home-cards .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(117,36,168,.19) !important;
}

/* Header backgrounds */
#main-body .client-home-cards .card-header {
    background: linear-gradient(
        90deg,
        #edf9e7 0%,
        #f5edfb 100%
    ) !important;
    border-bottom: 2px solid #e1d2ed !important;
    padding: 15px 18px !important;
}

/* Panel headings */
#main-body .client-home-cards .card-title {
    color: #263426 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
}

/* Content area */
#main-body .client-home-cards .card-body {
    background: #ffffff !important;
    padding: 18px !important;
    color: #263426;
}

/* Footer */
#main-body .client-home-cards .card-footer {
    background: #fbf8fe !important;
    border-top: 1px solid #e8dcf1 !important;
    padding: 12px 18px !important;
}

/* Buttons inside dashboard panels */
#main-body .client-home-cards .btn {
    border-radius: 999px !important;
    padding: 9px 18px !important;
    font-weight: 700 !important;
}

/* Main panel action buttons */
#main-body .client-home-cards .btn-primary,
#main-body .client-home-cards .btn-warning,
#main-body .client-home-cards .btn-info {
    background: linear-gradient(
        135deg,
        #62bd23,
        #348b0b
    ) !important;
    color: #ffffff !important;
    border: 0 !important;
    box-shadow: 0 5px 14px rgba(57,142,11,.18);
}

/* Secondary panel buttons */
#main-body .client-home-cards .btn-secondary,
#main-body .client-home-cards .btn-default {
    background: #ffffff !important;
    color: #7524a8 !important;
    border: 2px solid #7524a8 !important;
}

/* Panel links */
#main-body .client-home-cards a:not(.btn) {
    color: #7524a8;
}

#main-body .client-home-cards a:not(.btn):hover {
    color: #4b9e25;
}

/* Keep inputs consistent */
#main-body .client-home-cards .form-control {
    border: 2px solid #d8c2e8 !important;
    border-radius: 12px !important;
    min-height: 44px;
}

#main-body .client-home-cards .form-control:focus {
    border-color: #4b9e25 !important;
    box-shadow: 0 0 0 3px rgba(75,158,37,.13);
}

/* Preserve accessible focus */
#main-body .client-home-cards .card a:focus-visible {
    outline: 3px solid #4b9e25;
    outline-offset: 3px;
}

/* Mobile */
@media (max-width: 767px) {
    #main-body .client-home-cards .card-header,
    #main-body .client-home-cards .card-body {
        padding: 14px !important;
    }
}


/* ================================================
   GEEKPREACH — CUSTOMER DASHBOARD SIDEBAR
   Your Info, Contacts & Shortcuts
================================================ */

/* Sidebar panels */
#main-body .sidebar .card-sidebar {
    background: #ffffff !important;
    border: 2px solid #dfd0ed !important;
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(49,35,71,.13) !important;
    margin-bottom: 20px !important;
    transition: transform .25s ease, box-shadow .25s ease;
}

/* Hover lift */
#main-body .sidebar .card-sidebar:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(117,36,168,.20) !important;
}

/* Header */
#main-body .sidebar .card-sidebar > .card-header {
    background: linear-gradient(
        90deg,
        #edf9e7 0%,
        #f5edfb 100%
    ) !important;
    border-bottom: 2px solid #dfd0ed !important;
    padding: 14px 18px !important;
    color: #263426 !important;
    font-weight: 800 !important;
}

/* Header icons */
#main-body .sidebar .card-sidebar .card-header i {
    color: #7524a8 !important;
}

/* Main content */
#main-body .sidebar .card-sidebar .card-body,
#main-body .sidebar .card-sidebar .collapsable-card-body {
    background: #ffffff !important;
    color: #263426 !important;
}

/* Sidebar links */
#main-body .sidebar .card-sidebar a:not(.btn) {
    color: #7524a8;
}

#main-body .sidebar .card-sidebar a:not(.btn):hover {
    color: #4b9e25;
}

/* Footer */
#main-body .sidebar .card-sidebar > .card-footer {
    background: #fbf8fe !important;
    border-top: 1px solid #e4d9ef !important;
    padding: 14px 18px !important;
}

/* Sidebar action buttons */
#main-body .sidebar .card-sidebar .btn {
    border-radius: 999px !important;
    font-weight: 700 !important;
    padding: 10px 18px !important;
}

/* Primary sidebar actions */
#main-body .sidebar .card-sidebar .btn-primary,
#main-body .sidebar .card-sidebar .btn-success {
    background: linear-gradient(135deg,#62bd23,#348b0b) !important;
    color: #ffffff !important;
    border: 0 !important;
    box-shadow: 0 6px 15px rgba(57,142,11,.18);
}

/* Secondary sidebar actions */
#main-body .sidebar .card-sidebar .btn-default,
#main-body .sidebar .card-sidebar .btn-secondary {
    background: #ffffff !important;
    color: #7524a8 !important;
    border: 2px solid #7524a8 !important;
}

/* Shortcut rows */
#main-body .sidebar .card-sidebar .list-group-item {
    background: #ffffff !important;
    border-color: #e8dff0 !important;
    transition: background-color .2s ease;
}

#main-body .sidebar .card-sidebar .list-group-item:hover {
    background: #f1e8f8 !important;
}

/* Sidebar keyboard navigation */
#main-body .sidebar .card-sidebar a:focus-visible,
#main-body .sidebar .card-sidebar button:focus-visible {
    outline: 3px solid #4b9e25;
    outline-offset: 3px;
}

/* Mobile */
@media (max-width: 767px) {
    #main-body .sidebar .card-sidebar {
        border-radius: 16px !important;
        margin-bottom: 15px !important;
    }
}


/* ================================================
   GEEKPREACH — DASHBOARD FINAL REFINEMENTS
================================================ */

/* 1. Consistent dashboard action buttons */
#main-body .client-home-cards .card-header .btn,
#main-body .client-home-cards .card-body .btn,
#main-body .client-home-cards .card-footer .btn {
    min-height: 42px !important;
    padding: 9px 18px !important;
    border-radius: 999px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 13px !important;
    font-weight: 700 !important;
    white-space: nowrap;
}

/* 2. Give domain registration input and buttons breathing room */
#main-body .client-home-cards .card input[name="domain"] {
    min-width: 0;
    min-height: 42px;
    border-radius: 12px !important;
}

#main-body .client-home-cards .card .input-group:has(input[name="domain"]) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

#main-body .client-home-cards .card .input-group:has(input[name="domain"]) > .form-control {
    flex: 1 1 155px;
    width: auto;
}

#main-body .client-home-cards .card .input-group:has(input[name="domain"]) > .input-group-append {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: 0;
}

/* 3. Branded sidebar shortcut hover */
#main-body .sidebar .card-sidebar .list-group-item {
    transition:
        background-color .2s ease,
        color .2s ease,
        padding-left .2s ease;
}

#main-body .sidebar .card-sidebar .list-group-item:hover {
    background: #edf9e7 !important;
    color: #348b0b !important;
    padding-left: 20px;
}

#main-body .sidebar .card-sidebar .list-group-item:hover a,
#main-body .sidebar .card-sidebar .list-group-item:hover i {
    color: #348b0b !important;
}

/* Keep dashboard controls usable on mobile */
@media (max-width: 575px) {
    #main-body .client-home-cards .card .input-group:has(input[name="domain"]) > .form-control {
        flex-basis: 100%;
    }

    #main-body .client-home-cards .card .input-group:has(input[name="domain"]) > .input-group-append {
        width: 100%;
        justify-content: flex-start;
    }
}


/* =================================================
   GEEKPREACH — MOBILE DASHBOARD REFINEMENTS
   ================================================= */

@media (max-width: 767px) {

    /* -----------------------------------------
       1. MOBILE HEADER
       Logo, Cart and Hamburger on one row
    ----------------------------------------- */

    #header > .navbar > .container {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px;
    }

    /* Full logo, slightly smaller */
    #header .navbar-brand {
        flex: 0 1 auto;
        min-width: 0;
        margin-right: 0 !important;
        padding: 5px 0 !important;
    }

    #header .logo-img {
        width: 230px !important;
        max-width: 100% !important;
        height: auto !important;
        display: block;
    }

    /* Keep cart and hamburger together */
    #header .toolbar {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-end;
        gap: 8px;
        margin-left: auto !important;
        padding: 0 !important;
        min-width: max-content;
    }

    #header .toolbar .nav-item {
        margin-left: 0 !important;
    }

    /* Mobile cart */
    #header .toolbar .cart-btn {
        width: 46px !important;
        height: 46px !important;
        border-radius: 16px !important;
        overflow: visible !important;
    }

    #header .cart-btn #cartItemCount {
        top: -7px !important;
        right: -7px !important;
    }

    /* Hamburger control */
    #header .toolbar button[data-target="#mainNavbar"] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 46px;
        padding: 8px !important;
        border: 2px solid #7524a8 !important;
        border-radius: 16px !important;
        background: #ffffff !important;
        color: #7524a8 !important;
        box-shadow: 0 4px 12px rgba(117,36,168,.12);
    }

    #header .toolbar button[data-target="#mainNavbar"]:hover,
    #header .toolbar button[data-target="#mainNavbar"]:focus {
        background: #f3eafa !important;
        color: #4b9e25 !important;
    }

    /* -----------------------------------------
       2. DASHBOARD PANEL HEADERS
    ----------------------------------------- */

    #main-body .client-home-cards .card-header {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
        padding: 14px 16px !important;
    }

    /* Give long headings room to wrap naturally */
    #main-body .client-home-cards .card-header .card-title {
        flex: 1 1 140px;
        min-width: 0;
        margin: 0 !important;
        line-height: 1.35 !important;
        font-size: 15px !important;
    }

    /* Prevent action buttons from being squeezed */
    #main-body .client-home-cards .card-header .btn {
        flex: 0 0 auto;
        min-height: 40px !important;
        padding: 8px 13px !important;
        font-size: 12px !important;
        max-width: 100%;
    }

    /* -----------------------------------------
       3. MOBILE DASHBOARD SPACING
    ----------------------------------------- */

    #main-body .client-home-cards .card {
        border-radius: 20px !important;
        margin-bottom: 16px;
    }

    #main-body .client-home-cards .card-body {
        padding: 16px !important;
    }

    #main-body .client-home-cards .card-footer {
        padding: 12px 16px !important;
    }

    /* Sidebar panels */
    #main-body .sidebar .card-sidebar {
        margin-bottom: 14px !important;
    }

    /* Keep content away from phone edges */
    #main-body > .container {
        padding-left: 14px;
        padding-right: 14px;
    }
}

/* Extra-small phones */
@media (max-width: 380px) {

    #header .logo-img {
        max-width: 145px !important;
    }

    #header .toolbar {
        gap: 5px;
    }

    #header .toolbar .cart-btn,
    #header .toolbar button[data-target="#mainNavbar"] {
        width: 42px !important;
        height: 42px !important;
    }

    #main-body .client-home-cards .card-header .card-title {
        flex-basis: 100%;
    }
}

/* Respect reduced-motion accessibility settings */
@media (prefers-reduced-motion: reduce) {

    #header .toolbar .btn {
        transition: none !important;
    }
}


/* ==========================================
   GEEKPREACH — TABLET & MOBILE HAMBURGER
   ========================================== */

@media (max-width: 1199px) {

    /* Match GeekPreach hamburger styling */
    #header .toolbar button[data-target="#mainNavbar"] {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;

        width: 46px !important;
        height: 46px !important;
        padding: 8px !important;

        background: #ffffff !important;
        color: #7524a8 !important;
        border: 2px solid #7524a8 !important;
        border-radius: 16px !important;

        box-shadow: 0 5px 14px rgba(117,36,168,.16) !important;
        transition: background .2s ease, color .2s ease;
    }

    #header .toolbar button[data-target="#mainNavbar"] .fas {
        color: #7524a8 !important;
        opacity: 1 !important;
        font-size: 19px !important;
    }

    #header .toolbar button[data-target="#mainNavbar"]:hover,
    #header .toolbar button[data-target="#mainNavbar"]:focus-visible {
        background: #f3eafa !important;
        border-color: #4b9e25 !important;
        color: #4b9e25 !important;
    }

    #header .toolbar button[data-target="#mainNavbar"]:hover .fas,
    #header .toolbar button[data-target="#mainNavbar"]:focus-visible .fas {
        color: #4b9e25 !important;
    }
}


/* =================================================
   GEEKPREACH — MY PRODUCTS & SERVICES PAGE
   ================================================= */

/* Services list container */
#main-body .table-container:has(#tableServicesList) {
    background: #ffffff !important;
    border: 2px solid #dfd0ed !important;
    border-radius: 20px !important;
    padding: 20px !important;
    box-shadow: 0 12px 28px rgba(49,35,71,.13) !important;
    overflow: hidden;
}

/* Table header */
#main-body #tableServicesList thead th {
    background: linear-gradient(
        90deg,
        #edf9e7,
        #f3eafa
    ) !important;
    color: #263426 !important;
    font-weight: 800 !important;
    padding: 15px 12px !important;
    border-bottom: 3px solid #7524a8 !important;
}

/* Table content */
#main-body #tableServicesList tbody td {
    background: #ffffff !important;
    color: #263426 !important;
    padding: 14px 12px !important;
    border-bottom: 1px solid #e8dcf1 !important;
}

/* Row hover */
#main-body #tableServicesList tbody tr:hover td {
    background: #edf9e7 !important;
}

/* Search input */
#main-body .table-container:has(#tableServicesList)
.dataTables_filter input {
    border: 2px solid #cda8e8 !important;
    border-radius: 999px !important;
    padding: 9px 15px !important;
    min-height: 44px;
    background: #ffffff !important;
    color: #263426 !important;
}

/* Green focus */
#main-body .table-container:has(#tableServicesList)
.dataTables_filter input:focus {
    border-color: #4b9e25 !important;
    box-shadow: 0 0 0 3px rgba(75,158,37,.15) !important;
    outline: none;
}

/* Active page */
#main-body .table-container:has(#tableServicesList)
.dataTables_paginate .paginate_button.current {
    background: #7524a8 !important;
    color: #ffffff !important;
    border-color: #7524a8 !important;
}

/* Table length selector */
#main-body .table-container:has(#tableServicesList)
.dataTables_length select {
    border: 2px solid #cda8e8 !important;
    border-radius: 12px !important;
    padding: 6px 10px;
    background: #ffffff !important;
}

/* Responsive */
@media (max-width: 767px) {
    #main-body .table-container:has(#tableServicesList) {
        padding: 12px !important;
        border-radius: 16px !important;
        overflow-x: auto;
    }

    #main-body #tableServicesList {
        min-width: 540px;
    }
}


/* ==========================================
   GEEKPREACH — SERVICES TABLE CORRECTIONS
   ========================================== */

/* One continuous table header gradient */
#main-body #tableServicesList thead {
    background: linear-gradient(
        90deg,
        #eaf8e4 0%,
        #f4e9fb 100%
    ) !important;
}

#main-body #tableServicesList thead th {
    background: transparent !important;
    border-bottom: 3px solid #7524a8 !important;
}

/* Services search input */
#main-body #tableServicesList_wrapper .dataTables_filter input {
    min-width: 180px;
    min-height: 44px;
    background: #ffffff !important;
    border: 2px solid #7524a8 !important;
    border-radius: 999px !important;
    padding: 9px 16px !important;
    color: #263426 !important;
}

/* Make search icon visible */
#main-body #tableServicesList_wrapper .dataTables_filter i {
    color: #7524a8 !important;
    opacity: 1 !important;
}

/* Show entries selector */
#main-body #tableServicesList_wrapper .dataTables_length select {
    min-width: 65px;
    min-height: 38px;
    border: 2px solid #7524a8 !important;
    border-radius: 12px !important;
    color: #263426 !important;
    background: #ffffff !important;
    padding: 5px 8px !important;
}

/* Pagination: remove nested/double borders */
#main-body #tableServicesList_wrapper .dataTables_paginate {
    display: flex;
    gap: 8px;
    align-items: center;
}

#main-body #tableServicesList_wrapper .dataTables_paginate .pagination {
    gap: 8px;
}

#main-body #tableServicesList_wrapper .dataTables_paginate .page-link {
    border: 2px solid #7524a8 !important;
    border-radius: 999px !important;
    padding: 8px 15px !important;
    color: #7524a8 !important;
    background: #ffffff !important;
}

#main-body #tableServicesList_wrapper .dataTables_paginate .paginate_button {
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}

/* Disabled pagination */
#main-body #tableServicesList_wrapper .dataTables_paginate
.paginate_button.disabled .page-link {
    opacity: .45;
    cursor: default;
}


/* ==========================================
   GEEKPREACH — SERVICES TABLE SEARCH FIX
   Verified DataTables selectors
   ========================================== */

#main-body #tableServicesList_filter {
    position: relative;
}

/* Purple magnifying glass */
#main-body #tableServicesList_filter label::before {
    content: "\f002";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 246px;
    top: 50%;
    transform: translateY(-50%);
    color: #7524a8;
    font-size: 16px;
    pointer-events: none;
}

/* Search box */
#main-body #tableServicesList_filter input[type="search"] {
    background: #ffffff !important;
    border: 2px solid #7524a8 !important;
    border-radius: 999px !important;
    padding: 9px 16px 9px 42px !important;
    min-height: 44px;
    color: #263426 !important;
}

/* Green border when clicked */
#main-body #tableServicesList_filter input[type="search"]:focus {
    border-color: #4b9e25 !important;
    box-shadow: 0 0 0 3px rgba(75,158,37,.15) !important;
    outline: none !important;
}


/* =================================================
   GEEKPREACH — SERVICES PAGE CORRECTIONS v4
   ================================================= */

/* 1. REPLACE BROKEN SEARCH ICON */

#main-body #tableServicesList_filter label {
    position: relative;
    display: inline-block;
}

/* Draw magnifying glass without icon fonts */
#main-body #tableServicesList_filter label::before {
    content: "" !important;
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-65%);
    width: 12px;
    height: 12px;
    border: 2px solid #7524a8;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
}

#main-body #tableServicesList_filter label::after {
    content: "" !important;
    position: absolute;
    left: 29px;
    top: calc(50% + 5px);
    width: 8px;
    height: 2px;
    background: #7524a8;
    transform: rotate(45deg);
    transform-origin: left center;
    pointer-events: none;
    z-index: 2;
}

#main-body #tableServicesList_filter input {
    padding-left: 44px !important;
}


/* 2. REMOVE DOUBLE PAGINATION BORDERS */

/* Reset outer pagination buttons */
#main-body #tableServicesList_wrapper
.dataTables_paginate .paginate_button {
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Apply pill styling only to inner links */
#main-body #tableServicesList_wrapper
.dataTables_paginate .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border: 2px solid #7524a8 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #7524a8 !important;
    padding: 8px 16px !important;
    box-shadow: none !important;
}

/* Disabled pagination */
#main-body #tableServicesList_wrapper
.dataTables_paginate .disabled .page-link {
    opacity: .45;
    cursor: default;
}


/* 3. ROUNDED TABLE CORNERS */

#main-body #tableServicesList {
    border: 1px solid #e0d3ec !important;
    border-radius: 16px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden;
}

#main-body #tableServicesList thead th:first-child {
    border-top-left-radius: 15px;
}

#main-body #tableServicesList thead th:last-child {
    border-top-right-radius: 15px;
}

#main-body #tableServicesList tbody tr:last-child td:first-child {
    border-bottom-left-radius: 15px;
}

#main-body #tableServicesList tbody tr:last-child td:last-child {
    border-bottom-right-radius: 15px;
}


/* 4. BRAND THE WHMCS LOGGED-IN TOPBAR */

#header .topbar {
    background: linear-gradient(
        90deg,
        #4b9e25 0%,
        #7524a8 100%
    ) !important;
    color: #ffffff !important;
}

#header .topbar a,
#header .topbar button,
#header .topbar .btn,
#header .topbar .input-group-text {
    color: #ffffff !important;
}

#header .topbar .btn:not(.btn-return-to-admin),
#header .topbar .input-group-text {
    background: transparent !important;
    border-color: transparent !important;
}

#header .topbar a:hover,
#header .topbar button:hover {
    color: #e6f7d8 !important;
}


/* ==========================================
   GEEKPREACH — FIX DOUBLE PAGINATION BORDERS
   ========================================== */

/* Remove styling from outer button containers */
#main-body #tableServicesList_paginate li.paginate_button {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 4px !important;
}

/* Style only the inner pagination links */
#main-body #tableServicesList_paginate li.paginate_button > a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 16px !important;

    background: #ffffff !important;
    color: #7524a8 !important;
    border: 2px solid #7524a8 !important;
    border-radius: 999px !important;

    box-shadow: 0 4px 10px rgba(117,36,168,.08);
}

/* Hover */
#main-body #tableServicesList_paginate li.paginate_button:not(.disabled) > a:hover {
    background: #7524a8 !important;
    color: #ffffff !important;
}

/* Disabled navigation */
#main-body #tableServicesList_paginate li.paginate_button.disabled > a {
    opacity: .4;
    cursor: default;
}

/* Active page */
#main-body #tableServicesList_paginate li.paginate_button.active > a {
    background: #4b9e25 !important;
    border-color: #4b9e25 !important;
    color: #ffffff !important;
}


/* =================================================
   GEEKPREACH — MY DOMAINS PAGE
   ================================================= */

/* Main table container */
#main-body .table-container:has(#tableDomainsList) {
    background: #ffffff !important;
    border: 2px solid #dfd0ed !important;
    border-radius: 20px !important;
    padding: 20px !important;
    box-shadow: 0 12px 28px rgba(49,35,71,.13) !important;
}

/* Rounded domains table */
#main-body #tableDomainsList {
    border: 1px solid #e0d3ec !important;
    border-radius: 16px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden;
}

/* Continuous gradient table header */
#main-body #tableDomainsList thead {
    background: linear-gradient(
        90deg,
        #eaf8e4 0%,
        #f4e9fb 100%
    ) !important;
}

#main-body #tableDomainsList thead th {
    background: transparent !important;
    color: #263426 !important;
    font-weight: 800 !important;
    padding: 15px 12px !important;
    border-bottom: 3px solid #7524a8 !important;
}

/* Table cells */
#main-body #tableDomainsList tbody td {
    background: #ffffff !important;
    color: #263426 !important;
    padding: 14px 12px !important;
    border-bottom: 1px solid #e8dcf1 !important;
}

#main-body #tableDomainsList tbody tr:hover td {
    background: #edf9e7 !important;
}

/* Search control */
#main-body #tableDomainsList_filter label {
    position: relative;
    display: inline-block;
}

#main-body #tableDomainsList_filter input[type="search"] {
    min-width: 190px;
    min-height: 44px;
    background: #ffffff !important;
    border: 2px solid #7524a8 !important;
    border-radius: 999px !important;
    padding: 9px 16px 9px 44px !important;
    color: #263426 !important;
}

#main-body #tableDomainsList_filter input[type="search"]:focus {
    border-color: #4b9e25 !important;
    box-shadow: 0 0 0 3px rgba(75,158,37,.15) !important;
    outline: none !important;
}

/* CSS-drawn magnifying glass */
#main-body #tableDomainsList_filter label::before {
    content: "";
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-65%);
    width: 12px;
    height: 12px;
    border: 2px solid #7524a8;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
}

#main-body #tableDomainsList_filter label::after {
    content: "";
    position: absolute;
    left: 29px;
    top: calc(50% + 5px);
    width: 8px;
    height: 2px;
    background: #7524a8;
    transform: rotate(45deg);
    transform-origin: left center;
    pointer-events: none;
    z-index: 2;
}

/* Show entries selector */
#main-body #tableDomainsList_wrapper .dataTables_length select {
    min-width: 65px;
    min-height: 38px;
    border: 2px solid #7524a8 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    color: #263426 !important;
    padding: 5px 8px !important;
}

/* Pagination — outer elements have NO borders */
#main-body #tableDomainsList_paginate li.paginate_button {
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 4px !important;
    box-shadow: none !important;
}

/* Only inner links get pill borders */
#main-body #tableDomainsList_paginate li.paginate_button > a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 16px !important;
    background: #ffffff !important;
    color: #7524a8 !important;
    border: 2px solid #7524a8 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
}

#main-body #tableDomainsList_paginate li.paginate_button:not(.disabled) > a:hover {
    background: #7524a8 !important;
    color: #ffffff !important;
}

#main-body #tableDomainsList_paginate li.paginate_button.disabled > a {
    opacity: .4;
    cursor: default;
}

/* Domain management toolbar */
#main-body #domainForm > .btn-group .btn,
#main-body #domainForm > .btn-group > .btn-group .btn {
    border: 2px solid #7524a8 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #7524a8 !important;
    font-weight: 700 !important;
    padding: 9px 15px !important;
    margin-right: 6px;
    box-shadow: 0 4px 12px rgba(117,36,168,.10);
}

#main-body #domainForm > .btn-group .btn:hover {
    background: #edf9e7 !important;
    color: #348b0b !important;
    border-color: #4b9e25 !important;
}

/* Toolbar dropdown menu */
#main-body #domainForm .dropdown-menu {
    border: 1px solid #dfd0ed !important;
    border-radius: 14px !important;
    padding: 8px !important;
    box-shadow: 0 12px 28px rgba(49,35,71,.16);
}

/* Tablet/mobile */
@media (max-width: 767px) {
    #main-body .table-container:has(#tableDomainsList) {
        padding: 12px !important;
        border-radius: 16px !important;
        overflow-x: auto;
    }

    #main-body #tableDomainsList {
        min-width: 540px;
    }

    #main-body #domainForm > .btn-group {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
}


/* =================================================
   GEEKPREACH — MY INVOICES PAGE
   ================================================= */

/* Main table container */
#main-body .table-container:has(#tableInvoicesList) {
    background: #ffffff !important;
    border: 2px solid #dfd0ed !important;
    border-radius: 20px !important;
    padding: 20px !important;
    box-shadow: 0 12px 28px rgba(49,35,71,.13) !important;
}

/* Rounded invoice table */
#main-body #tableInvoicesList {
    border: 1px solid #e0d3ec !important;
    border-radius: 16px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden;
}

/* Continuous gradient header */
#main-body #tableInvoicesList thead {
    background: linear-gradient(
        90deg,
        #eaf8e4 0%,
        #f4e9fb 100%
    ) !important;
}

#main-body #tableInvoicesList thead th {
    background: transparent !important;
    color: #263426 !important;
    font-weight: 800 !important;
    padding: 15px 12px !important;
    border-bottom: 3px solid #7524a8 !important;
}

/* Table rows */
#main-body #tableInvoicesList tbody td {
    background: #ffffff !important;
    color: #263426 !important;
    padding: 14px 12px !important;
    border-bottom: 1px solid #e8dcf1 !important;
}

#main-body #tableInvoicesList tbody tr:hover td {
    background: #edf9e7 !important;
}

/* Search field */
#main-body #tableInvoicesList_filter label {
    position: relative;
    display: inline-block;
}

#main-body #tableInvoicesList_filter input[type="search"] {
    min-width: 190px;
    min-height: 44px;
    background: #ffffff !important;
    border: 2px solid #7524a8 !important;
    border-radius: 999px !important;
    padding: 9px 16px 9px 44px !important;
    color: #263426 !important;
}

#main-body #tableInvoicesList_filter input[type="search"]:focus {
    border-color: #4b9e25 !important;
    box-shadow: 0 0 0 3px rgba(75,158,37,.15) !important;
    outline: none !important;
}

/* CSS magnifying glass */
#main-body #tableInvoicesList_filter label::before {
    content: "";
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-65%);
    width: 12px;
    height: 12px;
    border: 2px solid #7524a8;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
}

#main-body #tableInvoicesList_filter label::after {
    content: "";
    position: absolute;
    left: 29px;
    top: calc(50% + 5px);
    width: 8px;
    height: 2px;
    background: #7524a8;
    transform: rotate(45deg);
    transform-origin: left center;
    pointer-events: none;
    z-index: 2;
}

/* Show entries dropdown */
#main-body #tableInvoicesList_wrapper .dataTables_length select {
    min-width: 65px;
    min-height: 38px;
    border: 2px solid #7524a8 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    color: #263426 !important;
    padding: 5px 8px !important;
}

/* Pagination outer elements — no borders */
#main-body #tableInvoicesList_paginate li.paginate_button {
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 4px !important;
    box-shadow: none !important;
}

/* Pagination inner links — single pill border */
#main-body #tableInvoicesList_paginate li.paginate_button > a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 16px !important;
    background: #ffffff !important;
    color: #7524a8 !important;
    border: 2px solid #7524a8 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
}

#main-body #tableInvoicesList_paginate li.paginate_button:not(.disabled) > a:hover {
    background: #7524a8 !important;
    color: #ffffff !important;
}

#main-body #tableInvoicesList_paginate li.paginate_button.disabled > a {
    opacity: .4;
    cursor: default;
}

/* Tablet/mobile */
@media (max-width: 767px) {
    #main-body .table-container:has(#tableInvoicesList) {
        padding: 12px !important;
        border-radius: 16px !important;
        overflow-x: auto;
    }

    #main-body #tableInvoicesList {
        min-width: 540px;
    }
}


/* =================================================
   GEEKPREACH — MY QUOTES PAGE
   ================================================= */

/* Main table container */
#main-body .table-container:has(#tableQuotesList) {
    background: #ffffff !important;
    border: 2px solid #dfd0ed !important;
    border-radius: 20px !important;
    padding: 20px !important;
    box-shadow: 0 12px 28px rgba(49,35,71,.13) !important;
}

/* Rounded quotes table */
#main-body #tableQuotesList {
    border: 1px solid #e0d3ec !important;
    border-radius: 16px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden;
}

/* Continuous gradient header */
#main-body #tableQuotesList thead {
    background: linear-gradient(
        90deg,
        #eaf8e4 0%,
        #f4e9fb 100%
    ) !important;
}

#main-body #tableQuotesList thead th {
    background: transparent !important;
    color: #263426 !important;
    font-weight: 800 !important;
    padding: 15px 12px !important;
    border-bottom: 3px solid #7524a8 !important;
}

/* Table rows */
#main-body #tableQuotesList tbody td {
    background: #ffffff !important;
    color: #263426 !important;
    padding: 14px 12px !important;
    border-bottom: 1px solid #e8dcf1 !important;
}

#main-body #tableQuotesList tbody tr:hover td {
    background: #edf9e7 !important;
}

/* Search field */
#main-body #tableQuotesList_filter label {
    position: relative;
    display: inline-block;
}

#main-body #tableQuotesList_filter input[type="search"] {
    min-width: 190px;
    min-height: 44px;
    background: #ffffff !important;
    border: 2px solid #7524a8 !important;
    border-radius: 999px !important;
    padding: 9px 16px 9px 44px !important;
    color: #263426 !important;
}

#main-body #tableQuotesList_filter input[type="search"]:focus {
    border-color: #4b9e25 !important;
    box-shadow: 0 0 0 3px rgba(75,158,37,.15) !important;
    outline: none !important;
}

/* CSS magnifying glass */
#main-body #tableQuotesList_filter label::before {
    content: "";
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-65%);
    width: 12px;
    height: 12px;
    border: 2px solid #7524a8;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
}

#main-body #tableQuotesList_filter label::after {
    content: "";
    position: absolute;
    left: 29px;
    top: calc(50% + 5px);
    width: 8px;
    height: 2px;
    background: #7524a8;
    transform: rotate(45deg);
    transform-origin: left center;
    pointer-events: none;
    z-index: 2;
}

/* Show entries dropdown */
#main-body #tableQuotesList_wrapper .dataTables_length select {
    min-width: 65px;
    min-height: 38px;
    border: 2px solid #7524a8 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    color: #263426 !important;
    padding: 5px 8px !important;
}

/* Pagination outer elements — no borders */
#main-body #tableQuotesList_paginate li.paginate_button {
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 4px !important;
    box-shadow: none !important;
}

/* Pagination inner links — single pill border */
#main-body #tableQuotesList_paginate li.paginate_button > a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 16px !important;
    background: #ffffff !important;
    color: #7524a8 !important;
    border: 2px solid #7524a8 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
}

#main-body #tableQuotesList_paginate li.paginate_button:not(.disabled) > a:hover {
    background: #7524a8 !important;
    color: #ffffff !important;
}

#main-body #tableQuotesList_paginate li.paginate_button.disabled > a {
    opacity: .4;
    cursor: default;
}

/* Tablet/mobile */
@media (max-width: 767px) {
    #main-body .table-container:has(#tableQuotesList) {
        padding: 12px !important;
        border-radius: 16px !important;
        overflow-x: auto;
    }

    #main-body #tableQuotesList {
        min-width: 540px;
    }
}


/* =================================================
   GEEKPREACH — SUPPORT TICKETS LIST
   ================================================= */

/* Main ticket table container */
#main-body .table-container:has(#tableTicketsList) {
    background: #ffffff !important;
    border: 2px solid #dfd0ed !important;
    border-radius: 20px !important;
    padding: 20px !important;
    box-shadow: 0 12px 28px rgba(49,35,71,.13) !important;
}

/* Rounded ticket table */
#main-body #tableTicketsList {
    border: 1px solid #e0d3ec !important;
    border-radius: 16px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden;
}

/* Continuous green-to-purple header */
#main-body #tableTicketsList thead {
    background: linear-gradient(
        90deg,
        #eaf8e4 0%,
        #f4e9fb 100%
    ) !important;
}

#main-body #tableTicketsList thead th {
    background: transparent !important;
    color: #263426 !important;
    font-weight: 800 !important;
    padding: 15px 12px !important;
    border-bottom: 3px solid #7524a8 !important;
}

/* Ticket rows */
#main-body #tableTicketsList tbody td {
    background: #ffffff !important;
    color: #263426 !important;
    padding: 14px 12px !important;
    border-bottom: 1px solid #e8dcf1 !important;
    vertical-align: middle;
}

#main-body #tableTicketsList tbody tr:hover td {
    background: #edf9e7 !important;
}

/* Ticket subject links */
#main-body #tableTicketsList tbody td a {
    color: #7524a8 !important;
    font-weight: 700 !important;
}

#main-body #tableTicketsList tbody td a:hover {
    color: #348b0b !important;
}

/* Status labels: preserve status distinctions */
#main-body #tableTicketsList .label,
#main-body #tableTicketsList .badge {
    border-radius: 999px !important;
    padding: 5px 10px !important;
    font-weight: 700 !important;
}

/* Search field */
#main-body #tableTicketsList_filter label {
    position: relative;
    display: inline-block;
}

#main-body #tableTicketsList_filter input[type="search"] {
    min-width: 190px;
    min-height: 44px;
    background: #ffffff !important;
    border: 2px solid #7524a8 !important;
    border-radius: 999px !important;
    padding: 9px 16px 9px 44px !important;
    color: #263426 !important;
}

#main-body #tableTicketsList_filter input[type="search"]:focus {
    border-color: #4b9e25 !important;
    box-shadow: 0 0 0 3px rgba(75,158,37,.15) !important;
    outline: none !important;
}

/* Magnifying glass */
#main-body #tableTicketsList_filter label::before {
    content: "";
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-65%);
    width: 12px;
    height: 12px;
    border: 2px solid #7524a8;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
}

#main-body #tableTicketsList_filter label::after {
    content: "";
    position: absolute;
    left: 29px;
    top: calc(50% + 5px);
    width: 8px;
    height: 2px;
    background: #7524a8;
    transform: rotate(45deg);
    transform-origin: left center;
    pointer-events: none;
    z-index: 2;
}

/* Entries selector */
#main-body #tableTicketsList_wrapper .dataTables_length select {
    min-width: 65px;
    min-height: 38px;
    border: 2px solid #7524a8 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    color: #263426 !important;
    padding: 5px 8px !important;
}

/* Pagination: only inner links have borders */
#main-body #tableTicketsList_paginate li.paginate_button {
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 4px !important;
    box-shadow: none !important;
}

#main-body #tableTicketsList_paginate li.paginate_button > a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 16px !important;
    background: #ffffff !important;
    color: #7524a8 !important;
    border: 2px solid #7524a8 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
}

#main-body #tableTicketsList_paginate li.paginate_button:not(.disabled) > a:hover {
    background: #7524a8 !important;
    color: #ffffff !important;
}

#main-body #tableTicketsList_paginate li.paginate_button.active > a {
    background: #4b9e25 !important;
    border-color: #4b9e25 !important;
    color: #ffffff !important;
}

#main-body #tableTicketsList_paginate li.paginate_button.disabled > a {
    opacity: .4;
    cursor: default;
}

/* Mobile: retain horizontal table scrolling */
@media (max-width: 767px) {
    #main-body .table-container:has(#tableTicketsList) {
        padding: 12px !important;
        border-radius: 16px !important;
        overflow-x: auto;
    }

    #main-body #tableTicketsList {
        min-width: 540px;
    }
}


/* ==================================================
   GEEKPREACH — SUPPORT TICKET SUBMISSION FORM
   ================================================== */

/* Main form panel */
#main-body form[action*="submitticket.php"] > .card {
    background: #ffffff !important;
    border: 2px solid #dfd0ed !important;
    border-radius: 24px !important;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(49,35,71,.14) !important;
}

/* Panel title */
#main-body form[action*="submitticket.php"] .card-title {
    color: #263426 !important;
    font-weight: 800 !important;
}

/* Form labels */
#main-body form[action*="submitticket.php"] label {
    color: #263426 !important;
    font-weight: 700 !important;
}

/* Subject and other standard form inputs */
#main-body form[action*="submitticket.php"] .form-control,
#main-body form[action*="submitticket.php"] select.form-control {
    background: #ffffff !important;
    border: 2px solid #b77ddd !important;
    border-radius: 14px !important;
    min-height: 46px;
    color: #263426 !important;
}

/* Disabled/read-only fields */
#main-body form[action*="submitticket.php"] .form-control:disabled,
#main-body form[action*="submitticket.php"] .form-control[readonly] {
    background: #f1f3f5 !important;
    border-color: #d6dfe5 !important;
}

/* Green focus styling */
#main-body form[action*="submitticket.php"] .form-control:focus {
    border-color: #4b9e25 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(75,158,37,.15) !important;
}

/* Markdown editor outer frame */
#main-body form[action*="submitticket.php"] .md-editor {
    background: #ffffff !important;
    border: 2px solid #b77ddd !important;
    border-radius: 18px !important;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}

/* Green editor focus */
#main-body form[action*="submitticket.php"] .md-editor:focus-within {
    border-color: #4b9e25 !important;
    box-shadow: 0 0 0 3px rgba(75,158,37,.13) !important;
}

/* Formatting toolbar */
#main-body form[action*="submitticket.php"] .md-header {
    background: linear-gradient(
        90deg,
        #edf9e7,
        #f5edfb
    ) !important;
    border-bottom: 1px solid #dfd0ed !important;
    padding: 8px !important;
}

/* Toolbar controls */
#main-body form[action*="submitticket.php"] .md-header .btn {
    background: #ffffff !important;
    border: 1px solid #e1d2ed !important;
    border-radius: 12px !important;
    color: #7524a8 !important;
    box-shadow: none !important;
    margin: 2px;
}

#main-body form[action*="submitticket.php"] .md-header .btn:hover {
    background: #edf9e7 !important;
    color: #348b0b !important;
    border-color: #4b9e25 !important;
}

/* Preserve green Preview action */
#main-body form[action*="submitticket.php"] .md-header .btn-primary,
#main-body form[action*="submitticket.php"] .md-header .btn-success {
    background: linear-gradient(135deg,#62bd23,#348b0b) !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 999px !important;
}

/* Message typing area */
#main-body form[action*="submitticket.php"] .md-editor > textarea#inputMessage {
    display: block;
    width: 100%;
    height: 190px !important;
    min-height: 150px !important;
    max-height: none !important;
    padding: 16px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    color: #263426 !important;
    box-shadow: none !important;
    resize: vertical !important;
    line-height: 1.6 !important;
}

/* Editor footer */
#main-body form[action*="submitticket.php"] .md-footer {
    background: #fbf8fe !important;
    border-top: 1px solid #e8dcf1 !important;
    color: #677586 !important;
}

/* File upload controls */
#main-body form[action*="submitticket.php"] input[type="file"] {
    border-radius: 12px !important;
    color: #263426 !important;
}

/* Form action buttons */
#main-body form[action*="submitticket.php"] button[type="submit"],
#main-body form[action*="submitticket.php"] input[type="submit"] {
    background: linear-gradient(135deg,#62bd23,#348b0b) !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 999px !important;
    padding: 12px 28px !important;
    font-weight: 800 !important;
    box-shadow: 0 7px 18px rgba(57,142,11,.22) !important;
}

/* Mobile */
@media (max-width: 767px) {
    #main-body form[action*="submitticket.php"] .card-body {
        padding: 20px !important;
    }

    #main-body form[action*="submitticket.php"] .md-editor > textarea#inputMessage {
        height: 160px !important;
    }

    #main-body form[action*="submitticket.php"] .md-header .btn {
        margin: 2px 1px;
        padding: 8px 10px !important;
    }
}


/* ==============================================
   GEEKPREACH — SUPPORT ATTACHMENT CONTROLS
   ============================================== */

/* Space between attachment elements */
#main-body form[action*="submitticket.php"]
.attachment-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

/* File-picker group */
#main-body form[action*="submitticket.php"]
.attachment-group .custom-file {
    min-width: 0;
}

/* Visible file-selection field */
#main-body form[action*="submitticket.php"]
.attachment-group .custom-file-label {
    min-height: 46px !important;
    padding: 10px 16px !important;
    background: #ffffff !important;
    color: #263426 !important;
    border: 2px solid #b77ddd !important;
    border-radius: 14px !important;
    font-weight: 600;
    box-shadow: none !important;
}

/* Green focus when selecting a file */
#main-body form[action*="submitticket.php"]
.attachment-group .custom-file-input:focus
~ .custom-file-label {
    border-color: #4b9e25 !important;
    box-shadow: 0 0 0 3px rgba(75,158,37,.15) !important;
}

/* Browse button */
#main-body form[action*="submitticket.php"]
.attachment-group .input-group-append .btn {
    min-height: 46px !important;
    padding: 9px 18px !important;
    background: #7524a8 !important;
    color: #ffffff !important;
    border: 2px solid #7524a8 !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    box-shadow: 0 5px 14px rgba(117,36,168,.16);
}

/* Browse hover */
#main-body form[action*="submitticket.php"]
.attachment-group .input-group-append .btn:hover {
    background: #4b9e25 !important;
    border-color: #4b9e25 !important;
}

/* Add More button — when rendered alongside attachments */
#main-body form[action*="submitticket.php"]
.attachment-group > .btn {
    min-height: 46px !important;
    padding: 9px 20px !important;
    background: #ffffff !important;
    color: #7524a8 !important;
    border: 2px solid #7524a8 !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
}

/* Cancel button */
#main-body form[action*="submitticket.php"]
a.btn-default,
#main-body form[action*="submitticket.php"]
button[type="reset"] {
    background: #ffffff !important;
    color: #7524a8 !important;
    border: 2px solid #7524a8 !important;
    border-radius: 999px !important;
    padding: 10px 24px !important;
    font-weight: 700 !important;
}

/* Mobile: prevent crowded attachment controls */
@media (max-width: 767px) {
    #main-body form[action*="submitticket.php"]
    .attachment-group {
        gap: 8px;
    }

    #main-body form[action*="submitticket.php"]
    .attachment-group .custom-file {
        flex: 1 1 100%;
    }
}


/* ==========================================
   GEEKPREACH — ATTACHMENT BROWSE BUTTON FIX
   ========================================== */

/* Make the Browse button purple and rounded */
#main-body form[action*="submitticket.php"]
.attachment-group .custom-file-label::after {
    content: "Browse" !important;
    height: 100% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 18px !important;

    background: #7524a8 !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 0 12px 12px 0 !important;
    font-weight: 700 !important;
}

/* Green hover when pointing at the file selector */
#main-body form[action*="submitticket.php"]
.attachment-group .custom-file:hover
.custom-file-label::after {
    background: #4b9e25 !important;
}

/* Keep selected filenames from overlapping Browse */
#main-body form[action*="submitticket.php"]
.attachment-group .custom-file-label {
    padding-right: 105px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* VIEW TICKET - Attachment Browse Button */
#frmReply .attachment-group .custom-file-label {
    border-radius: 14px;
    border-color: #d8c0ea;
}

#frmReply .attachment-group .custom-file-label::after {
    background: #7624a4;
    color: #ffffff;
    border: none;
    border-radius: 0 13px 13px 0;
    font-weight: 700;
}

/* ==================================================
   GEEKPREACH - VIEW TICKET / REPLY PAGE
   ================================================== */

/* Main ticket and reply cards */
.card.view-ticket,
#ticketReplyContainer {
    background: #fff;
    border: 1px solid #dce4f2;
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(36, 25, 68, .10);
    overflow: hidden;
}

/* Headings */
.card.view-ticket h3,
#ticketReplyContainer h3,
#ticketReplyContainer .card-title {
    color: #161e35;
    font-weight: 800;
}

/* Ticket action buttons */
.card.view-ticket .btn {
    border-radius: 30px;
    font-weight: 700;
    transition: transform .2s, box-shadow .2s;
}

.card.view-ticket .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(55, 20, 75, .16);
}

/* Reply form labels */
#frmReply .form-group > label {
    color: #18243c;
    font-weight: 700;
    margin-bottom: 9px;
}

/* Reply input fields */
#frmReply .form-control {
    border-radius: 13px;
    border: 1px solid #dbe2ee;
    transition: border-color .2s, box-shadow .2s;
}

#frmReply .form-control:focus {
    border-color: #49a911;
    box-shadow: 0 0 0 3px rgba(73, 169, 17, .12);
}

/* Markdown editor */
#frmReply .md-editor {
    border: 1px solid #dcd5e8;
    border-radius: 19px;
    overflow: hidden;
    background: #fff;
}

#frmReply .md-header {
    padding: 9px;
    background: #faf8ff;
    border-bottom: 1px solid #e7e0ef;
}

#frmReply .md-header .btn {
    border-radius: 25px;
    transition: transform .2s, background-color .2s;
}

#frmReply .md-header .btn:hover {
    transform: translateY(-2px);
}

#frmReply textarea#inputMessage {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
}

/* Editor footer */
#frmReply .md-footer {
    background: #faf8ff;
    border-top: 1px solid #eee7f4;
    color: #777;
}

/* Attachment field */
#frmReply .attachment-group .custom-file-label {
    background: #fff;
    border: 1px solid #d5c0e7;
    border-radius: 14px;
    color: #26344c;
    overflow: hidden;
}

/* Purple Browse button */
#frmReply .attachment-group .custom-file-label::after {
    background: #7624a4;
    color: #fff;
    border: 0;
    border-radius: 0 13px 13px 0;
    font-weight: 700;
    padding-left: 20px;
    padding-right: 20px;
}

/* Add More button */
#frmReply .attachment-group .input-group-append .btn {
    background: #fff;
    color: #7624a4;
    border: 2px solid #7624a4;
    border-radius: 30px;
    padding: 9px 19px;
    font-weight: 700;
    transition: background .2s, color .2s, transform .2s;
}

#frmReply .attachment-group .input-group-append .btn:hover {
    background: #7624a4;
    color: #fff;
    transform: translateY(-2px);
}

/* Submit button */
#frmReply button[type="submit"],
#frmReply input[type="submit"] {
    background: linear-gradient(135deg, #52bd13, #348f08);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 11px 27px;
    font-weight: 800;
    box-shadow: 0 5px 13px rgba(57, 151, 11, .18);
    transition: transform .2s, box-shadow .2s;
}

#frmReply button[type="submit"]:hover,
#frmReply input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(57, 151, 11, .25);
}

/* Cancel button */
#frmReply .btn-default,
#frmReply .btn-secondary {
    background: #fff;
    color: #7624a4;
    border: 2px solid #7624a4;
    border-radius: 30px;
    padding: 9px 23px;
    font-weight: 700;
}

#frmReply .btn-default:hover,
#frmReply .btn-secondary:hover {
    background: #7624a4;
    color: #fff;
}

/* Mobile attachment layout */
@media (max-width: 640px) {
    #frmReply .attachment-group.input-group {
        display: block;
    }

    #frmReply .attachment-group .custom-file {
        width: 100%;
    }

    #frmReply .attachment-group .input-group-append {
        display: flex;
        margin-top: 10px;
        margin-left: 0;
    }

    #frmReply .attachment-group .input-group-append .btn {
        width: 100%;
    }
}


/* ================================================
   GEEKPREACH - VIEW TICKET REFINEMENTS
   ================================================ */

/* TOP TICKET ACTION BUTTONS */
#main-body .card.view-ticket > .card-body.p-3 .btn {
    border-radius: 30px;
    font-weight: 700;
    padding: 10px 23px;
    transition: transform .2s, box-shadow .2s;
}

#main-body .card.view-ticket > .card-body.p-3 .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 16px rgba(65, 30, 95, .18);
}


/* OWNER BADGE */
#main-body .view-ticket .posted-by .badge {
    background: #7624a4 !important;
    color: #fff !important;
    border-radius: 20px;
    padding: 4px 10px;
    font-weight: 700;
}

/* ATTACHMENTS - SEPARATE FIELD AND BUTTON */
#frmReply .input-group.attachment-group {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) max-content !important;
    gap: 14px !important;
    align-items: center;
    width: 100%;
}

/* FILE FIELD */
#frmReply .attachment-group > .custom-file {
    width: 100% !important;
    min-width: 0;
    flex: none !important;
    margin: 0 !important;
    height: 44px;
}

#frmReply .attachment-group .custom-file-label {
    height: 44px;
    background: #fff;
    border: 1px solid #d8b9eb;
    border-radius: 14px;
    color: #29364d;
    line-height: 20px;
    padding: 11px 110px 11px 13px;
    overflow: hidden;
}

/* PURPLE BROWSE */
#frmReply .attachment-group .custom-file-label::after {
    height: 100%;
    background: #7624a4;
    color: #fff;
    border: none;
    border-radius: 0 13px 13px 0;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* REMOVE BOOTSTRAP ATTACHMENT OVERLAP */
#frmReply .attachment-group > .input-group-append {
    display: flex !important;
    width: auto !important;
    margin: 0 !important;
    flex: none !important;
    align-items: center;
}

/* ADD MORE BUTTON */
#frmReply .attachment-group .input-group-append .btn {
    margin: 0 !important;
    height: 44px;
    padding: 0 19px;
    background: #fff;
    color: #7624a4;
    border: 2px solid #7624a4;
    border-radius: 30px !important;
    font-weight: 700;
    white-space: nowrap;
    transition: all .2s;
}

#frmReply .attachment-group .input-group-append .btn:hover {
    background: #7624a4;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(118, 36, 164, .20);
}

/* MOBILE */
@media (max-width: 767px) {
    #frmReply .input-group.attachment-group {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 10px !important;
    }

    #frmReply .attachment-group > .input-group-append {
        width: 100% !important;
    }

    #frmReply .attachment-group .input-group-append .btn {
        width: 100%;
    }
}

/* ================================================
   GEEKPREACH - VIEW TICKET: CONTAINED MESSAGE PANEL
   The full-width reply block caused the Posted By strip
   to reach the card edges. Inset the entire reply panel,
   not just the strip, to keep its contents aligned.
   ================================================ */
#main-body .card.view-ticket .ticket-reply {
    width: auto !important;
    margin: 16px 18px 18px !important;
    background: #ffffff !important;
    border: 1px solid #d9e7d1 !important;
    border-radius: 16px !important;
    overflow: hidden;
}

#main-body .card.view-ticket .ticket-reply > .posted-by {
    margin: 0 !important;
    padding: 14px 16px;
    background: #e5f5da !important;
    color: #26354a !important;
    border-left: 5px solid var(--gp-green);
    border-top: 0;
    border-bottom: 1px solid #c5e6b6;
    border-radius: 0 !important;
    box-shadow: none;
    font-size: 13px;
    display: flow-root;
}

#main-body .card.view-ticket .ticket-reply > .message {
    background: #ffffff !important;
}

@media (max-width: 575px) {
    #main-body .card.view-ticket .ticket-reply {
        margin: 12px 10px 14px !important;
        border-radius: 13px !important;
    }
    #main-body .card.view-ticket .ticket-reply > .posted-by {
        padding: 12px !important;
    }
}


/* ================================================
   GEEKPREACH - ACCOUNT DETAILS PAGE
   ================================================ */

/* Account section cards */
#main-body form[action*="action=details"] > .card {
    background: #fff !important;
    border: 2px solid #dfd0ed !important;
    border-top: 4px solid #7524a8 !important;
    border-radius: 24px !important;
    box-shadow: 0 12px 30px rgba(49,35,71,.12) !important;
    margin-bottom: 18px;
}

#main-body form[action*="action=details"] > .card:first-of-type {
    border-top-color: #4b9e25 !important;
}

#main-body form[action*="action=details"] > .card > .card-body {
    padding: 25px 28px !important;
    background: #fff !important;
    border-radius: 22px;
}

/* Section headings */
#main-body form[action*="action=details"] .card-title {
    position: relative;
    color: #263426 !important;
    font-weight: 800 !important;
    margin: 0 0 22px !important;
    padding-bottom: 14px;
    border-bottom: 1px solid #e9e0f0;
}

#main-body form[action*="action=details"] .card-title::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 92px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #4b9e25, #7524a8);
}

/* Form labels */
#main-body form[action*="action=details"] .form-group {
    margin-bottom: 16px;
}

#main-body form[action*="action=details"] .form-group > label {
    color: #263426 !important;
    font-weight: 700 !important;
    margin-bottom: 6px;
}

/* Input fields and dropdowns */
#main-body form[action*="action=details"] .form-control,
#main-body form[action*="action=details"] .custom-select,
#main-body form[action*="action=details"] select {
    min-height: 45px;
    background-color: #fff !important;
    color: #263426 !important;
    border: 2px solid #cda8e8 !important;
    border-radius: 13px !important;
    box-shadow: none !important;
    transition: border-color .2s, box-shadow .2s;
}

/* Green focus effect */
#main-body form[action*="action=details"] .form-control:focus,
#main-body form[action*="action=details"] .custom-select:focus,
#main-body form[action*="action=details"] select:focus {
    border-color: #4b9e25 !important;
    box-shadow: 0 0 0 3px rgba(75,158,37,.15) !important;
    outline: none;
}

/* Disabled/read-only fields */
#main-body form[action*="action=details"] .form-control:disabled,
#main-body form[action*="action=details"] .form-control[readonly] {
    background-color: #f1f3f6 !important;
    border-color: #dbe1e8 !important;
}

/* ================================================
   EMAIL PREFERENCES
   ================================================ */

#main-body form[action*="action=details"] .controls.form-check {
    margin: 0;
    padding: 0 !important;
}

#main-body form[action*="action=details"] .controls.form-check > br {
    display: none;
}

/* Individual preference rows */
#main-body form[action*="action=details"] .controls.form-check > label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    padding: 10px 14px;
    margin: 0 0 8px;
    border: 1px solid #e7dcf0;
    border-radius: 13px;
    background: #fcfaff;
    color: #263426;
    line-height: 1.45;
    cursor: pointer;
    transition: border-color .2s, background-color .2s;
}

#main-body form[action*="action=details"] .controls.form-check > label:hover {
    background: #f0fae9;
    border-color: #afda9e;
}

/* Green checkboxes */
#main-body form[action*="action=details"] .controls.form-check input[type="checkbox"] {
    position: static !important;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 2px 0 0 !important;
    accent-color: #4b9e25;
    cursor: pointer;
}

/* ================================================
   MAILING LIST
   ================================================ */

#main-body form[action*="action=details"] .card-body > p {
    color: #465267;
    line-height: 1.65;
    margin-bottom: 16px;
}

#main-body form[action*="action=details"] input[name="marketingoptin"] {
    accent-color: #4b9e25;
}

/* Yes/No switch */
#main-body form[action*="action=details"] .bootstrap-switch {
    border: 1px solid #cda8e8 !important;
    border-radius: 999px !important;
    box-shadow: 0 3px 9px rgba(117,36,168,.08);
}

#main-body form[action*="action=details"] .bootstrap-switch .bootstrap-switch-handle-on {
    background: #4b9e25 !important;
    color: #fff !important;
}

#main-body form[action*="action=details"] .bootstrap-switch .bootstrap-switch-handle-off {
    background: #f4eafb !important;
    color: #7524a8 !important;
}

/* ================================================
   SAVE AND CANCEL BUTTONS
   ================================================ */

#main-body form[action*="action=details"] > .form-group.text-center {
    margin-top: 20px;
    margin-bottom: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* Save Changes */
#main-body form[action*="action=details"] input[name="save"][type="submit"] {
    min-height: 46px;
    padding: 10px 25px !important;
    background: linear-gradient(135deg, #62bd23, #348b0b) !important;
    border: 0 !important;
    border-radius: 999px !important;
    color: #fff !important;
    font-weight: 800 !important;
    box-shadow: 0 6px 15px rgba(57,142,11,.2) !important;
}

/* Cancel */
#main-body form[action*="action=details"] input[type="reset"] {
    min-height: 46px;
    padding: 9px 24px !important;
    background: #fff !important;
    border: 2px solid #7524a8 !important;
    border-radius: 999px !important;
    color: #7524a8 !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}

#main-body form[action*="action=details"] input[type="reset"]:hover {
    background: #7524a8 !important;
    color: #fff !important;
    transform: translateY(-2px);
}

/* ================================================
   MOBILE
   ================================================ */

@media (max-width: 767px) {
    #main-body form[action*="action=details"] > .card {
        border-radius: 20px !important;
        margin-bottom: 14px;
    }

    #main-body form[action*="action=details"] > .card > .card-body {
        padding: 20px 17px !important;
    }

    #main-body form[action*="action=details"] .card-title {
        margin-bottom: 18px !important;
    }

    #main-body form[action*="action=details"] .controls.form-check > label {
        padding: 11px 12px;
    }
}


/* ==================================================
   GEEKPREACH - USER MANAGEMENT PAGE
   ================================================== */

/* Scope exclusively to User Management */
#main-body .primary-content:has(input[name="inviteemail"]) {
    --um-green: #4b9e25;
    --um-purple: #7524a8;
}

/* BOTH MAIN CARDS */
#main-body .primary-content:has(input[name="inviteemail"]) > .card {
    background: #ffffff !important;
    border: 2px solid #dfd0ed !important;
    border-radius: 24px !important;
    box-shadow: 0 12px 30px rgba(49,35,71,.12) !important;
    overflow: hidden;
    margin-bottom: 20px;
}

/* Green user list, purple invitation card */
#main-body .primary-content > .card:has(.btn-manage-permissions) {
    border-top: 4px solid #4b9e25 !important;
}

#main-body .primary-content > .card:has(input[name="inviteemail"]) {
    border-top: 4px solid #7524a8 !important;
}

/* Card padding */
#main-body .primary-content:has(input[name="inviteemail"])
> .card > .card-body {
    padding: 26px 28px !important;
}

/* Section headings */
#main-body .primary-content:has(input[name="inviteemail"])
> .card .card-title {
    position: relative;
    color: #263426 !important;
    font-weight: 800 !important;
    margin-bottom: 22px !important;
    padding-bottom: 14px;
    border-bottom: 1px solid #e9e0f0;
}

/* Green-to-purple heading underline */
#main-body .primary-content:has(input[name="inviteemail"])
> .card .card-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 95px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg,#4b9e25,#7524a8);
}

/* User count and descriptions */
#main-body .primary-content:has(input[name="inviteemail"])
> .card p {
    color: #465267;
    line-height: 1.6;
}

/* ================================================
   USERS TABLE
   ================================================ */

#main-body .card:has(.btn-manage-permissions) table.table {
    width: 100%;
    border: 1px solid #e4d7ee;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 18px;
}

/* Continuous header gradient */
#main-body .card:has(.btn-manage-permissions)
table.table tr:first-child {
    background: linear-gradient(90deg,#eaf8e4,#f4e9fb);
}

#main-body .card:has(.btn-manage-permissions)
table.table tr:first-child > th {
    background: transparent !important;
    color: #263426 !important;
    font-weight: 800 !important;
    padding: 15px 14px !important;
    border-bottom: 3px solid #7524a8 !important;
}

/* User information cells */
#main-body .card:has(.btn-manage-permissions)
table.table td {
    background: #ffffff !important;
    color: #263426;
    padding: 17px 14px !important;
    border-bottom: 1px solid #e8dcf1;
    vertical-align: middle;
}

#main-body .card:has(.btn-manage-permissions)
table.table tr:hover td {
    background: #f5fbf1 !important;
}

/* Last login text */
#main-body .card:has(.btn-manage-permissions)
table.table td small {
    color: #667386;
    line-height: 1.8;
}

/* Owner badge */
#main-body .card:has(.btn-manage-permissions)
.label-info {
    display: inline-block;
    background: #4b9e25 !important;
    color: #ffffff !important;
    border-radius: 999px;
    padding: 4px 10px;
    font-weight: 700;
}

/* Manage Permissions */
#main-body .card:has(.btn-manage-permissions)
.btn-manage-permissions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 13px !important;
    background: #ffffff !important;
    color: #7524a8 !important;
    border: 2px solid #7524a8 !important;
    border-radius: 999px !important;
    font-weight: 700;
    box-shadow: none !important;
    margin: 3px 5px 3px 0;
}

/* Remove Access */
#main-body .card:has(.btn-manage-permissions)
.btn-remove-user {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 13px !important;
    background: #dc3545 !important;
    color: #ffffff !important;
    border: 2px solid #dc3545 !important;
    border-radius: 999px !important;
    font-weight: 700;
    margin: 3px 0;
}

/* Hover only enabled actions */
#main-body .card:has(.btn-manage-permissions)
.btn-manage-permissions:not(.disabled):hover {
    background: #7524a8 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

#main-body .card:has(.btn-manage-permissions)
.btn-remove-user:not(.disabled):hover {
    background: #b92335 !important;
    border-color: #b92335 !important;
    transform: translateY(-2px);
}

/* Disabled owner controls */
#main-body .card:has(.btn-manage-permissions)
.btn.disabled {
    opacity: .55 !important;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Owner permissions explanation */
#main-body .card:has(.btn-manage-permissions)
p.text-muted {
    background: #f2f9ed;
    border-left: 4px solid #4b9e25;
    border-radius: 10px;
    padding: 12px 15px;
    color: #405b34 !important;
}

/* ================================================
   INVITE NEW USER
   ================================================ */

/* Invitation email */
#main-body .card:has(input[name="inviteemail"])
input[name="inviteemail"] {
    min-height: 48px;
    background: #ffffff !important;
    border: 2px solid #cda8e8 !important;
    border-radius: 14px !important;
    padding: 11px 16px !important;
    color: #263426 !important;
    box-shadow: none !important;
}

#main-body .card:has(input[name="inviteemail"])
input[name="inviteemail"]:focus {
    border-color: #4b9e25 !important;
    box-shadow: 0 0 0 3px rgba(75,158,37,.15) !important;
}

/* Permission radio labels */
#main-body .card:has(input[name="inviteemail"])
label.form-check-inline {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 4px 14px 8px 0;
    color: #263426;
    font-weight: 600;
    cursor: pointer;
}

/* Green radio and checkbox controls */
#main-body .card:has(input[name="inviteemail"])
input[type="radio"],
#main-body .card:has(input[name="inviteemail"])
input[type="checkbox"] {
    position: static !important;
    accent-color: #4b9e25;
    width: 18px;
    height: 18px;
    margin: 0 !important;
    flex-shrink: 0;
    cursor: pointer;
}

/* Expanded Choose Permissions panel */
#main-body .card:has(input[name="inviteemail"])
#invitePermissions {
    background: #fbf8fe !important;
    border: 1px solid #e1d0ef !important;
    border-left: 4px solid #7524a8 !important;
    border-radius: 16px;
    padding: 18px !important;
}

/* Permission descriptions */
#main-body .card:has(input[name="inviteemail"])
#invitePermissions .text-muted {
    color: #667386 !important;
    font-weight: 400;
}

/* Send Invite */
#main-body .card:has(input[name="inviteemail"])
button[type="submit"] {
    min-height: 48px;
    padding: 11px 27px !important;
    background: linear-gradient(135deg,#62bd23,#348b0b) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 999px !important;
    font-weight: 800 !important;
    box-shadow: 0 6px 16px rgba(57,142,11,.20) !important;
}

#main-body .card:has(input[name="inviteemail"])
button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 20px rgba(57,142,11,.28) !important;
}

/* ================================================
   MOBILE
   ================================================ */

@media (max-width: 767px) {

    #main-body .primary-content:has(input[name="inviteemail"])
    > .card > .card-body {
        padding: 20px 16px !important;
    }

    /* Stack user table information */
    #main-body .card:has(.btn-manage-permissions)
    table.table,
    #main-body .card:has(.btn-manage-permissions)
    table.table tbody {
        display: block;
        width: 100%;
    }

    #main-body .card:has(.btn-manage-permissions)
    table.table tr {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    #main-body .card:has(.btn-manage-permissions)
    table.table tr:first-child {
        display: none;
    }

    #main-body .card:has(.btn-manage-permissions)
    table.table td {
        display: block;
        width: 100% !important;
        overflow-wrap: anywhere;
    }

    #main-body .card:has(.btn-manage-permissions)
    table.table td:last-child {
        padding-top: 8px !important;
        border-bottom: 2px solid #e8dcf1;
    }

    #main-body .card:has(.btn-manage-permissions)
    .btn-manage-permissions,
    #main-body .card:has(.btn-manage-permissions)
    .btn-remove-user {
        width: 100%;
        margin: 4px 0;
    }

    #main-body .card:has(input[name="inviteemail"])
    label.form-check-inline {
        margin-bottom: 12px;
    }
}


/* ==================================================
   GEEKPREACH - PAYMENT METHODS PAGE
   ================================================== */

/* Main payment methods card */
#main-body .primary-content > .card:has(#payMethodList) {
    background: #ffffff !important;
    border: 2px solid #dfd0ed !important;
    border-top: 4px solid #4b9e25 !important;
    border-radius: 24px !important;
    box-shadow: 0 12px 30px rgba(49,35,71,.12) !important;
    overflow: hidden;
}

/* Card interior */
#main-body .card:has(#payMethodList) > .card-body {
    padding: 26px 28px !important;
    background: #ffffff !important;
}

/* Heading with signature GeekPreach underline */
#main-body .card:has(#payMethodList) .card-title {
    position: relative;
    color: #263426 !important;
    font-weight: 800 !important;
    padding-bottom: 14px;
    margin-bottom: 20px !important;
    border-bottom: 1px solid #e9e0f0;
}

#main-body .card:has(#payMethodList) .card-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 95px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg,#4b9e25,#7524a8);
}

/* Description */
#main-body .card:has(#payMethodList) .card-body > p {
    color: #465267;
    line-height: 1.6;
    margin-bottom: 18px;
}

/* Add New Credit Card button */
#main-body .card:has(#payMethodList)
a.btn-primary,
#main-body .card:has(#payMethodList)
button.btn-primary {
    background: linear-gradient(135deg,#62bd23,#348b0b) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 12px 25px !important;
    font-weight: 800 !important;
    box-shadow: 0 6px 16px rgba(57,142,11,.22) !important;
    margin-bottom: 16px;
}

#main-body .card:has(#payMethodList) .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 22px rgba(57,142,11,.30) !important;
}

/* ================================================
   PAYMENT METHODS TABLE
   ================================================ */

#main-body #payMethodList {
    width: 100%;
    border: 1px solid #e0d3ec !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 16px !important;
    overflow: hidden;
    margin-top: 8px;
}

/* One continuous green-to-purple heading */
#main-body #payMethodList tr:first-child {
    background: linear-gradient(
        90deg,
        #eaf8e4 0%,
        #f4e9fb 100%
    ) !important;
}

#main-body #payMethodList tr:first-child > th {
    background: transparent !important;
    color: #263426 !important;
    font-weight: 800 !important;
    padding: 15px 12px !important;
    border-bottom: 3px solid #7524a8 !important;
    vertical-align: middle;
}

/* Payment method rows */
#main-body #payMethodList td {
    background: #ffffff !important;
    color: #263426 !important;
    padding: 16px 12px !important;
    border-bottom: 1px solid #e8dcf1 !important;
    vertical-align: middle;
}

#main-body #payMethodList tr:hover td {
    background: #f3faef !important;
}

/* Empty-state message */
#main-body #payMethodList td[colspan] {
    padding: 24px 15px !important;
    text-align: center;
    color: #667386 !important;
    font-weight: 500;
}

/* Status badges */
#main-body #payMethodList .badge,
#main-body #payMethodList .label {
    border-radius: 999px !important;
    padding: 5px 11px !important;
    font-weight: 700 !important;
}

/* Table action buttons */
#main-body #payMethodList .btn {
    border-radius: 999px !important;
    padding: 8px 16px !important;
    font-weight: 700 !important;
    margin: 3px;
}

/* Secondary actions */
#main-body #payMethodList .btn-default,
#main-body #payMethodList .btn-secondary {
    background: #ffffff !important;
    color: #7524a8 !important;
    border: 2px solid #7524a8 !important;
}

/* Preserve destructive-action red */
#main-body #payMethodList .btn-danger {
    background: #dc3545 !important;
    color: #ffffff !important;
    border-color: #dc3545 !important;
}

/* ================================================
   MOBILE
   ================================================ */

@media (max-width: 767px) {

    #main-body .card:has(#payMethodList) > .card-body {
        padding: 20px 16px !important;
    }

    /* Allow wide payment tables to scroll */
    #main-body .card:has(#payMethodList) {
        overflow: hidden;
    }

    #main-body .card:has(#payMethodList) .card-body {
        overflow-x: auto;
    }

    #main-body #payMethodList {
        min-width: 520px;
    }

    #main-body .card:has(#payMethodList) .btn-primary {
        max-width: 100%;
    }
}


/* ==================================================
   GEEKPREACH - ADD NEW PAYMENT METHOD
   ================================================== */

/* Main form card */
#main-body .primary-content > .card:has(
    .card-title
):has(input[name="description"]) {
    background: #fff !important;
    border: 2px solid #dfd0ed !important;
    border-top: 4px solid #4b9e25 !important;
    border-radius: 24px !important;
    box-shadow: 0 12px 30px rgba(49,35,71,.12) !important;
    overflow: hidden;
}

/* Card content */
#main-body .card:has(input[name="description"])
> .card-body {
    padding: 26px 28px !important;
    background: #fff !important;
}

/* Heading */
#main-body .card:has(input[name="description"])
.card-title {
    position: relative;
    color: #263426 !important;
    font-weight: 800 !important;
    padding-bottom: 14px;
    margin-bottom: 24px !important;
    border-bottom: 1px solid #e9e0f0;
}

#main-body .card:has(input[name="description"])
.card-title::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 95px;
    height: 3px;
    background: linear-gradient(90deg,#4b9e25,#7524a8);
    border-radius: 3px;
}

/* WHMCS labels */
#main-body .card:has(input[name="description"])
label {
    color: #263426;
    font-weight: 700;
}

/* Description field */
#main-body .card:has(input[name="description"])
input[name="description"] {
    min-height: 46px;
    border: 2px solid #cda8e8 !important;
    border-radius: 14px !important;
    background: #fff !important;
    color: #263426 !important;
    padding: 10px 14px;
}

#main-body .card:has(input[name="description"])
input[name="description"]:focus {
    border-color: #4b9e25 !important;
    box-shadow: 0 0 0 3px rgba(75,158,37,.15) !important;
    outline: none;
}

/* Billing address area */
#main-body .card:has(input[name="description"])
.form-check {
    accent-color: #4b9e25;
}

#main-body .card:has(input[name="description"])
input[type="radio"] {
    accent-color: #4b9e25;
}

/* WHMCS buttons (outside Stripe interface) */
#main-body .card:has(input[name="description"])
.btn {
    border-radius: 999px !important;
    font-weight: 700 !important;
    transition: transform .2s, box-shadow .2s;
}

/* Save Changes */
#main-body .card:has(input[name="description"])
.btn-primary {
    background: linear-gradient(135deg,#62bd23,#348b0b) !important;
    color: #fff !important;
    border: 0 !important;
    padding: 11px 25px !important;
    box-shadow: 0 6px 16px rgba(57,142,11,.20) !important;
}

/* Secondary actions */
#main-body .card:has(input[name="description"])
.btn-default,
#main-body .card:has(input[name="description"])
.btn-secondary {
    background: #fff !important;
    color: #7524a8 !important;
    border: 2px solid #7524a8 !important;
    padding: 9px 23px !important;
}

#main-body .card:has(input[name="description"])
.btn:not(:disabled):hover {
    transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 767px) {
    #main-body .card:has(input[name="description"])
    > .card-body {
        padding: 20px 16px !important;
    }

    #main-body .card:has(input[name="description"])
    .btn {
        max-width: 100%;
    }
}

/* ================================================
   GEEKPREACH - PAYMENT FORM CONTROL REFINEMENTS
   ================================================ */

/* Green selected payment type and billing address */
#main-body .card:has(input[name="description"])
input[type="radio"],
#main-body .card:has(input[name="description"])
input[type="checkbox"] {
    accent-color: #4b9e25 !important;
}

/* WHMCS custom selected controls */
#main-body .card:has(input[name="description"])
.custom-control-input:checked ~ .custom-control-label::before {
    background-color: #4b9e25 !important;
    border-color: #4b9e25 !important;
}

/* Blue icon-style selection indicators */
#main-body .card:has(input[name="description"])
.fa-check-circle,
#main-body .card:has(input[name="description"])
.fas.fa-check-circle {
    color: #4b9e25 !important;
}

/* GEEKPREACH - DESCRIPTION OPTIONAL LABEL */
#main-body .card:has(#inputDescription)
#inputDescription + .input-group-append .input-group-text {
    background: transparent !important;
    color: #788398 !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 8px !important;
    font-size: 13px;
    font-weight: 400 !important;
    cursor: default;
}


/* ==================================================
   GEEKPREACH - CONTACTS PAGE
   ================================================== */

/* Scope styling to WHMCS Contacts page */
body:has(a[href*="action=contacts"]) #main-body
.primary-content:has(select[name="contactid"]) {
    --contact-green: #4b9e25;
    --contact-purple: #7524a8;
}

/* CHOOSE CONTACT SELECTOR */
#main-body .primary-content:has(select[name="contactid"])
.form-group:has(select[name="contactid"]) {
    background: linear-gradient(100deg,#edf9e7,#f4eafb) !important;
    border: 1px solid #dfd0ed !important;
    border-radius: 18px;
    padding: 14px 18px;
    margin-bottom: 18px;
}

#main-body .primary-content select[name="contactid"] {
    min-height: 46px;
    background: #fff !important;
    border: 2px solid #cda8e8 !important;
    border-radius: 13px !important;
    color: #263426 !important;
}

#main-body .primary-content
.form-group:has(select[name="contactid"]) .btn {
    background: #fff !important;
    color: #7524a8 !important;
    border: 2px solid #7524a8 !important;
    border-radius: 999px !important;
    padding: 10px 23px !important;
    font-weight: 700 !important;
}

/* CONTACT FORM CARDS */
#main-body .primary-content:has(select[name="contactid"]) .card {
    background: #fff !important;
    border: 2px solid #dfd0ed !important;
    border-top: 4px solid #4b9e25 !important;
    border-radius: 24px !important;
    box-shadow: 0 12px 30px rgba(49,35,71,.12) !important;
    margin-bottom: 18px;
}

#main-body .primary-content:has(select[name="contactid"])
.card:nth-of-type(even) {
    border-top-color: #7524a8 !important;
}

#main-body .primary-content:has(select[name="contactid"])
.card > .card-body {
    padding: 26px 28px !important;
}

/* SECTION HEADINGS */
#main-body .primary-content:has(select[name="contactid"])
.card-title {
    position: relative;
    font-weight: 800 !important;
    color: #263426 !important;
    border-bottom: 1px solid #e9e0f0;
    padding-bottom: 14px;
    margin-bottom: 22px !important;
}

#main-body .primary-content:has(select[name="contactid"])
.card-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 95px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg,#4b9e25,#7524a8);
}

/* CONTACT FIELD LABELS */
#main-body .primary-content:has(select[name="contactid"])
.form-group > label {
    color: #263426 !important;
    font-weight: 700 !important;
    margin-bottom: 7px;
}

/* INPUTS AND DROPDOWNS */
#main-body .primary-content:has(select[name="contactid"])
.form-control,
#main-body .primary-content:has(select[name="contactid"])
.custom-select {
    min-height: 46px;
    border: 2px solid #cda8e8 !important;
    border-radius: 14px !important;
    background: #fff !important;
    color: #263426 !important;
    box-shadow: none !important;
}

#main-body .primary-content:has(select[name="contactid"])
.form-control:focus,
#main-body .primary-content:has(select[name="contactid"])
.custom-select:focus {
    border-color: #4b9e25 !important;
    box-shadow: 0 0 0 3px rgba(75,158,37,.15) !important;
}

/* EMAIL PREFERENCES - INDIVIDUAL ROWS */
#main-body .primary-content:has(select[name="contactid"])
.controls.form-check > label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 14px;
    margin-bottom: 8px;
    border: 1px solid #e7dcf0;
    border-radius: 13px;
    background: #fcfaff;
    color: #263426;
    line-height: 1.45;
    cursor: pointer;
}

#main-body .primary-content:has(select[name="contactid"])
.controls.form-check > label:hover {
    background: #f0fae9;
    border-color: #afda9e;
}

#main-body .primary-content:has(select[name="contactid"])
input[type="checkbox"] {
    accent-color: #4b9e25;
}

/* SAVE CHANGES */
#main-body .primary-content:has(select[name="contactid"])
button[type="submit"],
#main-body .primary-content:has(select[name="contactid"])
input[type="submit"] {
    background: linear-gradient(135deg,#62bd23,#348b0b) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 999px !important;
    padding: 11px 26px !important;
    font-weight: 800 !important;
    box-shadow: 0 6px 16px rgba(57,142,11,.20) !important;
}

/* CANCEL */
#main-body .primary-content:has(select[name="contactid"])
.btn-default,
#main-body .primary-content:has(select[name="contactid"])
.btn-secondary {
    background: #fff !important;
    color: #7524a8 !important;
    border: 2px solid #7524a8 !important;
    border-radius: 999px !important;
    padding: 9px 23px !important;
    font-weight: 700 !important;
}

/* MOBILE */
@media (max-width: 767px) {
    #main-body .primary-content:has(select[name="contactid"])
    .card > .card-body {
        padding: 20px 16px !important;
    }

    #main-body .primary-content:has(select[name="contactid"])
    .form-group:has(select[name="contactid"]) {
        padding: 14px;
    }

    #main-body .primary-content:has(select[name="contactid"])
    .controls.form-check > label {
        padding: 10px 12px;
    }
}


/* ==================================================
   GEEKPREACH - CONTACTS EMAIL PREFERENCES FIX
   ================================================== */

/* Remove WHMCS line breaks and unwanted spacing */
#main-body .primary-content:has(select[name="contactid"])
.controls.form-check {
    padding: 0 !important;
    margin: 0 !important;
}

#main-body .primary-content:has(select[name="contactid"])
.controls.form-check > br {
    display: none !important;
}

/* Each preference becomes one compact row */
#main-body .primary-content:has(select[name="contactid"])
.controls.form-check > label {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    min-height: 46px;
    padding: 11px 14px !important;
    margin: 0 0 8px !important;

    background: #fcfaff !important;
    border: 1px solid #e7dcf0 !important;
    border-radius: 13px !important;
    color: #263426 !important;
    line-height: 1.4 !important;
    cursor: pointer;
}

/* Position checkbox INSIDE its row */
#main-body .primary-content:has(select[name="contactid"])
.controls.form-check > label input[type="checkbox"] {
    position: static !important;
    display: inline-block !important;
    flex: 0 0 18px !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: middle !important;
    accent-color: #4b9e25 !important;
    cursor: pointer;
}

/* Hover and keyboard focus */
#main-body .primary-content:has(select[name="contactid"])
.controls.form-check > label:hover {
    background: #eff9e9 !important;
    border-color: #a9d697 !important;
}

#main-body .primary-content:has(select[name="contactid"])
.controls.form-check > label:focus-within {
    border-color: #4b9e25 !important;
    box-shadow: 0 0 0 3px rgba(75,158,37,.12);
}

/* Mobile */
@media (max-width: 767px) {
    #main-body .primary-content:has(select[name="contactid"])
    .controls.form-check > label {
        padding: 11px 12px !important;
        gap: 10px !important;
    }
}

/* GEEKPREACH - CONTACTS GO BUTTON */
#main-body .primary-content form[action*="account/contacts"] button[type="submit"] {
    font-family: "Segoe UI", Arial, sans-serif !important;
    font-weight: 500 !important;
    letter-spacing: 1px !important;
    font-size: 15px !important;
}


/* ==================================================
   GEEKPREACH - EMAIL HISTORY PAGE
   ================================================== */

/* Main table container */
#main-body .table-container:has(#tableEmailsList) {
    background: #ffffff !important;
    border: 2px solid #dfd0ed !important;
    border-radius: 20px !important;
    padding: 20px !important;
    box-shadow: 0 12px 28px rgba(49,35,71,.13) !important;
    overflow: hidden;
}

/* Rounded email history table */
#main-body #tableEmailsList {
    border: 1px solid #e0d3ec !important;
    border-radius: 16px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden;
}

/* Continuous header gradient */
#main-body #tableEmailsList thead {
    background: linear-gradient(
        90deg,
        #eaf8e4 0%,
        #f4e9fb 100%
    ) !important;
}

#main-body #tableEmailsList thead th {
    background: transparent !important;
    color: #263426 !important;
    font-weight: 800 !important;
    padding: 15px 12px !important;
    border-bottom: 3px solid #7524a8 !important;
}

/* Email rows */
#main-body #tableEmailsList tbody td {
    background: #ffffff !important;
    color: #263426 !important;
    padding: 14px 12px !important;
    border-bottom: 1px solid #e8dcf1 !important;
    vertical-align: middle;
}

#main-body #tableEmailsList tbody tr:hover td {
    background: #edf9e7 !important;
}

/* Message subjects */
#main-body #tableEmailsList tbody td a:not(.btn) {
    color: #7524a8 !important;
    font-weight: 700;
}

#main-body #tableEmailsList tbody td a:not(.btn):hover {
    color: #348b0b !important;
}

/* View Message buttons */
#main-body #tableEmailsList .btn {
    background: #ffffff !important;
    color: #7524a8 !important;
    border: 2px solid #7524a8 !important;
    border-radius: 999px !important;
    padding: 8px 17px !important;
    font-family: "Segoe UI", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: .5px;
    white-space: nowrap;
    box-shadow: none !important;
}

#main-body #tableEmailsList .btn:hover {
    background: #7524a8 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* ================================================
   SEARCH CONTROL
   ================================================ */

#main-body #tableEmailsList_filter label {
    position: relative;
    display: inline-block;
}

#main-body #tableEmailsList_filter input[type="search"] {
    min-width: 190px;
    min-height: 44px;
    background: #ffffff !important;
    border: 2px solid #7524a8 !important;
    border-radius: 999px !important;
    padding: 9px 16px 9px 44px !important;
    color: #263426 !important;
}

#main-body #tableEmailsList_filter input[type="search"]:focus {
    border-color: #4b9e25 !important;
    box-shadow: 0 0 0 3px rgba(75,158,37,.15) !important;
    outline: none !important;
}

/* CSS-drawn magnifying glass */
#main-body #tableEmailsList_filter label::before {
    content: "";
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-65%);
    width: 12px;
    height: 12px;
    border: 2px solid #7524a8;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
}

#main-body #tableEmailsList_filter label::after {
    content: "";
    position: absolute;
    left: 29px;
    top: calc(50% + 5px);
    width: 8px;
    height: 2px;
    background: #7524a8;
    transform: rotate(45deg);
    transform-origin: left center;
    pointer-events: none;
    z-index: 2;
}

/* Show entries selector */
#main-body #tableEmailsList_wrapper .dataTables_length select {
    min-width: 65px;
    min-height: 38px;
    border: 2px solid #7524a8 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    color: #263426 !important;
    padding: 5px 8px !important;
}

/* ================================================
   PAGINATION - SINGLE PILL BORDERS
   ================================================ */

#main-body #tableEmailsList_paginate li.paginate_button {
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 4px !important;
    box-shadow: none !important;
}

#main-body #tableEmailsList_paginate li.paginate_button > a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 16px !important;
    background: #ffffff !important;
    color: #7524a8 !important;
    border: 2px solid #7524a8 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
}

#main-body #tableEmailsList_paginate li.paginate_button:not(.disabled) > a:hover {
    background: #7524a8 !important;
    color: #ffffff !important;
}

#main-body #tableEmailsList_paginate li.paginate_button.active > a {
    background: #4b9e25 !important;
    border-color: #4b9e25 !important;
    color: #ffffff !important;
}

#main-body #tableEmailsList_paginate li.paginate_button.disabled > a {
    opacity: .4;
    cursor: default;
}

/* ================================================
   MOBILE
   ================================================ */

@media (max-width: 767px) {
    #main-body .table-container:has(#tableEmailsList) {
        padding: 12px !important;
        border-radius: 16px !important;
        overflow-x: auto;
    }

    #main-body #tableEmailsList {
        min-width: 540px;
    }
}


/* ==================================================
   GEEKPREACH - KNOWLEDGEBASE PAGE
   ================================================== */

/* Knowledgebase search panel */
#main-body .primary-content:has(#inputKnowledgebaseSearch)
form:has(.kb-search) {
    background: linear-gradient(115deg,#f0fae9,#ffffff 48%,#f5edfb);
    border: 2px solid #dfd0ed;
    border-top: 4px solid #4b9e25;
    border-radius: 24px;
    padding: 22px !important;
    box-shadow: 0 12px 30px rgba(49,35,71,.12);
    margin-bottom: 22px !important;
}

/* Search group layout */
#main-body .kb-search {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 12px;
    width: 100%;
}

/* Search input */
#main-body #inputKnowledgebaseSearch {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 12px 18px !important;
    background: #ffffff !important;
    border: 2px solid #cda8e8 !important;
    border-radius: 15px !important;
    color: #263426 !important;
    font-size: 15px;
    box-shadow: none !important;
}

#main-body #inputKnowledgebaseSearch:focus {
    border-color: #4b9e25 !important;
    box-shadow: 0 0 0 3px rgba(75,158,37,.15) !important;
    outline: none !important;
}

/* Search button wrapper */
#main-body .kb-search > .input-group-append {
    flex: 0 0 auto;
    margin: 0 !important;
}

/* GeekPreach green Search button */
#main-body .kb-search .btn {
    min-height: 52px;
    padding: 11px 28px !important;
    background: linear-gradient(135deg,#62bd23,#348b0b) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 999px !important;
    font-family: "Segoe UI", Arial, sans-serif !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    letter-spacing: 1px !important;
    box-shadow: 0 6px 16px rgba(57,142,11,.22) !important;
    transition: transform .2s, box-shadow .2s;
}

#main-body .kb-search .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 20px rgba(57,142,11,.30) !important;
}

/* Empty Knowledgebase message */
#main-body .primary-content:has(#inputKnowledgebaseSearch)
> .alert-info {
    background: #ffffff !important;
    color: #7524a8 !important;
    border: 2px solid #dfd0ed !important;
    border-left: 5px solid #4b9e25 !important;
    border-radius: 18px !important;
    padding: 25px 20px !important;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 8px 22px rgba(49,35,71,.08);
}

/* Responsive search */
@media (max-width: 767px) {
    #main-body .primary-content:has(#inputKnowledgebaseSearch)
    form:has(.kb-search) {
        padding: 16px !important;
        border-radius: 20px;
    }

    #main-body .kb-search {
        flex-direction: column;
        gap: 10px;
    }

    #main-body .kb-search > .input-group-append {
        width: 100%;
    }

    #main-body .kb-search .btn {
        width: 100%;
    }
}


/* ==================================================
   GEEKPREACH - ANNOUNCEMENTS PAGE
   ================================================== */

/* Main Announcements card */
#main-body .primary-content > .card:has(.announcements) {
    background: #ffffff !important;
    border: 2px solid #dfd0ed !important;
    border-top: 4px solid #4b9e25 !important;
    border-radius: 24px !important;
    box-shadow: 0 12px 30px rgba(49,35,71,.12) !important;
    overflow: hidden;
}

/* Card interior */
#main-body .card:has(.announcements) > .card-body {
    padding: 26px 28px !important;
    background: #ffffff !important;
}

/* Announcements heading */
#main-body .card:has(.announcements) .card-title {
    position: relative;
    color: #263426 !important;
    font-weight: 800 !important;
    padding-bottom: 14px;
    margin-bottom: 22px !important;
    border-bottom: 1px solid #e9e0f0;
}

/* GeekPreach heading underline */
#main-body .card:has(.announcements) .card-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 95px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg,#4b9e25,#7524a8);
}

/* Empty announcements message */
#main-body .announcements > .alert-info {
    background: #ffffff !important;
    color: #7524a8 !important;
    border: 1px solid #dfd0ed !important;
    border-left: 5px solid #4b9e25 !important;
    border-radius: 16px !important;
    padding: 22px 18px !important;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(49,35,71,.06);
}

/* Future announcement entries */
#main-body .announcements h2,
#main-body .announcements h3 {
    color: #263426 !important;
    font-weight: 800 !important;
}

#main-body .announcements a:not(.btn) {
    color: #7524a8;
    font-weight: 600;
}

#main-body .announcements a:not(.btn):hover {
    color: #4b9e25;
}

/* Mobile */
@media (max-width: 767px) {
    #main-body .card:has(.announcements) > .card-body {
        padding: 20px 16px !important;
    }

    #main-body .announcements > .alert-info {
        padding: 18px 14px !important;
    }
}


/* ==================================================
   GEEKPREACH - DOWNLOADS PAGE
   ================================================== */

/* Main search panel */
#main-body .primary-content:has(#inputDownloadsSearch)
form:has(.kb-search) {
    background: linear-gradient(
        115deg,
        #f0fae9,
        #ffffff 48%,
        #f5edfb
    ) !important;
    border: 2px solid #dfd0ed !important;
    border-top: 4px solid #4b9e25 !important;
    border-radius: 24px !important;
    padding: 22px !important;
    box-shadow: 0 12px 30px rgba(49,35,71,.12);
    margin-bottom: 22px !important;
}

/* Search field and button layout */
#main-body .primary-content:has(#inputDownloadsSearch)
.kb-search {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 12px;
    width: 100%;
}

/* Search input */
#main-body #inputDownloadsSearch {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    min-height: 52px;
    padding: 12px 18px !important;
    background: #ffffff !important;
    border: 2px solid #cda8e8 !important;
    border-radius: 15px !important;
    color: #263426 !important;
    font-size: 15px;
    box-shadow: none !important;
}

#main-body #inputDownloadsSearch:focus {
    border-color: #4b9e25 !important;
    box-shadow: 0 0 0 3px rgba(75,158,37,.15) !important;
    outline: none !important;
}

/* Search button wrapper */
#main-body .primary-content:has(#inputDownloadsSearch)
.kb-search > .input-group-append {
    flex: 0 0 auto;
    margin: 0 !important;
}

/* Green Search button with preferred typography */
#main-body .primary-content:has(#inputDownloadsSearch)
.kb-search .btn {
    min-height: 52px;
    padding: 11px 28px !important;
    background: linear-gradient(
        135deg,
        #62bd23,
        #348b0b
    ) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 999px !important;
    font-family: "Segoe UI", Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    letter-spacing: 1px !important;
    box-shadow: 0 6px 16px rgba(57,142,11,.22) !important;
    transition: transform .2s, box-shadow .2s;
}

#main-body .primary-content:has(#inputDownloadsSearch)
.kb-search .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 20px rgba(57,142,11,.30) !important;
}

/* No Downloads message */
#main-body .primary-content:has(#inputDownloadsSearch)
> .alert-info {
    background: #ffffff !important;
    color: #7524a8 !important;
    border: 2px solid #dfd0ed !important;
    border-left: 5px solid #4b9e25 !important;
    border-radius: 18px !important;
    padding: 25px 20px !important;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 8px 22px rgba(49,35,71,.08);
}

/* Mobile layout */
@media (max-width: 767px) {

    #main-body .primary-content:has(#inputDownloadsSearch)
    form:has(.kb-search) {
        padding: 16px !important;
        border-radius: 20px !important;
    }

    #main-body .primary-content:has(#inputDownloadsSearch)
    .kb-search {
        flex-direction: column;
        gap: 10px;
    }

    #main-body .primary-content:has(#inputDownloadsSearch)
    .kb-search > .input-group-append {
        width: 100%;
    }

    #main-body .primary-content:has(#inputDownloadsSearch)
    .kb-search .btn {
        width: 100%;
    }
}


/* ==================================================
   GEEKPREACH - NETWORK STATUS PAGE
   ================================================== */

/* Main Network Status content card */
#main-body .primary-content:has(
    nav[aria-label="Network issues navigation"]
) {
    align-self: flex-start;
}

/* Create branded white content panel */
#main-body .primary-content:has(
    nav[aria-label="Network issues navigation"]
) > .alert-success {
    background: #eaf8e6 !important;
    color: #286f18 !important;
    border: 1px solid #bce3b0 !important;
    border-left: 5px solid #4b9e25 !important;
    border-radius: 16px !important;
    padding: 18px 22px !important;
    font-weight: 600;
    box-shadow: 0 5px 14px rgba(57,142,11,.08);
    margin-bottom: 20px;
}

/* Empty-state message */
#main-body .primary-content:has(
    nav[aria-label="Network issues navigation"]
) > p {
    background: #ffffff !important;
    border: 2px solid #dfd0ed !important;
    border-left: 5px solid #4b9e25 !important;
    border-radius: 16px !important;
    padding: 22px 20px !important;
    margin: 0 0 18px !important;
    color: #7524a8 !important;
    font-weight: 500;
    box-shadow: 0 8px 22px rgba(49,35,71,.08);
}

/* Pagination */
#main-body .primary-content
nav[aria-label="Network issues navigation"] .pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin: 0;
}

/* Individual buttons */
#main-body .primary-content
nav[aria-label="Network issues navigation"] .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 18px !important;
    background: #ffffff !important;
    border: 2px solid #7524a8 !important;
    border-radius: 999px !important;
    color: #7524a8 !important;
    font-family: "Segoe UI", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: .5px;
    box-shadow: none !important;
}

/* Hover on enabled controls */
#main-body .primary-content
nav[aria-label="Network issues navigation"]
.page-item:not(.disabled) .page-link:hover {
    background: #7524a8 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Disabled pagination */
#main-body .primary-content
nav[aria-label="Network issues navigation"]
.page-item.disabled .page-link {
    opacity: .45;
    cursor: default;
}

/* Mobile */
@media (max-width: 767px) {
    #main-body .primary-content:has(
        nav[aria-label="Network issues navigation"]
    ) > .alert-success {
        padding: 15px 16px !important;
    }

    #main-body .primary-content:has(
        nav[aria-label="Network issues navigation"]
    ) > p {
        padding: 18px 16px !important;
    }
}


/* ==================================================
   GEEKPREACH - RENEW DOMAIN PAGE
   ================================================== */

/* Main renewal content */
#order-standard_cart:has(#no-domains) .cart-body {
    background: #fff !important;
    border: 2px solid #dfd0ed !important;
    border-top: 4px solid #4b9e25 !important;
    border-radius: 24px !important;
    padding: 26px 28px !important;
    box-shadow: 0 12px 30px rgba(49,35,71,.12);
}

/* Page heading */
#order-standard_cart:has(#no-domains) .cart-body h1,
#order-standard_cart:has(#no-domains) .cart-body h2,
#order-standard_cart:has(#no-domains) .header-lined h1 {
    color: #263426 !important;
    font-weight: 800 !important;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid #e9e0f0;
}

/* No eligible domains notice */
#order-standard_cart #no-domains {
    background: #fff8e3 !important;
    color: #79550b !important;
    border: 1px solid #f0d99a !important;
    border-left: 5px solid #e0aa27 !important;
    border-radius: 15px !important;
    padding: 18px 20px !important;
    font-weight: 500;
    box-shadow: 0 5px 14px rgba(49,35,71,.06);
}

/* Return to Client Area button */
#order-standard_cart:has(#no-domains)
.cart-body p.text-center .btn,
#order-standard_cart:has(#no-domains)
.cart-body p.text-center a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 10px 22px !important;
    background: #fff !important;
    color: #7524a8 !important;
    border: 2px solid #7524a8 !important;
    border-radius: 999px !important;
    font-family: "Segoe UI", Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    letter-spacing: .5px;
    text-decoration: none !important;
}

#order-standard_cart:has(#no-domains)
.cart-body p.text-center a:hover {
    background: #7524a8 !important;
    color: #fff !important;
}

/* Categories and Actions sidebar */
#order-standard_cart .cart-sidebar .panel,
#order-standard_cart .cart-sidebar .card {
    background: #fff !important;
    border: 2px solid #dfd0ed !important;
    border-radius: 18px !important;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(49,35,71,.10);
}

/* Sidebar headings */
#order-standard_cart .cart-sidebar .panel-heading,
#order-standard_cart .cart-sidebar .card-header {
    background: #f6f1fb !important;
    color: #263426 !important;
    font-weight: 800 !important;
    border-bottom: 2px solid #dfd0ed !important;
}

/* Sidebar links */
#order-standard_cart:has(#no-domains)
.cart-sidebar a {
    color: #7524a8;
    transition: background .2s, color .2s;
}

#order-standard_cart:has(#no-domains)
.cart-sidebar a:hover {
    color: #348b0b !important;
    background: #f0fae9 !important;
}

/* Active sidebar item */
#order-standard_cart:has(#no-domains)
.cart-sidebar .active > a {
    background: #7524a8 !important;
    color: #fff !important;
}

/* Mobile */
@media (max-width: 767px) {
    #order-standard_cart:has(#no-domains)
    .cart-body {
        padding: 20px 16px !important;
        border-radius: 20px !important;
    }

    #order-standard_cart #no-domains {
        padding: 15px 13px !important;
    }

    #order-standard_cart:has(#no-domains)
    .cart-body p.text-center a {
        max-width: 100%;
        white-space: normal;
        text-align: center;
    }
}


/* GEEKPREACH - CART SIDEBAR ACTIVE MENU FIX */

/* Replace Bootstrap blue with GeekPreach purple */
#order-standard_cart .cart-sidebar .list-group-item.active,
#order-standard_cart .cart-sidebar .active > a,
#order-standard_cart .cart-sidebar a.active {
    background: #7524a8 !important;
    border-color: #7524a8 !important;
    color: #ffffff !important;
}

/* Ensure active menu icons are also white */
#order-standard_cart .cart-sidebar .active i,
#order-standard_cart .cart-sidebar .active a,
#order-standard_cart .cart-sidebar a.active i,
#order-standard_cart .cart-sidebar .list-group-item.active i {
    color: #ffffff !important;
}

/* Active menu hover */
#order-standard_cart .cart-sidebar .list-group-item.active:hover,
#order-standard_cart .cart-sidebar .active > a:hover {
    background: #5d198b !important;
    color: #ffffff !important;
}

/* GeekPreach cart sidebar icons */
#order-standard_cart .cart-sidebar .card-header i,
#order-standard_cart .cart-sidebar .panel-heading i,
#order-standard_cart .cart-sidebar .list-group-item:not(.active) i {
    color: #7524a8 !important;
}

/* ================================================
   GEEKPREACH - RENEW DOMAIN CORRECTIONS
   ================================================ */

/* Replace yellow warning with GeekPreach styling */
#order-standard_cart:has(#no-domains) #no-domains {
    background: #f0f9ec !important;
    color: #286f18 !important;
    border: 1px solid #c5e5b9 !important;
    border-left: 5px solid #4b9e25 !important;
    border-radius: 15px !important;
    box-shadow: 0 5px 14px rgba(49,35,71,.06);
}

/* MOBILE: Remove outer white card wrapping sidebar */
@media (max-width: 767px) {

    #order-standard_cart:has(#no-domains) .cart-body {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    /* Restore separate white content areas */
    #order-standard_cart:has(#no-domains) #no-domains {
        margin-top: 15px !important;
    }

    /* Keep action button nicely separated */
    #order-standard_cart:has(#no-domains)
    .cart-body > p.text-center {
        margin-top: 16px !important;
    }
}

/* GEEKPREACH - MOBILE CART DROPDOWNS */
@media (max-width: 767px) {

    #order-standard_cart .sidebar-collapsed select,
    #order-standard_cart .cart-sidebar select {
        width: 100%;
        min-height: 46px;
        padding: 10px 14px;
        background-color: #fff !important;
        color: #263426 !important;
        border: 2px solid #cda8e8 !important;
        border-radius: 13px !important;
        font-family: "Segoe UI", Arial, sans-serif;
        font-size: 15px;
    }

    #order-standard_cart .sidebar-collapsed select:focus,
    #order-standard_cart .cart-sidebar select:focus {
        border-color: #4b9e25 !important;
        outline: none;
        box-shadow: 0 0 0 3px rgba(75,158,37,.15);
    }
}


/* ==================================================
   GEEKPREACH - REGISTER DOMAIN PAGE
   ================================================== */

/* Page-specific scope */
#order-standard_cart:has(#frmDomainChecker) {
    --domain-green: #4b9e25;
    --domain-purple: #7524a8;
    --domain-border: #dfd0ed;
    --domain-shadow: 0 10px 26px rgba(49,35,71,.10);
}

/* PAGE HEADING */
#order-standard_cart:has(#frmDomainChecker)
.header-lined {
    margin-bottom: 20px !important;
}

#order-standard_cart:has(#frmDomainChecker)
.header-lined h1 {
    color: #263426 !important;
    font-weight: 800 !important;
    font-size: 32px !important;
    border-bottom: 1px solid var(--domain-border);
    padding-bottom: 14px;
}

#order-standard_cart:has(#frmDomainChecker)
.cart-body > p {
    color: #465267;
    font-size: 15px;
}

/* ================================================
   REGISTER DOMAIN — HOMEPAGE-MATCHED SEARCH
   One outer gradient + one inner white panel.
   Scoped to the WHMCS domain registration form.
   ================================================ */

#order-standard_cart:has(#frmDomainChecker) .domain-checker-container {
    background:
        radial-gradient(circle at 10% 15%, rgba(118,196,61,.24), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(132,54,191,.18), transparent 45%),
        #fff !important;
    border: 3px solid #80bd44 !important;
    border-radius: 32px !important;
    margin: 22px 0 26px !important;
    padding: 20px !important;
    box-shadow: 0 15px 35px rgba(62,120,34,.10) !important;
}

/* WHMCS's separate decorative frame is not needed. */
#order-standard_cart:has(#frmDomainChecker) .domain-checker-bg {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
    box-shadow: none !important;
}

/* The single inner card, matching the approved homepage form. */
#order-standard_cart #frmDomainChecker {
    background: #fff !important;
    border: 2px solid #d8e9d0 !important;
    border-radius: 26px !important;
    padding: 20px !important;
    margin: 0 !important;
    box-shadow: 0 12px 30px rgba(35,55,70,.08) !important;
}

/* Undo the original Bootstrap 8-column width and offset. */
#order-standard_cart #frmDomainChecker > .row {
    display: block !important;
    margin: 0 !important;
}
#order-standard_cart #frmDomainChecker > .row > div[class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Controls share a single, borderless layout. */
#order-standard_cart #frmDomainChecker .input-group.input-group-box {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 5px 15px !important;
    width: 100% !important;
    height: auto !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}

/* Preserve long AI descriptions while hiding the intrusive scrollbar. */
#order-standard_cart #frmDomainChecker textarea#message {
    position: static !important;
    display: block !important;
    order: 0;
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 66px !important;
    min-height: 66px !important;
    padding: 13px 18px !important;
    background: #fff !important;
    color: #263426 !important;
    border: 2px solid #7524a8 !important;
    border-radius: 20px !important;
    box-shadow: none !important;
    font: 16px/1.5 "Segoe UI", Arial, sans-serif !important;
    resize: vertical !important;
    overflow-y: auto !important;
    scrollbar-width: none;
}
#order-standard_cart #frmDomainChecker textarea#message::-webkit-scrollbar {
    display: none;
}
#order-standard_cart #frmDomainChecker textarea#message:focus {
    border-color: #4b9e25 !important;
    box-shadow: 0 0 0 4px rgba(75,158,37,.16) !important;
    outline: none !important;
}

/* Purple TLD/length filters from the homepage. */
#order-standard_cart #frmDomainChecker .input-group-box > .btn-group {
    order: 1;
    display: inline-flex !important;
    width: auto !important;
    margin: 0 !important;
    box-shadow: none !important;
}
#order-standard_cart #frmDomainChecker .btn-group > button.multiselect {
    width: auto !important;
    min-height: 46px !important;
    padding: 10px 19px !important;
    background: #f1e7fb !important;
    color: #652398 !important;
    border: 2px solid #b98bd8 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}
#order-standard_cart #frmDomainChecker .multiselect-container {
    background: #fff !important;
    border: 1px solid #d7b5ec !important;
    border-radius: 16px !important;
    box-shadow: 0 15px 35px rgba(60,30,90,.18) !important;
    padding: 8px !important;
    z-index: 1100;
}

/* Safe Search pill and visible checked state. */
#order-standard_cart #frmDomainChecker .input-group-box > label {
    order: 1;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 9px 16px !important;
    background: #eaf8e3 !important;
    color: #33741e !important;
    border: 2px solid #87c56b !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer;
}
#order-standard_cart #frmDomainChecker input[type="checkbox"][name="filter"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    position: relative !important;
    display: inline-grid !important;
    place-content: center !important;
    flex: 0 0 23px !important;
    width: 23px !important;
    height: 23px !important;
    margin: 0 !important;
    background: #fff !important;
    background-image: none !important;
    border: 2px solid #4b9e25 !important;
    border-radius: 7px !important;
    box-shadow: none !important;
    cursor: pointer;
}
#order-standard_cart #frmDomainChecker input[name="filter"]::before {
    content: none !important;
}
#order-standard_cart #frmDomainChecker input[name="filter"]:checked {
    background: #4b9e25 !important;
}
#order-standard_cart #frmDomainChecker input[name="filter"]:checked::after {
    content: "✓" !important;
    display: block !important;
    position: static !important;
    transform: none !important;
    width: auto !important;
    height: auto !important;
    border: 0 !important;
    margin: 0 !important;
    color: #fff !important;
    font: 900 17px/1 Arial,sans-serif !important;
}
#order-standard_cart #frmDomainChecker input[name="filter"]:focus-visible {
    outline: 3px solid #7524a8 !important;
    outline-offset: 3px;
}


#order-standard_cart #frmDomainChecker #btnCheckAvailability {
    position: static !important;
    order: 3;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 160px !important;
    min-height: 54px !important;
    margin: 0 0 0 auto !important;
    padding: 13px 32px !important;
    background: linear-gradient(135deg,#66c831,#328608) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 999px !important;
    font: 700 16px/1.4 "Segoe UI",Arial,sans-serif !important;
    box-shadow: 0 8px 20px rgba(40,40,60,.17) !important;
}
#order-standard_cart #frmDomainChecker #btnCheckAvailability:hover {
    filter: brightness(1.06);
}

/* ================================================
   REGISTER DOMAIN — FEATURED LOGOS INLINE
   No blank column, empty frames, or nested cards.
   ================================================ */

#order-standard_cart:has(#frmDomainChecker) .featured-tlds-container,
#order-standard_cart:has(#frmDomainChecker) .featured-tlds-container > .row,
#order-standard_cart:has(#frmDomainChecker) .featured-tlds-container > .row > div,
#order-standard_cart:has(#frmDomainChecker) .featured-tld,
#order-standard_cart:has(#frmDomainChecker) .featured-tld .img-container {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
#order-standard_cart:has(#frmDomainChecker) .featured-tlds-container {
    padding: 10px 0 !important;
    margin: 0 0 12px !important;
}
#order-standard_cart:has(#frmDomainChecker) .featured-tlds-container > .row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* This empty spacer was present in your actual HTML. */
#order-standard_cart:has(#frmDomainChecker) .featured-tlds-container > .row > .col-sm-2:empty {
    display: none !important;
}
#order-standard_cart:has(#frmDomainChecker) .featured-tlds-container > .row > .col-lg-4.col-sm-6 {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
#order-standard_cart:has(#frmDomainChecker) .featured-tld {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}
#order-standard_cart:has(#frmDomainChecker) .featured-tld .img-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
#order-standard_cart:has(#frmDomainChecker) .featured-tld img {
    width: auto !important;
    height: auto !important;
    max-width: 95px !important;
    max-height: 48px !important;
    object-fit: contain;
    border: 0 !important;
    box-shadow: none !important;
}
#order-standard_cart:has(#frmDomainChecker) .featured-tld .price {
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: #566376 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
}

/* ================================================
   EXTENSION CATEGORIES
   ================================================ */

#order-standard_cart:has(#frmDomainChecker)
.domain-pricing > h4 {
    color: #263426 !important;
    font-weight: 800 !important;
    margin: 25px 0 15px;
}

#order-standard_cart:has(#frmDomainChecker)
.tld-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 17px !important;
    background: #fff;
    border: 1px solid var(--domain-border);
    border-radius: 17px;
    margin-bottom: 20px;
}

#order-standard_cart:has(#frmDomainChecker)
.tld-filters a.badge {
    background: #fff !important;
    color: #7524a8 !important;
    border: 1px solid #cda8e8 !important;
    border-radius: 999px !important;
    padding: 9px 12px !important;
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
}

#order-standard_cart:has(#frmDomainChecker)
.tld-filters a.badge:hover,
#order-standard_cart:has(#frmDomainChecker)
.tld-filters a.badge.badge-success {
    background: #7524a8 !important;
    color: #fff !important;
}


/* ================================================
   BOTTOM PROMOTIONAL CARDS
   ================================================ */

#order-standard_cart:has(#frmDomainChecker)
.domain-promo-box {
    background: #fff !important;
    border: 2px solid var(--domain-border) !important;
    border-top: 4px solid #4b9e25 !important;
    border-radius: 22px !important;
    padding: 23px !important;
    min-height: 215px;
    box-shadow: var(--domain-shadow);
    margin-top: 20px;
}

#order-standard_cart:has(#frmDomainChecker)
.domain-promo-box h3 {
    color: #263426 !important;
    font-weight: 800 !important;
    font-size: 21px !important;
}

#order-standard_cart:has(#frmDomainChecker)
.domain-promo-box .text-warning,
#order-standard_cart:has(#frmDomainChecker)
.domain-promo-box .text-primary {
    color: #7524a8 !important;
}

/* Promotional buttons */
#order-standard_cart:has(#frmDomainChecker)
.domain-promo-box .btn {
    background: linear-gradient(135deg,#62bd23,#348b0b) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 11px 22px !important;
    font-family: "Segoe UI",Arial,sans-serif !important;
    font-weight: 500 !important;
    letter-spacing: .6px;
}

/* Preserve approved purple promo icons. */
#order-standard_cart:has(#frmDomainChecker) .domain-promo-box .fas,
#order-standard_cart:has(#frmDomainChecker) .domain-promo-box .fa {
    color: #7524a8 !important;
}

/* ================================================
   NARROW SCREEN SAFEGUARDS
   ================================================ */

@media (max-width: 767px) {
    #order-standard_cart:has(#frmDomainChecker)
    .domain-checker-container {
        padding: 14px !important;
    }

    #order-standard_cart:has(#frmDomainChecker)
    .domain-checker-bg {
        padding: 0 !important;
    }

    #order-standard_cart #frmDomainChecker {
        padding: 14px !important;
    }

    #order-standard_cart #frmDomainChecker
    .input-group-box {
        padding: 0 !important;
    }

    #order-standard_cart #frmDomainChecker
    #btnCheckAvailability {
        width: 100%;
    }

    #order-standard_cart:has(#frmDomainChecker)
    .domain-pricing > .bg-white {
        overflow-x: auto;
    }

    #order-standard_cart:has(#frmDomainChecker)
    .tld-pricing-header,
    #order-standard_cart:has(#frmDomainChecker)
    .tld-row {
        min-width: 500px;
    }
}


/* ==================================================
   GEEKPREACH - DOMAIN PRICING TABLE FINAL LAYOUT
   ================================================== */

/* Main table container */
#order-standard_cart .domain-pricing > .bg-white {
    background: #fff !important;
    border: 2px solid #dfd0ed !important;
    border-radius: 18px !important;
    padding: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 22px rgba(49,35,71,.08);
}

/* Clean unified header */
#order-standard_cart .tld-pricing-header {
    background: linear-gradient(90deg,#eaf8e4,#f4e9fb) !important;
    border-bottom: 3px solid #7524a8 !important;
    border-radius: 12px 12px 0 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}

/* Header columns */
#order-standard_cart .tld-pricing-header > div {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 15px 12px !important;
    font-weight: 800 !important;
    color: #263426 !important;
}

/* Domain rows */
#order-standard_cart .tld-row {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-bottom: 1px solid #e6d9ee !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
}

/* Alternating rows */
#order-standard_cart .tld-row:nth-child(even) {
    background: #faf8fd !important;
}

/* Domain extension column */
#order-standard_cart .tld-row > .col-md-4 {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 17px 15px !important;
    font-weight: 800 !important;
}

/* Price column container */
#order-standard_cart .tld-row > .col-md-8 {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Price inner row */
#order-standard_cart .tld-row > .col-md-8 > .row {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Individual price columns */
#order-standard_cart .tld-row > .col-md-8 > .row > div {
    background: transparent !important;
    border: none !important;
    border-left: 1px solid #e6d9ee !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 18px 8px !important;
    text-align: center;
}

/* Hover */
#order-standard_cart .tld-row:hover {
    background: #f0fae9 !important;
}

/* Preserve WHMCS filtering */
#order-standard_cart .tld-row:not(.filtered-row) {
    display: none;
}


/* GEEKPREACH - DOMAIN PRICING HEADER BLUE REMOVAL */

/* Header tabs and their borders */
#order-standard_cart .tld-pricing-header .col-md-8,
#order-standard_cart .tld-pricing-header .col-md-8 * {
    border-color: #7524a8 !important;
}

/* Replace blue tab underline */
#order-standard_cart .tld-pricing-header .col-md-8 {
    box-shadow: none !important;
}

/* Tab text */
#order-standard_cart .tld-pricing-header .col-md-8 {
    color: #263426 !important;
}

/* Active and inactive tab accents */
#order-standard_cart .tld-pricing-header .col-md-8 [class*="active"] {
    background-color: #f3eafa !important;
    border-color: #7524a8 !important;
}

/* Bottom promo cards on Register Domain page */
#order-standard_cart .domain-promo-box h3,
#order-standard_cart .domain-promo-box .promo-subheading,
#order-standard_cart .domain-promo-box .promo-icon,
#order-standard_cart .domain-promo-box .promo-icon i,
#order-standard_cart .domain-promo-box .promo-icon svg,
#order-standard_cart .domain-promo-box .promo-icon svg * {
    color: #7b2cbf !important;
    fill: #7b2cbf !important;
    stroke: #7b2cbf !important;
}

/* If those right-side icons are image files instead of font/svg icons */
#order-standard_cart .domain-promo-box .promo-icon img {
    filter: brightness(0) saturate(100%) invert(24%) sepia(64%) saturate(1700%) hue-rotate(266deg) brightness(94%) contrast(95%);
}

/* GEEKPREACH - TLD CATEGORY BUTTONS */

/* OFF */
#order-standard_cart .tld-filters a.badge {
    background: #ffffff !important;
    color: #7524a8 !important;
    border: 1px solid #c88aee !important;
    border-radius: 25px !important;
    box-shadow: none !important;
    outline: none;
}

/* ON - WHMCS native selected state */
#order-standard_cart .tld-filters a.badge.badge-success {
    background: #7524a8 !important;
    color: #ffffff !important;
    border: 1px solid #7524a8 !important;
    box-shadow: none !important;
}

/* Remove mouse-click focus ring, preserve keyboard focus */
#order-standard_cart .tld-filters a.badge:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
}

/* GeekPreach — Register Domain Search Results */

#order-standard_cart #DomainSearchResults .primary-domain-header {
    background: linear-gradient(90deg, #eaf8e4, #f4e9fb);
    border-bottom: 3px solid #4b9e25;
    border-radius: 14px 14px 0 0;
    padding: 14px 20px;
    color: #263426;
    font-weight: 800;
}

#order-standard_cart #DomainSearchResults .spotlight-tld {
    background: #fff;
    border: 2px solid #dfd0ed;
    border-radius: 18px;
    padding: 18px 12px;
    box-shadow: 0 7px 18px rgba(49,35,71,.09);
}

#order-standard_cart #DomainSearchResults .spotlight-tld-container {
    padding: 8px;
}

#order-standard_cart #DomainSearchResults .spotlight-tld .domain-lookup-result .btn {
    border-radius: 999px !important;
    font-weight: 700;
}

#order-standard_cart #DomainSearchResults .suggested-domains {
    background: #fff;
    border: 2px solid #dfd0ed;
    border-radius: 18px;
    padding: 16px;
    margin-top: 15px;
}

#order-standard_cart #DomainSearchResults .domain-checker-result-headline {
    font-weight: 700;
}/* GeekPreach — Register Domain Search Results */

#order-standard_cart #DomainSearchResults .primary-domain-header {
    background: linear-gradient(90deg, #eaf8e4, #f4e9fb);
    border-bottom: 3px solid #4b9e25;
    border-radius: 14px 14px 0 0;
    padding: 14px 20px;
    color: #263426;
    font-weight: 800;
}

#order-standard_cart #DomainSearchResults .spotlight-tld {
    background: #fff;
    border: 2px solid #dfd0ed;
    border-radius: 18px;
    padding: 18px 12px;
    box-shadow: 0 7px 18px rgba(49,35,71,.09);
}

#order-standard_cart #DomainSearchResults .spotlight-tld-container {
    padding: 8px;
}

#order-standard_cart #DomainSearchResults .spotlight-tld .domain-lookup-result .btn {
    border-radius: 999px !important;
    font-weight: 700;
}

#order-standard_cart #DomainSearchResults .suggested-domains {
    background: #fff;
    border: 2px solid #dfd0ed;
    border-radius: 18px;
    padding: 16px;
    margin-top: 15px;
}

#order-standard_cart #DomainSearchResults .domain-checker-result-headline {
    font-weight: 700;
}

/* GeekPreach — Domain Configuration Nameservers */

#order-standard_cart input[id^="inputNs"] {
    background: #fff !important;
    border: 2px solid #b77ddd !important;
    border-radius: 12px !important;
    color: #263426 !important;
    box-shadow: none !important;
}

#order-standard_cart input[id^="inputNs"]:focus {
    border-color: #4b9e25 !important;
    box-shadow: 0 0 0 3px rgba(75,158,37,.15) !important;
    outline: none !important;
}

/* GeekPreach — Review & Checkout Color Corrections */

/* Product/Options header: purple */
#order-standard_cart .view-cart-items-header {
    background: #7524a8 !important;
    color: #fff !important;
}

/* Order Summary header: purple */
#order-standard_cart #orderSummary > h2 {
    background: #7524a8 !important;
    color: #fff !important;
}

/* Empty Cart: red */
#order-standard_cart #btnEmptyCart {
    background: #c83443 !important;
    border-color: #c83443 !important;
    color: #fff !important;
}

/* Promo code field */
#order-standard_cart input[name="promocode"] {
    background: #fff !important;
    border: 2px solid #b77ddd !important;
    border-radius: 12px !important;
}

/* Promo code focus */
#order-standard_cart input[name="promocode"]:focus {
    border-color: #4b9e25 !important;
    box-shadow: 0 0 0 3px rgba(75,158,37,.15) !important;
}

/* Validate Code: purple outline */
#order-standard_cart #btnValidatePromoCode {
    background: #fff !important;
    border: 2px solid #7524a8 !important;
    border-radius: 999px !important;
    color: #7524a8 !important;
    font-weight: 700 !important;
}

#order-standard_cart #btnValidatePromoCode:hover {
    background: #7524a8 !important;
    color: #fff !important;
}

/* GeekPreach — Checkout Styling */

/* Section headings */
#order-standard_cart .sub-heading span {
    color: #263426 !important;
    font-weight: 700 !important;
}

#order-standard_cart .sub-heading {
    border-color: #d5b5ea !important;
}

/* Account selection */
#order-standard_cart .account-select-container {
    border: 2px solid #dfd0ed;
    border-radius: 16px;
    overflow: hidden;
}

/* Replace blue selection controls with green */
#order-standard_cart .account-select-container input[type="radio"],
#order-standard_cart .payment-methods input[type="radio"] {
    accent-color: #4b9e25;
}

/* Names, notes, and standard checkout fields */
#order-standard_cart .checkout input.form-control,
#order-standard_cart .checkout select.form-control,
#order-standard_cart .checkout textarea.form-control {
    background: #fff !important;
    border: 2px solid #b77ddd !important;
    border-radius: 12px !important;
    color: #263426 !important;
}

/* Green focus */
#order-standard_cart .checkout .form-control:focus {
    border-color: #4b9e25 !important;
    box-shadow: 0 0 0 3px rgba(75,158,37,.15) !important;
}

/* Keep Stripe's embedded payment elements untouched */

/* GeekPreach — WHMCS Checkout Selection Indicators */
#order-standard_cart .iradio_square-blue {
    filter: hue-rotate(90deg);
}

/* GeekPreach — Checkout Payment Container */

#order-standard_cart #creditCardInputFields {
    background: #ffffff !important;
    border: 2px solid #dfd0ed !important;
    border-radius: 18px !important;
    padding: 20px !important;
    box-shadow: 0 8px 22px rgba(49,35,71,.08) !important;
}

/* GeekPreach — Optional Card Name Field */
#order-standard_cart #newCardSaveSettings input {
    border: 2px solid #b77ddd !important;
    border-radius: 12px !important;
    background: #fff !important;
}

#order-standard_cart #newCardSaveSettings input:focus {
    border-color: #4b9e25 !important;
    box-shadow: 0 0 0 3px rgba(75,158,37,.15) !important;
}

/* GeekPreach — Checkout Form Fields */

#order-standard_cart #frmCheckout .form-control:not([id^="inputNs"]),
#order-standard_cart #frmCheckout select {
    background: #fff !important;
    border: 2px solid #b77ddd !important;
    border-radius: 12px !important;
    color: #263426 !important;
}

#order-standard_cart #frmCheckout .form-control:focus,
#order-standard_cart #frmCheckout select:focus {
    border-color: #4b9e25 !important;
    box-shadow: 0 0 0 3px rgba(75,158,37,.15) !important;
    outline: none !important;
}

/* GeekPreach — Checkout Section Headings */

#order-standard_cart #frmCheckout .sub-heading {
    border-bottom: 1px solid #cda8e8 !important;
    margin: 24px 0 28px !important;
}

#order-standard_cart #frmCheckout .sub-heading span {
    display: inline-block;
    background: #edf9e7 !important;
    color: #7524a8 !important;
    border: 1px solid #c9e5b9;
    border-radius: 12px;
    padding: 4px 22px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
}

/* GeekPreach — Transfer Domain Form */

#order-standard_cart #frmDomainTransfer .panel-default {
    background: #fff !important;
    border: 2px solid #dfd0ed !important;
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(49,35,71,.10) !important;
}

#order-standard_cart #frmDomainTransfer .panel-heading {
    background: linear-gradient(90deg,#edf9e7,#f3eafa) !important;
    border-bottom: 2px solid #dfd0ed !important;
    padding: 16px 20px !important;
}

#order-standard_cart #frmDomainTransfer .panel-title {
    color: #7524a8 !important;
    font-weight: 800 !important;
}

#order-standard_cart #frmDomainTransfer .form-control {
    background: #fff !important;
    border: 2px solid #b77ddd !important;
    border-radius: 12px !important;
    color: #263426 !important;
}

#order-standard_cart #frmDomainTransfer .form-control:focus {
    border-color: #4b9e25 !important;
    box-shadow: 0 0 0 3px rgba(75,158,37,.15) !important;
    outline: none !important;
}

#order-standard_cart #frmDomainTransfer .panel-footer {
    background: #fbf8fe !important;
    border-top: 1px solid #e8dcf1 !important;
}

/* GeekPreach — Domain Availability Buttons */

/* Available — Add */
#order-standard_cart #DomainSearchResults
.spotlight-tld .btn-add-to-cart {
    background: linear-gradient(135deg,#62bd23,#348b0b) !important;
    border: 0 !important;
    color: #fff !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
}

/* Selected — Checkout */
#order-standard_cart #DomainSearchResults
.spotlight-tld .btn-add-to-cart:has(.added:not([style*="display: none"])) {
    background: linear-gradient(135deg,#963dd4,#602098) !important;
}

/* Unavailable */
#order-standard_cart #DomainSearchResults
.spotlight-tld .btn.unavailable {
    background: #929292 !important;
    border: 0 !important;
    color: #fff !important;
    border-radius: 999px !important;
}

/* GeekPreach — TLD Category ON/OFF States */

/* OFF — Unselected */
#order-standard_cart .domain-pricing .tld-filters a.badge-secondary:not(.badge-success) {
    background: #fff !important;
    color: #7524a8 !important;
    border: 1px solid #cda8e8 !important;
}

/* ON — Selected */
#order-standard_cart .domain-pricing .tld-filters a.badge-secondary.badge-success {
    background: #7524a8 !important;
    color: #fff !important;
    border: 1px solid #7524a8 !important;
}

/* Hover — Only unselected categories */
#order-standard_cart .domain-pricing .tld-filters a.badge:not(.badge-success):hover {
    background: #f3eafa !important;
}

/* GeekPreach — Hosting Comparison Layout */

#order-supreme_comparison #products > ul {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

#order-supreme_comparison #products > ul > li {
    display: flex !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    min-width: 0;
}

#order-supreme_comparison #products .price-table {
    width: 100% !important;
    max-width: none !important;
    display: flex;
    flex-direction: column;
}

#order-supreme_comparison #products .product-body {
    flex: 1;
    width: 100%;
}

#order-supreme_comparison #products .product-body ul li {
    padding: 9px 6px !important;
}

#order-supreme_comparison #products .price-area,
#order-supreme_comparison #products .price {
    width: 100% !important;
    max-width: none !important;
}

@media (max-width: 991px) {
    #order-supreme_comparison #products > ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    #order-supreme_comparison #products > ul {
        grid-template-columns: 1fr;
    }
}

/* GeekPreach — Hosting Plan Color & Header Refinements */

/* Purple plan headers */
#order-supreme_comparison #products .product-title {
    background: #7524a8 !important;
    border-bottom: 0 !important;
}

/* Keep hosting plan artwork at its original proportions */
#order-supreme_comparison #products .product-icon {
    width: 100% !important;
    height: 95px !important;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin: 0 auto !important;
    overflow: hidden;
}

#order-supreme_comparison #products .product-icon img {
    width: 155px !important;
    height: 95px !important;
    max-width: 100%;
    object-fit: contain;
}

/* Green Order Now buttons */
#order-supreme_comparison #products .order-now {
    background: linear-gradient(135deg, #62bd23, #348b0b) !important;
    border-radius: 999px !important;
    box-shadow: 0 5px 14px rgba(57,142,11,.20) !important;
}

/* Button hover */
#order-supreme_comparison #products .order-now:hover {
    background: linear-gradient(135deg, #4b9e25, #287307) !important;
}

/* ==========================================
   GEEKPREACH — TECH HOSTING CARDS V1
   Floating hexagons / modern flat headers
   ========================================== */

/* Individual hosting cards */
#order-supreme_comparison #products .price-table {
    background: transparent !important;
}

/* Replace rooftop artwork with a floating tech badge */
#order-supreme_comparison #products .product-icon {
    width: 86px !important;
    height: 86px !important;
    margin: 15px auto 12px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg, #7524a8, #531977
    ) !important;
    border: 3px solid #a5d879 !important;
    border-radius: 24px !important;
    box-shadow: 0 8px 20px rgba(117,36,168,.22);
    overflow: hidden !important;
    transform: rotate(-5deg);
}

/* Hide the old rooftop images */
#order-supreme_comparison #products .product-icon img {
    display: none !important;
}

/* Replace with an abstract hexagon cluster */
#order-supreme_comparison #products .product-icon::after {
    content: "⬡";
    display: block;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 60px;
    line-height: 1;
    transform: rotate(5deg);
    text-shadow: 0 0 14px rgba(255,255,255,.35);
}

/* Modern flat plan headers */
#order-supreme_comparison #products .product-title {
    background: linear-gradient(
        110deg, #7524a8, #60208f
    ) !important;
    border: 0 !important;
    border-radius: 16px 16px 0 0 !important;
    padding: 13px 10px !important;
}

/* White plan names */
#order-supreme_comparison #products .product-title h3 {
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 24px !important;
}

/* Green order buttons */
#order-supreme_comparison #products .order-now {
    background: linear-gradient(
        135deg, #62bd23, #348b0b
    ) !important;
    border-radius: 999px !important;
    box-shadow: 0 6px 16px rgba(57,142,11,.22);
}

#order-supreme_comparison #products .order-now:hover {
    background: linear-gradient(
        135deg, #4b9e25, #287307
    ) !important;
    transform: translateY(-2px);
}

/* ==========================================
   GEEKPREACH — FINAL HOSTING PLAN LOGO
   ========================================== */

#order-supreme_comparison #products .product-icon {
    width: 92px !important;
    height: 92px !important;
    margin: 14px auto 10px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    overflow: visible !important;
}

/* Hide original WHMCS artwork */
#order-supreme_comparison #products .product-icon img {
    display: none !important;
}

/* Remove previous hexagon character */
#order-supreme_comparison #products .product-icon::after {
    content: "" !important;
    display: block !important;
    width: 92px !important;
    height: 92px !important;
    background: url('/templates/geekpreach/img/logoproto.png')
                center / contain no-repeat !important;
    transform: none !important;
    text-shadow: none !important;
}

/* ==========================================
   GEEKPREACH — HOSTING CARD FINAL POLISH
   ========================================== */

/* Move logos closer to the purple headers */
#order-supreme_comparison #products .product-icon {
    margin: 6px auto -3px !important;
    position: relative !important;
    z-index: 2;
}

/* Pale green pricing panels */
#order-supreme_comparison #products .price-area {
    background: #edf9e7 !important;
    border: 1px solid #d3eac8 !important;
    border-top: 0 !important;
    border-radius: 0 0 14px 14px !important;
}

/* Subtle depth for the hosting cards */
#order-supreme_comparison #products .product-body ul {
    box-shadow: 0 7px 20px rgba(40, 35, 60, .09) !important;
}

#order-supreme_comparison #products .product-title {
    box-shadow: 0 4px 12px rgba(75, 30, 110, .12) !important;
}

/* Match pricing-panel text to GeekPreach */
#order-supreme_comparison #products .price-area .price {
    color: #263426 !important;
}

/* GeekPreach — Hosting Plan Typography */

/* Make monthly prices stand out */
#order-supreme_comparison #products .price-area .price {
    color: #7524a8 !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
}

/* Make the "Only" label less prominent */
#order-supreme_comparison #products .price-label {
    color: #536453 !important;
    font-size: 13px !important;
}

/* Strengthen included-features heading */
#order-supreme_comparison .includes-features .head-area span {
    color: #7524a8 !important;
    font-size: 17px !important;
    font-weight: 800 !important;
}

/* Improve included-features readability */
#order-supreme_comparison .includes-features .list-features {
    color: #263426 !important;
    font-weight: 600 !important;
}

/* GeekPreach — Hosting Tagline */
#order-supreme_comparison .product-group-tagline {
    color: #7524a8 !important;
    font-size: 19px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
}

/* GeekPreach — Hosting Domain Selection Cards */

#order-standard_cart #frmProductDomain .domain-selection-options {
    display: grid;
    gap: 12px;
}

#order-standard_cart #frmProductDomain .domain-selection-options > .option {
    background: #fff !important;
    border: 2px solid #d9b8ed !important;
    border-radius: 14px !important;
    padding: 16px 20px !important;
    margin: 0 !important;
    box-shadow: 0 4px 12px rgba(49,35,71,.06);
    transition: border-color .2s, background .2s;
}

/* Larger option descriptions */
#order-standard_cart #frmProductDomain .option label {
    color: #263426 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer;
}

/* Highlight selected option */
#order-standard_cart #frmProductDomain .option:has(input[type="radio"]:checked) {
    background: #edf9e7 !important;
    border-color: #4b9e25 !important;
    box-shadow: 0 0 0 2px rgba(75,158,37,.12);
}

/* Green native radio selection */
#order-standard_cart #frmProductDomain input[type="radio"] {
    accent-color: #4b9e25;
}

/* GeekPreach — Hosting Order Domain Search */
#order-standard_cart #frmProductDomain #domainregister textarea#message {
    width: 100% !important;
    height: 60px !important;
    min-height: 60px !important;
    padding: 6px 16px !important;
    border: 2px solid #b77ddd !important;
    border-radius: 14px !important;
    background: #fff !important;
    resize: none !important;
    overflow-y: auto !important;
    scrollbar-width: none !important;
    font-size: 15px !important;
}

#order-standard_cart #frmProductDomain #domainregister textarea#message:focus {
    border-color: #4b9e25 !important;
    box-shadow: 0 0 0 3px rgba(75,158,37,.15) !important;
    outline: none !important;
}

/* GeekPreach — Hosting Order Domain Filters */

/* Purple filter buttons */
#order-standard_cart #frmProductDomain #domainregister
.btn-group > button.multiselect {
    background: #f1e7fb !important;
    color: #652398 !important;
    border: 2px solid #b98bd8 !important;
    border-radius: 999px !important;
    padding: 10px 18px !important;
    min-height: 42px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}

/* Selected Safe Search control */
#order-standard_cart #frmProductDomain #domainregister
.domains-row > label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #eaf8e3 !important;
    color: #33741e !important;
    border: 2px solid #87c56b !important;
    border-radius: 999px !important;
    padding: 8px 14px !important;
    font-weight: 700 !important;
    cursor: pointer;
}

/* Green checkbox */
#order-standard_cart #frmProductDomain #domainregister
input[type="checkbox"] {
    accent-color: #4b9e25 !important;
}

/* GeekPreach — Hosting Order Domain Transfer Fields */

#order-standard_cart #frmProductDomain #domaintransfer .form-control {
    background: #fff !important;
    border: 2px solid #b77ddd !important;
    border-radius: 12px !important;
    color: #263426 !important;
    min-height: 42px !important;
}

#order-standard_cart #frmProductDomain #domaintransfer .form-control:focus {
    border-color: #4b9e25 !important;
    box-shadow: 0 0 0 3px rgba(75,158,37,.15) !important;
    outline: none !important;
}

/* GeekPreach — Transfer Domain www. Prefix */
#order-standard_cart #frmProductDomain #domaintransfer .input-group-addon {
    background: #f1e7fb !important;
    color: #652398 !important;
    border: 2px solid #b77ddd !important;
    border-right: 0 !important;
    border-radius: 12px 0 0 12px !important;
    box-shadow: none !important;
}

/* Fix www. prefix alignment */
#order-standard_cart #frmProductDomain
#domaintransfer .input-group-text {
    height: 100% !important;
    padding: 0 12px !important;
    display: flex !important;
    align-items: center !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Connect domain textbox to www. prefix */
#order-standard_cart #frmProductDomain #domaintransfer #transfersld {
    border-radius: 0 12px 12px 0 !important;
    margin-left: 0 !important;
}

/* GeekPreach — Existing Domain Fields */

#order-standard_cart #frmProductDomain #domainowndomain .form-control {
    background: #fff !important;
    border: 2px solid #b77ddd !important;
    border-radius: 12px !important;
    color: #263426 !important;
    min-height: 42px !important;
}

#order-standard_cart #frmProductDomain #domainowndomain .form-control:focus {
    border-color: #4b9e25 !important;
    box-shadow: 0 0 0 3px rgba(75,158,37,.15) !important;
    outline: none !important;
}

/* Connected www. prefix */
#order-standard_cart #frmProductDomain #domainowndomain .input-group-addon {
    background: #f1e7fb !important;
    color: #652398 !important;
    border: 2px solid #b77ddd !important;
    border-right: 0 !important;
    border-radius: 12px 0 0 12px !important;
    box-shadow: none !important;
}

#order-standard_cart #frmProductDomain #domainowndomain .input-group-text {
    height: 100% !important;
    padding: 0 12px !important;
    display: flex !important;
    align-items: center !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

#order-standard_cart #frmProductDomain #domainowndomain #owndomainsld {
    border-radius: 0 12px 12px 0 !important;
    margin-left: 0 !important;
}

/* GeekPreach — Hosting Product Configuration */

/* Product description card */
#order-standard_cart #frmConfigureProduct .product-info {
    background: #fff !important;
    border: 2px solid #dfd0ed !important;
    border-radius: 16px !important;
    padding: 20px 24px !important;
    box-shadow: 0 8px 22px rgba(49,35,71,.08) !important;
}

/* Product name */
#order-standard_cart #frmConfigureProduct .product-info .product-title {
    color: #7524a8 !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    margin-bottom: 12px !important;
}

/* Product features */
#order-standard_cart #frmConfigureProduct .product-info p:not(.product-title) {
    color: #263426 !important;
    font-size: 15px !important;
    line-height: 1.9 !important;
    margin-bottom: 0 !important;
}

/* Billing cycle dropdown */
#order-standard_cart #frmConfigureProduct .field-container select {
    background: #fff !important;
    border: 2px solid #b77ddd !important;
    border-radius: 12px !important;
    color: #263426 !important;
    min-height: 42px !important;
}

/* GeekPreach — Hosting Configuration Order Summary */
#order-standard_cart #frmConfigureProduct
#orderSummary .order-summary > h2 {
    background: #7524a8 !important;
    color: #fff !important;
}

/* Green focus */
#order-standard_cart #frmConfigureProduct .field-container select:focus {
    border-color: #4b9e25 !important;
    box-shadow: 0 0 0 3px rgba(75,158,37,.15) !important;
}

/* GeekPreach — Billing Cycle Dropdown Arrow */
#order-standard_cart #inputBillingcycle {
    appearance: auto !important;
    -webkit-appearance: menulist !important;
    padding-right: 30px !important;
    cursor: pointer;
}

/* GeekPreach — Hosting Configuration Help Banner */
#order-standard_cart #frmConfigureProduct .alert.alert-warning.info-text-sm {
    background: #edf9e7 !important;
    border: 1px solid #c9e5b9 !important;
    border-radius: 14px !important;
    color: #263426 !important;
    padding: 14px 18px !important;
}

/* Help link */
#order-standard_cart #frmConfigureProduct .alert.info-text-sm a {
    color: #7524a8 !important;
    font-weight: 700 !important;
}

#order-standard_cart #frmConfigureProduct .alert.info-text-sm a:hover {
    color: #4b9e25 !important;
}


/* GeekPreach - Checkout Security Notice */
#order-standard_cart .checkout-security-msg {
    background: #edf9e7 !important;
    border: 1px solid #c9e5b9 !important;
    border-radius: 14px !important;
    color: #263426 !important;
    padding: 14px 18px !important;
    box-shadow: 0 4px 12px rgba(49,35,71,.05);
}

#order-standard_cart .checkout-security-msg .fa-lock {
    color: #4b9e25 !important;
}

#order-standard_cart .checkout-security-msg strong {
    color: #7524a8 !important;
    font-weight: 700 !important;
}


/* Homepage mobile geometry is consolidated at the end of this file. */


/* CHECKOUT — ALREADY REGISTERED BUTTON */
#order-standard_cart #btnAlreadyRegistered {
    background-color: #7524a8 !important;
    border-color: #7524a8 !important;
    color: #ffffff !important;
}

#order-standard_cart #btnAlreadyRegistered:hover,
#order-standard_cart #btnAlreadyRegistered:focus {
    background-color: #5e1c88 !important;
    border-color: #5e1c88 !important;
    color: #ffffff !important;
}


/* CHECKOUT — TERMS OF SERVICE AGREEMENT */

#order-standard_cart .text-center > p > label.checkbox-inline {
    display: inline-block;
    padding: 14px 20px;
    margin: 12px auto 8px;
    background: #edf9e7;
    border: 1px solid #cde7bc;
    border-radius: 12px;
    color: #263426;
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
}

/* Replace the blue iCheck appearance */
#order-standard_cart #iCheck-accepttos {
    position: relative;
    width: 20px !important;
    height: 20px !important;
    box-sizing: border-box !important;
    margin: 0 8px 0 0 !important;
    vertical-align: -4px;
    background: #ffffff !important;
    border: 2px solid #7524a8 !important;
    border-radius: 5px !important;
}

/* Visible checkmark when selected */
#order-standard_cart #iCheck-accepttos.checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 10px;
    border: solid #4b9e25;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Keyboard focus indicator */
#order-standard_cart #iCheck-accepttos.focus {
    box-shadow: 0 0 0 3px rgba(75, 36, 168, 0.18);
}

/* Agreement link */
#order-standard_cart .text-center > p > label.checkbox-inline a {
    color: #7524a8 !important;
    font-weight: 600;
    text-decoration: underline;
}

/* ============================================================
   GEEKPREACH — HOMEPAGE MOBILE LAYOUT (CONSOLIDATED)
   These overrides replace the former three trailing mobile
   patches and the superseded 100px-width hero rule.
   Scope: WHMCS public homepage only, phones <= 767px.
   ============================================================ */
@media (max-width: 767px) {
    /* Keep the green hero at its existing visual width. */
    #frmDomainHomepage .home-domain-search {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    /* The purple products frame had been reduced by 40px.
       Widen by 80px versus that rule, centered, to approximately
       align with the green section seen in the user's screenshot. */
    body:has(#frmDomainHomepage) #main-body .primary-content {
        width: calc(100% + 40px) !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Prevent the Products/Services title overflowing on phones. */
    body:has(#frmDomainHomepage) #main-body .primary-content h2 {
        font-size: clamp(1.55rem, 6vw, 2.1rem) !important;
        line-height: 1.16 !important;
        letter-spacing: -0.025em !important;
        max-width: 100% !important;
        overflow-wrap: break-word;
    }

    /* Retain the tested, functioning search/filter stacking. */
    #frmDomainHomepage .input-group-wrapper,
    #frmDomainHomepage .input-group.advanced-input {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    #frmDomainHomepage .input-group.advanced-input {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    #frmDomainHomepage .advanced-input > textarea {
        width: 100% !important;
        flex: 0 0 auto !important;
    }

    #frmDomainHomepage .advanced-input .btn-group,
    #frmDomainHomepage .advanced-input button.multiselect,
    #frmDomainHomepage .advanced-input > label {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Only the secondary mobile controls are hidden. */
    #frmDomainHomepage #btnDomainSearch2,
    #frmDomainHomepage #btnTransfer2 {
        display: none !important;
    }
}


/* GeekPreach — Fix Mobile Homepage Overflow */
@media (max-width: 767px) {

    body:has(#frmDomainHomepage)
    #main-body .primary-content {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    body:has(#frmDomainHomepage)
    #main-body .primary-content .card-columns {
        width: 100% !important;
        max-width: 100% !important;
    }

    body:has(#frmDomainHomepage)
    #main-body .primary-content h2 {
        max-width: 100%;
        overflow-wrap: break-word;
    }
}


/* GeekPreach — Match Green Border to Purple Border */
@media (max-width: 767px) {

    #frmDomainHomepage .home-domain-search {
        width: calc(100% - 36px) !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

}


/* GeekPreach — Mobile Domain Search Field Spacing */
@media (max-width: 767px) {

    #frmDomainHomepage .advanced-input > textarea {
        height: 105px !important;
        min-height: 105px !important;
        max-height: 105px !important;
        padding: 12px 18px !important;
        line-height: 1.4 !important;
        box-sizing: border-box !important;
    }

}


/* GeekPreach — Compact Mobile Domain Search */
@media (max-width: 767px) {
    #frmDomainHomepage .advanced-input > textarea {
        height: 65px !important;
        min-height: 65px !important;
        max-height: 65px !important;
        padding: 14px 18px !important;
    }
}


/* GeekPreach — Hide TLD Selection Controls */
#frmDomainHomepage select[name="tlds[]"] + .btn-group,
#order-standard_cart select[name="tlds[]"] + .btn-group {
    display: none !important;
}


/* GeekPreach — Hide TLD Selector on Domain Cart */
#order-standard_cart #frmDomainChecker
.input-group-box > select[name="tlds[]"] + .btn-group {
    display: none !important;
}

/* GeekPreach — Hide Safe Search Controls */
#frmDomainHomepage .advanced-input > label,
#order-standard_cart #frmDomainChecker .input-group-box > label,
#order-standard_cart #frmProductDomain
#domainregister .domains-row > label {
    display: none !important;
}


/* GeekPreach — Header Logo Focus Styling */
#header .navbar-brand:focus-visible {
    outline: none !important;
    box-shadow: inset 0 -3px 0 #4b9e25 !important;
}


/* GeekPreach — Domain Pricing Table Row Colors */

/* Alternating lavender rows */
#main-body .domain-pricing #tableDomainPricing
tbody tr:nth-child(odd) > td {
    background: #faf8fd !important;
}

/* Pale-green row hover */
#main-body .domain-pricing #tableDomainPricing
tbody tr:hover > td {
    background: #f0fae9 !important;
}


/* GeekPreach — Mobile Domain Placeholder */
@media (max-width: 767px) {

    #frmDomainHomepage .advanced-input > textarea {
        font-size: 16px !important;
        line-height: 1.4 !important;
        padding: 17px 12px !important;
    }

}

/* GeekPreach — Hosting Package Tagline */

#order-standard_cart .gp-product-tagline {
    color: #4a9e16;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin: 2px 0 18px;
    font-style: italic;
}

/* GeekPreach — Desktop Navigation Typography */
@media (min-width: 992px) {
    #header #nav > li > a,
    #header ul.navbar-nav.ml-auto > li > a {
        font-family: 'Poppins', sans-serif !important;
        font-size: 16px !important;
        font-weight: 600 !important;
    }
}

/* GeekPreach — Compact Desktop Navigation Spacing */
@media (min-width: 992px) {
    #header #nav > li > a {
        padding-right: 12px !important;
    }
}

/* GeekPreach — Logo Tagline */
#header .navbar-brand .gp-logo-tagline {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: #96C74C;
    text-align: center;
    line-height: 1.2;
    margin-top: 0;
    position: relative;
    left: 30px;
	letter-spacing: 0 !important;
}

/* GeekPreach — Desktop Shopping Cart Position */
@media (min-width: 992px) {
    #header .cart-btn {
        position: relative;
        top: 55px;
        left: -45px;
    }
}

/* GeekPreach — Return to Admin Area Tab */
body > a.btn-return-to-admin,
#header .topbar a.btn-return-to-admin {
    background: #399900 !important;
    color: #ffffff !important;
    border: 1px solid #2d7a00 !important;
}

body > a.btn-return-to-admin:hover,
#header .topbar a.btn-return-to-admin:hover {
    background: #2d7a00 !important;
    color: #ffffff !important;
}


/* =========================================
   GeekPreach — Shared Footer Design
   ========================================= */

#footer.gp-footer {
    background: #ffffff !important;
    color: #222b38;
    padding: 38px 0 0;
    font-family: 'Poppins', sans-serif;
}

#footer .gp-footer-container {
    max-width: 1200px;
}

#footer .gp-footer-columns {
    margin-bottom: 25px;
}

#footer .gp-footer-column {
    padding: 0 15px 20px;
}

#footer .gp-footer-logo {
    display: block;
    width: 220px;
    max-width: 100%;
    height: auto;
}

#footer .gp-footer-copyright {
    margin-top: 26px;
    font-size: 13px;
    line-height: 1.8;
    text-align: center;
    max-width: 235px;
    color: #222b38;
}

#footer .gp-footer-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 500;
    margin: 0 0 14px;
}

#footer .gp-purple {
    color: #7421a1;
}

#footer .gp-green {
    color: #399900;
}

#footer .gp-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

#footer .gp-footer-links li {
    margin-bottom: 14px;
    font-size: 15px;
}

#footer .gp-footer-links a,
#footer .gp-footer-pending {
    color: #111111;
    text-decoration: none;
}

#footer .gp-footer-links a:hover {
    color: #399900;
}

#footer .gp-footer-links i {
    width: 24px;
    margin-right: 8px;
    font-size: 19px;
    text-align: center;
}

#footer .gp-footer-social {
    margin-bottom: 20px;
}

#footer .gp-footer-facebook {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #405d9b;
    color: #ffffff;
    border-radius: 3px;
    font-size: 21px;
}

#footer .gp-legal-heading {
    margin-top: 10px;
}

#footer .gp-footer-localisation {
    text-align: center;
    padding-bottom: 15px;
}

#footer .gp-footer-divider {
    height: 4px;
    max-width: 1200px;
    margin: 0 auto 10px;
    background: #80c41c;
}

#footer .gp-footer-purple-strip {
    height: 16px;
    background: #7421a1;
}

/* Responsive footer columns */
@media (max-width: 991px) {
    #footer .gp-footer-column {
        margin-bottom: 12px;
    }
}

@media (max-width: 575px) {
    #footer .gp-footer-column {
        text-align: left;
        padding-left: 25px;
    }

    #footer .gp-footer-brand {
        text-align: center;
    }

    #footer .gp-footer-logo {
        margin: 0 auto;
    }

    #footer .gp-footer-copyright {
        margin-left: auto;
        margin-right: auto;
    }
}
