/* ==========================================================================
   US Coin Events – Support Center CSS
   ========================================================================== */

:root {
    --sp-navy:       #0d1b2a;
    --sp-navy2:      #1a3350;
    --sp-navy3:      #0d1b2a;
    --sp-gold:       #6b1e3f;
    --sp-gold-lt:    #8f2854;
    --sp-gold-pale:  rgba(107,30,63,0.10);
    --sp-gold-border:rgba(107,30,63,0.28);
    --sp-border:     rgba(13,27,42,0.08);
    --sp-border-mid: rgba(13,27,42,0.15);
    --sp-bg:         #fdf6e6;
    --sp-card:       #ffffff;
    --sp-card-alt:   #f7f8fa;
    --sp-text:       #0d1b2a;
    --sp-muted:      #4a5568;
    --sp-green:      #10b981;
    --sp-red:        #ef4444;
    --sp-shadow:     0 4px 24px rgba(13,27,42,0.08);
    --sp-radius:     14px;
    --sp-radius-sm:  8px;
    --sp-t:          .18s ease;
}

/* Force light mode on all support/contact form elements */
.uce-support-center,
.uce-contact-page {
    background: #fdf6e6 !important;
    color: #0d1b2a !important;
}

.uce-support-input,
.uce-support-select,
.uce-support-textarea {
    background: #ffffff !important;
    color: #0d1b2a !important;
    border-color: rgba(13,27,42,0.18) !important;
}

/* ── Wrapper ── */
.uce-support-center {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px 80px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Breadcrumb ── */
.uce-support-section-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--sp-muted);
    margin-bottom: 28px;
}
.uce-support-section-breadcrumb a {
    color: var(--sp-gold);
    text-decoration: none;
}
.uce-support-section-breadcrumb a:hover { text-decoration: underline; }

/* ── Hero ── */
.uce-support-hero {
    background: #ffffff;
    border: 1px solid rgba(13, 27, 42, 0.10);
    border-radius: var(--sp-radius);
    padding: 56px 40px;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(13, 27, 42, 0.06);
}
.uce-support-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(107,30,63,0.05) 0%, transparent 70%);
    pointer-events: none;
}
.uce-support-hero-inner { position: relative; z-index: 1; }
.uce-support-hero-title {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 800;
    color: #0d1b2a;
    margin: 0 0 12px;
    line-height: 1.2;
}
.uce-support-hero-sub {
    font-size: 16px;
    color: #718096;
    margin: 0 0 32px;
}

/* ── Search Bar ── */
.uce-support-search-bar {
    display: flex;
    align-items: center;
    background: #f7f8fa;
    border: 1.5px solid rgba(13, 27, 42, 0.15);
    border-radius: 50px;
    padding: 5px 5px 5px 18px;
    max-width: 580px;
    margin: 0 auto;
    gap: 8px;
    transition: border-color var(--sp-t), box-shadow var(--sp-t);
    position: relative;
    min-height: 52px;
}
.uce-support-search-bar:focus-within {
    border-color: rgba(107,30,63,0.5);
    box-shadow: 0 0 0 3px rgba(107,30,63,0.12);
}
.uce-support-search-bar--page {
    max-width: 640px;
    background: var(--sp-card);
    border: 1px solid var(--sp-border-mid);
    border-radius: 50px;
    margin: 0 0 32px;
}
.uce-support-search-icon {
    width: 18px; height: 18px;
    color: #718096;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
}
.uce-support-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: 15px;
    color: #0d1b2a;
    padding: 0;
    height: 42px;
    line-height: 42px;
    align-self: center;
}
.uce-support-search-input::placeholder { color: #a0aec0; }
.uce-support-search-submit {
    background: linear-gradient(135deg, var(--sp-gold), var(--sp-gold-lt));
    color: #fdf6e6;
    border: none;
    border-radius: 40px;
    padding: 0 22px;
    height: 42px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity var(--sp-t);
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    align-self: center;
}
.uce-support-search-submit:hover { opacity: .88; }

/* ── Live Search Results ── */
.uce-support-search-results {
    background: var(--sp-card);
    border: 1px solid var(--sp-border-mid);
    border-radius: var(--sp-radius-sm);
    margin-top: 8px;
    overflow: hidden;
    box-shadow: var(--sp-shadow);
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}
.uce-support-search-results--page {
    max-width: 100%;
    margin-bottom: 32px;
}
.uce-search-result-item {
    display: block;
    padding: 14px 20px;
    border-bottom: 1px solid var(--sp-border);
    text-decoration: none;
    transition: background var(--sp-t);
}
.uce-search-result-item:last-child { border-bottom: none; }
.uce-search-result-item:hover { background: rgba(13,27,42,0.04); }
.uce-search-result-type {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 2px 8px;
    border-radius: 10px;
    margin-bottom: 4px;
    background: var(--sp-gold-pale);
    border: 1px solid var(--sp-gold-border);
    color: var(--sp-gold-lt);
}
.uce-search-result-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--sp-text);
    margin: 0 0 3px;
}
.uce-search-result-excerpt {
    font-size: 12px;
    color: var(--sp-muted);
    margin: 0;
    line-height: 1.4;
}
.uce-search-no-results {
    padding: 20px;
    text-align: center;
    color: var(--sp-muted);
    font-size: 14px;
}

