/*
 * QuickReturns Help Center – Professional theme overrides
 * Overrides Bootstrap (public/css/bootstrap.css) – all rules scoped under .help-center-body
 */

:root {
    --hc-primary: #000000;
    --hc-primary-dark: #000000;
    --hc-primary-light: #eef1ff;
    --hc-text: #1a1d26;
    --hc-text-muted: #5c6370;
    --hc-border: #e8eaef;
    --hc-bg: #ffffff;
    --hc-bg-subtle: #f8f9fc;
    --hc-radius: 10px;
    --hc-radius-sm: 6px;
    --hc-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    --hc-shadow-hover: 0 8px 24px rgba(82, 113, 255, 0.12);
    --hc-font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --hc-base-font-size: 20px;
}

.help-center-body {
    font-family: var(--hc-font);
    font-size: var(--hc-base-font-size);
    line-height: 1.6;
    color: var(--hc-text);
    background: var(--hc-bg-subtle);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ========== Bootstrap overrides (scoped to .help-center-body) ========== */
.help-center-body a {
    color: inherit;
    text-decoration: none;
}

.help-center-body a:hover,
.help-center-body a:focus {
    text-decoration: none;
}

.help-center-body .btn {
    font-family: var(--hc-font);
    font-weight: 600;
    border-radius: var(--hc-radius-sm);
}

.help-center-body .btn-default {
    color: var(--hc-text);
    background-color: var(--hc-bg-subtle);
    border-color: var(--hc-border);
}

.help-center-body .btn-default:hover,
.help-center-body .btn-default:focus {
    color: var(--hc-text);
    background-color: #e8eaef;
    border-color: var(--hc-border);
}

.help-center-body .btn-primary {
    color: #fff !important;
    background-color: var(--hc-primary) !important;
    border-color: var(--hc-primary) !important;
}

.help-center-body .btn-primary:hover,
.help-center-body .btn-primary:focus {
    color: #fff !important;
    background-color: var(--hc-primary-dark) !important;
    border-color: var(--hc-primary-dark) !important;
}

.help-center-body .btn-info {
    color: #fff !important;
    background-color: var(--hc-primary) !important;
    border-color: var(--hc-primary) !important;
}

.help-center-body .btn-info:hover,
.help-center-body .btn-info:focus {
    color: #fff !important;
    background-color: var(--hc-primary-dark) !important;
    border-color: var(--hc-primary-dark) !important;
}

.help-center-body .panel {
    font-family: var(--hc-font);
    border-radius: var(--hc-radius);
    border: 1px solid var(--hc-border);
    box-shadow: var(--hc-shadow);
    background: var(--hc-bg);
}

.help-center-body .panel-default {
    border-color: var(--hc-border);
    background: var(--hc-bg);
}

.help-center-body .panel-default>.panel-heading {
    background: var(--hc-bg);
    border-color: var(--hc-border);
    color: var(--hc-text);
    border-radius: var(--hc-radius) var(--hc-radius) 0 0;
}

.help-center-body .panel-default>.panel-body {
    color: var(--hc-text);
    background: var(--hc-bg);
}

.help-center-body .panel-title {
    font-weight: 600;
    color: var(--hc-text);
}

.help-center-body .breadcrumb {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 0 24px 0 !important;
    border: none !important;
    font-size: 1rem;
}

.help-center-body .breadcrumb>li+li:before {
    color: var(--hc-text-muted);
}

.help-center-body .breadcrumb>li a {
    color: var(--hc-text-muted);
    font-weight: 500;
}

.help-center-body .breadcrumb>li.active {
    color: var(--hc-text);
    font-weight: 600;
}

.help-center-body .pagination {
    font-family: var(--hc-font);
    border-radius: var(--hc-radius-sm);
}

.help-center-body .pagination>li>a,
.help-center-body .pagination>li>span {
    color: var(--hc-text);
    background: var(--hc-bg);
    border-color: var(--hc-border);
}

.help-center-body .pagination>li>a:hover {
    background: var(--hc-primary-light);
    color: var(--hc-primary);
    border-color: var(--hc-border);
}

.help-center-body .pagination>.active>a,
.help-center-body .pagination>.active>span {
    background-color: var(--hc-primary) !important;
    border-color: var(--hc-primary) !important;
    color: #fff !important;
}

.help-center-body .pagination>.disabled>span,
.help-center-body .pagination>.disabled>span:hover {
    color: var(--hc-text-muted);
    background: var(--hc-bg-subtle);
    border-color: var(--hc-border);
}

.help-center-body h1,
.help-center-body h2,
.help-center-body h3,
.help-center-body h4 {
    font-family: var(--hc-font);
    color: var(--hc-text);
    font-weight: 700;
}

.help-center-body hr {
    border-color: var(--hc-border);
}

/* ----- Header (light style – QuickReturns-style) ----- */
.help-center-body .site-header {
    background: #fff;
    color: var(--hc-text);
    padding: 0;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.help-center-body .site-header--light {
    background: #fff;
    border-bottom: 1px solid var(--hc-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.help-center-body .site-header--light .logo {
    color: var(--hc-text);
    font-size: 1.6rem;
}

.help-center-body .site-header--light .logo:hover {
    color: var(--hc-primary);
    text-decoration: none;
}

.help-center-body .site-header--light .logo img {
    filter: brightness(0);
    opacity: 0.9;
    width: 44px;
    height: 44px;
}

.help-center-body .site-header--light .logo:hover img {
    opacity: 1;
}

.help-center-body .site-header--light .logo-text,
.help-center-body .site-header--light .logo-text strong {
    color: var(--hc-text);
    font-size: 1.6rem;
    font-weight: 600;
}

.help-center-body .site-header--light .logo-text strong {
    font-weight: 700;
}

.help-center-body .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    min-height: 76px;
}

.help-center-body .logo {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.2s, opacity 0.2s;
}

.help-center-body .logo:hover {
    color: #fff;
    opacity: 0.95;
    text-decoration: none;
}

.help-center-body .logo img {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.help-center-body .logo-text {
    font-weight: 600;
    font-size: inherit;
}

.help-center-body .logo-text strong {
    font-weight: 700;
}

.help-center-body .site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.help-center-body .site-header--light .nav-link {
    color: var(--hc-text);
    font-size: 1.35rem;
    font-weight: 600;
}

.help-center-body .site-header--light .nav-link:hover {
    color: var(--hc-primary);
    background: var(--hc-primary-light);
    text-decoration: none;
}

.help-center-body .nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 12px 18px;
    border-radius: var(--hc-radius-sm);
    font-size: 1.35rem;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}

.help-center-body .nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    text-decoration: none;
}

.help-center-body .header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.help-center-body .header-actions .btn {
    padding: 13px 24px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: var(--hc-radius-sm);
    text-decoration: none;
    transition: all 0.2s;
}

.help-center-body .site-header--light .btn-ghost,
.help-center-body .site-header .header-actions .btn-ghost,
.help-center-body .site-header .header-action .btn-ghost {
    color: var(--hc-text) !important;
    background: transparent !important;
    border: 2px solid var(--hc-border);
    font-size: 1.2rem;
}

.help-center-body .site-header--light .btn-ghost:hover {
    color: var(--hc-primary);
    border-color: var(--hc-primary);
    background: var(--hc-primary-light);
    text-decoration: none;
}

.help-center-body .btn-ghost {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.help-center-body .btn-ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

/* Header theme: primary CTA (Open App) – override Bootstrap .btn-primary */
.help-center-body .site-header--light .btn-primary,
.help-center-body .site-header .header-actions .btn-primary,
.help-center-body .site-header .header-action .btn-primary,
.help-center-body header.site-header .btn-primary {
    color: #fff !important;
    background: var(--hc-primary) !important;
    border: 2px solid var(--hc-primary) !important;
    font-size: 1.2rem;
}

.help-center-body .site-header--light .btn-primary:hover,
.help-center-body .site-header .header-actions .btn-primary:hover,
.help-center-body .site-header .header-action .btn-primary:hover,
.help-center-body header.site-header .btn-primary:hover {
    color: #fff !important;
    background: var(--hc-primary-dark) !important;
    border-color: var(--hc-primary-dark) !important;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(82, 113, 255, 0.35);
}

/* Default .btn-primary (e.g. outside header) – scoped to beat Bootstrap */
.help-center-body .btn-primary {
    color: var(--hc-primary);
    background: #fff;
    border: none;
}

.help-center-body .btn-primary:hover {
    color: var(--hc-primary-dark);
    background: #f5f5f5;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .help-center-body .site-nav {
        order: 3;
        width: 100%;
    }

    .help-center-body .header-actions {
        margin-left: auto;
    }

    .help-center-body .header-inner {
        min-height: 60px;
    }
}

/* ----- Main content ----- */
.help-center-body .site-main {
    flex: 1;
    padding: 32px 0 48px;
}

.help-center-body .content-row {
    align-items: start;
}

.help-center-body .featured-area-default.padding-30,
.help-center-body .site-main .container {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

/* ----- Page title (hero) ----- */
.help-center-body .page-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--hc-text);
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
}

.help-center-body .page-lead {
    font-size: 1.35rem;
    color: var(--hc-text-muted);
    margin: 0 0 28px 0;
    line-height: 1.55;
}

/* ----- Page headings ----- */
.help-center-body .fb-heading {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--hc-text);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.help-center-body .fb-heading i {
    margin-right: 8px;
    color: var(--hc-primary);
}

.help-center-body hr.style-three {
    border: 0;
    height: 1px;
    background: var(--hc-border);
    margin: 0 0 28px 0;
}

/* ----- Category cards (home) ----- */
.help-center-body .fat-heading-abb {
    font-size: 1.25rem;
    padding: 18px 22px;
    background: var(--hc-bg);
    border-radius: var(--hc-radius);
    border: 1px solid var(--hc-border);
    box-shadow: var(--hc-shadow);
    margin-bottom: 0;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.help-center-body .fat-heading-abb a {
    color: var(--hc-text) !important;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.help-center-body .fat-heading-abb a:hover {
    color: var(--hc-primary) !important;
    text-decoration: none;
}

.help-center-body .fat-heading-abb a .fa,
.help-center-body .fat-heading-abb i {
    color: var(--hc-primary) !important;
    font-size: 1.25em;
}

.help-center-body .fat-content-small {
    font-size: 1.2rem;
    padding: 12px 0 0 0;
}

.help-center-body .fat-content-small ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.help-center-body .fat-content-small ul li {
    padding: 6px 0;
    border-bottom: 1px solid var(--hc-border);
}

.help-center-body .fat-content-small ul li:last-child {
    border-bottom: none;
}

.help-center-body .fat-content-small ul li a {
    font-size: 1.3rem;
    color: var(--hc-text) !important;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.2s;
}

.help-center-body .fat-content-small ul li a:hover {
    color: var(--hc-primary) !important;
    text-decoration: none;
}

.help-center-body .fat-content-small ul li a .fa,
.help-center-body .fat-content-small ul li a i {
    color: var(--hc-primary) !important;
    font-size: 1.15em;
    opacity: 1;
}

.help-center-body .col-md-8 .row .col-md-6.margin-bottom-20 {
    margin-bottom: 24px;
}

.help-center-body .col-md-8 .fat-heading-abb+.fat-content-small {
    padding-left: 20px;
}

/* ----- Panels / cards (override Bootstrap .panel) ----- */
.help-center-body .panel.panel-default {
    border: 1px solid var(--hc-border);
    border-radius: var(--hc-radius);
    box-shadow: var(--hc-shadow);
    background: var(--hc-bg);
    margin-bottom: 20px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.help-center-body .panel.panel-default:hover {
    box-shadow: var(--hc-shadow-hover);
}

.help-center-body .article-heading-abb {
    font-size: 1.2rem;
    padding: 20px 24px;
    background: var(--hc-bg);
    color: var(--hc-text);
    font-weight: 600;
    border-bottom: 1px solid var(--hc-border);
}

.help-center-body .article-heading-abb a {
    color: var(--hc-text);
}

.help-center-body .article-heading-abb a:hover {
    color: var(--hc-primary);
    text-decoration: none;
}

.help-center-body .article-info {
    padding: 14px 24px;
    background: var(--hc-bg-subtle);
    border-bottom: 1px solid var(--hc-border);
    font-size: 0.95rem;
    color: var(--hc-text-muted);
}

.help-center-body .article-info a {
    color: var(--hc-primary);
    font-weight: 500;
}

.help-center-body .article-info a:hover {
    color: var(--hc-primary-dark);
    text-decoration: none;
}

.help-center-body .article-content {
    padding: 22px 24px;
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--hc-text);
}

.help-center-body .article-read-more {
    padding: 14px 24px 20px;
    border-top: 1px solid var(--hc-border);
}

.help-center-body .btn-wide,
.help-center-body .article-read-more .btn {
    min-width: 130px;
    padding: 12px 22px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--hc-radius-sm);
    background: var(--hc-primary-light);
    color: var(--hc-primary);
    border: 1px solid rgba(82, 113, 255, 0.3);
    transition: all 0.2s;
}

.help-center-body .article-read-more .btn:hover {
    background: var(--hc-primary);
    color: #fff;
    border-color: var(--hc-primary);
    text-decoration: none;
}

.help-center-body .article-heading {
    font-size: 1.75rem;
    padding: 22px 24px 14px;
    color: var(--hc-text);
    font-weight: 700;
}

.help-center-body .article-tags .btn {
    margin: 4px 8px 4px 0;
    padding: 8px 14px;
    font-size: 1.2rem;
    border-radius: 20px;
    background: var(--hc-bg-subtle);
    color: var(--hc-text-muted);
    border: 1px solid var(--hc-border);
}

.help-center-body .article-tags .btn:hover {
    background: var(--hc-primary-light);
    color: var(--hc-primary);
    border-color: var(--hc-primary);
    text-decoration: none;
}

/* ----- Breadcrumbs (override Bootstrap .breadcrumb) ----- */
.help-center-body .breadcrumb-container {
    margin: 0 0 24px 0;
}

.help-center-body .breadcrumb {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 1.2rem;
}

.help-center-body .breadcrumb>li+li:before {
    color: var(--hc-text-muted);
    padding: 0 8px;
}

.help-center-body .breadcrumb li a {
    color: var(--hc-text-muted);
    font-weight: 500;
}

.help-center-body .breadcrumb li a:hover {
    color: var(--hc-primary);
    text-decoration: none;
}

.help-center-body .breadcrumb li.active {
    color: var(--hc-text);
    font-weight: 600;
}

/* ----- Sidebar ----- */
.help-center-body .col-md-4.padding-20 {
    position: sticky;
    top: 24px;
}

.help-center-body .col-md-4.padding-20 .fb-heading-small {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--hc-text-muted);
    margin-bottom: 12px;
}

.help-center-body .col-md-4 .fat-content-small ul li a {
    font-size: 1.15rem;
}

.help-center-body .fat-content-tags .btn {
    margin: 4px 8px 4px 0;
    padding: 8px 16px;
    font-size: 1.1rem;
    border-radius: 20px;
    background: var(--hc-bg-subtle);
    color: var(--hc-text-muted);
    border: 1px solid var(--hc-border);
    transition: all 0.2s;
}

.help-center-body .fat-content-tags .btn:hover {
    background: var(--hc-primary-light);
    color: var(--hc-primary);
    border-color: var(--hc-primary);
    text-decoration: none;
}

.help-center-body .sidebar-widgets .row.margin-top-20 {
    background: var(--hc-bg);
    border-radius: var(--hc-radius);
    padding: 20px;
    margin-top: 20px;
    border: 1px solid var(--hc-border);
    box-shadow: var(--hc-shadow);
}

.help-center-body .sidebar-widgets .row.margin-top-20:first-of-type {
    margin-top: 0;
}

/* ----- FAQ accordion (override Bootstrap .panel) ----- */
.help-center-body #accordionCategories .panel {
    border-radius: var(--hc-radius);
    border: 1px solid var(--hc-border);
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: var(--hc-shadow);
}

