/* BeoWorld-Specific Styles */
/* These styles are unique to BeoWorld pages (home, catalogue, membership) */

/* BeoWorld home page features */
.beoworld-feature-card {
    text-align: center;
    padding: 2rem;
    transition: all 0.3s ease;
}

.beoworld-feature-card:hover {
    transform: translateY(-8px);
}

.beoworld-feature-card i {
    font-size: 3rem;
    color: var(--beoworld-gold);
    margin-bottom: 1rem;
}

/* Product catalogue */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--beoworld-blue);
    margin-bottom: 0.5rem;
}

.product-year {
    color: var(--beoworld-gold);
    font-weight: 600;
}

/* Membership tiers */
.membership-tier {
    border: 2px solid var(--beoworld-bg-light);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.membership-tier:hover {
    border-color: var(--beoworld-gold);
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(222, 178, 86, 0.3);
}

.membership-tier.featured {
    border-color: var(--beoworld-gold);
    background: linear-gradient(135deg, rgba(222, 178, 86, 0.1) 0%, rgba(190, 138, 51, 0.1) 100%);
}

.tier-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--beoworld-gold);
    margin-bottom: 1rem;
}

.tier-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--beoworld-blue);
    margin-bottom: 1.5rem;
}

/* Sponsor showcase */
.sponsor-logo {
    max-width: 200px;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.sponsor-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Prize draw */
.prize-item {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.prize-item:hover {
    border-color: var(--beoworld-gold);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(222, 178, 86, 0.3);
}

/* Struer photo album */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.photo-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-item:hover img {
    transform: scale(1.1);
}

/* Catalogue filters */
.catalogue-filters {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.filter-group {
    margin-bottom: 1rem;
}

.filter-label {
    font-weight: 600;
    color: var(--beoworld-blue);
    margin-bottom: 0.5rem;
}

/* Responsive - BeoWorld */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .photo-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}


/* ================================================
   FORUM STYLES (merged from forum.css)
   ================================================ */

/* Forum-Specific Styles */
/* These styles are unique to forum pages (threads, posts, categories) */

/* Forum home - Latest activity, categories */
.forum-theme .container-fluid {
    max-width: 85%;
    margin: 0 auto;
}

/* Thread list items */
.threads-list {
    padding: 0;
}

.thread-item {
    display: grid;
    grid-template-columns: 60px 1fr 180px 200px;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.thread-item:last-child {
    border-bottom: none;
}

.thread-item:hover {
    background: #f8f9fa;
}

.thread-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.thread-details {
    flex: 1;
    min-width: 0;
}

.thread-stats {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: flex-end;
    text-align: right;
}

.thread-activity {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Forum categories */
.forum-category-item {
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.forum-category-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Thread posts */
.thread-post {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.thread-post:last-child {
    border-bottom: none;
}

.post-author {
    flex-shrink: 0;
    width: 180px;
    text-align: center;
}

.post-content {
    flex: 1;
    min-width: 0;
}

/* Forum pagination */
.forum-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.forum-pagination button {
    min-width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.forum-pagination button:hover {
    background: var(--beoworld-blue);
    color: white;
    border-color: var(--beoworld-blue);
}

.forum-pagination button.active {
    background: var(--beoworld-blue);
    color: white;
    border-color: var(--beoworld-blue);
}

/* Member avatar */
.member-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* Post editor */
.post-editor {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1.5rem;
}

/* Moderator tools */
.moderator-toolbar {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* Responsive - Forum */
@media (max-width: 992px) {
    .thread-item {
        grid-template-columns: 50px 1fr 120px;
    }
    
    .thread-activity {
        display: none;
    }
}

@media (max-width: 768px) {
    .thread-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .thread-stats {
        justify-content: flex-start;
    }
    
    .thread-post {
        flex-direction: column;
    }
    
    .post-author {
        width: 100%;
        text-align: left;
    }
}


/* ================================================
   FORUM MESSAGES (merged from messages.css)
   ================================================ */

/* Split Pane Layout */
.split-pane-container {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 1rem;
    height: calc(100vh - 400px);
    min-height: 600px;
}

.thread-list-pane {
    overflow-y: auto;
    border-right: 2px solid #e0e0e0;
}

.conversation-pane {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.conversation-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.messages-scroll-area {
    flex: 1;
    overflow-y: auto;
    background: #f8f9fa;
    border-radius: 8px;
}

.reply-form-container {
    flex-shrink: 0;
}

/* Thread List Items */
.message-thread-item {
    position: relative;
}

.message-thread-item:hover {
    background: linear-gradient(90deg, #f8f9fa 0%, #e9ecef 100%);
}

.message-thread-item.selected {
    background: linear-gradient(90deg, #e3f2fd 0%, #bbdefb 100%);
    border-left: 4px solid var(--rz-primary);
    padding-left: calc(1.25rem - 4px);
}

.message-thread-item.unread {
    background: linear-gradient(90deg, #fff3e0 0%, #ffe0b2 100%);
    font-weight: 600;
}

.message-thread-item.unread:hover {
    background: linear-gradient(90deg, #ffe0b2 0%, #ffcc80 100%);
}

.message-thread-item.archived {
    opacity: 0.7;
}

.message-thread-item:last-child {
    border-bottom: none;
}

/* Message Bubbles */
.message-bubble {
    padding: 1rem;
    border-radius: 8px;
    animation: fadeIn 0.3s ease-in;
}

.my-message {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    margin-left: 2rem;
}

.their-message {
    background: white;
    margin-right: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.message-content {
    word-wrap: break-word;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
    .split-pane-container {
        grid-template-columns: 1fr;
        height: auto;
    }

    .thread-list-pane {
        border-right: none;
        border-bottom: 2px solid #e0e0e0;
        max-height: 400px;
    }

    .conversation-pane {
        min-height: 600px;
    }
}


/* ================================================
   PRODUCT CATEGORIES (merged from product-categories.css)
   ================================================ */

/* Product Categories Page Styles */

.category-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

.category-icon {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 0.75rem;
}

.category-title {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.category-count {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
}

.subcategories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0 0.25rem;
}

.subcategory-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    text-decoration: none;
    color: #495057;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.subcategory-link:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
    transform: translateY(-2px);
}

.subcategory-link .badge {
    font-size: 0.75rem;
}

/* Gradient variations for RadzenColumn */
.rz-g > div:nth-child(5n+1) .category-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.rz-g > div:nth-child(5n+2) .category-card {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.rz-g > div:nth-child(5n+3) .category-card {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.rz-g > div:nth-child(5n+4) .category-card {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.rz-g > div:nth-child(5n+5) .category-card {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .category-card {
        padding: 2rem 1rem;
        min-height: 160px;
    }

    .category-icon {
        font-size: 3rem;
    }

    .category-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .category-card {
        padding: 1.5rem 1rem;
        min-height: 140px;
    }

    .category-icon {
        font-size: 2.5rem;
    }

    .category-title {
        font-size: 1rem;
    }
}


/* ================================================
   PRODUCT DETAIL (merged from product-detail.css)
   ================================================ */

/* Product Detail Page Styles - BeoWorld.org Design */

.product-detail-page {
    background-color: #f5f5f5;
    padding-bottom: 3rem;
}

/* Container - 85% width like other pages */
.product-detail-page .container {
    max-width: 85%;
    margin: 0 auto;
}

/* Hero Section */

.product-hero {
    position: relative;
    background-color: #111b2f;
    color: #fff;
    padding: 3rem 0 2.25rem;
    overflow: hidden;
}

.hero-overlay-pattern {
    position: absolute;
    inset: 0;
    background: transparent;
}


.hero-layout {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    min-height: 360px;
}

.hero-image-panel {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}


.hero-image {
    width: clamp(360px, 65vw, 920px);
    max-height: 420px;
    border-radius: 28px;
    object-fit: cover;
    box-shadow: 0 35px 60px rgba(0, 0, 0, 0.45);
}


.hero-info-panel {
    position: absolute;
    left: clamp(1rem, 7vw, 7rem);
    top: 50%;
    transform: translateY(-50%);
    background: #b14038;
    border-radius: 0;
    padding: 1.4rem 3.25rem 1.4rem 2.5rem;
    max-width: 580px;
    min-height: 180px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
}


.hero-title {
    font-size: clamp(2.2rem, 4.2vw, 3.2rem);
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.hero-description {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 0;
}


.hero-favourite,
.favourite-icon {
    display: none;
}

.hero-placeholder {
    width: clamp(420px, 70vw, 980px);
    min-height: 340px;
    border-radius: 0;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    gap: 0.5rem;
}

.hero-placeholder i {
    font-size: 2rem;
}

/* Sticky Navigation Bar */
.product-nav-sticky {
    position: sticky;
    top: 56px;
    background-color: #3a3a3a;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 1000;
    margin-bottom: 0;
}

.product-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.product-nav .nav-link {
    color: #d4af37;
    text-decoration: none;
    font-weight: 500;
    padding: 1rem 2rem;
    transition: all 0.2s ease;
    font-size: 1rem;
    border-bottom: 3px solid transparent;
    display: inline-block;
}

.product-nav .nav-link:hover {
    color: #e8c56a;
    border-bottom-color: #d4af37;
    background-color: rgba(212, 175, 55, 0.1);
}

/* Product Content */
.product-content {
    background-color: #ffffff;
    padding: 2rem;
    margin-top: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Product Sections */
.product-section {
    padding: 2rem 0;
    border-bottom: 1px solid #e9ecef;
    scroll-margin-top: 120px;
}

.product-section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #d4af37;
}

.subsection-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #212529;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.section-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #212529;
}

/* Content Paragraphs */
.content-paragraph {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.section-content p {
    margin-bottom: 1.25rem;
}

.section-content strong,
.section-content b {
    font-weight: 600;
    color: #212529;
}

/* Details Box - Dark Theme like BeoWorld */
.details-box {
    background-color: #3a3a3a;
    color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.detail-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #555;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #d4af37;
}

.detail-value {
    color: #ffffff;
}

.detail-link {
    color: #e8c56a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.detail-link:hover {
    color: #f4d98e;
    text-decoration: underline;
}

/* Price Box - Dark Theme */
.price-box {
    background-color: #3a3a3a;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
}

.price-table {
    width: 100%;
    margin: 0;
    background-color: transparent;
    color: #ffffff;
}

.price-table thead {
    background-color: #2a2a2a;
}

.price-table thead th {
    color: #d4af37;
    font-weight: 600;
    padding: 1rem;
    border-bottom: 2px solid #d4af37;
    text-align: left;
}

.price-table tbody td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #555;
    color: #ffffff;
}

.price-table tbody tr:last-child td {
    border-bottom: none;
}

.price-table tbody tr:hover {
    background-color: rgba(212, 175, 55, 0.1);
}

/* No Content Message */
.no-content {
    color: #6c757d;
    font-style: italic;
    padding: 2rem;
    text-align: center;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px dashed #dee2e6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-detail-page .container {
        max-width: 95%;
    }

    .product-hero {
        padding: 2rem 0 1.5rem;
    }

    .hero-layout {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-image-panel {
        justify-content: center;
        margin-bottom: 1.5rem;
    }

    .hero-info-panel {
        position: static;
        transform: none;
        max-width: 100%;
        border-radius: 18px;
        margin-top: -1rem;
    }

    .product-nav {
        justify-content: flex-start;
        overflow-x: auto;
    }

    .product-nav .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .detail-row {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .product-content {
        padding: 1rem;
    }

    .product-section {
        padding: 1.5rem 0;
        scroll-margin-top: 100px;
    }

    .details-box,
    .price-box {
        padding: 1rem;
    }

    .price-table thead th,
    .price-table tbody td {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}

/* Print Styles */
@media print {
    .product-nav-sticky {
        position: static;
        box-shadow: none;
    }

    .product-section {
        page-break-inside: avoid;
        border-bottom: 1px solid #ccc;
    }

    .details-box,
    .price-box {
        border: 1px solid #ccc;
        background-color: #f8f9fa !important;
        color: #000 !important;
    }

    .detail-label {
        color: #000 !important;
    }

    .detail-value,
    .price-table {
        color: #000 !important;
    }
}




/* ================================================
   SPONSOR BANNER (merged from sponsor-banner.css)
   ================================================ */

/* Sponsor Banner Styles - Full Width Responsive */

.sponsor-banner {
    width: 100%;
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    padding: 2rem 0;
    margin: 1.5rem 0;
}

.sponsor-banner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.sponsor-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-link {
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.85;
}

.sponsor-link:hover {
    transform: scale(1.05);
    opacity: 1;
}

.sponsor-logo {
    max-height: 100px;
    max-width: 250px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .sponsor-banner-container {
        gap: 2.5rem;
    }

    .sponsor-logo {
        max-height: 90px;
        max-width: 220px;
    }
}

@media (max-width: 768px) {
    .sponsor-banner {
        padding: 1.5rem 0;
        margin: 1rem 0;
    }

    .sponsor-banner-container {
        gap: 2rem;
    }

    .sponsor-logo {
        max-height: 70px;
        max-width: 180px;
    }
}

@media (max-width: 480px) {
    .sponsor-banner {
        padding: 1rem 0;
        margin: 0.75rem 0;
    }

    .sponsor-banner-container {
        gap: 1.5rem;
    }

    .sponsor-logo {
        max-height: 60px;
        max-width: 150px;
    }
}

/* Ensure banner stays full width even in contained layouts */
.sponsor-banner-fullwidth {
    margin-left: -50vw;
    margin-right: -50vw;
    left: 50%;
    right: 50%;
    position: relative;
    width: 100vw;
}

/* Alternative compact version for sidebars/smaller spaces */
.sponsor-banner.compact {
    padding: 1rem 0;
}

.sponsor-banner.compact .sponsor-banner-container {
    flex-direction: column;
    gap: 1rem;
}

.sponsor-banner.compact .sponsor-logo {
    max-height: 50px;
    max-width: 150px;
}

/* Print styles */
@media print {
    .sponsor-banner {
        border: 1px solid #ccc;
        break-inside: avoid;
    }

    .sponsor-logo {
        max-height: 40px;
    }
}



/* ================================================
   STICKY HEADERS (merged from sticky-headers.css)
   ================================================ */

/* Sticky DataGrid Headers - Apply to any RadzenDataGrid */

/* Make DataGrid header sticky */
.rz-datatable-scrollable-view .rz-datatable-scrollable-header-box {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #f8f9fa;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Ensure header stays on top when scrolling */
.sticky-header .rz-datatable-scrollable-header-box {
    position: sticky !important;
    top: 60px; /* Adjust based on your navbar height */
    z-index: 100;
}

/* For Radzen DataGrid */
.rz-grid .rz-grid-table thead {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Alternative sticky header class */
.sticky-table-header .rz-grid-table thead {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #f8f9fa;
}

/* Ensure proper stacking */
.sticky-table-header .rz-grid-table thead th {
    background-color: #f8f9fa;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .rz-grid .rz-grid-table thead {
        top: 0;
    }
    
    .sticky-header .rz-datatable-scrollable-header-box {
        top: 0;
    }
}

/* Fix for scrollable containers */
.grid-container {
    max-height: calc(100vh - 250px);
    overflow-y: auto;
    position: relative;
}

/* Sticky header for custom tables */
.table-sticky-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