/* ── Nav Cards ── */
.uce-support-nav-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 48px;
}
.uce-support-nav-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    background: var(--sp-card);
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius);
    padding: 28px 20px 24px;
    text-decoration: none;
    transition: border-color var(--sp-t), transform var(--sp-t), box-shadow var(--sp-t);
}
.uce-support-nav-card:hover {
    border-color: var(--sp-gold-border);
    box-shadow: 0 8px 32px rgba(13,27,42,0.06);
}
@media (hover: hover) {
    .uce-support-nav-card:hover { transform: translateY(-3px); }
}
.uce-support-nav-card--cta {
    background: linear-gradient(135deg, rgba(107,30,63,0.12), rgba(107,30,63,0.05));
    border-color: var(--sp-gold-border);
}
.uce-support-nav-card--cta:hover { border-color: var(--sp-gold); }
.uce-support-nav-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: var(--sp-gold-pale);
    border: 1px solid var(--sp-gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
}
.uce-support-nav-icon svg {
    width: 24px; height: 24px;
    stroke: var(--sp-gold-lt);
}
.uce-support-nav-card strong {
    font-size: 15px;
    color: var(--sp-text);
    font-weight: 700;
}
.uce-support-nav-card span {
    font-size: 13px;
    color: var(--sp-muted);
    line-height: 1.4;
}

/* ── Sections ── */
.uce-support-section { margin-bottom: 48px; }
.uce-support-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.uce-support-section-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--sp-text);
    margin: 0;
}
.uce-support-section-link {
    font-size: 13px;
    color: var(--sp-gold);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}
.uce-support-section-link:hover { text-decoration: underline; }

.uce-support-page-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--sp-text);
    margin: 0 0 10px;
}
.uce-support-page-desc {
    font-size: 15px;
    color: var(--sp-muted);
    margin: 0 0 32px;
    max-width: 600px;
}

/* ── Article Grid ── */
.uce-support-article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.uce-support-article-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--sp-card);
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-sm);
    padding: 20px 22px;
    text-decoration: none;
    transition: border-color var(--sp-t), box-shadow var(--sp-t);
}
.uce-support-article-card:hover {
    border-color: var(--sp-gold-border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.uce-support-article-type {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--sp-gold);
    background: var(--sp-gold-pale);
    border: 1px solid var(--sp-gold-border);
    border-radius: 10px;
    padding: 2px 8px;
    align-self: flex-start;
}
.uce-support-article-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--sp-text);
    margin: 0;
    line-height: 1.35;
}
.uce-support-article-card p {
    font-size: 13px;
    color: var(--sp-muted);
    margin: 0;
    line-height: 1.5;
    flex: 1;
}
.uce-support-article-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--sp-gold);
    margin-top: 4px;
}

/* ── FAQ ── */
.uce-faq-category-title {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--sp-gold);
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--sp-border);
}
.uce-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-sm);
    overflow: hidden;
}
.uce-faq-item { border-bottom: 1px solid var(--sp-border); }
.uce-faq-item:last-child { border-bottom: none; }
.uce-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    background: var(--sp-card) !important;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: #0d1b2a !important;
    transition: background var(--sp-t);
}
.uce-faq-question:hover { background: var(--sp-card-alt) !important; }
.uce-faq-question[aria-expanded="true"] {
    background: var(--sp-card-alt) !important;
    color: #6b1e3f !important;
}
.uce-faq-chevron {
    width: 18px; height: 18px;
    flex-shrink: 0;
    transition: transform .25s ease;
}
.uce-faq-question[aria-expanded="true"] .uce-faq-chevron { transform: rotate(180deg); }
.uce-faq-answer {
    padding: 0 22px 18px;
    background: rgba(0,0,0,0.15);
}
.uce-faq-answer p {
    font-size: 14px;
    color: var(--sp-muted);
    margin: 16px 0 0;
    line-height: 1.7;
}

