/* BeoWorld & Forum Theme - Color Scheme & Typography */

:root {
    /* BeoWorld Color Scheme */
    --beoworld-blue: #3181A8;
    --beoworld-primary: #DEB256;      /* Gold */
    --beoworld-secondary: #BE8A33;    /* Darker Gold */
    --beoworld-text: #7A7A7A;         /* Grey */
    --beoworld-accent: #BE8A33;       /* Gold Accent */
    --beoworld-bg-dark: #333333;      /* Dark Background */
    --beoworld-bg-light: #F2EFEC;     /* Light Background */
    --beoworld-white: #FFFFFF;
    
    /* Typography */
    --beoworld-font: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Apply Roboto font to BeoWorld sections */
.beoworld-theme,
.forum-theme {
    font-family: var(--beoworld-font);
    color: var(--beoworld-text);
    background-color: var(--beoworld-bg-light);
}

/* Headings */
.beoworld-theme h1,
.beoworld-theme h2,
.beoworld-theme h3,
.beoworld-theme h4,
.beoworld-theme h5,
.beoworld-theme h6,
.forum-theme h1,
.forum-theme h2,
.forum-theme h3,
.forum-theme h4,
.forum-theme h5,
.forum-theme h6 {
    font-family: var(--beoworld-font);
    font-weight: 500;
    color: var(--beoworld-bg-dark);
}

.beoworld-theme h1,
.forum-theme h1 {
    color: var(--beoworld-blue);
    font-weight: 700;
}

/* Primary buttons */
.beoworld-theme .btn-primary,
.forum-theme .btn-primary {
    background-color: var(--beoworld-primary);
    border-color: var(--beoworld-primary);
    color: var(--beoworld-bg-dark);
    font-weight: 500;
    transition: all 0.3s ease;
}

.beoworld-theme .btn-primary:hover,
.forum-theme .btn-primary:hover {
    background-color: var(--beoworld-secondary);
    border-color: var(--beoworld-secondary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(190, 138, 51, 0.3);
}

/* Secondary buttons */
.beoworld-theme .btn-secondary,
.forum-theme .btn-secondary {
    background-color: var(--beoworld-blue);
    border-color: var(--beoworld-blue);
    color: white;
}

.beoworld-theme .btn-secondary:hover,
.forum-theme .btn-secondary:hover {
    background-color: #2a6d8f;
    border-color: #2a6d8f;
    transform: translateY(-2px);
}

/* Outline buttons */
.beoworld-theme .btn-outline-primary,
.forum-theme .btn-outline-primary {
    border-color: var(--beoworld-primary);
    color: var(--beoworld-primary);
}

.beoworld-theme .btn-outline-primary:hover,
.forum-theme .btn-outline-primary:hover {
    background-color: var(--beoworld-primary);
    color: var(--beoworld-bg-dark);
}

/* Cards */
.beoworld-theme .card,
.forum-theme .card {
    border: 1px solid rgba(190, 138, 51, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background: white;
}

.beoworld-theme .card:hover,
.forum-theme .card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.beoworld-theme .card-header,
.forum-theme .card-header {
    background-color: var(--beoworld-blue);
    color: white;
    font-weight: 500;
    border-bottom: 3px solid var(--beoworld-primary);
}

/* Links */
.beoworld-theme a,
.forum-theme a {
    color: var(--beoworld-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.beoworld-theme a:hover,
.forum-theme a:hover {
    color: var(--beoworld-secondary);
    text-decoration: underline;
}

/* Badges */
.beoworld-theme .badge,
.forum-theme .badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
}

.beoworld-theme .badge.bg-primary,
.forum-theme .badge.bg-primary {
    background-color: var(--beoworld-primary) !important;
    color: var(--beoworld-bg-dark);
}

.beoworld-theme .badge.bg-info,
.forum-theme .badge.bg-info {
    background-color: var(--beoworld-blue) !important;
}

.beoworld-theme .badge.bg-warning,
.forum-theme .badge.bg-warning {
    background-color: var(--beoworld-secondary) !important;
    color: white;
}

/* List Groups */
.beoworld-theme .list-group-item,
.forum-theme .list-group-item {
    border-color: rgba(190, 138, 51, 0.2);
}

.beoworld-theme .list-group-item:hover,
.forum-theme .list-group-item:hover {
    background-color: rgba(222, 178, 86, 0.1);
    border-color: var(--beoworld-primary);
}

.beoworld-theme .list-group-item-action:hover,
.forum-theme .list-group-item-action:hover {
    background-color: rgba(222, 178, 86, 0.15);
    color: var(--beoworld-bg-dark);
}

/* Alerts */
.beoworld-theme .alert-info,
.forum-theme .alert-info {
    background-color: rgba(49, 129, 168, 0.1);
    border-color: var(--beoworld-blue);
    color: var(--beoworld-bg-dark);
}

.beoworld-theme .alert-success,
.forum-theme .alert-success {
    background-color: rgba(222, 178, 86, 0.1);
    border-color: var(--beoworld-primary);
    color: var(--beoworld-bg-dark);
}

/* Hero Section */
.beoworld-hero {
    background: linear-gradient(135deg, var(--beoworld-blue) 0%, var(--beoworld-secondary) 100%);
    color: white;
    padding: 3rem 0;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* ============================================
   FORUM QUOTE STYLING
   NEW: [data-quote="true"] (custom div - Quill won't touch it)
   OLD: <blockquote> (legacy WordPress)
   ============================================ */

/* NEW FORMAT: Custom data-quote div (Quill-proof) */
.post-content-text div[data-quote="true"] {
    border: 3px solid #0066cc !important;
    border-left: 8px solid #0066cc !important;
    background: #e3f2fd !important;
    padding: 20px !important;
    margin: 24px 0 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0,102,204,0.25) !important;
    display: block !important;
}

.post-content-text div[data-quote="true"] strong {
    font-weight: 700 !important;
    color: #0066cc !important;
    font-size: 1.05rem !important;
}

.post-content-text div[data-quote="true"] em {
    color: #333 !important;
    font-style: italic !important;
    line-height: 1.6 !important;
}

/* OLD FORMAT: Legacy blockquotes */
.post-content-text blockquote {
    border: 3px solid #0066cc !important;
    border-left: 8px solid #0066cc !important;
    background: #e3f2fd !important;
    padding: 20px !important;
    margin: 24px 0 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0,102,204,0.25) !important;
    display: block !important;
}

.post-content-text blockquote strong {
    font-weight: 700 !important;
    color: #0066cc !important;
    font-size: 1.05rem !important;
}

/* mcare-quote div with data-quote - Quill-proof quote system (flat structure) */
.post-content-text div.mcare-quote[data-quote="true"],
.post-content-text .mcare-quote[data-quote="true"],
#quill-editor div.mcare-quote[data-quote="true"],
#quill-editor .mcare-quote[data-quote="true"],
.ql-editor div.mcare-quote[data-quote="true"],
.ql-editor .mcare-quote[data-quote="true"] {
    border: 3px solid #0066cc !important;
    border-left: 8px solid #0066cc !important;
    background: #e3f2fd !important;
    padding: 20px !important;
    margin: 24px 0 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0,102,204,0.25) !important;
    display: block !important;
    line-height: 1.6 !important;
    color: #333 !important;
}

/* Quote author link styling */
.post-content-text .mcare-quote .mcare-quote-author,
.post-content-text .mcare-quote strong.mcare-quote-author,
#quill-editor .mcare-quote .mcare-quote-author,
#quill-editor .mcare-quote strong.mcare-quote-author,
.ql-editor .mcare-quote .mcare-quote-author,
.ql-editor .mcare-quote strong.mcare-quote-author {
    font-weight: 700 !important;
    color: #0066cc !important;
    font-size: 1.05rem !important;
    display: block !important;
    margin-bottom: 12px !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid #90caf9 !important;
}

.post-content-text .mcare-quote .mcare-quote-author a,
.post-content-text .mcare-quote strong.mcare-quote-author a,
#quill-editor .mcare-quote .mcare-quote-author a,
#quill-editor .mcare-quote strong.mcare-quote-author a,
.ql-editor .mcare-quote .mcare-quote-author a,
.ql-editor .mcare-quote strong.mcare-quote-author a {
    color: #0066cc !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    transition: color 0.2s ease !important;
}

.post-content-text .mcare-quote .mcare-quote-author a:hover,
.post-content-text .mcare-quote strong.mcare-quote-author a:hover,
#quill-editor .mcare-quote .mcare-quote-author a:hover,
#quill-editor .mcare-quote strong.mcare-quote-author a:hover,
.ql-editor .mcare-quote .mcare-quote-author a:hover,
.ql-editor .mcare-quote strong.mcare-quote-author a:hover {
    color: #004499 !important;
    text-decoration: underline !important;
}

/* Nested mcare-quotes */
.post-content-text div.mcare-quote div.mcare-quote,
.post-content-text .mcare-quote .mcare-quote {
    border-left-color: #42a5f5 !important;
    background: rgba(187, 222, 251, 0.5) !important;
    margin: 12px 0 12px 12px !important;
    padding: 16px !important;
}

.post-content-text .mcare-quote-title {
    font-weight: 700 !important;
    color: #0066cc !important;
    margin-bottom: 12px !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid #90caf9 !important;
}

/* Legacy blockquote (without mcare-quote class) */
.post-content-text blockquote:not(.mcare-quote) .mcare-quote-title {
    font-weight: 700 !important;
    color: #0066cc !important;
    margin-bottom: 12px !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid #90caf9 !important;
}

/* Nested quotes */
.post-content-text div[data-quote="true"] div[data-quote="true"] {
    border-left-color: #42a5f5 !important;
    background: rgba(187, 222, 251, 0.5) !important;
    margin: 12px 0 12px 12px !important;
    padding: 16px !important;
}

.post-content-text blockquote blockquote {
    border-left-color: #42a5f5 !important;
    background: rgba(187, 222, 251, 0.5) !important;
    margin: 12px 0 12px 12px !important;
    padding: 16px !important;
}

/* ============================================
   RESPONSIVE POST CONTENT
   Ensure images and content stay within container
   ============================================ */

/* Post content container - keep normal document flow */
.post-content,
.post-body,
.post-content-text {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    /* DO NOT use flexbox - it disrupts natural content flow */
}

/* Images inline-block - 3 across on desktop (EXCLUDE avatars) */
/* Images will naturally wrap and respect line breaks from content */
.post-content-text img:not(.avatar):not(.member-avatar),
.post-body .post-content-text img:not(.avatar):not(.member-avatar),
.ql-editor img:not(.avatar):not(.member-avatar) {
    display: inline-block;
    vertical-align: top;
    width: calc(33.333% - 0.75rem); /* 3 across with gap */
    max-width: 600px;
    height: auto !important;
    margin: 0.5rem 0.5rem 0.5rem 0;
    object-fit: contain;
    cursor: pointer; /* Indicate clickable for lightbox */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-content-text img:not(.avatar):not(.member-avatar):hover,
.post-body .post-content-text img:not(.avatar):not(.member-avatar):hover,
.ql-editor img:not(.avatar):not(.member-avatar):hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Remove right margin on every 3rd image to prevent wrapping issues */
.post-content-text img:not(.avatar):not(.member-avatar):nth-of-type(3n),
.post-body .post-content-text img:not(.avatar):not(.member-avatar):nth-of-type(3n) {
    margin-right: 0;
}

/* Avatar images should maintain their set size */
.author-avatar img,
.member-avatar,
img.avatar,
.post-author .author-avatar img {
    /* Let the parent component control avatar size */
    /* Don't apply any overrides here */
}

/* Tablet - 2 images across */
@media (max-width: 1024px) {
    .post-content-text img:not(.avatar):not(.member-avatar),
    .post-body .post-content-text img:not(.avatar):not(.member-avatar),
    .ql-editor img:not(.avatar):not(.member-avatar) {
        width: calc(50% - 0.5rem); /* 2 across */
    }
    
    /* Remove right margin on every 2nd image */
    .post-content-text img:not(.avatar):not(.member-avatar):nth-of-type(2n),
    .post-body .post-content-text img:not(.avatar):not(.member-avatar):nth-of-type(2n) {
        margin-right: 0;
    }
    
    /* Reset 3n rule for tablet */
    .post-content-text img:not(.avatar):not(.member-avatar):nth-of-type(3n),
    .post-body .post-content-text img:not(.avatar):not(.member-avatar):nth-of-type(3n) {
        margin-right: 0.5rem;
    }
}

/* Mobile - 1 image across (full width) */
@media (max-width: 768px) {
    .post-content-text img:not(.avatar):not(.member-avatar),
    .post-body .post-content-text img:not(.avatar):not(.member-avatar),
    .ql-editor img:not(.avatar):not(.member-avatar) {
        width: 100%; /* 1 across, full width */
        max-width: 100%;
        margin-right: 0;
    }
}

/* Ensure text content (paragraphs, headings) are full width blocks */
.post-content-text p,
.post-content-text div,
.post-content-text h1,
.post-content-text h2,
.post-content-text h3,
.post-content-text h4,
.post-content-text h5,
.post-content-text h6,
.post-content-text blockquote {
    display: block;
    width: 100%;
    clear: both; /* Clear any floated images before starting new text block */
}

/* Lists should also be full width blocks */
.post-content-text ul,
.post-content-text ol {
    display: block;
    width: 100%;
    clear: both;
}

/* Tighter spacing for list items - minimal gaps between bullets */
.post-content-text ul li,
.post-content-text ol li,
.post-body ul li,
.post-body ol li,
.ql-editor ul li,
.ql-editor ol li {
    margin-top: 0.1rem !important;
    margin-bottom: 0.1rem !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1.3;
}

/* First list item should have no top margin */
.post-content-text ul li:first-child,
.post-content-text ol li:first-child,
.post-body ul li:first-child,
.post-body ol li:first-child {
    margin-top: 0 !important;
}

/* Last list item should have no bottom margin */
.post-content-text ul li:last-child,
.post-content-text ol li:last-child,
.post-body ul li:last-child,
.post-body ol li:last-child {
    margin-bottom: 0 !important;
}

/* Lists themselves should have reasonable spacing around them */
.post-content-text ul,
.post-content-text ol,
.post-body ul,
.post-body ol {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    padding-left: 2rem;
}

/* Preserve line breaks and whitespace from database */
.post-content-text,
.post-body .post-content-text {
    white-space: normal; /* Normal flow - collapses &nbsp; between images */
}

/* Only block-level text containers should be full-width */
/* Do NOT include span, strong, em - they should remain inline */
.post-content-text > p,
.post-content-text > div:not(.mcare-quote):not(.forum-attachment-overlay),
.post-content-text > h1,
.post-content-text > h2,
.post-content-text > h3,
.post-content-text > h4,
.post-content-text > h5,
.post-content-text > h6 {
    display: block;
    width: 100%;
    margin-bottom: 0.5rem;
}

/* First image in content or after text - starts on NEW line (block) */
.post-content-text img:not(.avatar):not(.member-avatar):first-of-type,
.post-body .post-content-text img:not(.avatar):not(.member-avatar):first-of-type {
    display: block !important; /* Force new line for first image */
}

/* Images that follow other images - stay on SAME line (inline-block) */
.post-content-text img:not(.avatar):not(.member-avatar) + img:not(.avatar):not(.member-avatar),
.post-body .post-content-text img:not(.avatar):not(.member-avatar) + img:not(.avatar):not(.member-avatar) {
    display: inline-block !important; /* Images after images stay inline */
}

/* Default for all other images */
.post-content-text img:not(.avatar):not(.member-avatar),
.post-body .post-content-text img:not(.avatar):not(.member-avatar),
.ql-editor img:not(.avatar):not(.member-avatar) {
    display: block; /* Default to block (new line) */
    vertical-align: top;
    width: calc(33.333% - 0.75rem); /* 3 across with gap */
    max-width: 600px;
    height: auto !important;
    margin: 0.75rem 0.5rem 0.75rem 0; /* Vertical spacing and right gap */
    object-fit: contain;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* When images are inline-block (following other images), adjust display */
.post-content-text img:not(.avatar):not(.member-avatar) + img:not(.avatar):not(.member-avatar) {
    display: inline-block !important;
    vertical-align: top;
}

.post-content-text img:not(.avatar):not(.member-avatar):hover,
.post-body .post-content-text img:not(.avatar):not(.member-avatar):hover,
.ql-editor img:not(.avatar):not(.member-avatar):hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Remove right margin on every 3rd image */
.post-content-text img:not(.avatar):not(.member-avatar):nth-of-type(3n),
.post-body .post-content-text img:not(.avatar):not(.member-avatar):nth-of-type(3n) {
    margin-right: 0;
}

/* Quill editor images */
.ql-container img:not(.avatar):not(.member-avatar),
.ql-editor img:not(.avatar):not(.member-avatar) {
    max-width: 600px;
    height: auto !important;
}

/* Embedded videos/iframes should also be responsive */
.post-content iframe,
.post-body iframe,
.post-content-text iframe {
    max-width: 100%;
    display: block;
}

/* Pre/code blocks should scroll if too wide */
.post-content pre,
.post-body pre,
.post-content-text pre {
    max-width: 100%;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    display: block;
}

/* Tables should be scrollable if too wide */
.post-content table,
.post-body table,
.post-content-text table {
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

/* ============================================
   FORUM ATTACHMENTS - Thumbnail Display
   ============================================ */

/* Attachment thumbnails - uniform size grid */
.forum-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
}

.forum-attachment-item {
    position: relative;
    width: 150px;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.forum-attachment-item:hover {
    border-color: var(--beoworld-primary, #DEB256);
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.forum-attachment-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crop to fit thumbnail */
    display: block;
}

/* Attachment overlay with icon */
.forum-attachment-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.forum-attachment-item:hover .forum-attachment-overlay {
    opacity: 1;
}

.forum-attachment-overlay i {
    color: white;
    font-size: 1.5rem;
}

/* Non-image attachments (PDFs, etc.) */
.forum-attachment-item.file-type {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.forum-attachment-item.file-type i {
    font-size: 3rem;
    color: #666;
}


.beoworld-hero h1 {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.beoworld-hero .lead {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

/* Feature Cards */
.beoworld-feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 8px;
    background: white;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.beoworld-feature-card:hover {
    border-color: var(--beoworld-primary);
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(190, 138, 51, 0.2);
}

.beoworld-feature-card i {
    font-size: 3rem;
    color: var(--beoworld-blue);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.beoworld-feature-card:hover i {
    color: var(--beoworld-primary);
    transform: scale(1.1);
}

/* Forum Specific Styles */
.forum-category {
    border-left: 4px solid var(--beoworld-blue);
    padding-left: 1rem;
}

.forum-category:hover {
    border-left-color: var(--beoworld-primary);
    background-color: rgba(222, 178, 86, 0.05);
}

.forum-stats {
    background-color: var(--beoworld-bg-light);
    border-radius: 8px;
    padding: 1rem;
}

.forum-thread-title {
    color: var(--beoworld-blue);
    font-weight: 500;
    font-size: 1.1rem;
}

.forum-thread-title:hover {
    color: var(--beoworld-secondary);
}

/* Membership Tier Badges */
.tier-bronze {
    background-color: #CD7F32 !important;
    color: white;
}

.tier-silver {
    background-color: #C0C0C0 !important;
    color: var(--beoworld-bg-dark);
}

.tier-gold {
    background-color: var(--beoworld-primary) !important;
    color: var(--beoworld-bg-dark);
}

/* Tables */
.beoworld-theme table,
.forum-theme table {
    font-family: var(--beoworld-font);
}

.beoworld-theme .table-striped tbody tr:nth-of-type(odd),
.forum-theme .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(242, 239, 236, 0.5);
}

.beoworld-theme .table thead th,
.forum-theme .table thead th {
    background-color: var(--beoworld-blue);
    color: white;
    border-color: var(--beoworld-blue);
}

/* Navigation Pills */
.beoworld-theme .nav-pills .nav-link.active,
.forum-theme .nav-pills .nav-link.active {
    background-color: var(--beoworld-primary);
    color: var(--beoworld-bg-dark);
}

.beoworld-theme .nav-pills .nav-link,
.forum-theme .nav-pills .nav-link {
    color: var(--beoworld-blue);
}

.beoworld-theme .nav-pills .nav-link:hover,
.forum-theme .nav-pills .nav-link:hover {
    background-color: rgba(222, 178, 86, 0.1);
}

/* Tabs */
.beoworld-theme .nav-tabs .nav-link.active,

/* Edit Post Dialog */
.edit-post-dialog {
    padding: 20px;
}

.edit-post-dialog .editor-container {
    margin-bottom: 20px;
}

.edit-post-dialog .dialog-actions {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
}

.edit-post-dialog #edit-quill-editor {
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.edit-post-dialog .ql-toolbar {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.edit-post-dialog .ql-container {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.forum-theme .nav-tabs .nav-link.active {
    color: var(--beoworld-blue);
    border-color: var(--beoworld-primary) var(--beoworld-primary) white;
    border-bottom-width: 3px;
    font-weight: 500;
}

.beoworld-theme .nav-tabs .nav-link:hover,
.forum-theme .nav-tabs .nav-link:hover {
    border-color: var(--beoworld-primary) var(--beoworld-primary) transparent;
    color: var(--beoworld-secondary);
}

/* Forms */
.beoworld-theme .form-control:focus,
.forum-theme .form-control:focus {
    border-color: var(--beoworld-primary);
    box-shadow: 0 0 0 0.2rem rgba(222, 178, 86, 0.25);
}

.beoworld-theme .form-label,
.forum-theme .form-label {
    color: var(--beoworld-bg-dark);
    font-weight: 500;
}

/* Progress bars */
.beoworld-theme .progress-bar,
.forum-theme .progress-bar {
    background-color: var(--beoworld-primary);
}

/* Pagination */
.beoworld-theme .pagination .page-link,
.forum-theme .pagination .page-link {
    color: var(--beoworld-blue);
}

.beoworld-theme .pagination .page-item.active .page-link,
.forum-theme .pagination .page-item.active .page-link {
    background-color: var(--beoworld-primary);
    border-color: var(--beoworld-primary);
    color: var(--beoworld-bg-dark);
}

.beoworld-theme .pagination .page-link:hover,
.forum-theme .pagination .page-link:hover {
    background-color: rgba(222, 178, 86, 0.1);
    color: var(--beoworld-secondary);
}

/* Tooltips and Popovers */
.beoworld-theme .tooltip-inner,
.forum-theme .tooltip-inner {
    background-color: var(--beoworld-blue);
    font-family: var(--beoworld-font);
}

/* Spinners */
.beoworld-theme .spinner-border,
.forum-theme .spinner-border {
    color: var(--beoworld-primary);
}

/* Text utilities */
.text-beoworld-blue {
    color: var(--beoworld-blue) !important;
}

.text-beoworld-gold {
    color: var(--beoworld-primary) !important;
}

.text-beoworld-grey {
    color: var(--beoworld-text) !important;
}

.bg-beoworld-blue {
    background-color: var(--beoworld-blue) !important;
}

.bg-beoworld-gold {
    background-color: var(--beoworld-primary) !important;
}

.bg-beoworld-light {
    background-color: var(--beoworld-bg-light) !important;
}

.bg-beoworld-dark {
    background-color: var(--beoworld-bg-dark) !important;
}

/* Border utilities */
.border-beoworld-blue {
    border-color: var(--beoworld-blue) !important;
}

.border-beoworld-gold {
    border-color: var(--beoworld-primary) !important;
}

/* Hover effects */
.hover-lift {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(190, 138, 51, 0.2);
}

/* Shadows */
.shadow-beoworld {
    box-shadow: 0 4px 12px rgba(49, 129, 168, 0.15) !important;
}

.shadow-beoworld-lg {
    box-shadow: 0 8px 24px rgba(49, 129, 168, 0.2) !important;
}