.help-center-body #accordionCategories .panel-heading {
    background: var(--hc-bg);
    border-bottom: 1px solid var(--hc-border);
    padding: 0;
}

.help-center-body #accordionCategories .panel-title a {
    display: block;
    padding: 18px 22px;
    font-size: 1.1rem;
    color: var(--hc-text);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.help-center-body #accordionCategories .panel-title a:hover,
.help-center-body #accordionCategories .panel-title a:focus {
    background: var(--hc-bg-subtle);
    color: var(--hc-primary);
    text-decoration: none;
}

.help-center-body #accordionCategories .panel-title a:after {
    font-family: FontAwesome;
    float: right;
    margin-left: 8px;
    color: var(--hc-primary);
}

.help-center-body #accordionCategories .panel-title a[aria-expanded="true"]:after {
    content: '\f106';
}

.help-center-body #accordionCategories .panel-title a[aria-expanded="false"]:after,
.help-center-body #accordionCategories .panel-title a.collapsed:after {
    content: '\f105';
}

.help-center-body #accordionCategories .panel-body {
    padding: 0;
    border-top: 1px solid var(--hc-border);
}

.help-center-body #accordionCategories .panel-group .panel .panel-heading {
    border-radius: 0;
}

.help-center-body #accordionCategories .panel-group .panel+.panel {
    margin-top: 0;
}

