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

/* Prime Pulse Web Design Styles */

/* Smooth scrolling & anchor offset for fixed/sticky navbar */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* Spacing reductions for tighter layout */
section.py-5, section.py-lg-6 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

section .container.py-4, section .container.py-lg-5 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

section .mb-5 {
    margin-bottom: 1.5rem !important;
}

section .mb-4 {
    margin-bottom: 1rem !important;
}

.solis-card-tighter {
    padding: 1.25rem !important;
}

.solis-card h4 {
    margin-bottom: 0.4rem !important;
}

.solis-card p {
    margin-bottom: 0.85rem !important;
}

.cursor-pointer {
    cursor: pointer;
}

/* Quote Card Hover Effects */
.card.cursor-pointer {
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.card.cursor-pointer:hover {
    -webkit-transform: translateY(-2px);
            transform: translateY(-2px);
    -webkit-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.score-metric-card {
    cursor: pointer;
    -webkit-transition: -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
    transition: -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    transition: transform 0.2s ease, box-shadow 0.2s ease, -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
}
.score-metric-card:hover {
    -webkit-transform: translateY(-3px);
            transform: translateY(-3px);
    -webkit-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.18) !important;
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.18) !important;
}

.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1050;
    width: 3rem;
    height: 3rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    border: none;
    border-radius: 50%;
    background-color: var(--bs-primary, #1274e6);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateY(10px);
            transform: translateY(10px);
    -webkit-transition: opacity 0.25s ease, visibility 0.25s ease, -webkit-transform 0.25s ease;
    transition: opacity 0.25s ease, visibility 0.25s ease, -webkit-transform 0.25s ease;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, -webkit-transform 0.25s ease;
    -webkit-box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.2);
            box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.2);
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateY(0);
            transform: translateY(0);
}
.back-to-top:hover {
    background-color: #0952a5;
    color: #fff;
}

/* --- Solis Web Design Theme Styling --- */
:root {
    --solis-primary: #1274e6;
    --solis-primary-dark: #0952a5;
    --solis-accent: #ff6b35;
    --solis-dark: #0f172a;
    --solis-darker: #ffffff;
    --solis-surface: #1e293b;
    --solis-surface-light: #334155;
    --solis-text-muted: #94a3b8;
    --solis-ai: #8b5cf6;
    --solis-gradient-blue: linear-gradient(135deg, #1274e6 0%, #00d2ff 100%);
    --solis-gradient-dark: linear-gradient(180deg, #0f172a 0%, #090d16 100%);
    --solis-gradient-hero: radial-gradient(circle at 80% 20%, rgba(18, 116, 230, 0.18) 0%, transparent 60%), radial-gradient(circle at 20% 80%, rgba(0, 210, 255, 0.12) 0%, transparent 60%);
}

/* Theme Mode Layouts */
[data-bs-theme="light"] body,
body[data-bs-theme="light"],
body.bg-white {
    background-color: #ffffff !important;
    color: #1e293b !important;
}

[data-bs-theme="light"] main:not([data-bs-theme="dark"]) {
    background-color: #ffffff !important;
    color: #1e293b !important;
}

[data-bs-theme="light"] main:not([data-bs-theme="dark"]) .hero-gradient-overlay {
    background-image: radial-gradient(circle at 80% 20%, rgba(18, 116, 230, 0.06) 0%, transparent 60%), radial-gradient(circle at 20% 80%, rgba(0, 210, 255, 0.04) 0%, transparent 60%) !important;
    background-color: #f8fafc !important;
}

/* Light Mode Theme Adjustments (Body / Content) */
[data-bs-theme="light"] {
    --solis-dark: #f8fafc;
    --solis-darker: #ffffff;
    --solis-surface: #ffffff;
    --solis-surface-light: #f1f5f9;
    --solis-text-muted: #64748b;
    --solis-gradient-dark: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    --solis-gradient-hero: radial-gradient(circle at 80% 20%, rgba(18, 116, 230, 0.08) 0%, transparent 60%), radial-gradient(circle at 20% 80%, rgba(0, 210, 255, 0.06) 0%, transparent 60%);
}

[data-bs-theme="light"] main:not([data-bs-theme="dark"]) .text-white {
    color: #0f172a !important;
}

[data-bs-theme="light"] main:not([data-bs-theme="dark"]) .text-secondary {
    color: #64748b !important;
}

[data-bs-theme="light"] main:not([data-bs-theme="dark"]) .solis-card {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    -webkit-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

[data-bs-theme="light"] main:not([data-bs-theme="dark"]) .solis-card:hover {
    -webkit-box-shadow: 0 20px 40px rgba(18, 116, 230, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03) !important;
            box-shadow: 0 20px 40px rgba(18, 116, 230, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03) !important;
    border-color: rgba(18, 116, 230, 0.3) !important;
}

[data-bs-theme="light"] main:not([data-bs-theme="dark"]) .btn-solis-outline {
    color: var(--solis-primary) !important;
    border-color: rgba(18, 116, 230, 0.3) !important;
    background: rgba(18, 116, 230, 0.04) !important;
}

[data-bs-theme="light"] main:not([data-bs-theme="dark"]) .btn-solis-outline:hover {
    color: #ffffff !important;
    background: var(--solis-primary) !important;
    border-color: var(--solis-primary) !important;
}

/* Force dark styling on Header, Top Announcement Bar, Hero Slider, and Footer */
.hero-slider-section,
#heroSliderSection,
header,
.bg-solis-dark.border-bottom,
footer {
    background-color: #0f172a !important;
}

/* ============================================================
   Audit Report Page — Larger Score Circles (light mode)
   Scoped to the public audit report so other pages keep their size.
   ============================================================ */
body#public_audit_report main[data-bs-theme="light"] .score-circle-wrapper {
    padding: 0 0.25rem;
}

body#public_audit_report main[data-bs-theme="light"] .score-circle {
    width: 104px;
    height: 104px;
    -webkit-box-shadow: 0 0.6rem 1.5rem -0.4rem rgba(15, 23, 42, 0.25) !important;
            box-shadow: 0 0.6rem 1.5rem -0.4rem rgba(15, 23, 42, 0.25) !important;
}

body#public_audit_report main[data-bs-theme="light"] .score-circle::before {
    inset: 8px;
}

body#public_audit_report main[data-bs-theme="light"] .score-circle-lg {
    width: 165px;
    height: 165px;
    -webkit-box-shadow: 0 0.9rem 2.2rem -0.5rem rgba(15, 23, 42, 0.3) !important;
            box-shadow: 0 0.9rem 2.2rem -0.5rem rgba(15, 23, 42, 0.3) !important;
}