/* ── CTA Banner ── */
.uce-support-cta-banner {
    background: linear-gradient(135deg, rgba(107,30,63,0.10), rgba(107,30,63,0.04));
    border: 1px solid var(--sp-gold-border);
    border-radius: var(--sp-radius);
    padding: 28px 32px;
    margin-top: 48px;
}
.uce-support-cta-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.uce-support-cta-icon {
    width: 36px; height: 36px;
    stroke: var(--sp-gold);
    flex-shrink: 0;
}
.uce-support-cta-inner > div { flex: 1; min-width: 200px; }
.uce-support-cta-inner strong {
    display: block;
    font-size: 16px;
    color: var(--sp-text);
    margin-bottom: 4px;
}
.uce-support-cta-inner p {
    margin: 0;
    font-size: 13px;
    color: var(--sp-muted);
}
.uce-support-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--sp-gold), var(--sp-gold-lt));
    color: #fdf6e6;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: opacity var(--sp-t);
    white-space: nowrap;
}
.uce-support-cta-btn:hover { opacity: .88; color: #fdf6e6; }
.uce-support-cta-btn--sm { padding: 9px 18px; font-size: 13px; }

/* ── Contact Form ── */
.uce-support-content-wrap {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: flex-start;
}
.uce-support-section-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--sp-text);
    margin: 0 0 10px;
}
.uce-support-section-desc {
    font-size: 14px;
    color: var(--sp-muted);
    margin: 0 0 28px;
}
.uce-support-form { display: flex; flex-direction: column; gap: 18px; }
.uce-support-form-row { display: flex; flex-direction: column; gap: 18px; }
.uce-support-form-row--2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.uce-support-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.uce-support-field label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--sp-muted);
}
.uce-req { color: var(--sp-red); }
.uce-support-input,
.uce-support-select,
.uce-support-textarea {
    background: var(--sp-card);
    border: 1px solid var(--sp-border-mid);
    border-radius: var(--sp-radius-sm);
    padding: 11px 16px;
    font-size: 14px;
    color: var(--sp-text);
    outline: none;
    transition: border-color var(--sp-t), box-shadow var(--sp-t);
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
}
.uce-support-input:focus,
.uce-support-select:focus,
.uce-support-textarea:focus {
    border-color: var(--sp-gold-border);
    box-shadow: 0 0 0 3px rgba(107,30,63,0.08);
}
.uce-support-textarea { resize: vertical; min-height: 140px; }
.uce-support-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236e90b8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.uce-support-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    background: linear-gradient(135deg, var(--sp-gold), var(--sp-gold-lt));
    color: #fdf6e6;
    border: none;
    border-radius: 10px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity var(--sp-t);
    font-family: inherit;
    width: 100%;
}
.uce-support-submit-btn:hover { opacity: .88; }
.uce-support-submit-btn svg { width: 18px; height: 18px; }
.uce-support-alert {
    padding: 12px 16px;
    border-radius: var(--sp-radius-sm);
    font-size: 13px;
    line-height: 1.5;
}
.uce-support-alert--error {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.25);
    color: #dc2626;
}
.uce-support-success {
    text-align: center;
    padding: 40px 20px;
}
.uce-support-success-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(16,185,129,0.15);
    border: 2px solid rgba(16,185,129,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.uce-support-success-icon svg {
    width: 28px; height: 28px;
    stroke: #10b981;
}
.uce-support-success h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--sp-text);
    margin: 0 0 12px;
}
.uce-support-success p {
    font-size: 14px;
    color: var(--sp-muted);
    margin: 0 0 8px;
}
.uce-support-ticket-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--sp-muted);
    margin-top: 24px !important;
}
.uce-support-ticket-id {
    font-size: 28px;
    font-weight: 800;
    color: var(--sp-gold-lt);
    font-family: monospace;
    margin-top: 8px;
}

