/* Force dark body when this stylesheet is loaded (forum pages) */
body {
    background: #050505 !important;
    color: #f7f7f7;
}

.forum-page-wrapper {
    background: #050505;
    color: #f7f7f7;
}

.forum-hero {
    background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.35), transparent 55%),
                radial-gradient(circle at bottom right, rgba(212, 175, 55, 0.22), transparent 55%),
                linear-gradient(135deg, #000000, #121212);
    color: #ffffff;
    padding: 40px 0 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.forum-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.forum-hero-copy {
    max-width: 620px;
}

.forum-hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 8px;
}

.forum-hero-title {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
}

.forum-hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.78);
    max-width: 540px;
    margin-bottom: 18px;
}

.forum-hero-meta {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 18px;
}

.forum-hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.forum-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out, border-color 0.12s ease-out, color 0.12s ease-out;
}

.forum-hero-cta-primary {
    background: #d4af37;
    border-color: rgba(250, 233, 160, 0.8);
    color: #101010;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.forum-hero-cta-primary:hover {
    background: #f0c84a;
    transform: translateY(-1px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
    color: #050505;
}

.forum-hero-cta-secondary {
    background: transparent;
    border-color: rgba(212, 175, 55, 0.6);
    color: rgba(255, 255, 255, 0.9);
}

.forum-hero-cta-secondary:hover {
    background: rgba(212, 175, 55, 0.12);
    transform: translateY(-1px);
}

.forum-hero-cta-ghost {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.88);
}

.forum-hero-cta-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.forum-hero-cta i {
    font-size: 0.95rem;
}

.forum-hero-aside {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: flex-end;
}

.forum-hero-card {
    max-width: 320px;
    width: 100%;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.06), transparent 60%),
                rgba(15, 15, 15, 0.9);
    border-radius: 20px;
    padding: 18px 18px 16px;
    border: 1px solid rgba(250, 233, 160, 0.2);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
}

.forum-hero-card h3 {
    font-size: 0.96rem;
    margin-bottom: 6px;
}

.forum-hero-card p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.forum-hero-card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 6px;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.72);
}

.forum-hero-card-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.forum-hero-card-list i {
    color: #d4af37;
    font-size: 0.8rem;
}

.forum-hero-footnote {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
}

.forum-hero-footnote a {
    color: #f6d870;
    text-decoration: underline;
}

.forum-hero-footnote a:hover {
    color: #ffffff;
}

.forum-intent-panel {
    padding: 24px 0 8px;
    background: #050505;
}

.forum-intent-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.intent-card {
    background: #111111;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 16px 14px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
    transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, border-color 0.12s ease-out;
}

.intent-card:hover {
    transform: translateY(-3px);
    border-color: rgba(250, 233, 160, 0.38);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75);
}

.intent-card h3 {
    font-size: 0.98rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.intent-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.intent-card form {
    display: flex;
    gap: 8px;
}

.intent-input {
    flex: 1;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(9, 9, 9, 0.9);
    color: #ffffff;
    padding: 8px 14px;
    font-size: 0.85rem;
}

.intent-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.intent-button {
    border-radius: 999px;
    border: none;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    background: #d4af37;
    color: #101010;
    cursor: pointer;
    white-space: nowrap;
}

.intent-button:hover {
    background: #f0c84a;
}

.intent-link-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
}

.intent-link-button:hover {
    background: rgba(255, 255, 255, 0.12);
}

.trending-reviews-section {
    padding: 8px 0 12px;
    background: #050505;
}

.trending-reviews-inner {
    background: #121212;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 18px 14px;
}

.trending-reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.trending-reviews-title {
    font-size: 1rem;
    font-weight: 600;
}

.trending-reviews-title span {
    color: #ffaa3b;
}