body#public_audit_report main[data-bs-theme="light"] .score-circle-lg::before {
    inset: 13px;
}

/* Slightly increase the numbers inside the larger dials */
body#public_audit_report main[data-bs-theme="light"] .score-circle .score-circle-val {
    font-size: 1.75rem;
}

body#public_audit_report main[data-bs-theme="light"] .score-circle-lg .score-circle-val {
    font-size: 2.9rem;
}

body#public_audit_report main[data-bs-theme="light"] .score-circle-lg .score-circle-max {
    font-size: 0.95rem;
}

/* ============================================================
   Audit Report Page — Larger Score Circles (light mode)
   Scoped to the public audit report so other pages keep their size.
   ============================================================ */
body#public_audit_report main[data-bs-theme="light"] .score-circle {
    width: 104px;
    height: 104px;
    -webkit-box-shadow: 0 0.6rem 1.5rem -0.4rem rgba(15, 23, 42, 0.25) !important;
            box-shadow: 0 0.6rem 1.5rem -0.4rem rgba(15, 23, 42, 0.25) !important;
}

body#public_audit_report main[data-bs-theme="light"] .score-circle::before {
    inset: 8px;
}

body#public_audit_report main[data-bs-theme="light"] .score-circle-lg {
    width: 165px;
    height: 165px;
    -webkit-box-shadow: 0 0.9rem 2.2rem -0.5rem rgba(15, 23, 42, 0.3) !important;
            box-shadow: 0 0.9rem 2.2rem -0.5rem rgba(15, 23, 42, 0.3) !important;
}

body#public_audit_report main[data-bs-theme="light"] .score-circle-lg::before {
    inset: 13px;
}

/* Slightly increase the numbers inside the larger dials */
body#public_audit_report main[data-bs-theme="light"] .score-circle .score-circle-val {
    font-size: 1.75rem;
}

body#public_audit_report main[data-bs-theme="light"] .score-circle-lg .score-circle-val {
    font-size: 2.9rem;
}

body#public_audit_report main[data-bs-theme="light"] .score-circle-lg .score-circle-max {
    font-size: 0.95rem;
}


.hero-slide-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center;
       object-position: center;
}

.hero-slider-section .text-white,
header .text-white,
footer .text-white {
    color: #ffffff !important;
}

[data-bs-theme="light"] .bg-solis-darker {
    background-color: #ffffff !important;
}

[data-bs-theme="light"] .bg-solis-dark {
    background-color: #f8fafc !important;
}

[data-bs-theme="light"] .bg-solis-surface {
    background-color: #ffffff !important;
}

[data-bs-theme="light"] main:not([data-bs-theme="dark"]) .text-white:not([data-bs-theme="dark"] .text-white) {
    color: #0f172a !important;
}

[data-bs-theme="light"] .text-light {
    color: #1e293b !important;
}

[data-bs-theme="light"] main:not([data-bs-theme="dark"]) .text-secondary:not([data-bs-theme="dark"] .text-secondary) {
    color: #64748b !important;
}

[data-bs-theme="light"] .border-secondary {
    border-color: rgba(15, 23, 42, 0.12) !important;
}

[data-bs-theme="light"] main .solis-card .text-white {
    color: #0f172a !important;
}

/* Dark Theme Rules for Admin & Dark Pages */
[data-bs-theme="dark"] body,
body[data-bs-theme="dark"],
html[data-bs-theme="dark"] body {
    background-color: #0b1120 !important;
    color: #f1f5f9 !important;
}

[data-bs-theme="dark"] main {
    background-color: transparent !important;
    color: #f1f5f9 !important;
}