/* ── Sidebar ── */
.uce-support-sidebar-col { display: flex; flex-direction: column; gap: 16px; }
.uce-support-sidebar-card {
    background: var(--sp-card);
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-sm);
    padding: 20px 22px;
}
.uce-support-sidebar-card--info {
    background: rgba(20,107,108,0.06);
    border-color: rgba(20,107,108,0.2);
}
.uce-support-sidebar-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--sp-text);
    margin: 0 0 10px;
}
.uce-support-sidebar-card p {
    font-size: 13px;
    color: var(--sp-muted);
    margin: 0;
    line-height: 1.5;
}
.uce-support-sidebar-list {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.uce-support-sidebar-list a {
    font-size: 13px;
    color: var(--sp-gold);
    text-decoration: none;
    font-weight: 600;
}
.uce-support-sidebar-list a:hover { text-decoration: underline; }

/* ── KB Layout ── */
.uce-kb-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 32px;
    align-items: flex-start;
}
.uce-kb-sidebar h3 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--sp-muted);
    margin: 0 0 10px;
}
.uce-kb-cat-nav { display: flex; flex-direction: column; gap: 2px; }
.uce-kb-cat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    color: var(--sp-muted);
    transition: background var(--sp-t), color var(--sp-t);
}
.uce-kb-cat-link:hover, .uce-kb-cat-link.is-active {
    background: var(--sp-gold-pale);
    color: var(--sp-gold-lt);
}
.uce-kb-cat-count {
    font-size: 11px;
    background: rgba(13,27,42,0.06);
    padding: 1px 6px;
    border-radius: 10px;
    color: var(--sp-muted);
}
.uce-kb-sidebar-cta {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--sp-border);
}
.uce-kb-sidebar-cta p {
    font-size: 13px;
    color: var(--sp-muted);
    margin: 0 0 12px;
}

/* ── Empty State ── */
.uce-support-empty {
    text-align: center;
    padding: 56px 20px;
    color: var(--sp-muted);
}
.uce-support-empty svg {
    width: 48px; height: 48px;
    opacity: .35;
    margin-bottom: 16px;
}
.uce-support-empty p { font-size: 14px; }