.trending-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.trending-review-card {
    background: #181818;
    border-radius: 14px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.trending-review-provider {
    font-size: 0.92rem;
    font-weight: 600;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    padding: 1px 6px;
    border-radius: 999px;
    border: 1px solid rgba(246, 216, 112, 0.7);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #f6d870;
}

.trending-review-location {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.trending-review-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: #ffd86b;
}

.trending-review-social {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
}

.trending-review-excerpt {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.45;
    max-height: 3.1em;
    overflow: hidden;
}

.trending-review-cta {
    margin-top: 6px;
    font-size: 0.8rem;
}

.trending-review-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(246, 216, 112, 0.85);
    background: rgba(0, 0, 0, 0.35);
    color: #f6d870;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 0 0 rgba(246, 216, 112, 0.3);
    transition: background 0.12s ease-out, box-shadow 0.12s ease-out, transform 0.12s ease-out, border-color 0.12s ease-out;
}

.trending-review-cta a:hover {
    background: rgba(246, 216, 112, 0.16);
    border-color: rgba(255, 239, 180, 0.95);
    box-shadow: 0 0 16px rgba(246, 216, 112, 0.55);
    transform: translateY(-1px);
}

.trending-review-cta a:hover {
    text-decoration: underline;
}

.forum-stats-bar {
    padding: 16px 0 8px;
    background: #050505;
}

.forum-stats-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    background: #111111;
    border-radius: 999px;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    align-items: center;
}

.forum-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
}

.forum-stat-icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    color: #f6d870;
    font-size: 0.85rem;
}

.forum-stat-labels {
    display: flex;
    flex-direction: column;
}

.forum-stat-number {
    font-size: 0.95rem;
    font-weight: 600;
}

.forum-stat-text {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
}

.forum-main-layout {
    padding: 20px 0 28px;
    display: grid;
    grid-template-columns: minmax(0, 3.1fr) minmax(0, 1.4fr);
    gap: 20px;
}

.forum-main {
    min-width: 0;
}

.forum-section-card {
    background: #101010;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 18px 18px 16px;
    margin-bottom: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.forum-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.forum-section-title {
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.forum-section-title span {
    color: #f6d870;
}

.forum-category-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.forum-category-row {
    display: grid;
    grid-template-columns: minmax(0, 2.3fr) minmax(0, 1.4fr);
    gap: 10px;
    padding: 12px 10px;
    border-radius: 12px;
    background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.15), transparent 65%),
                #121212;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.12s ease-out, border-color 0.12s ease-out, transform 0.12s ease-out;
}

.forum-category-row:hover {
    border-color: rgba(250, 233, 160, 0.4);
    transform: translateY(-1px);
    background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.25), transparent 70%),
                #151515;
}

.forum-category-main {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.forum-category-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    color: #f6d870;
}

.forum-category-copy {
    min-width: 0;
}

.forum-category-name {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.98rem;
    font-weight: 600;
    text-decoration: none;
    color: #ffffff;
}

.forum-category-name:hover {
    color: #f6d870;
}

.forum-category-description {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2px;
}

.forum-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.forum-badge-hot {
    background: rgba(255, 87, 51, 0.18);
    color: #ff9f6b;
}

.forum-badge-active {
    background: rgba(73, 209, 146, 0.16);
    color: #7be2b4;
}

.forum-category-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    font-size: 0.8rem;
}

.forum-category-stats {
    display: flex;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.forum-category-stats span strong {
    font-weight: 600;
    color: #f6d870;
}

.forum-category-latest {
    text-align: right;
}

.forum-category-latest a {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.82rem;
    text-decoration: none;
}

.forum-category-latest a:hover {
    color: #f6d870;
}

.forum-category-latest-meta {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.65);
}

.membership-tease {
    margin: 10px 0 4px;
    background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.22), transparent 70%),
                #090909;
    border-radius: 18px;
    padding: 18px 16px 16px;
    border: 1px solid rgba(250, 233, 160, 0.45);
}

.membership-tease h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.membership-tease p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.membership-tease ul {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.8);
}

.membership-tease li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.membership-tease li i {
    color: #f6d870;
    font-size: 0.8rem;
}

.membership-tease-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 999px;
    background: #f6d870;
    color: #101010;
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
}

.membership-tease-cta:hover {
    background: #ffe891;
    color: #050505;
}