[data-bs-theme="dark"] .card {
    background-color: #1e293b;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-bs-theme="dark"] .card-header,
[data-bs-theme="dark"] .bg-body-tertiary {
    background-color: #0f172a !important;
}

[data-bs-theme="dark"] .bg-body,
[data-bs-theme="dark"] .bg-body-secondary {
    background-color: #1e293b !important;
}

[data-bs-theme="dark"] .table {
    --bs-table-bg: transparent;
    --bs-table-color: #f1f5f9;
    --bs-table-border-color: rgba(255, 255, 255, 0.08);
}

[data-bs-theme="dark"] .modal-content {
    background-color: #1e293b;
    border-color: rgba(255, 255, 255, 0.12);
    color: #f1f5f9;
}

[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select {
    background-color: #0f172a !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #f8fafc !important;
}

[data-bs-theme="dark"] .form-control:focus,
[data-bs-theme="dark"] .form-select:focus {
    background-color: #0f172a !important;
    border-color: #38bdf8 !important;
    color: #f8fafc !important;
    -webkit-box-shadow: 0 0 0 0.25rem rgba(56, 189, 248, 0.25) !important;
            box-shadow: 0 0 0 0.25rem rgba(56, 189, 248, 0.25) !important;
}

[data-bs-theme="dark"] .input-group-text {
    background-color: #1e293b;
    border-color: rgba(255, 255, 255, 0.15);
    color: #94a3b8;
}

[data-bs-theme="dark"] .border-secondary-subtle {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-bs-theme="dark"] .text-body {
    color: #f1f5f9 !important;
}

[data-bs-theme="dark"] .text-body-secondary {
    color: #94a3b8 !important;
}

/* Typography & Global */
.font-monospace-sm {
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
}

.text-gradient-primary {
    background: var(--solis-gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-solis-dark {
    background-color: var(--solis-dark) !important;
}

.bg-solis-darker {
    background-color: var(--solis-darker) !important;
}

.bg-solis-surface {
    background-color: var(--solis-surface) !important;
}

.hero-gradient-overlay {
    background-image: var(--solis-gradient-hero);
}

/* Buttons & Interactive Elements */
.btn-solis-primary {
    background: var(--solis-gradient-blue);
    color: #ffffff;
    border: none;
    font-weight: 600;
    letter-spacing: 0.02em;
    -webkit-box-shadow: 0 4px 15px rgba(18, 116, 230, 0.35);
            box-shadow: 0 4px 15px rgba(18, 116, 230, 0.35);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.btn-solis-primary:hover,
.btn-solis-primary:focus {
    color: #ffffff;
    -webkit-transform: translateY(-2px);
            transform: translateY(-2px);
    -webkit-box-shadow: 0 8px 25px rgba(18, 116, 230, 0.5);
            box-shadow: 0 8px 25px rgba(18, 116, 230, 0.5);
}

.btn-solis-outline {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.btn-solis-outline:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    -webkit-transform: translateY(-2px);
            transform: translateY(-2px);
}

/* Feature Cards & Glassmorphism */
.solis-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
    padding: 1.25rem !important;
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-bs-theme="light"] .solis-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    -webkit-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

[data-bs-theme="light"] .solis-card:hover {
    -webkit-box-shadow: 0 20px 40px rgba(18, 116, 230, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03);
            box-shadow: 0 20px 40px rgba(18, 116, 230, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03);
    border-color: rgba(18, 116, 230, 0.3);
}

[data-bs-theme="light"] .btn-solis-outline {
    color: var(--solis-primary);
    border-color: rgba(18, 116, 230, 0.3);
    background: rgba(18, 116, 230, 0.04);
}

[data-bs-theme="light"] .btn-solis-outline:hover {
    color: #ffffff;
    background: var(--solis-primary);
    border-color: var(--solis-primary);
}
.solis-card:hover {
    -webkit-transform: translateY(-6px);
            transform: translateY(-6px);
    border-color: rgba(18, 116, 230, 0.4);
    -webkit-box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(18, 116, 230, 0.15);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(18, 116, 230, 0.15);
}

.solis-icon-box {
    width: 48px;
    height: 48px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    border-radius: 14px;
    font-size: 1.25rem;
    -ms-flex-negative: 0;
        flex-shrink: 0;
    background: rgba(18, 116, 230, 0.12);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.2);
    margin-bottom: 0.85rem !important;
}

.solis-icon-box-accent {
    background: rgba(255, 107, 53, 0.12);
    color: #ff8c5a;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

/* Process Steps */
.process-step-badge {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--solis-gradient-blue);
    color: #ffffff;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}

/* Portfolio Showcase Mockup */
.portfolio-card {
    border-radius: 1.25rem;
    overflow: hidden;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background-color: var(--solis-surface);
}

/* App Connect Repeater Transparent Display Helper */
.navbar-nav > [id^="repeat_"],
.navbar-nav > [dmx-bind\:repeat],
.navbar-nav > [is="dmx-repeat"],
.dropdown-menu > [id^="repeat_"] {
    display: contents !important;
}

/* Navbar Polish */
.navbar-brand {
    -webkit-transition: opacity 0.2s ease, -webkit-transform 0.2s ease;
    transition: opacity 0.2s ease, -webkit-transform 0.2s ease;
    transition: transform 0.2s ease, opacity 0.2s ease;
    transition: transform 0.2s ease, opacity 0.2s ease, -webkit-transform 0.2s ease;
}

.navbar-brand:hover {
    opacity: 0.95;
}

.navbar-brand:hover .solis-icon-box {
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
    border-color: rgba(56, 189, 248, 0.4);
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    padding: 0.45rem 0.65rem;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25) !important;
}

.navbar-toggler:focus {
    -webkit-box-shadow: 0 0 0 0.25rem rgba(18, 116, 230, 0.25);
            box-shadow: 0 0 0 0.25rem rgba(18, 116, 230, 0.25);
}

.navbar-nav .nav-link {
    font-family: 'Roboto Condensed', 'Barlow Semi Condensed', 'Arial Narrow', sans-serif-condensed, sans-serif;
    color: #94a3b8;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    padding: 0.5rem 0.65rem !important;
    white-space: nowrap;
    border-radius: 0.5rem;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 0.35rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.06);
}

.navbar-nav .nav-link.active {
    color: #38bdf8 !important;
    font-weight: 600;
}

.dropdown-menu-dark {
    background: rgba(30, 41, 59, 0.96) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.75rem;
    padding: 0.5rem;
    -webkit-box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
}

/* Footer Typography & Hover Enhancements */
footer .hover-text-white {
    -webkit-transition: color 0.2s ease-in-out;
    transition: color 0.2s ease-in-out;
}

footer .hover-text-white:hover {
    color: #ffffff !important;
}

footer .tracking-wider {
    letter-spacing: 0.08em;
    font-size: 0.8rem;
}

.navbar-nav .dropdown-menu .dropdown-item {
    font-family: 'Roboto Condensed', 'Barlow Semi Condensed', 'Arial Narrow', sans-serif-condensed, sans-serif;
}

/* Full-Width Hero Slider Styles */
.hero-slider-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: var(--solis-darker);
}

.hero-slide-item {
    min-height: 520px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.hero-slide-bg {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

@media (min-width: 992px) {
    .hero-slide-item {
        min-height: 600px;
    }
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: -webkit-gradient(linear, left top, right top, from(rgba(9, 13, 22, 0.65)), color-stop(50%, rgba(15, 23, 42, 0.40)), to(rgba(9, 13, 22, 0.20)));
    background: linear-gradient(90deg, rgba(9, 13, 22, 0.65) 0%, rgba(15, 23, 42, 0.40) 50%, rgba(9, 13, 22, 0.20) 100%);
    z-index: 1;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: 2px solid transparent;
    margin: 0 6px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    width: 32px;
    border-radius: 6px;
    background-color: #38bdf8;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.7;
    -webkit-transition: opacity 0.2s ease;
    transition: opacity 0.2s ease;
    z-index: 5;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(15, 23, 42, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 1rem;
        padding: 1.25rem;
        margin-top: 0.75rem;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        -webkit-box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
                box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
    }
    .navbar-nav .nav-link {
        padding: 0.65rem 1rem !important;
    }
}

.dropdown-menu-dark .dropdown-item {
    color: #cbd5e1;
}

.dropdown-menu-dark .dropdown-item:hover {
    background-color: rgba(18, 116, 230, 0.2);
    color: #ffffff;
}

/* Print Styling for Client Proposals */
@media print {
    body {
        background-color: #ffffff !important;
        color: #000000 !important;
    }

    .navbar,
    .sidebar,
    .btn,
    .modal-header .btn-close,
    .modal-footer,
    nav {
        display: none !important;
    }

    .modal {
        position: static !important;
        display: block !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .modal-dialog {
        max-width: 100% !important;
        margin: 0 !important;
    }

    .modal-content {
        border: none !important;
        -webkit-box-shadow: none !important;
                box-shadow: none !important;
        background-color: #ffffff !important;
        color: #000000 !important;
    }

    .modal-body {
        padding: 0 !important;
        background-color: #ffffff !important;
        color: #000000 !important;
    }

    .table-dark {
        background-color: #212529 !important;
        color: #ffffff !important;
    }

    .bg-body,
    .bg-body-tertiary {
        background-color: #f8f9fa !important;
        color: #212529 !important;
    }
}

/* --- Client Quote & Proposal Dark Theme Elements --- */
.proposal-card {
    background-color: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 1rem !important;
    -webkit-box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5) !important;
            box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5) !important;
}

.proposal-info-box {
    background: rgba(30, 41, 59, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 0.75rem !important;
}

.proposal-header-box {
    background: linear-gradient(135deg, rgba(18, 116, 230, 0.12) 0%, rgba(56, 189, 248, 0.06) 100%) !important;
    border: 1px solid rgba(56, 189, 248, 0.2) !important;
    border-radius: 0.75rem !important;
}

.proposal-section-title {
    color: #38bdf8 !important;
    letter-spacing: 0.05em;
}

.table-dark-custom {
    --bs-table-bg: transparent;
    --bs-table-border-color: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
}

.table-dark-custom th {
    background-color: rgba(30, 41, 59, 0.9) !important;
    color: #94a3b8 !important;
    font-weight: 600;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.table-dark-custom td {
    border-color: rgba(255, 255, 255, 0.06) !important;
}

.table-dark-custom .category-header td {
    background-color: rgba(30, 41, 59, 0.6) !important;
    color: #38bdf8 !important;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.table-dark-custom tfoot tr.table-summary td {
    background-color: rgba(30, 41, 59, 0.5) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.table-dark-custom th:not(.bg-dark),
.table-dark-custom td {
    background-color: transparent !important;
    color: #f1f5f9 !important;
}

.table-dark-custom thead th {
    background-color: rgba(15, 23, 42, 0.85) !important;
    color: #94a3b8 !important;
}

.table-dark-custom .category-header td {
    background-color: #0f172a !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #38bdf8 !important;
}

.table-dark-custom tfoot td {
    background-color: #0f172a !important;
    color: #f1f5f9 !important;
}

@media print {
    body {
        background-color: #ffffff !important;
        color: #000000 !important;
    }
    .proposal-card {
        background-color: #ffffff !important;
        color: #000000 !important;
        border: none !important;
        -webkit-box-shadow: none !important;
                box-shadow: none !important;
    }
}

/* Invoice Status Badges & Admin Invoice Table Styles */
.badge-invoice-status {
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
    font-weight: 600;
    border-radius: 50rem;
    text-transform: capitalize;
    letter-spacing: 0.02em;
}

.badge-invoice-draft {
    background-color: rgba(148, 163, 184, 0.15);
    color: #cbd5e1;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.badge-invoice-sent {
    background-color: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.badge-invoice-paid {
    background-color: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.35);
}

.badge-invoice-void {
    background-color: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

/* Responsive Navbar Spacing adjustments to prevent crunching */
@media (min-width: 992px) and (max-width: 1200px) {
    .navbar-nav .nav-link {
        font-size: 0.88rem !important;
        padding-left: 0.45rem !important;
        padding-right: 0.45rem !important;
    }
    .navbar .navbar-brand img {
        width: 190px !important;
    }
    .navbar .btn {
        padding-left: 0.65rem !important;
        padding-right: 0.65rem !important;
        font-size: 0.82rem !important;
    }
}

/* ============================================================
   Circular Score Dial / Pie Chart Components
   ============================================================ */
.score-circle-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.score-circle {
    position: relative;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    background: conic-gradient(var(--score-color, var(--bs-primary)) calc(var(--score-val, 0) * 1%), rgba(255, 255, 255, 0.08) 0);
    -webkit-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.score-circle::before {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background-color: var(--bs-body-bg, #1e293b);
    z-index: 1;
}

.score-circle-lg {

/* Turnstile captcha - clean, contained layout */
.turnstile-wrap {
    width: 100%;
    max-width: 300px;
}

.turnstile-wrap .cf-turnstile-container {
    display: block !important;
    width: 100% !important;
}

.turnstile-wrap .cf-turnstile-container iframe {
    width: 100% !important;
}
    width: 165px;
    height: 165px;
    -webkit-box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.score-circle-lg::before {
    inset: 13px;
}

.score-circle-content {
    position: relative;
    z-index: 2;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    text-align: center;
    line-height: 1;
}

.score-circle-val {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.score-circle-lg .score-circle-val {
    font-size: 2.9rem;
}

.score-circle-max {
    font-size: 0.65rem;
    opacity: 0.6;
    font-weight: 600;
    margin-top: 2px;
}

.score-circle-lg .score-circle-max {
    font-size: 0.95rem;
    margin-top: 4px;
}

.score-circle-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

/* ============================================================
   Admin Quote View — Proposal contrast & layout polish
   Scoped to the admin quote proposal page (quote-view.php)
   ============================================================ */

/* Improve the subtle feature/phase boxes so text stays readable
   against the dark card background (text-bg-primary forces white) */
#admin_quote_view .text-bg-primary.bg-opacity-10 {
    background-color: rgba(var(--bs-primary-rgb), 0.16) !important;
    border-color: rgba(var(--bs-primary-rgb), 0.35) !important;
}

#admin_quote_view .text-bg-primary.bg-opacity-10 .text-body-secondary {
    color: #cbd5e1 !important;
}

/* --- Client Portal: Solution & Intelligence Cards --- */

/* Request-a-Service link items: clear hover affordance */
.pp-portal-link {
    border-radius: 0.375rem;
    -webkit-transition: background-color 0.15s ease-in-out, margin 0.15s ease-in-out;
    transition: background-color 0.15s ease-in-out, margin 0.15s ease-in-out;
}

.pp-portal-link:hover,
.pp-portal-link:focus-visible {
    background-color: var(--bs-secondary-bg);
    text-decoration: none;
}

.pp-portal-link:hover .fa-chevron-right {
    -webkit-transform: translateX(2px);
            transform: translateX(2px);
}

.pp-portal-link .fa-chevron-right {
    -webkit-transition: -webkit-transform 0.15s ease-in-out;
            transition: -webkit-transform 0.15s ease-in-out;
            transition: transform 0.15s ease-in-out;
            transition: transform 0.15s ease-in-out, -webkit-transform 0.15s ease-in-out;
}

/* View-switcher tiles inside the portal cards */
.pp-portal .btn {
    white-space: normal;
}

.pp-portal .btn .badge {
    min-width: 1.6rem;
}

/* ============================================================
   Structured Step-by-Step & Action Plan List Formatting
   ============================================================ */
.step-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 0.75rem;
}

.step-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.step-item:hover {
    background: rgba(15, 23, 42, 0.75);
    border-color: rgba(56, 189, 248, 0.3);
    -webkit-transform: translateX(3px);
            transform: translateX(3px);
}

.step-badge {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1;
    -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    margin-top: 2px;
}

.step-badge-primary {
    background: linear-gradient(135deg, #0952a5, #1274e6);
    color: #ffffff;
}

.step-badge-success {
    background: linear-gradient(135deg, #15803d, #22c55e);
    color: #ffffff;
}

.step-badge-warning {
    background: linear-gradient(135deg, #b45309, #f59e0b);
    color: #ffffff;
}

.step-badge-info {
    background: linear-gradient(135deg, #0284c7, #38bdf8);
    color: #0f172a;
}

.step-content {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #e2e8f0;
}

.step-content strong {
    color: #ffffff;
}

.formatted-step-box {
    white-space: normal !important;
}

.bullet-checklist {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

/* ============================================================
   Diagnostic Section Readability Enhancements
   ============================================================ */
.diagnostic-card {
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 1rem !important;
    overflow: hidden;
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

.diagnostic-card:hover {
    border-color: rgba(56, 189, 248, 0.25) !important;
    -webkit-box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3) !important;
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3) !important;
}

.diagnostic-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 0.65rem;
}

.diagnostic-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0.9rem;
    background: rgba(15, 23, 42, 0.55);
    border-radius: 0.6rem;
    border-left: 3px solid rgba(56, 189, 248, 0.6);
    font-size: 0.88rem;
    line-height: 1.6;
    color: #e2e8f0;
    -webkit-transition: background-color 0.2s ease;
    transition: background-color 0.2s ease;
}

.diagnostic-item:hover {
    background: rgba(15, 23, 42, 0.85);
}

.diagnostic-item-primary {
    border-left-color: #3b82f6;
}

.diagnostic-item-secondary {
    border-left-color: #64748b;
}

.diagnostic-item-success {
    border-left-color: #22c55e;
}

.diagnostic-item-danger {
    border-left-color: #ef4444;
}

.diagnostic-item-warning {
    border-left-color: #f59e0b;
}

.diagnostic-item-info {
    border-left-color: #38bdf8;
}

.summary-prose {
    font-size: 0.95rem;
    line-height: 1.75;
    color: #cbd5e1;
}

/* Audit Report Card Body Text Spacing & Typography */
.card-body div[style*="white-space: pre-line;"],
.card-body .audit-pillar-content,
.card-body div[dmx-text*="readability_recommendations"],
.card-body div[dmx-text*="usability_recommendations"] {
    font-size: 0.925rem;
    line-height: 1.85 !important;
    letter-spacing: 0.015em;
    word-spacing: 0.06em;
    margin-bottom: 0.5rem;
}

.audit-pillar-card .card-body {
    padding: 1.35rem 1.4rem;
}

/* Competitive Overview & Market Position Card Styling */
.overview-card {
    background: -webkit-gradient(linear, left top, left bottom, from(#1e293b), to(rgba(30, 41, 59, 0.7))) !important;
    background: linear-gradient(180deg, #1e293b 0%, rgba(30, 41, 59, 0.7) 100%) !important;
    border: 1px solid rgba(56, 189, 248, 0.15) !important;
    border-radius: 1rem !important;
    position: relative;
    overflow: hidden;
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: -webkit-gradient(linear, left top, right top, from(#0952a5), color-stop(#38bdf8), to(#f59e0b));
    background: linear-gradient(90deg, #0952a5, #38bdf8, #f59e0b);
}

.overview-lead {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #f1f5f9;
    letter-spacing: 0.01em;
}

.overview-paragraph {
    font-size: 0.95rem;
    line-height: 1.75;
    color: #cbd5e1;
    margin-bottom: 1.1rem;
}

.overview-paragraph:last-child {
    margin-bottom: 0;
}

/* Free SEO & Speed Audit Form Field Styling */
#form_hero_seo_audit .input-group-text {
    background-color: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.16) !important;
    border-right: none !important;
    color: var(--solis-primary) !important;
}

#form_hero_seo_audit .form-control {
    background-color: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.16) !important;
    color: #0f172a !important;
}

#form_hero_seo_audit .input-group:focus-within .input-group-text,
#form_hero_seo_audit .input-group:focus-within .form-control {
    border-color: var(--solis-primary) !important;
}

#form_hero_seo_audit .form-control::-webkit-input-placeholder {
    color: #94a3b8 !important;
    opacity: 0.8;
}

#form_hero_seo_audit .form-control::-moz-placeholder {
    color: #94a3b8 !important;
    opacity: 0.8;
}

#form_hero_seo_audit .form-control:-ms-input-placeholder {
    color: #94a3b8 !important;
    opacity: 0.8;
}

#form_hero_seo_audit .form-control::-ms-input-placeholder {
    color: #94a3b8 !important;
    opacity: 0.8;
}

#form_hero_seo_audit .form-control::placeholder {
    color: #94a3b8 !important;
    opacity: 0.8;
}

/* ============================================================
   Audit Report Page — Light body theme (page-scoped)
   audit-report.php uses <main data-bs-theme="light"> so the page
   content renders as a readable light surface while the navbar and
   footer keep their dark styling.
   ============================================================ */
main[data-bs-theme="light"] {
    color-scheme: light;
    color: #1e293b !important;
}

/* Light the full center band on the audit report page.
   The navbar and footer are opaque dark sections, so they keep their
   dark look while the area between them becomes a light surface. */
body#public_audit_report {
    background-color: #f4f6fa !important;
    color-scheme: light;
    color: #1e293b !important;
}

/* Avoid dark gutter showing around the container by giving the light
   main region an explicit light background as well. */
body#public_audit_report main[data-bs-theme="light"] {
    background-color: #f4f6fa !important;
}

/* Force all headings in the light audit body to dark, high-contrast text */
main[data-bs-theme="light"] h1:not([class*="text-"]),
main[data-bs-theme="light"] h2:not([class*="text-"]),
main[data-bs-theme="light"] h3:not([class*="text-"]),
main[data-bs-theme="light"] h4:not([class*="text-"]),
main[data-bs-theme="light"] h5:not([class*="text-"]),
main[data-bs-theme="light"] h6:not([class*="text-"]) {
    color: #0f172a !important;
}

/* Keep headings white on solid colored banners (e.g. blue CTA) */
main[data-bs-theme="light"] .bg-primary h1:not([class*="text-"]),
main[data-bs-theme="light"] .bg-primary h2:not([class*="text-"]),
main[data-bs-theme="light"] .bg-primary h3:not([class*="text-"]),
main[data-bs-theme="light"] .bg-primary h4:not([class*="text-"]),
main[data-bs-theme="light"] .bg-primary h5:not([class*="text-"]),
main[data-bs-theme="light"] .bg-primary h6:not([class*="text-"]) {
    color: #ffffff !important;
}

/* Light surfaces: neutralize dark rules inherited from the page shell */
main[data-bs-theme="light"] .card,
main[data-bs-theme="light"] .bg-body,
main[data-bs-theme="light"] .bg-body-secondary,
main[data-bs-theme="light"] .bg-dark {
    background-color: #ffffff !important;
}

main[data-bs-theme="light"] .card:not(.border-primary):not(.border-warning):not(.border-success):not(.border-danger):not(.border-info),
main[data-bs-theme="light"] .bg-dark {
    border: 1px solid rgba(15, 23, 42, 0.14) !important;
}

/* Elevated cards in light mode: stronger, layered shadow */
main[data-bs-theme="light"] .card {
    -webkit-box-shadow: 0 0.95rem 1.9rem -0.6rem rgba(15, 23, 42, 0.18),
                0 0.3rem 0.9rem -0.3rem rgba(15, 23, 42, 0.1) !important;
            box-shadow: 0 0.95rem 1.9rem -0.6rem rgba(15, 23, 42, 0.18),
                0 0.3rem 0.9rem -0.3rem rgba(15, 23, 42, 0.1) !important;
}

/* Keep the custom audit card surfaces equally elevated with a
   subtle hover lift */
main[data-bs-theme="light"] .diagnostic-card,
main[data-bs-theme="light"] .overview-card {
    -webkit-box-shadow: 0 0.95rem 1.9rem -0.6rem rgba(15, 23, 42, 0.18),
                0 0.3rem 0.9rem -0.3rem rgba(15, 23, 42, 0.1) !important;
            box-shadow: 0 0.95rem 1.9rem -0.6rem rgba(15, 23, 42, 0.18),
                0 0.3rem 0.9rem -0.3rem rgba(15, 23, 42, 0.1) !important;
}

main[data-bs-theme="light"] .bg-dark-subtle,
main[data-bs-theme="light"] .card-header:not([class*="bg-"]) {
    background-color: #f1f5f9 !important;
}

/* Preserve tinted card headers */
main[data-bs-theme="light"] .card-header.bg-success-subtle { background-color: var(--bs-success-bg-subtle) !important; }
main[data-bs-theme="light"] .card-header.bg-danger-subtle  { background-color: var(--bs-danger-bg-subtle)  !important; }
main[data-bs-theme="light"] .card-header.bg-warning-subtle { background-color: var(--bs-warning-bg-subtle) !important; }
main[data-bs-theme="light"] .card-header.bg-info-subtle    { background-color: var(--bs-info-bg-subtle)    !important; }
main[data-bs-theme="light"] .card-header.bg-transparent    { background-color: transparent !important; }

/* High-contrast text on light backgrounds */
main[data-bs-theme="light"] .text-white,
main[data-bs-theme="light"] .step-content strong,
main[data-bs-theme="light"] .diagnostic-item strong,
main[data-bs-theme="light"] .overview-lead {
    color: #0f172a !important;
}

main[data-bs-theme="light"] .text-white-50,
main[data-bs-theme="light"] .text-body-secondary,
main[data-bs-theme="light"] .text-body,
main[data-bs-theme="light"] .overview-paragraph,
main[data-bs-theme="light"] .score-circle-max {
    color: #475569 !important;
}

/* Branded blue CTA keeps white text for contrast */
main[data-bs-theme="light"] .bg-primary.text-white,
main[data-bs-theme="light"] .bg-primary .text-white { color: #ffffff !important; }
main[data-bs-theme="light"] .bg-primary .text-white-50 { color: rgba(255, 255, 255, 0.75) !important; }
main[data-bs-theme="light"] .bg-warning.text-dark { color: #0f172a !important; }

/* Tinted icon text: darken warning/info so it reads well on white */
main[data-bs-theme="light"] .text-warning { color: #b45309 !important; }
main[data-bs-theme="light"] .text-info { color: #0891b2 !important; }

/* Custom audit components */
main[data-bs-theme="light"] .diagnostic-card {
    background-color: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
}

main[data-bs-theme="light"] .diagnostic-item {
    background-color: #f8fafc !important;
    color: #1e293b !important;
}

main[data-bs-theme="light"] .diagnostic-item:hover {
    background-color: #f1f5f9 !important;
}

main[data-bs-theme="light"] .step-item {
    background: #f8fafc !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
}

main[data-bs-theme="light"] .step-item:hover {
    background: #eef2f7 !important;
    border-color: rgba(56, 189, 248, 0.45) !important;
}

main[data-bs-theme="light"] .step-content {
    color: #1e293b !important;
}

/* Score dial: white dial face + visible track on light background */
main[data-bs-theme="light"] .score-circle {
    background: conic-gradient(var(--score-color, var(--bs-primary)) calc(var(--score-val, 0) * 1%), rgba(15, 23, 42, 0.08) 0);
}

main[data-bs-theme="light"] .score-circle::before {
    background-color: #ffffff;
}

/* Executive Summary / Competitive Overview card on the audit page
   uses a custom dark gradient (background-image). Clear it for light mode. */
body#public_audit_report main[data-bs-theme="light"] .overview-card {
    background: #ffffff !important;
    background-image: none !important;
    border-color: rgba(15, 23, 42, 0.12) !important;
}

/* Remove the dark card's top gradient accent strip in light mode too */
body#public_audit_report main[data-bs-theme="light"] .overview-card::before {
    display: none !important;
}

body#public_audit_report main[data-bs-theme="light"] .overview-card .overview-lead {
    color: #0f172a !important;
}

body#public_audit_report main[data-bs-theme="light"] .overview-card .overview-paragraph {
    color: #475569 !important;
}

/* Borders adapt to the light surface */
main[data-bs-theme="light"] .border-secondary {
    border-color: rgba(15, 23, 42, 0.12) !important;
}
/* ============================================================
   Services page — Light body theme (page-scoped)
   services.php uses <main data-bs-theme="light"> so the page
   content renders as a readable light surface while the navbar and
   footer keep their dark styling.
   ============================================================ */
body#services_page {
    color-scheme: light;
    color: #1e293b !important;
    background-color: #f4f6fa !important;
}

body#services_page main[data-bs-theme="light"] {
    color-scheme: light;
    color: #1e293b !important;
    background-color: #f4f6fa !important;
}

/* Convert dark text utilities to light equivalents */
body#services_page main[data-bs-theme="light"] .text-white {
    color: #0f172a !important;
}