/* ── GDPR Cookie Consent ── */
.uce-gdpr-banner {
    position: fixed;
    z-index: 99999;
    background: rgba(13, 26, 48, 0.97);
    border: 1px solid rgba(107,30,63,0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.uce-gdpr-banner--bottom {
    bottom: 0; left: 0; right: 0;
    border-bottom: none;
    border-left: none;
    border-right: none;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}
.uce-gdpr-banner--top {
    top: 0; left: 0; right: 0;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}
.uce-gdpr-banner--modal {
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    max-width: 480px;
    width: calc(100% - 40px);
    border-radius: 14px;
}
.uce-gdpr-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 24px;
    flex-wrap: wrap;
}
.uce-gdpr-banner--modal .uce-gdpr-inner { flex-direction: column; text-align: center; padding: 32px; }
.uce-gdpr-icon {
    font-size: 28px;
    flex-shrink: 0;
}
.uce-gdpr-text { flex: 1; min-width: 200px; }
.uce-gdpr-title {
    font-size: 15px;
    font-weight: 700;
    color: #0d1b2a;
    margin: 0 0 5px;
}
.uce-gdpr-body {
    font-size: 13px;
    color: #4a5568;
    margin: 0;
    line-height: 1.5;
}
.uce-gdpr-body a { color: #6b1e3f; text-decoration: none; }
.uce-gdpr-body a:hover { text-decoration: underline; }
.uce-gdpr-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.uce-gdpr-accept {
    background: linear-gradient(135deg, #6b1e3f, #8f2854);
    color: #fdf6e6;
    border: none;
    border-radius: 8px;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}
.uce-gdpr-reject {
    background: rgba(13,27,42,0.06);
    color: #4a5568;
    border: 1px solid rgba(13,27,42,0.1);
    border-radius: 8px;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}
.uce-gdpr-reject:hover { color: #0d1b2a; }
.uce-gdpr-manage {
    background: none;
    color: #4a5568;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.uce-gdpr-manage:hover { color: #6b1e3f; }
.uce-gdpr-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13,27,42,0.1);
    z-index: 99998;
}

.uce-gdpr-prefs {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    z-index: 100000;
    width: calc(100% - 32px);
    max-width: 460px;
    background: rgba(13,26,48,0.98);
    border: 1px solid rgba(107,30,63,0.25);
    border-radius: 16px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 60px rgba(13,27,42,0.12);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow: hidden;
}
.uce-gdpr-prefs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid rgba(13,27,42,0.06);
}
.uce-gdpr-prefs-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0d1b2a;
    margin: 0;
}
.uce-gdpr-prefs-close {
    background: rgba(13,27,42,0.08);
    border: 1px solid rgba(13,27,42,0.1);
    color: #4a5568;
    width: 30px; height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    padding: 0;
    flex-shrink: 0;
}
.uce-gdpr-prefs-close:hover { background: rgba(255,255,255,0.14); color: #0d1b2a; }
.uce-gdpr-prefs-body { padding: 16px 24px; }
.uce-gdpr-prefs-desc {
    font-size: 13px;
    color: #4a5568;
    line-height: 1.5;
    margin: 0 0 16px;
}
.uce-gdpr-pref-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid rgba(13,27,42,0.06);
}
.uce-gdpr-pref-info { flex: 1; min-width: 0; }
.uce-gdpr-pref-info strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #0d1b2a;
    margin-bottom: 2px;
}
.uce-gdpr-pref-info span {
    font-size: 12px;
    color: #5a7a9e;
    line-height: 1.4;
}
.uce-gdpr-toggle {
    position: relative;
    display: inline-flex;
    cursor: pointer;
    flex-shrink: 0;
}
.uce-gdpr-toggle.is-locked { opacity: 0.5; cursor: not-allowed; }
.uce-gdpr-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.uce-gdpr-toggle-track {
    width: 40px; height: 22px;
    background: rgba(13,27,42,0.1);
    border-radius: 11px;
    position: relative;
    transition: background 0.2s;
}
.uce-gdpr-toggle-track::after {
    content: '';
    position: absolute;
    top: 3px; left: 3px;
    width: 16px; height: 16px;
    background: #4a5568;
    border-radius: 50%;
    transition: transform 0.2s, background 0.2s;
}
.uce-gdpr-toggle input:checked + .uce-gdpr-toggle-track {
    background: rgba(107,30,63,0.35);
}
.uce-gdpr-toggle input:checked + .uce-gdpr-toggle-track::after {
    transform: translateX(18px);
    background: #6b1e3f;
}
.uce-gdpr-prefs-footer {
    display: flex;
    gap: 10px;
    padding: 16px 24px 20px;
    border-top: 1px solid rgba(13,27,42,0.06);
    justify-content: flex-end;
}
.uce-gdpr-prefs-save {
    background: rgba(13,27,42,0.06);
    color: #0d1b2a;
    border: 1px solid rgba(13,27,42,0.12);
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s, border-color 0.15s;
}
.uce-gdpr-prefs-save:hover {
    background: rgba(13,27,42,0.1);
    border-color: rgba(13,27,42,0.2);
}

/* ── ADA Widget ── */
.uce-ada-launcher {
    position: fixed !important;
    z-index: 99990 !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #6b1e3f, #8f2854) !important;
    border: none !important;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 20px rgba(13,27,42,0.08);
    transition: transform .2s ease, box-shadow .2s ease;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    font-size: 0 !important;
    overflow: visible !important;
    box-sizing: border-box !important;
    color: #fdf6e6 !important;
    text-indent: 0 !important;
    letter-spacing: normal !important;
}
.uce-ada-launcher:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 28px rgba(13,27,42,0.1);
}
button.uce-ada-launcher svg,
.uce-ada-launcher svg {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;
    max-width: none !important;
    max-height: none !important;
    color: #fdf6e6 !important;
    fill: #fdf6e6 !important;
    display: block !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    clip: auto !important;
    clip-path: none !important;
    transform: none !important;
}
.uce-ada-launcher.bottom-right { bottom: 74px; right: 24px; }
.uce-ada-launcher.bottom-left  { bottom: 74px; left: 24px; }
.uce-ada-launcher.top-right    { top: 24px; right: 24px; }
.uce-ada-launcher.top-left     { top: 24px; left: 24px; }