.forum-sidebar {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sidebar-widget {
    background: #101010;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
}

.sidebar-widget-header {
    padding: 12px 16px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #f6d870;
}

.sidebar-widget-body {
    padding: 14px 16px 12px;
}

.trending-provider-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.82rem;
}

.trending-provider-item:last-child {
    border-bottom: none;
}

.trending-provider-main {
    min-width: 0;
}

.trending-provider-name {
    font-weight: 600;
}

.trending-provider-location {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
}

.trending-provider-meta {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.7);
}

.trending-provider-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.trending-provider-quick {
    border-radius: 999px;
    padding: 6px 10px;
    background: rgba(246, 216, 112, 0.12);
    color: #f6d870;
    border: 1px solid rgba(246, 216, 112, 0.5);
    font-size: 0.78rem;
    text-decoration: none;
}

.trending-provider-quick:hover {
    background: rgba(246, 216, 112, 0.2);
}

.recent-post-item {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.recent-post-item:last-child {
    border-bottom: none;
}

.recent-post-title a {
    font-size: 0.84rem;
    color: #ffffff;
    text-decoration: none;
}

.recent-post-title a:hover {
    color: #f6d870;
}

.recent-post-meta {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.65);
}

.online-count {
    font-weight: 700;
    color: #f6d870;
}

.forum-footer-links {
    padding-bottom: 28px;
}

.forum-footer-links-inner {
    background: #101010;
    border-radius: 999px;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: inline-flex;
    flex-wrap: wrap;
    gap: 16px;
}

.forum-footer-links-inner a {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.forum-footer-links-inner a:hover {
    color: #f6d870;
}

@media (max-width: 992px) {
    .forum-hero-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .forum-hero-aside {
        width: 100%;
        justify-content: flex-start;
    }

    .forum-hero-card {
        max-width: 100%;
    }

    .forum-main-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .forum-hero {
        padding: 28px 0 24px;
    }

    .forum-hero-title {
        font-size: 1.8rem;
    }

    .forum-intent-cards {
        grid-template-columns: minmax(0, 1fr);
    }

    .trending-reviews-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .forum-section-card {
        padding: 16px 14px 14px;
    }

    .forum-category-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .forum-category-meta {
        align-items: flex-start;
        text-align: left;
    }

    .forum-stats-inner {
        border-radius: 16px;
    }
}

/* Dark overrides for legacy forum pages (forum_general, forum_provider411, etc.) */
.forum-page-wrapper .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}
.forum-page-wrapper .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}
.forum-page-wrapper .breadcrumb-item a:hover {
    color: #f6d870;
}
.forum-page-wrapper .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
}
.forum-page-wrapper .widget-card,
.forum-page-wrapper .card {
    background: #101010;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    color: #f7f7f7;
}
.forum-page-wrapper .widget-card h5,
.forum-page-wrapper .card-header {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.06);
}
.forum-page-wrapper .alert {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}
.forum-page-wrapper .alert-success { border-color: rgba(115, 209, 61, 0.4); }
.forum-page-wrapper .alert-danger { border-color: rgba(220, 53, 69, 0.4); }
.forum-page-wrapper .alert-warning { border-color: rgba(255, 193, 7, 0.4); }
.forum-page-wrapper .btn-primary {
    background: linear-gradient(135deg, #d4af37 0%, #c9a227 100%) !important;
    border: 1px solid rgba(246, 216, 112, 0.6) !important;
    color: #101010 !important;
}
.forum-page-wrapper .btn-primary:hover {
    background: linear-gradient(135deg, #e0bc40 0%, #d4af37 100%) !important;
    border-color: rgba(246, 216, 112, 0.9) !important;
    color: #101010 !important;
}
.forum-page-wrapper .city-link,
.forum-page-wrapper .forum-main a:not(.btn) {
    color: #f6d870;
}
.forum-page-wrapper .city-link:hover,
.forum-page-wrapper .forum-main a:not(.btn):hover {
    color: #f0c84a;
}
.forum-page-wrapper .sidebar-empty {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Dark overrides for topic listing cards on forum_general.php */
.forum-page-wrapper .topic-card {
    background: #101010;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 10px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
}
.forum-page-wrapper .topic-card:hover {
    border-color: rgba(246, 216, 112, 0.8);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
}
.forum-page-wrapper .topic-title {
    color: #ffffff;
}
.forum-page-wrapper .topic-title:hover {
    color: #f6d870;
}
.forum-page-wrapper .topic-preview {
    background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.22), transparent 70%),
                #151515;
    border-left-color: rgba(246, 216, 112, 0.5);
    color: rgba(255, 255, 255, 0.85);
}
.forum-page-wrapper .topic-meta {
    color: rgba(255, 255, 255, 0.7);
}
.forum-page-wrapper .topic-meta .stat-item i {
    color: #f6d870;
}
.forum-page-wrapper .meta-left {
    color: rgba(255, 255, 255, 0.7);
}
.forum-page-wrapper .meta-left .username {
    color: #f6d870;
}

/* Dark styling for Recent Topics header + controls on forum_general.php */
.forum-page-wrapper .topics-section {
    background: #101010;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.forum-page-wrapper .topics-header {
    background: #111111;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.forum-page-wrapper .topics-title {
    color: #ffffff;
}
.forum-page-wrapper .topics-title i {
    color: #f6d870;
}
.forum-page-wrapper .topics-controls {
    color: rgba(255, 255, 255, 0.8);
}
.forum-page-wrapper .filter-tabs {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}
.forum-page-wrapper .filter-tab {
    color: rgba(255, 255, 255, 0.7);
}
.forum-page-wrapper .filter-tab:hover {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.95);
}
.forum-page-wrapper .filter-tab.active {
    background: linear-gradient(135deg, #d4af37 0%, #c9a227 100%);
    color: #101010;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.75);
}
.forum-page-wrapper .view-controls .view-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.8);
}
.forum-page-wrapper .view-controls .view-btn.active {
    background: rgba(246, 216, 112, 0.16);
    border-color: rgba(246, 216, 112, 0.7);
    color: #f6d870;
}

