/* *****************************************************
   Raj Creation WHMCS theme - custom.css
   Based on Twenty-One (WHMCS 8.13). Loaded after
   the parent theme.css.

   1. Fonts (self-hosted, no third-party requests)
   2. Brand colour overrides for Twenty-One / Nexus cart
   3. Raj Creation theme styles
***************************************************** */

/* 1. Fonts: Poppins, SIL Open Font License (fonts/OFL-LICENSE.txt) */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); }

/* 2a. Design tokens (brand palette) */
:root {
    --white: #fff;

    /* Neutral shades */
    --neutral-50: #fbf9fa;
    --neutral-100: #f4f5f7;
    --neutral-200: #e4e4e7;
    --neutral-300: #d0d5dd;
    --neutral-400: #9ca3af;
    --neutral-500: #6b7280;
    --neutral-600: #4b5563;
    --neutral-700: #374151;
    --neutral-800: #1f2937;
    --neutral-900: #111827;
    --neutral-950: #030712;

    /* Neutral shades */
    /* define own pallet with brand colors */
    --primary-50: #eef3fb;
    --primary-100: #d9e3f5;
    --primary-200: #b3c6ea;
    --primary-300: #839fd9;
    --primary-400: #4f72c2;
    --primary-500: #2a52a8;
    --primary-600: #0b3d91;
    --primary-700: #08306f;
    --primary-800: #062659;
    --primary-900: #002157;
    --primary-950: #00153a;

    /* Primary colors */
    /* Use shades from comments if `primary` colors use other colors, then neutral */
    --primary: var(--primary-600);          /* var(--primary-600) */
    --primary-lifted: var(--primary-700);   /* var(--primary-700) */
    --primary-accented: var(--primary-800); /* var(--primary-800) */

    /* Secondary colors */
    --secondary: var(--neutral-500);
    --secondary-lifted: var(--neutral-600);
    --secondary-accented: var(--neutral-700);

    /* Success colors */
    --success: #00a63e;
    --success-lifted: #008236;
    --success-accented: #016630;

    /* Info colors */
    --info: #155dfc;
    --info-lifted: #1447e6;
    --info-accented: #193cb8;

    /* Notice colors */
    --notice: #7f22fe;
    --notice-lifted: #7008e7;
    --notice-accented: #5d0ec0;

    /* Warning colors */
    --warning: #f54a00;
    --warning-lifted: #ca3500;
    --warning-accented: #9f2d00;

    /* Error colors */
    --error: #e7000b;
    --error-lifted: #c10007;
    --error-accented: #9f0712;

    /* Grayscale colors */
    --grayscale: var(--neutral-900);
    --grayscale-lifted: var(--neutral-800);
    --grayscale-accented: var(--neutral-700);

    /* Neutral colors */
    --neutral: var(--neutral-500);
    --neutral-lifted: var(--neutral-600);
    --neutral-accented: var(--neutral-700);

    /* Text neutral colors */
    --text-inverted: var(--white);
    --text-muted: var(--neutral-400);
    --text-lifted: var(--neutral-500);
    --text-accented: var(--neutral-600);
    --text: var(--neutral-900);

    /* Border neutral colors */
    --border-muted: var(--neutral-200);
    --border: var(--neutral-300);
    --border-lifted: var(--neutral-400);
    --border-accented: var(--neutral-600);

    /* Background neutral colors */
    --bg: var(--white);
    --bg-muted: var(--neutral-50);
    --bg-lifted: var(--neutral-100);
    --bg-accented: var(--neutral-200);
    --bg-inverted: var(--neutral-900);

    /* Additional colors */
    --yellow-200: #fff085;
    --yellow-300: #ffdf20;
    --teal-300: #46edd5;
    --teal-400: #00d5be;
    --emerald-300: #5ee9b5;
    --pink-400: #fb64b6;

    /* Additional custom properties */
    /* Font sizes */
    --text-xs: 0.625rem;
    --text-sm: 0.75rem;
    --text-md: 0.875rem;
    --text-lg: 1rem;

    /* Spacing */
    --outline-sm: 1px;
    --outline-md: 2px;
    --outline-lg: 3px;

    /* Rounding */
    --rounding-sm: 0.25rem;
    --rounding-md: 0.5rem;
    --rounding-lg: 0.75rem;

    /* Other */
    --letter-spacing: 0em;
    --disabled-opacity: 25%;
}
/* 2b. Twenty-One primary colour (#336699) replaced with brand blue */
:root { --primary: #0b3d91; }
a { color: #0b3d91; }
a:hover { color: #05234f; }
.form-control:focus { box-shadow: 0 0 0 0.2rem rgba(11, 61, 145, 0.25); }
.btn:focus, .btn.focus { box-shadow: 0 0 0 0.2rem rgba(11, 61, 145, 0.25); }
.btn-primary { background-color: #0b3d91; border-color: #0b3d91; }
.btn-primary:hover { background-color: #08306f; border-color: #072b64; }
.btn-primary:focus, .btn-primary.focus { background-color: #08306f; border-color: #072b64; box-shadow: 0 0 0 0.2rem rgba(48, 90, 162, 0.5); }
.btn-primary.disabled, .btn-primary:disabled { background-color: #0b3d91; border-color: #0b3d91; }
.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, .show > .btn-primary.dropdown-toggle { background-color: #072b64; border-color: #062659; }
.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus, .show > .btn-primary.dropdown-toggle:focus { box-shadow: 0 0 0 0.2rem rgba(48, 90, 162, 0.5); }
.btn-outline-primary { color: #0b3d91; border-color: #0b3d91; }
.btn-outline-primary:hover { background-color: #0b3d91; border-color: #0b3d91; }
.btn-outline-primary:focus, .btn-outline-primary.focus { box-shadow: 0 0 0 0.2rem rgba(11, 61, 145, 0.5); }
.btn-outline-primary.disabled, .btn-outline-primary:disabled { color: #0b3d91; }
.btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active, .show > .btn-outline-primary.dropdown-toggle { background-color: #0b3d91; border-color: #0b3d91; }
.btn-outline-primary:not(:disabled):not(.disabled):active:focus, .btn-outline-primary:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-primary.dropdown-toggle:focus { box-shadow: 0 0 0 0.2rem rgba(11, 61, 145, 0.5); }
.btn-link { color: #0b3d91; }
.btn-link:hover { color: #05234f; }
.dropdown-item.active, .dropdown-item:active { background-color: #0b3d91; }
.custom-control-input:checked ~ .custom-control-label::before { border-color: #0b3d91; background-color: #0b3d91; }
.custom-control-input:focus ~ .custom-control-label::before { box-shadow: 0 0 0 0.2rem rgba(11, 61, 145, 0.25); }
.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before { border-color: #0b3d91; background-color: #0b3d91; }
.custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before { background-color: rgba(11, 61, 145, 0.5); }
.custom-checkbox .custom-control-input:disabled:indeterminate ~ .custom-control-label::before { background-color: rgba(11, 61, 145, 0.5); }
.custom-radio .custom-control-input:disabled:checked ~ .custom-control-label::before { background-color: rgba(11, 61, 145, 0.5); }
.custom-switch .custom-control-input:disabled:checked ~ .custom-control-label::before { background-color: rgba(11, 61, 145, 0.5); }
.custom-select:focus { box-shadow: 0 0 0 0.2rem rgba(11, 61, 145, 0.25); }
.custom-file-input:focus ~ .custom-file-label { box-shadow: 0 0 0 0.2rem rgba(11, 61, 145, 0.25); }
.custom-range:focus::-webkit-slider-thumb { box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(11, 61, 145, 0.25); }
.custom-range:focus::-moz-range-thumb { box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(11, 61, 145, 0.25); }
.custom-range:focus::-ms-thumb { box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(11, 61, 145, 0.25); }
.custom-range::-webkit-slider-thumb { background-color: #0b3d91; }
.custom-range::-moz-range-thumb { background-color: #0b3d91; }
.custom-range::-ms-thumb { background-color: #0b3d91; }
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link { background-color: #0b3d91; }
.page-link { color: #0b3d91; }
.page-link:hover { color: #05234f; }
.page-link:focus { box-shadow: 0 0 0 0.2rem rgba(11, 61, 145, 0.25); }
.page-item.active .page-link { background-color: #0b3d91; border-color: #0b3d91; }
.badge-primary { background-color: #0b3d91; }
a.badge-primary:hover, a.badge-primary:focus { background-color: #072b64; }
a.badge-primary:focus, a.badge-primary.focus { box-shadow: 0 0 0 0.2rem rgba(11, 61, 145, 0.5); }
.progress-bar { background-color: #0b3d91; }
.list-group-item.active { background-color: #0b3d91; border-color: #0b3d91; }
.bg-primary { background-color: #0b3d91 !important; }
a.bg-primary:hover, a.bg-primary:focus,
button.bg-primary:hover,
button.bg-primary:focus { background-color: #072b64 !important; }
.border-primary { border-color: #0b3d91 !important; }
.text-primary { color: #0b3d91 !important; }
a.text-primary:hover, a.text-primary:focus { color: #05234f !important; }
.input-group .btn-reveal-pw:hover, .input-group .btn-reveal-pw:active { color: #0b3d91; }
.status-onhold { background-color: #0b3d91; }
.status-payment-pending { background-color: #0b3d91; }
.status-delivered { background-color: #0b3d91; }
.domain-pricing .tld-pricing-header div:nth-child(odd) { border-color: #0b3d91; }
.landing-page.sitelock .plans { background-color: #0b3d91; }
.landing-page.sitelock .features .fas,
.landing-page.sitelock .features .far { color: #0b3d91; }

/* =========================================================
   3. Raj Creation theme styles
   ========================================================= */
:root {
    --rc-navy: #002157;
    --rc-navy-900: #00153a;
    --rc-blue: #0b3d91;
    --rc-blue-50: #eef3fb;
    --rc-accent: #f5a524;
    --rc-accent-dark: #d98a0b;
    --rc-ink: #0f172a;
    --rc-text: #334155;
    --rc-muted: #64748b;
    --rc-line: #e2e8f0;
    --rc-bg: #f6f8fc;
    --rc-radius: 12px;
    --rc-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
    --rc-font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

html { font-size: 15px; }
body.rc-theme {
    font-family: var(--rc-font);
    color: var(--rc-text);
    -webkit-font-smoothing: antialiased;
}
.rc-theme.primary-bg-color { background-color: var(--rc-bg); }
.rc-theme h1, .rc-theme h2, .rc-theme h3, .rc-theme h4, .rc-theme h5, .rc-theme h6,
.rc-theme .h1, .rc-theme .h2, .rc-theme .h3, .rc-theme .h4 {
    font-family: var(--rc-font);
    color: var(--rc-ink);
    font-weight: 600;
    letter-spacing: -.01em;
}
.rc-theme .btn { font-weight: 500; border-radius: 8px; }
.rc-theme .form-control { border-radius: 8px; }
.rc-theme .card { border-radius: var(--rc-radius); border-color: var(--rc-line); box-shadow: var(--rc-shadow); }
.rc-theme :focus-visible { outline: 3px solid rgba(245, 165, 36, .6); outline-offset: 2px; }

.rc-skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 2000;
    background: var(--rc-accent); color: var(--rc-navy-900); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.rc-skip-link:focus { top: 12px; color: var(--rc-navy-900); text-decoration: none; }

/* ---------- Header ---------- */
.rc-utilitybar {
    background: var(--rc-navy-900);
    color: rgba(255, 255, 255, .75);
    font-size: .8rem;
}
.rc-utility-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; align-items: center; }
.rc-utility-list li { display: inline-flex; align-items: center; padding: 7px 0; }
.rc-utility-list a, .rc-utility-list span { color: rgba(255, 255, 255, .8); }
.rc-utility-list a:hover { color: #fff; text-decoration: none; }
.rc-utility-list .rc-ic { margin-right: 6px; opacity: .85; }
.rc-secure-note .rc-ic { color: #4ade80; }

header.header .topbar { background-color: var(--rc-navy); border-top: 1px solid rgba(255, 255, 255, .06); }

header.header { background: #fff; box-shadow: 0 1px 0 var(--rc-line); position: relative; z-index: 20; }
header.header .rc-brandbar { padding-top: 14px; padding-bottom: 10px; }
header.header .logo-img { max-height: 38px; width: auto; max-width: 220px; }
header.header .search { border-color: var(--rc-line); border-radius: 999px; background: var(--rc-bg); }
header.header .search .form-control { background: transparent; }
header.header .toolbar .nav-link { border-color: var(--rc-line); color: var(--rc-navy); border-radius: 999px; }
header.header .toolbar .nav-link:hover { background: var(--rc-blue-50); color: var(--rc-navy); }
header.header .toolbar .nav-link .badge { background: var(--rc-accent); color: var(--rc-navy-900); opacity: 1; }
header.header .main-navbar-wrapper .navbar-collapse { padding: .25rem 0 .5rem; }
header.header .navbar a { color: var(--rc-ink); }
header.header .main-navbar-wrapper .navbar-nav > li > a {
    font-weight: 500; font-size: 14.5px; padding: .55rem .9rem !important; border-radius: 8px; display: inline-block;
}
header.header .main-navbar-wrapper .navbar-nav > li > a:hover,
header.header .main-navbar-wrapper .navbar-nav > li.active > a {
    background: var(--rc-blue-50); color: var(--rc-blue); text-decoration: none;
}
header.header .dropdown-menu {
    border: 1px solid var(--rc-line); border-radius: 10px; box-shadow: 0 12px 32px rgba(15, 23, 42, .12); padding: 6px;
}
header.header .dropdown-menu .dropdown-item { border-radius: 6px; }
header.header .dropdown-menu a.dropdown-item { padding: 6px 10px !important; font-size: 14px; }
header.header .dropdown-item:hover, header.header .dropdown-item:focus { background: var(--rc-blue-50); }
header.header .dropdown-item.active, header.header .dropdown-item:active { background-color: var(--rc-blue-50); }

.master-breadcrumb { background: #fff; border-bottom: 1px solid var(--rc-line); }
.master-breadcrumb .breadcrumb { background: transparent; font-size: .85rem; }
.master-breadcrumb .breadcrumb a { color: var(--rc-muted); }

#main-body { padding: 36px 0 56px; }
.rc-page-homepage #main-body { padding-top: 0; }

/* ---------- Buttons ---------- */
.btn-rc-accent {
    background: var(--rc-accent); border-color: var(--rc-accent); color: var(--rc-navy-900); font-weight: 600;
}
.btn-rc-accent:hover, .btn-rc-accent:focus { background: var(--rc-accent-dark); border-color: var(--rc-accent-dark); color: var(--rc-navy-900); }
.btn-rc-ghost { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .35); color: #fff; }
.btn-rc-ghost:hover, .btn-rc-ghost:focus { background: rgba(255, 255, 255, .2); color: #fff; }

/* ---------- Hero ---------- */
.rc-hero {
    position: relative;
    color: #fff;
    padding: 72px 0 84px;
    background:
        radial-gradient(900px 400px at 85% -10%, rgba(59, 130, 246, .35), transparent 60%),
        radial-gradient(600px 300px at -10% 110%, rgba(245, 165, 36, .18), transparent 60%),
        linear-gradient(160deg, var(--rc-navy) 0%, var(--rc-navy-900) 100%);
    overflow: hidden;
}
.rc-hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07;
    background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
            mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.rc-hero .container { position: relative; z-index: 1; }
.rc-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 500;
    padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
}
.rc-eyebrow .rc-ic { color: var(--rc-accent); }
.rc-hero-title { color: #fff !important; font-size: 2.6rem; line-height: 1.15; font-weight: 700 !important; margin: 18px 0 14px; max-width: 640px; }
.rc-hero-lead { font-size: 1.05rem; color: rgba(255, 255, 255, .8); max-width: 600px; margin-bottom: 28px; }

.rc-domain-form { max-width: 640px; }
.rc-domain-field {
    display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 14px; padding: 6px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
}
.rc-domain-icon { color: var(--rc-muted); padding-left: 12px; font-size: 1.1rem; }
.rc-domain-field .form-control { border: 0; box-shadow: none !important; height: 48px; font-size: 1rem; color: var(--rc-ink); background: transparent; }
.rc-domain-actions { display: flex; gap: 6px; flex-shrink: 0; }
.rc-domain-actions .btn { height: 48px; padding: 0 22px; border-radius: 10px; }
.rc-domain-actions .btn-rc-ghost { background: var(--rc-blue-50); color: var(--rc-blue); border-color: transparent; }
.rc-domain-actions .btn-rc-ghost:hover { background: #dbe6f7; color: var(--rc-navy); }
.rc-domain-form .captcha-container, .rc-domain-form #default-captcha-domainchecker { color: #fff; margin-top: 12px; }
.rc-tld-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.rc-tld-chip {
    font-size: .8rem; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .15); color: rgba(255, 255, 255, .85);
}
.rc-tld-chip strong { color: #fff; margin-right: 4px; }
.rc-tld-link { font-size: .85rem; color: var(--rc-accent); margin-left: 4px; }
.rc-tld-link:hover { color: #ffc35c; }

.rc-hero-panel {
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px;
    padding: 18px; backdrop-filter: blur(6px); box-shadow: 0 30px 60px rgba(0, 0, 0, .25);
}
.rc-hero-panel-head { display: flex; align-items: center; gap: 6px; margin-bottom: 18px; }
.rc-hero-panel-head > span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.rc-hero-url {
    flex: 1; margin-left: 10px; font-size: .8rem; background: rgba(0, 0, 0, .25); border-radius: 8px; padding: 6px 10px; color: rgba(255,255,255,.85);
}
.rc-hero-url .rc-ic { color: #4ade80; margin-right: 6px; }
.rc-hero-checks { list-style: none; margin: 0; padding: 0; }
.rc-hero-checks li {
    display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 10px; font-weight: 500;
    background: rgba(255, 255, 255, .05); margin-bottom: 8px;
}
.rc-hero-checks li:last-child { margin-bottom: 0; }
.rc-hero-checks .rc-ic { color: #4ade80; }

/* ---------- Sections ---------- */
.rc-section { padding: 64px 0; }
.rc-section-head { max-width: 680px; margin: 0 auto 36px; }
.rc-section-head h2 { font-size: 1.9rem; margin: 8px 0 10px; }
.rc-section-head p { color: var(--rc-muted); margin: 0; }
.rc-kicker {
    display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--rc-blue);
}
.rc-kicker-light { color: var(--rc-accent); }

.rc-bleed { width: 100vw; position: relative; left: 50%; margin-left: -50vw; }
.rc-page-homepage { overflow-x: hidden; }
.rc-band-light { background: #fff; border-top: 1px solid var(--rc-line); border-bottom: 1px solid var(--rc-line); }
.rc-band-dark { background: linear-gradient(120deg, var(--rc-navy) 0%, var(--rc-blue) 100%); color: rgba(255, 255, 255, .85); }
.rc-band-dark h2 { color: #fff !important; font-size: 1.9rem; margin: 8px 0 10px; }
.rc-band-dark p { margin: 0; max-width: 640px; }
.rc-band-dark .rc-section { padding-top: 52px; padding-bottom: 52px; }
.rc-bleed > .container.rc-section { padding-left: 15px; padding-right: 15px; }

.rc-card-grid > div { margin-bottom: 24px; }
.rc-card {
    background: #fff; border: 1px solid var(--rc-line); border-radius: var(--rc-radius); padding: 28px;
    box-shadow: var(--rc-shadow); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease;
}
.rc-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(15, 23, 42, .04), 0 16px 36px rgba(15, 23, 42, .10); }
.rc-card h3 { font-size: 1.15rem; margin: 0 0 8px; }
.rc-card p { color: var(--rc-muted); font-size: .92rem; }
.rc-card-icon .rc-ic { width: 24px; height: 24px; }
.rc-card-icon {
    width: 48px; height: 48px; border-radius: 12px; background: var(--rc-blue-50); color: var(--rc-blue);
    display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 18px;
}

.rc-feature { padding: 22px 8px 22px 0; }
.rc-feature .rc-ic { font-size: 1.6rem; color: var(--rc-blue); margin-bottom: 14px; display: block; }
.rc-feature h3 { font-size: 1.05rem; margin-bottom: 6px; }
.rc-feature p { color: var(--rc-muted); font-size: .92rem; margin: 0; }

.rc-quick-links > div { margin-bottom: 16px; }
.rc-quick {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center;
    background: #fff; border: 1px solid var(--rc-line); border-radius: var(--rc-radius); padding: 26px 12px; height: 100%;
    color: var(--rc-ink); font-weight: 500; transition: border-color .2s, box-shadow .2s, color .2s;
}
.rc-quick .rc-ic { font-size: 1.7rem; color: var(--rc-blue); }
.rc-quick:hover { text-decoration: none; border-color: var(--rc-blue); color: var(--rc-blue); box-shadow: var(--rc-shadow); }

.rc-news { padding: 24px; margin-bottom: 24px; }
.rc-news-date { font-size: .8rem; color: var(--rc-muted); margin-bottom: 8px; display: block; }
.rc-news h3 a { color: var(--rc-ink); }
.rc-link { font-weight: 500; }

.rc-contact-band {
    background: #fff; border: 1px solid var(--rc-line); border-radius: 18px; padding: 36px; box-shadow: var(--rc-shadow);
}
.rc-contact-band h2 { font-size: 1.5rem; margin-bottom: 6px; }
.rc-contact-band p { color: var(--rc-muted); }
.rc-contact-items { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.rc-contact-items a {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px;
    background: var(--rc-blue-50); color: var(--rc-navy); font-weight: 500;
}
.rc-contact-items a:hover { background: var(--rc-navy); color: #fff; text-decoration: none; }

/* ---------- Legal pages ---------- */
.rc-legal-head { margin-bottom: 28px; }
.rc-legal-head h1 { font-size: 2.1rem; margin: 6px 0 8px; }
.rc-legal-meta { color: var(--rc-muted); font-size: .9rem; margin: 0; }
.rc-legal-meta .rc-ic { margin-right: 6px; }
.rc-legal-toc {
    position: sticky; top: 24px; background: #fff; border: 1px solid var(--rc-line); border-radius: var(--rc-radius); padding: 18px;
}
.rc-legal-toc-title { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--rc-muted); margin-bottom: 10px; }
.rc-legal-toc a {
    display: block; font-size: .88rem; color: var(--rc-text); padding: 6px 10px; border-left: 2px solid var(--rc-line); margin-left: 2px;
}
.rc-legal-toc a:hover { color: var(--rc-blue); border-left-color: var(--rc-blue); text-decoration: none; background: var(--rc-blue-50); }
.rc-legal-body {
    background: #fff; border: 1px solid var(--rc-line); border-radius: var(--rc-radius); padding: 40px 44px; box-shadow: var(--rc-shadow);
    font-size: .95rem; line-height: 1.75;
}
.rc-legal-body section + section { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--rc-line); }
.rc-legal-body section { scroll-margin-top: 24px; }
.rc-legal-body h2 { font-size: 1.25rem; margin-bottom: 14px; }
.rc-legal-body ol { padding-left: 1.3rem; }
.rc-legal-body ol li { margin-bottom: 6px; }
.rc-legal-emphasis { font-size: .86rem; letter-spacing: .01em; color: var(--rc-ink); background: var(--rc-bg); border-left: 3px solid var(--rc-blue); padding: 12px 16px; border-radius: 0 8px 8px 0; }
.rc-legal-address { background: var(--rc-bg); border-radius: 10px; padding: 18px 20px; line-height: 1.8; margin: 0; }
.rc-legal-help {
    display: flex; gap: 14px; align-items: center; margin-top: 18px; background: var(--rc-blue-50); border-radius: var(--rc-radius); padding: 18px 22px;
}
.rc-legal-help .rc-ic { font-size: 1.5rem; color: var(--rc-blue); }
.rc-legal-help strong { display: block; color: var(--rc-ink); }

/* ---------- Footer ---------- */
footer.footer.rc-footer {
    background: var(--rc-navy-900); color: rgba(255, 255, 255, .7); padding: 64px 0 28px; font-size: .9rem;
}
.rc-footer-logo img { height: 34px; width: auto; margin-bottom: 18px; }
.rc-footer-about { max-width: 340px; line-height: 1.7; }
.rc-footer-title { color: #fff !important; font-size: .8rem !important; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
footer.footer.rc-footer .nav-link { color: rgba(255, 255, 255, .7); padding: 5px 0; }
footer.footer.rc-footer .nav-link:hover { color: #fff; }
footer.footer.rc-footer .btn-icon {
    width: 2.2rem; height: 2.2rem; line-height: 2.2rem; border-radius: 50%; padding: 0; text-align: center;
    background: rgba(255, 255, 255, .08); color: #fff;
}
footer.footer.rc-footer .btn-icon:hover { background: var(--rc-accent); color: var(--rc-navy-900); }
.rc-footer-contact {
    display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 40px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .1); border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.rc-footer-contact a, .rc-footer-contact span { color: rgba(255, 255, 255, .75); }
.rc-footer-contact a:hover { color: #fff; text-decoration: none; }
.rc-footer-contact .rc-ic { color: var(--rc-accent); margin-right: 4px; }
.rc-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 22px; }
footer.footer.rc-footer .copyright { margin: 0; text-align: left; font-size: .82rem; }
.rc-footer-bottom-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .82rem; }
.rc-secure-pay .rc-ic { color: #4ade80; margin-right: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .rc-hero { padding: 48px 0 56px; }
    .rc-hero-title { font-size: 2rem; }
    .rc-contact-items { justify-content: flex-start; }
    .rc-legal-body { padding: 28px 22px; }
}
@media (max-width: 575.98px) {
    .rc-hero-title { font-size: 1.7rem; }
    .rc-domain-field { flex-wrap: wrap; }
    .rc-domain-field .form-control { flex: 1 1 70%; }
    .rc-domain-actions { width: 100%; }
    .rc-domain-actions .btn { flex: 1; }
    .rc-section { padding: 44px 0; }
    .rc-section-head h2, .rc-band-dark h2 { font-size: 1.5rem; }
    .rc-utility-list { gap: 14px; }
    header.header .rc-brandbar > .container { flex-wrap: nowrap; }
    header.header .logo-img { max-width: 150px; }
    header.header .toolbar .nav-item.ml-3 { margin-left: .5rem !important; }
}
@media (prefers-reduced-motion: reduce) {
    .rc-card, .rc-quick { transition: none; }
    .rc-card:hover { transform: none; }
}

/* =========================================================
   4. Client area: every page (cards, sidebar, tables, forms,
      auth pages, dashboard tiles, tickets, invoices, cart)
   ========================================================= */

/* Typography and links */
.rc-theme a { color: var(--rc-blue); }
.rc-theme a:hover { color: var(--rc-navy); }
.rc-theme .text-muted { color: var(--rc-muted) !important; }
.rc-theme .primary-content h1, .rc-theme .primary-content .h1 { font-size: 1.75rem; }
.rc-theme .primary-content h2, .rc-theme .primary-content .h2 { font-size: 1.4rem; }
.rc-theme .header-lined h1, .rc-theme .header-lined { border-bottom: 0; }
.rc-theme .header-lined h1 small, .rc-theme small { color: var(--rc-muted); }

/* Cards */
.rc-theme .primary-content .card { border-radius: var(--rc-radius); border: 1px solid var(--rc-line); box-shadow: var(--rc-shadow); }
.rc-theme .card-header {
    background: #fff; border-bottom: 1px solid var(--rc-line); padding: 14px 20px;
    border-top-left-radius: var(--rc-radius) !important; border-top-right-radius: var(--rc-radius) !important;
}
.rc-theme .card-header .card-title, .rc-theme .card-title { font-size: 1.05rem; font-weight: 600; color: var(--rc-ink); }
.rc-theme .card-footer { background: var(--rc-bg); border-top: 1px solid var(--rc-line); }
.rc-theme .card-accent-blue, .rc-theme .card-accent-midnight-blue { border-top: 3px solid var(--rc-blue) !important; }

/* Sidebar */
.rc-theme .sidebar .card-sidebar { border-radius: var(--rc-radius); border: 1px solid var(--rc-line); box-shadow: var(--rc-shadow); overflow: hidden; }
.rc-theme .sidebar .card-sidebar .card-header { background: #fff; padding: 12px 16px; }
.rc-theme .sidebar .card-sidebar .card-title { font-size: .9rem; text-transform: none; }
.rc-theme .sidebar .card-sidebar .card-title i:first-child { color: var(--rc-blue); }
.rc-theme .sidebar .list-group-item {
    border-color: var(--rc-line); color: var(--rc-text); font-size: .9rem; padding: 10px 16px; border-left: 3px solid transparent;
}
.rc-theme .sidebar .list-group-item:hover { background: var(--rc-blue-50); color: var(--rc-navy); }
.rc-theme .sidebar .list-group-item.active, .rc-theme .sidebar .list-group-item.active:hover {
    background: var(--rc-blue-50); color: var(--rc-blue); border-color: var(--rc-line); border-left-color: var(--rc-blue); font-weight: 600;
}
.rc-theme .sidebar .list-group-item .badge { background: var(--rc-blue-50); color: var(--rc-blue); border-radius: 999px; font-weight: 600; }
.rc-theme .sidebar .list-group-item.active .badge { background: var(--rc-blue); color: #fff; }

/* Buttons */
.rc-theme .btn-primary { background: var(--rc-blue); border-color: var(--rc-blue); }
.rc-theme .btn-primary:hover, .rc-theme .btn-primary:focus { background: var(--rc-navy); border-color: var(--rc-navy); }
.rc-theme .btn-default, .rc-theme .btn-light {
    background: #fff; border: 1px solid var(--rc-line); color: var(--rc-ink);
}
.rc-theme .btn-default:hover, .rc-theme .btn-light:hover { background: var(--rc-bg); border-color: #cbd5e1; color: var(--rc-ink); }
.rc-theme .btn-outline-primary { color: var(--rc-blue); border-color: var(--rc-blue); }
.rc-theme .btn-outline-primary:hover { background: var(--rc-blue); color: #fff; }
.rc-theme .btn-success { background: #16a34a; border-color: #16a34a; }
.rc-theme .btn-success:hover { background: #15803d; border-color: #15803d; }
.rc-theme .btn-lg { padding: .7rem 1.4rem; border-radius: 10px; }

/* Forms */
.rc-theme .form-control, .rc-theme .custom-select {
    border: 1px solid #d5dce6; border-radius: 8px; color: var(--rc-ink); min-height: 42px; box-shadow: none;
}
.rc-theme textarea.form-control { min-height: 120px; }
.rc-theme .form-control:focus, .rc-theme .custom-select:focus {
    border-color: var(--rc-blue); box-shadow: 0 0 0 3px rgba(11, 61, 145, .15);
}
.rc-theme label, .rc-theme .form-control-label { font-weight: 500; color: var(--rc-ink); font-size: .9rem; }
.rc-theme .input-group-text { background: var(--rc-bg); border-color: #d5dce6; color: var(--rc-muted); }
.rc-theme .input-group-merge .input-group-text { border-radius: 8px 0 0 8px; }
.rc-theme .input-group > .form-control:not(:first-child) { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.rc-theme .input-group > .form-control:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.rc-theme .prepend-icon .field-icon { color: var(--rc-muted); }
.rc-theme .custom-file-label { border-radius: 8px; border-color: #d5dce6; min-height: 42px; }

/* Alerts */
.rc-theme .alert { border-radius: 10px; border: 1px solid transparent; }
.rc-theme .alert-info { background: #eff6ff; border-color: #bfdbfe; color: #1e3a8a; }
.rc-theme .alert-success { background: #f0fdf4; border-color: #bbf7d0; color: #14532d; }
.rc-theme .alert-warning { background: #fffbeb; border-color: #fde68a; color: #78350f; }
.rc-theme .alert-danger { background: #fef2f2; border-color: #fecaca; color: #7f1d1d; }

/* Tables (DataTables lists: services, domains, invoices, tickets) */
.rc-theme .table-container, .rc-theme .dataTables_wrapper {
    background: #fff; border: 1px solid var(--rc-line); border-radius: var(--rc-radius); box-shadow: var(--rc-shadow); padding: 14px;
}
.rc-theme .table { color: var(--rc-text); }
.rc-theme .table thead th, .rc-theme .table-list thead th {
    background: var(--rc-bg); color: var(--rc-muted); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
    border-bottom: 1px solid var(--rc-line) !important; border-top: 0;
}
.rc-theme .table td { border-top: 1px solid var(--rc-line); vertical-align: middle; }
.rc-theme .table-list > tbody > tr > td { background: #fff; }
.rc-theme .table-list > tbody > tr:hover > td { background: var(--rc-blue-50); }
.rc-theme .dataTables_wrapper .dataTables_filter input, .rc-theme .dataTables_wrapper .dataTables_length select {
    border: 1px solid #d5dce6; border-radius: 8px; padding: 4px 10px;
}
.rc-theme .pagination .page-link { border-color: var(--rc-line); color: var(--rc-blue); }
.rc-theme .pagination .page-item.active .page-link { background: var(--rc-blue); border-color: var(--rc-blue); color: #fff; }
.rc-theme .pagination .page-item:first-child .page-link { border-radius: 8px 0 0 8px; }
.rc-theme .pagination .page-item:last-child .page-link { border-radius: 0 8px 8px 0; }

/* Status labels */
.rc-theme .label, .rc-theme .status { border-radius: 999px; padding: 4px 10px; font-weight: 600; font-size: .72rem; letter-spacing: .02em; }
.rc-theme .badge { border-radius: 999px; font-weight: 600; }

/* Dashboard tiles (clientareahome) */
.rc-theme .tiles { background: transparent; }
.rc-theme .tiles .row.no-gutters { margin: 0 -8px; }
.rc-theme .tiles .row.no-gutters > div { padding: 0 8px 16px; }
.rc-theme .tiles .tile {
    background: #fff; border: 1px solid var(--rc-line) !important; border-radius: var(--rc-radius); box-shadow: var(--rc-shadow);
    padding: 22px 22px 18px; transition: transform .2s, box-shadow .2s; overflow: hidden;
}
.rc-theme .tiles .tile:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(15, 23, 42, .10); background: #fff; }
.rc-theme .tiles .tile i { color: var(--rc-blue-50) !important; font-size: 3.2em; opacity: 1; }
.rc-theme .tiles .tile:hover i { color: #dbe6f7 !important; }
.rc-theme .tiles .tile .stat { color: var(--rc-navy); font-weight: 700; font-size: 2.2em; }
.rc-theme .tiles .tile .title { color: var(--rc-muted); font-weight: 500; text-transform: none; font-size: .9rem; }
.rc-theme .tiles .tile .highlight { height: 3px; }
.rc-theme .bg-color-blue { background-color: var(--rc-blue) !important; }
.rc-theme .bg-color-green { background-color: #16a34a !important; }
.rc-theme .bg-color-red { background-color: #dc2626 !important; }
.rc-theme .bg-color-gold { background-color: var(--rc-accent) !important; }

/* Auth pages: login, register, password reset, 2FA */
.rc-page-login #main-body, .rc-page-password-reset-container #main-body,
.rc-page-clientregister #main-body, .rc-page-logintwofa #main-body, .rc-page-two-factor-challenge #main-body, .rc-page-logout #main-body {
    background:
        radial-gradient(700px 300px at 50% 0%, rgba(11, 61, 145, .10), transparent 70%),
        var(--rc-bg);
    padding: 48px 0 72px;
}
.rc-theme .login-form .card, .rc-theme .mw-540 {
    border-radius: 16px !important; border: 1px solid var(--rc-line); box-shadow: 0 2px 4px rgba(15,23,42,.04), 0 24px 48px rgba(15,23,42,.10) !important;
}
.rc-theme .login-form .card { border-top: 4px solid var(--rc-blue) !important; }
.rc-theme .login-form .h3 { font-size: 1.5rem; font-weight: 700; color: var(--rc-ink); }
.rc-theme .login-form .card-footer { border-radius: 0 0 16px 16px; }
.rc-theme .login-form::after {
    content: "Secure login protected by SSL"; font-family: var(--rc-font); display: block; text-align: center;
    font-size: .8rem; color: var(--rc-muted); margin-top: 14px;
}
.rc-page-clientregister .primary-content .card { border-top: 3px solid var(--rc-blue) !important; }
.rc-page-clientregister .sub-heading span, .rc-theme .sub-heading span {
    background: var(--rc-bg); color: var(--rc-blue); font-weight: 600; padding: 0 12px;
}

/* Tickets */
.rc-theme .ticket-reply { border-radius: var(--rc-radius); border: 1px solid var(--rc-line); }
.rc-theme .ticket-reply.staff { border-left: 3px solid var(--rc-blue); }
.rc-theme .ticket-reply .posted-by { background: var(--rc-bg); }

/* Knowledgebase and announcements */
.rc-theme .kb-search .form-control, .rc-theme .search-input { border-radius: 999px; }
.rc-theme .announcement-single, .rc-theme .kb-article-item { border-radius: var(--rc-radius); }

/* Modals and popovers */
.rc-theme .modal-content { border: 0; border-radius: 14px; box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.rc-theme .modal-header { border-bottom: 1px solid var(--rc-line); }
.rc-theme .modal-footer { border-top: 1px solid var(--rc-line); }
.rc-theme .modal-localisation .modal-content { background: var(--rc-navy); }
.rc-theme .popover { border-radius: 10px; border-color: var(--rc-line); box-shadow: 0 12px 32px rgba(15, 23, 42, .12); }

/* Standard cart (orderforms/standard_cart) */
.rc-theme #order-standard_cart .header-lined h1 { font-size: 1.75rem; color: var(--rc-ink); }
.rc-theme #order-standard_cart .products .product {
    background: #fff; border: 1px solid var(--rc-line); border-radius: var(--rc-radius); box-shadow: var(--rc-shadow); overflow: hidden;
}
.rc-theme #order-standard_cart .products .product header {
    background: var(--rc-navy); color: #fff; border-radius: 0; padding: 14px 18px;
}
.rc-theme #order-standard_cart .products .product header span { color: #fff; font-weight: 600; }
.rc-theme #order-standard_cart .products .product div.product-pricing span.price { color: var(--rc-navy); font-weight: 700; }
.rc-theme #order-standard_cart .products .product footer { background: transparent; }
.rc-theme #order-standard_cart .btn-order-now { background: var(--rc-accent); border-color: var(--rc-accent); color: var(--rc-navy-900); font-weight: 600; border-radius: 8px; }
.rc-theme #order-standard_cart .btn-order-now:hover { background: var(--rc-accent-dark); border-color: var(--rc-accent-dark); }
.rc-theme #order-standard_cart .view-cart-items-header { background: var(--rc-navy); border-radius: 10px 10px 0 0; }
.rc-theme #order-standard_cart .view-cart-items { border-color: var(--rc-line); }
.rc-theme #order-standard_cart .order-summary { background: var(--rc-navy); border-radius: var(--rc-radius); border: 0; }
.rc-theme #order-standard_cart .order-summary h2 { color: #fff; }
.rc-theme #order-standard_cart .summary-container { border-radius: 0 0 var(--rc-radius) var(--rc-radius); }
.rc-theme #order-standard_cart .order-summary .total-due-today .amt { color: var(--rc-navy); }
.rc-theme #order-standard_cart .btn-checkout { background: #16a34a; border-color: #16a34a; border-radius: 10px; font-weight: 600; }
.rc-theme #order-standard_cart .btn-checkout:hover { background: #15803d; border-color: #15803d; }
.rc-theme #order-standard_cart .domain-checker-container {
    background: linear-gradient(160deg, var(--rc-navy) 0%, var(--rc-navy-900) 100%); border-radius: var(--rc-radius);
}
.rc-theme #order-standard_cart .domain-checker-bg { background-image: none; }
.rc-theme #order-standard_cart .sub-heading { border-top-color: var(--rc-line); }
.rc-theme #order-standard_cart .sub-heading span { background: var(--rc-bg); color: var(--rc-blue); }
.rc-theme #order-standard_cart .panel, .rc-theme #order-standard_cart .card { border-radius: var(--rc-radius); }
.rc-theme #order-standard_cart .secure-warning { border-radius: 10px; }

/* Invoice list amounts, misc */
.rc-theme .list-group-item.active { background: var(--rc-blue); border-color: var(--rc-blue); }
.rc-theme .nav-tabs .nav-link.active { color: var(--rc-blue); border-bottom-color: #fff; font-weight: 600; }
.rc-theme .nav-tabs .nav-link { color: var(--rc-muted); }
.rc-theme .progress-bar { background: var(--rc-blue); }
.rc-theme hr { border-top-color: var(--rc-line); }

/* Keep light links on dark areas */
.rc-theme .rc-utilitybar a, .rc-theme .rc-utilitybar a .rc-ic { color: rgba(255, 255, 255, .8); }
.rc-theme .rc-utilitybar a:hover { color: #fff; }
.rc-theme footer.rc-footer a { color: rgba(255, 255, 255, .75); }
.rc-theme footer.rc-footer a:hover { color: #fff; }
.rc-theme footer.rc-footer .rc-footer-contact .rc-ic { color: var(--rc-accent); }
.rc-theme .rc-hero a.rc-tld-link { color: var(--rc-accent); }
.rc-theme .rc-band-dark a.btn-rc-accent, .rc-theme .rc-hero .btn-rc-accent { color: var(--rc-navy-900); }
.rc-theme .rc-contact-items a { color: var(--rc-navy); }
.rc-theme .rc-contact-items a:hover { color: #fff; }
.rc-theme .rc-domain-field .form-control { border: 0; box-shadow: none; min-height: 48px; }

/* Inline SVG icons */
.rc-ic {
    width: 1.1em; height: 1.1em; display: inline-block; vertical-align: -.18em; flex-shrink: 0;
    fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.rc-feature .rc-ic { width: 30px; height: 30px; stroke-width: 1.6; }
.rc-quick .rc-ic { width: 30px; height: 30px; stroke-width: 1.6; }
.rc-legal-help .rc-ic { width: 28px; height: 28px; }
.rc-hero-checks .rc-ic { width: 20px; height: 20px; }
.rc-domain-icon .rc-ic, .rc-domain-icon.rc-ic { width: 20px; height: 20px; }
.rc-social .rc-ic { width: 16px; height: 16px; vertical-align: -.2em; }
.rc-social .rc-ic { fill: currentColor; stroke: none; }
.rc-tld-link .rc-ic, .rc-link .rc-ic, .btn .rc-ic { width: 1em; height: 1em; }
header.header .toolbar .rc-ic { width: 18px; height: 18px; vertical-align: -.25em; }
header.header .search .btn .rc-ic { width: 16px; height: 16px; }
.rc-ic.rc-domain-icon { padding: 0; margin-left: 12px; width: 20px; height: 20px; color: var(--rc-muted); }