.uce-ada-panel {
    position: fixed;
    z-index: 99991;
    background: #ffffff;
    border: 1px solid rgba(13,27,42,0.12);
    border-radius: 14px;
    padding: 20px;
    width: 260px;
    box-shadow: 0 12px 48px rgba(13,27,42,0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    display: none;
}
.uce-ada-panel.bottom-right { bottom: 132px; right: 24px; }
.uce-ada-panel.bottom-left  { bottom: 132px; left: 24px; }
.uce-ada-panel.top-right    { top: 82px; right: 24px; }
.uce-ada-panel.top-left     { top: 82px; left: 24px; }
.uce-ada-panel.is-open { display: block; }

.uce-ada-panel-title {
    font-size: 13px;
    font-weight: 700;
    color: #0d1b2a;
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.uce-ada-tool {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(13,27,42,0.06);
}
.uce-ada-tool:last-child { border-bottom: none; }
.uce-ada-tool-label { font-size: 13px; color: #718096; }
.uce-ada-tool-controls { display: flex; gap: 4px; }
.uce-ada-btn {
    background: rgba(13,27,42,0.06);
    border: 1px solid rgba(13,27,42,0.1);
    border-radius: 5px;
    color: #0d1b2a;
    width: 28px; height: 28px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}
.uce-ada-btn:hover { background: rgba(107,30,63,0.15); border-color: rgba(107,30,63,0.3); }
.uce-ada-btn.is-active { background: rgba(107,30,63,0.2); border-color: rgba(107,30,63,0.4); color: #8f2854; }
.uce-ada-reset {
    margin-top: 14px;
    width: 100%;
    background: rgba(13,27,42,0.06);
    border: 1px solid rgba(13,27,42,0.08);
    border-radius: 6px;
    color: #4a5568;
    font-size: 12px;
    font-weight: 600;
    padding: 8px;
    cursor: pointer;
    font-family: inherit;
    transition: color .15s, background .15s;
}
.uce-ada-reset:hover { color: #0d1b2a; background: rgba(13,27,42,0.08); }

/* ── AI Chat Bot ── */
.uce-ai-launcher {
    position: fixed !important;
    bottom: 134px;
    right: 24px;
    z-index: 99980 !important;
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1.5px solid rgba(13,27,42,0.15) !important;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 24px rgba(13,27,42,0.1);
    transition: transform .2s ease, box-shadow .2s ease;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    font-size: 0 !important;
    overflow: visible !important;
    box-sizing: border-box !important;
    color: #6b1e3f !important;
    text-indent: 0 !important;
    letter-spacing: normal !important;
}
.uce-ai-launcher:hover { box-shadow: 0 8px 32px rgba(13,27,42,0.12); }
@media (hover: hover) {
    .uce-ai-launcher:hover { transform: scale(1.08); }
}
button.uce-ai-launcher svg,
.uce-ai-launcher svg {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    max-width: none !important;
    max-height: none !important;
    display: block !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    clip: auto !important;
    clip-path: none !important;
    transform: none !important;
}

.uce-ai-chat-panel {
    position: fixed;
    bottom: 150px;
    right: 24px;
    z-index: 99981;
    width: 340px;
    max-height: 480px;
    background: #ffffff;
    border: 1px solid rgba(13,27,42,0.12);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(13,27,42,0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    display: none;
}
.uce-ai-chat-panel.is-open { display: flex; }

.uce-ai-chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(13,27,42,0.08);
    background: #f7f8fa;
}
.uce-ai-chat-avatar {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6b1e3f, #8f2854);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.uce-ai-chat-header-text strong {
    display: block;
    font-size: 13px;
    color: #0d1b2a;
}
.uce-ai-chat-header-text span {
    font-size: 11px;
    color: #718096;
}
.uce-ai-chat-close {
    margin-left: auto;
    background: rgba(13,27,42,0.06);
    border: 1px solid rgba(13,27,42,0.1);
    color: #718096;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    width: 30px;
    min-width: 30px;
    height: 30px;
    min-height: 30px;
    box-sizing: border-box;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
    padding: 0;
}
.uce-ai-chat-close:hover {
    background: rgba(13,27,42,0.1);
    color: #0d1b2a;
}
.uce-ai-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scrollbar-width: thin;
    scrollbar-color: rgba(13,27,42,0.1) transparent;
    background: #ffffff;
}
.uce-ai-message {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
}
.uce-ai-message--bot {
    background: #f0f2f5;
    color: #0d1b2a;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.uce-ai-message--user {
    background: linear-gradient(135deg, #6b1e3f, #8f2854);
    border: none;
    color: #ffffff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
.uce-ai-chat-input-row {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid rgba(13,27,42,0.08);
    background: #f7f8fa;
    align-items: center;
}
.uce-ai-chat-input {
    width: 80%;
    min-width: 0;
    background: #ffffff;
    border: 1.5px solid rgba(13,27,42,0.15);
    border-radius: 8px;
    padding: 9px 14px;
    font-size: 13px;
    color: #0d1b2a;
    outline: none;
    font-family: inherit;
    transition: border-color .15s;
}
.uce-ai-chat-input:focus { border-color: rgba(107,30,63,0.4); }
.uce-ai-send-btn {
    background: linear-gradient(135deg, #6b1e3f, #8f2854);
    border: none;
    border-radius: 8px;
    width: 38px;
    height: 38px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
}
.uce-ai-send-btn svg { width: 16px; height: 16px; stroke: #fdf6e6; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .uce-support-hero { padding: 36px 20px; }
    .uce-support-nav-cards { grid-template-columns: 1fr 1fr; }
    .uce-support-content-wrap { grid-template-columns: 1fr; }
    .uce-support-sidebar-col { display: none; }
    .uce-support-form-row--2col { grid-template-columns: 1fr; }
    .uce-kb-layout { grid-template-columns: 1fr; }
    .uce-kb-sidebar { display: none; }
    .uce-support-article-grid { grid-template-columns: 1fr; }
    .uce-ai-chat-panel { right: 10px; left: 10px; width: auto; bottom: 100px; }
    .uce-support-search-bar { padding: 4px 4px 4px 14px; gap: 4px; max-width: 100%; }
    .uce-support-search-input { flex: 4; min-width: 0; font-size: 14px; }
    .uce-support-search-submit { flex: 1; padding: 10px 0; font-size: 12px; text-align: center; }
    .uce-support-search-icon { width: 16px; height: 16px; }
}
@media (max-width: 480px) {
    .uce-support-nav-cards { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Knowledge Base Page – Redesigned
   ========================================================================== */

.uce-kb-page {
    min-height: 60vh;
}

.uce-kb-hero {
    background: #ffffff;
    border-bottom: 1px solid rgba(13, 27, 42, 0.1);
    border: 1px solid rgba(13, 27, 42, 0.08);
    border-radius: var(--sp-radius);
    padding: 56px 40px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(13, 27, 42, 0.06);
    margin-bottom: 32px;
}

.uce-kb-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(107,30,63,0.04) 0%, transparent 65%);
    pointer-events: none;
}

.uce-kb-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.uce-kb-hero-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(107,30,63,0.12);
    border: 1px solid var(--sp-gold-border);
    color: var(--sp-gold-lt);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.uce-kb-hero-title {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
    color: #0d1b2a;
    margin: 0 0 12px;
    line-height: 1.15;
}

.uce-kb-hero-sub {
    font-size: 16px;
    color: #718096;
    margin: 0 0 24px;
    line-height: 1.6;
}

.uce-kb-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--sp-gold, #6b1e3f);
    text-decoration: none;
    transition: opacity var(--sp-t);
}

.uce-kb-back-link:hover { opacity: .75; }

.uce-kb-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
    max-width: 1160px;
    margin: 0 auto;
    padding: 40px 32px 80px;
    align-items: flex-start;
}

.uce-kb-sidebar-inner {
    background: var(--sp-card);
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius);
    padding: 24px;
    position: sticky;
    top: 80px;
}

.uce-kb-sidebar-heading {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--sp-muted);
    margin: 0 0 14px;
}

.uce-kb-cat-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 28px;
}

.uce-kb-cat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    color: var(--sp-muted);
    transition: background var(--sp-t), color var(--sp-t);
}

.uce-kb-cat-link:hover {
    background: rgba(13,27,42,0.04);
    color: var(--sp-text);
}

.uce-kb-cat-link.is-active {
    background: var(--sp-gold-pale);
    color: var(--sp-gold-lt);
    font-weight: 600;
}

.uce-kb-cat-name { flex: 1; }

.uce-kb-cat-count {
    font-size: 11px;
    background: rgba(13,27,42,0.06);
    padding: 1px 7px;
    border-radius: 10px;
    color: var(--sp-muted);
    flex-shrink: 0;
}

.uce-kb-cat-link.is-active .uce-kb-cat-count {
    background: var(--sp-gold-pale);
    color: var(--sp-gold);
}

.uce-kb-sidebar-cta {
    border-top: 1px solid var(--sp-border);
    padding-top: 20px;
    text-align: center;
}

.uce-kb-sidebar-cta-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--sp-gold-pale);
    border: 1px solid var(--sp-gold-border);
    color: var(--sp-gold-lt);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.uce-kb-sidebar-cta p {
    font-size: 13px;
    color: var(--sp-muted);
    margin: 0 0 14px;
    line-height: 1.4;
}