.help-center-body #accordionCategories .panel-group .panel-default>.panel-heading {
    background: var(--hc-bg);
    color: var(--hc-text);
}

.help-center-body #accordionCategories .panel-group .panel-body .panel {
    border: none;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid var(--hc-border);
}

.help-center-body #accordionCategories .panel-group .panel-body .panel:last-child {
    border-bottom: none;
}

.help-center-body #accordionCategories .panel-group .panel-body .panel-title a {
    font-weight: 500;
    font-size: 1.05rem;
    padding: 16px 22px;
}

.help-center-body #accordionCategories .panel-group .panel-body .panel-body {
    padding: 16px 22px 20px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--hc-text-muted);
    background: var(--hc-bg-subtle);
}

/* ----- Pagination (override Bootstrap .pagination) ----- */
.help-center-body .pagination {
    margin: 28px 0 0;
    border-radius: var(--hc-radius-sm);
    overflow: hidden;
}

.help-center-body .pagination>li>a,
.help-center-body .pagination>li>span {
    padding: 12px 18px;
    font-size: 1rem;
    color: var(--hc-text);
    border: 1px solid var(--hc-border);
    background: var(--hc-bg);
    margin: 0 -1px 0 0;
}

.help-center-body .pagination>li>a:hover {
    background: var(--hc-primary-light);
    color: var(--hc-primary);
    border-color: var(--hc-border);
}