body#services_page main[data-bs-theme="light"] .text-white-50 {
    color: #64748b !important;
}

body#services_page main[data-bs-theme="light"] .text-secondary {
    color: #64748b !important;
}

body#services_page main[data-bs-theme="light"] .text-light {
    color: #1e293b !important;
}

/* Cyan info text becomes a readable darker teal on the light surface */
body#services_page main[data-bs-theme="light"] .text-info {
    color: #055160 !important;
}

/* Dark cards become light */
body#services_page main[data-bs-theme="light"] .bg-dark {
    background-color: #ffffff !important;
}

body#services_page main[data-bs-theme="light"] .solis-card {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    -webkit-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body#services_page main[data-bs-theme="light"] .solis-card:hover {
    -webkit-box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 0 30px rgba(18, 116, 230, 0.1);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 0 30px rgba(18, 116, 230, 0.1);
}

/* Outline button readable on the light surface */
body#services_page main[data-bs-theme="light"] .btn-solis-outline {
    color: var(--solis-primary) !important;
    border-color: rgba(18, 116, 230, 0.3) !important;
    background: rgba(18, 116, 230, 0.04) !important;
}

body#services_page main[data-bs-theme="light"] .btn-solis-outline:hover {
    color: #ffffff !important;
    background: var(--solis-primary) !important;
    border-color: var(--solis-primary) !important;
}