.uce-kb-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    background: linear-gradient(135deg, var(--sp-gold), var(--sp-gold-lt));
    color: #fdf6e6;
    font-size: 12px;
    font-weight: 700;
    border-radius: 30px;
    text-decoration: none;
    transition: opacity var(--sp-t);
}

.uce-kb-contact-btn:hover { opacity: .88; }

.uce-kb-article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.uce-kb-article-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--sp-card);
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-sm);
    padding: 22px 24px;
    text-decoration: none;
    transition: border-color var(--sp-t), box-shadow var(--sp-t), transform var(--sp-t);
}

.uce-kb-article-card:hover {
    border-color: var(--sp-gold-border);
    box-shadow: 0 6px 24px rgba(13,27,42,0.06);
    transform: translateY(-2px);
}

.uce-kb-article-card-top {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.uce-kb-article-type {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--sp-gold);
    background: var(--sp-gold-pale);
    border: 1px solid var(--sp-gold-border);
    padding: 2px 8px;
    border-radius: 10px;
}

.uce-kb-article-cat {
    font-size: 10px;
    font-weight: 600;
    color: var(--sp-muted);
    background: rgba(13,27,42,0.06);
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.uce-kb-article-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--sp-text);
    margin: 0;
    line-height: 1.35;
}

.uce-kb-article-excerpt {
    font-size: 13px;
    color: var(--sp-muted);
    margin: 0;
    line-height: 1.55;
    flex: 1;
}