.help-center-body .pagination>li.active>a {
    background: var(--hc-primary);
    color: #fff;
    border-color: var(--hc-primary);
}

.help-center-body .pagination>li.disabled>span {
    color: var(--hc-text-muted);
    background: var(--hc-bg-subtle);
}

/* ----- Footer ----- */
.help-center-body .site-footer {
    background: var(--hc-text);
    color: rgba(255, 255, 255, 0.75);
    padding: 24px 0;
    margin-top: auto;
    font-size: 1rem;
}

.help-center-body .site-footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.help-center-body .site-footer a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.help-center-body .site-footer a:hover {
    color: #fff;
    text-decoration: none;
}

.help-center-body .footer-sep {
    margin: 0 10px;
    opacity: 0.6;
}

/* ----- Error / 404 ----- */
.help-center-body .btn-info.btn-wide {
    background: var(--hc-primary);
    border-color: var(--hc-primary);
    color: #fff;
    padding: 12px 24px;
    border-radius: var(--hc-radius-sm);
    font-weight: 600;
}

.help-center-body .btn-info.btn-wide:hover {
    background: var(--hc-primary-dark);
    border-color: var(--hc-primary-dark);
    color: #fff;
}

/* ----- Padding / layout ----- */
.help-center-body .col-md-8.padding-20 {
    padding: 0 12px 0 0;
}

.help-center-body .col-md-4.padding-20 {
    padding: 0 0 0 12px;
}

@media (max-width: 991px) {

    .help-center-body .col-md-8.padding-20,
    .help-center-body .col-md-4.padding-20 {
        padding-left: 15px;
        padding-right: 15px;
    }
}