/* Icon boxes readable on the light surface */
body#services_page main[data-bs-theme="light"] .solis-icon-box {
    color: var(--solis-primary) !important;
    background: rgba(18, 116, 230, 0.1) !important;
    border-color: rgba(18, 116, 230, 0.2) !important;
}

/* Service name badges — bigger and more highlighted */
body#services_page main[data-bs-theme="light"] .service-name-badge {
    font-size: 1.3rem;
    padding: 0.6rem 1.4rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #ffffff !important;
    background: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    -webkit-box-shadow: 0 6px 18px rgba(15, 23, 42, 0.3);
            box-shadow: 0 6px 18px rgba(15, 23, 42, 0.3);
}

body#services_page main[data-bs-theme="light"] .service-name-badge i {
    color: #38bdf8 !important;
}

/* ============================================================
   Resources & Content Utility Classes
   ============================================================ */
.max-w-2xl {
    max-width: 42rem;
}

.max-w-3xl {
    max-width: 48rem;
}

/* ============================================================
   Admin — Enom Domains & DNS page
   Dark-theme polish + Register Domain modal styling
   Scoped to the admin page id (#enom_domains_admin)
   ============================================================ */
body#enom_domains_admin {
    background-color: #0f172a;
}

#enom_domains_admin .form-control,
#enom_domains_admin .form-select {
    background-color: #1e293b;
    border-color: rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
}