.uce-kb-article-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: var(--sp-gold);
    margin-top: 4px;
    transition: gap var(--sp-t);
}

.uce-kb-article-card:hover .uce-kb-article-cta { gap: 8px; }

.uce-kb-empty {
    text-align: center;
    padding: 64px 20px;
    color: var(--sp-muted);
}

.uce-kb-empty-icon {
    margin-bottom: 20px;
    opacity: .3;
}

.uce-kb-empty h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--sp-text);
    margin: 0 0 10px;
}

.uce-kb-empty p {
    font-size: 14px;
    margin: 0 0 20px;
    line-height: 1.5;
}

@media (max-width: 860px) {
    .uce-kb-layout {
        grid-template-columns: 1fr;
        padding: 28px 20px 60px;
    }
    .uce-kb-sidebar { display: none; }
    .uce-kb-hero { padding: 40px 20px 36px; }
    .uce-kb-article-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Single Article / Tutorial — white card layout
   ========================================================================== */

.uce-article-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 32px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 0 48px;
}

.uce-article-body {
    background: #ffffff;
    border: 1px solid rgba(13, 27, 42, 0.10);
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(13, 27, 42, 0.07);
    overflow: hidden;
}

.uce-article-header {
    padding: 36px 40px 28px;
    border-bottom: 1px solid rgba(13, 27, 42, 0.08);
}

.uce-article-content {
    padding: 32px 40px 40px;
    color: #4a5568;
    line-height: 1.8;
    font-size: 1rem;
}

.uce-article-content p { margin: 0 0 1.2em; }
.uce-article-content h2,
.uce-article-content h3,
.uce-article-content h4 {
    color: #0d1b2a;
    margin: 1.6em 0 0.6em;
    font-weight: 600;
}
.uce-article-content ul,
.uce-article-content ol {
    padding-left: 1.4em;
    margin: 0 0 1.2em;
}
.uce-article-content li { margin-bottom: 0.5em; color: #4a5568; }
.uce-article-content a { color: var(--sp-gold, #6b1e3f); }

.uce-article-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: #0d1b2a;
    margin: 8px 0 0;
    line-height: 1.25;
}

.uce-article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    margin-top: 12px;
    font-size: 13px;
    color: #718096;
}

.uce-support-article-type {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sp-gold, #6b1e3f);
    background: rgba(107, 30, 63, 0.09);
    border: 1px solid rgba(107, 30, 63, 0.2);
    border-radius: 20px;
    padding: 3px 10px;
}

.uce-article-footer-cta {
    padding: 24px 40px;
    border-top: 1px solid rgba(13, 27, 42, 0.08);
    background: #fafafa;
}

@media (max-width: 780px) {
    .uce-article-layout {
        grid-template-columns: 1fr;
    }
    .uce-article-header,
    .uce-article-content,
    .uce-article-footer-cta { padding-left: 20px; padding-right: 20px; }
}