/* Dark overrides for forum_topic.php (single thread view) */
.forum-page-wrapper .forum-main {
    min-height: 30vh;
}
.forum-page-wrapper .topic-content-card,
.forum-page-wrapper .replies-section {
    display: block !important;
    visibility: visible !important;
}
.forum-page-wrapper .topic-content-card {
    background: #101010;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}
.forum-page-wrapper .topic-content-card::before {
    background: linear-gradient(90deg, #d4af37 0%, #c9a227 50%, #d4af37 100%);
}
.forum-page-wrapper .topic-meta {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.85);
}
.forum-page-wrapper .topic-content,
.forum-page-wrapper .reply-content {
    color: rgba(255, 255, 255, 0.9);
}
.forum-page-wrapper .meta-left,
.forum-page-wrapper .stat-item,
.forum-page-wrapper .date {
    color: rgba(255, 255, 255, 0.7);
}
.forum-page-wrapper .username {
    color: #f6d870;
}
.forum-page-wrapper .replies-section h3 {
    color: #ffffff;
}
.forum-page-wrapper .reply-card {
    background: #121212;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left-color: rgba(212, 175, 55, 0.5);
}
.forum-page-wrapper .reply-form {
    background: #101010;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    color: rgba(255, 255, 255, 0.9);
}
.forum-page-wrapper .reply-form .form-label,
.forum-page-wrapper .reply-form .form-control {
    color: rgba(255, 255, 255, 0.9);
}
.forum-page-wrapper .reply-form .form-control {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}
.forum-page-wrapper .reply-form .form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(246, 216, 112, 0.5);
    color: #fff;
}
.forum-page-wrapper .forum-nav-strip {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
}
.forum-page-wrapper .forum-nav-title {
    color: rgba(255, 255, 255, 0.9);
}
.forum-page-wrapper .btn-outline-secondary {
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}
.forum-page-wrapper .btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #f6d870;
    color: #f6d870;
}
.forum-page-wrapper .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}
.forum-page-wrapper .bg-light {
    background: rgba(255, 255, 255, 0.04) !important;
    color: rgba(255, 255, 255, 0.8);
}