#enom_domains_admin .form-control:focus,
#enom_domains_admin .form-select:focus {
    background-color: #1e293b;
    border-color: #38bdf8;
    color: #e2e8f0;
    -webkit-box-shadow: 0 0 0 0.25rem rgba(56, 189, 248, 0.15);
            box-shadow: 0 0 0 0.25rem rgba(56, 189, 248, 0.15);
}

#enom_domains_admin .form-control::-webkit-input-placeholder {
    color: #64748b;
}

#enom_domains_admin .form-control::-moz-placeholder {
    color: #64748b;
}

#enom_domains_admin .form-control:-ms-input-placeholder {
    color: #64748b;
}

#enom_domains_admin .form-control::-ms-input-placeholder {
    color: #64748b;
}

#enom_domains_admin .form-control::placeholder {
    color: #64748b;
}

#enom_domains_admin .modal-content {
    background-color: #1e293b;
    color: #e2e8f0;
}

#enom_domains_admin .modal-header,
#enom_domains_admin .modal-footer {
    border-color: rgba(255, 255, 255, 0.1);
}

#enom_domains_admin .modal .btn-close {
    -webkit-filter: invert(1) grayscale(100%) brightness(200%);
            filter: invert(1) grayscale(100%) brightness(200%);
}

#enom_domains_admin .input-group-text {
    background-color: #293548;
    border-color: rgba(255, 255, 255, 0.12);
    color: #94a3b8;
}

#enom_domains_admin .table {
    --bs-table-color: #e2e8f0;
    --bs-table-border-color: rgba(255, 255, 255, 0.1);
}

#enom_domains_admin .table-light {
    --bs-table-bg: #1e293b;
    --bs-table-color: #e2e8f0;
    --bs-table-border-color: rgba(255, 255, 255, 0.1);
}

#enom_domains_admin .font-monospace.small {
    color: #cbd5e1;
}

/* ============================================================
   Enom Domain Pricing test page
   ============================================================ */
.enom-api-response {
    white-space: pre-wrap;
    word-break: break-word;
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.8rem;
    background-color: #0f172a;
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1rem;
    max-height: 70vh;
    overflow: auto;
}

/* Enom pricing table */
.enom-pricing-table {
    font-size: 0.85rem;
}

.enom-pricing-table th,
.enom-pricing-table td {
    vertical-align: top;
}

.enom-pricing-table .section-row td {
    background-color: rgba(56, 189, 248, 0.12);
    font-weight: 700;
    color: #0ea5e9;
}

/* ============================================================
   Sample Audit Report (audit-sample.php) — Light mode polish
   Mirrors the public audit report so both pages look identical.
   ============================================================ */
body#sample_audit_report {
    background-color: #f4f6fa !important;
    color-scheme: light;
    color: #1e293b !important;
}

body#sample_audit_report main[data-bs-theme="light"] {
    background-color: #f4f6fa !important;
}

body#sample_audit_report main[data-bs-theme="light"] .score-circle-wrapper {
    padding: 0 0.25rem;
}

body#sample_audit_report main[data-bs-theme="light"] .score-circle {
    width: 104px;
    height: 104px;
    -webkit-box-shadow: 0 0.6rem 1.5rem -0.4rem rgba(15, 23, 42, 0.25) !important;
            box-shadow: 0 0.6rem 1.5rem -0.4rem rgba(15, 23, 42, 0.25) !important;
}

body#sample_audit_report main[data-bs-theme="light"] .score-circle::before {
    inset: 8px;
}

body#sample_audit_report main[data-bs-theme="light"] .score-circle-lg {
    width: 165px;
    height: 165px;
    -webkit-box-shadow: 0 0.9rem 2.2rem -0.5rem rgba(15, 23, 42, 0.3) !important;
            box-shadow: 0 0.9rem 2.2rem -0.5rem rgba(15, 23, 42, 0.3) !important;
}

body#sample_audit_report main[data-bs-theme="light"] .score-circle-lg::before {
    inset: 13px;
}

body#sample_audit_report main[data-bs-theme="light"] .score-circle .score-circle-val {
    font-size: 1.75rem;
}

body#sample_audit_report main[data-bs-theme="light"] .score-circle-lg .score-circle-val {
    font-size: 2.9rem;
}

body#sample_audit_report main[data-bs-theme="light"] .score-circle-lg .score-circle-max {
    font-size: 0.95rem;
}

/* ============================================================
   Sample Audit Report — Refined light polish
   Card elevation, light adaptation of dark-forced components,
   and a tighter vertical rhythm.
   ============================================================ */

/* Card elevation + softer corners */
body#sample_audit_report .card {
    border-radius: 0.85rem;
    -webkit-box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 10px 28px -12px rgba(15, 23, 42, 0.18) !important;
            box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 10px 28px -12px rgba(15, 23, 42, 0.18) !important;
    -webkit-transition: box-shadow 0.2s ease, transform 0.2s ease;
    -webkit-transition: -webkit-box-shadow 0.2s ease, -webkit-transform 0.2s ease;
    transition: -webkit-box-shadow 0.2s ease, -webkit-transform 0.2s ease;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    transition: box-shadow 0.2s ease, transform 0.2s ease, -webkit-box-shadow 0.2s ease, -webkit-transform 0.2s ease;
}

body#sample_audit_report .card:hover {
    -webkit-box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06), 0 16px 36px -12px rgba(15, 23, 42, 0.24) !important;
            box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06), 0 16px 36px -12px rgba(15, 23, 42, 0.24) !important;
    -webkit-transform: translateY(-2px);
            transform: translateY(-2px);
}

/* Adapt dark-forced diagnostic + step components to the light surface */
body#sample_audit_report .diagnostic-card {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
}

body#sample_audit_report .diagnostic-item {
    background: rgba(15, 23, 42, 0.035);
    color: #334155;
}

body#sample_audit_report .diagnostic-item strong {
    color: #0f172a;
}

body#sample_audit_report .step-item {
    background: rgba(15, 23, 42, 0.035);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

body#sample_audit_report .step-item:hover {
    background: rgba(15, 23, 42, 0.06);
    border-color: rgba(18, 116, 230, 0.35);
}

body#sample_audit_report .step-content {
    color: #334155;
}

body#sample_audit_report .step-content strong {
    color: #0f172a;
}

/* Tighter, more refined vertical rhythm */
body#sample_audit_report main .card {
    margin-bottom: 1rem !important;
}

body#sample_audit_report main [class*="col-"] > .card,
body#sample_audit_report main .col > .card {
    margin-bottom: 0 !important;
}

body#sample_audit_report main .card-body {
    padding: 1.25rem !important;
}

body#sample_audit_report main .g-4 {
    --bs-gutter-x: 1rem !important;
    --bs-gutter-y: 1rem !important;
}

body#sample_audit_report main .mb-4 {
    margin-bottom: 1rem !important;
}

body#sample_audit_report main .mb-5 {
    margin-bottom: 1.5rem !important;
}

body#sample_audit_report main .mt-4 {
    margin-top: 1rem !important;
}

body#sample_audit_report main.container {
    padding-top: 1.25rem !important;
    padding-bottom: 2.5rem !important;
}

@media (min-width: 992px) {
    body#sample_audit_report main.container {
        padding-top: 1.75rem !important;
        padding-bottom: 3rem !important;
    }
}

body#sample_audit_report main .table > thead > tr > th,
body#sample_audit_report main .table > tbody > tr > td {
    padding-top: 0.7rem !important;
    padding-bottom: 0.7rem !important;
}

/* Keep the dark chrome (header/footer) crisp on the light document */
body#sample_audit_report header,
body#sample_audit_report footer {
    background-color: #0f172a !important;
}

body#sample_audit_report header .border-secondary,
body#sample_audit_report footer .border-secondary {
    border-color: rgba(255, 255, 255, 0.14) !important;
}

body#sample_audit_report footer .text-secondary {
    color: #94a3b8 !important;
}

/* Plans comparison table */
body#sample_audit_report .plans-compare {
    min-width: 720px;
}

body#sample_audit_report .plans-compare .featured-col,
body#sample_audit_report .plans-compare .featured-cell {
    background-color: rgba(18, 116, 230, 0.06);
}

body#sample_audit_report .plans-compare thead th.featured-col {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

body#sample_audit_report .plans-compare tbody tr:hover .featured-cell {
    background-color: rgba(18, 116, 230, 0.11);
}

body#sample_audit_report .plans-compare .table-group {
    background-color: rgba(15, 23, 42, 0.045);
    letter-spacing: 0.06em;
}

body#sample_audit_report .plans-compare tbody tr:has(+ tr > td.feature-desc) > th,
body#sample_audit_report .plans-compare tbody tr:has(+ tr > td.feature-desc) > td {
    padding-top: 0.8rem !important;
    padding-bottom: 0.1rem !important;
    border-bottom: 0 !important;
}

body#sample_audit_report .plans-compare tbody tr:has(+ tr > td.feature-desc) > th {
    font-weight: 600 !important;
}

body#sample_audit_report .plans-compare .feature-desc {
    padding-top: 0 !important;
    padding-bottom: 0.8rem !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.3) !important;
    font-size: 0.8rem !important;
}

/* White utility text must render dark on the light main surface
   (the global [data-bs-theme="light"] main ... rule only matches when a
   light-themed ANCESTOR wraps main; here main is the light scope itself) */
body#sample_audit_report main[data-bs-theme="light"] .text-white {
    color: #0f172a !important;
}

/* Same for body/body-secondary/secondary utilities — the site's dark-theme
   overrides force them white/slate because <html> stays dark on this page */
body#sample_audit_report main[data-bs-theme="light"] .text-body {
    color: #212529 !important;
}

body#sample_audit_report main[data-bs-theme="light"] .text-body-secondary,
body#sample_audit_report main[data-bs-theme="light"] .text-secondary {
    color: #64748b !important;
}
