/* ==========================================================================
   NIGAMACONNECT ADMIN — COMMUNITY ACTIVITIES MANAGEMENT HUB (PART 7)
   Spatial Dark Glassmorphism, 3-in-1 Sliding Capsule, Category Glow Accents
   Compatible with Node.js Server 2 (/api2/*)
   ========================================================================== */

/* ── Container & Typography ─────────────────────────────────────────── */
.posts-content {
    padding: 32px;
    max-width: 1440px;
    margin: 0 auto;
    font-family: var(--nc-font-sans, 'Plus Jakarta Sans', sans-serif);
    color: var(--nc-text-primary, #F8FAFC);
}

/* ── 3-in-1 Sliding Capsule Tab Switcher ──────────────────────────────── */
.tab-navigation {
    display: flex;
    gap: 10px;
    margin-bottom: 32px;
    background: rgba(11, 21, 40, 0.82);
    padding: 8px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    position: relative;
}

.tab-button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: var(--nc-text-secondary, #94A3B8);
    font-family: var(--nc-font-heading, 'Outfit', sans-serif);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    user-select: none;
}

.tab-button svg {
    width: 20px;
    height: 20px;
    transition: transform 0.25s ease, stroke 0.25s ease;
}

.tab-button:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-1px);
}

/* ── Active Tab Category Glows ── */
/* 1. Events Tab: Royal Violet Glow */
.tab-button[data-tab="events"].active {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.28) 0%, rgba(109, 40, 217, 0.42) 100%);
    color: #FFFFFF;
    border-color: rgba(139, 92, 246, 0.55);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}
.tab-button[data-tab="events"].active svg {
    stroke: #C4B5FD;
    filter: drop-shadow(0 0 6px rgba(139, 92, 246, 0.6));
}

/* 2. Classifieds Tab: Mint / Emerald Glow */
.tab-button[data-tab="classifieds"].active {
    background: linear-gradient(135deg, rgba(79, 216, 160, 0.26) 0%, rgba(16, 185, 129, 0.38) 100%);
    color: #FFFFFF;
    border-color: rgba(79, 216, 160, 0.55);
    box-shadow: 0 4px 20px rgba(79, 216, 160, 0.32), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}
.tab-button[data-tab="classifieds"].active svg {
    stroke: #6EE7B7;
    filter: drop-shadow(0 0 6px rgba(79, 216, 160, 0.6));
}

/* 3. Matrimony Tab: Sacred Rose Glow */
.tab-button[data-tab="matrimony"].active {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.28) 0%, rgba(219, 39, 119, 0.42) 100%);
    color: #FFFFFF;
    border-color: rgba(236, 72, 153, 0.55);
    box-shadow: 0 4px 20px rgba(236, 72, 153, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}
.tab-button[data-tab="matrimony"].active svg {
    stroke: #F472B6;
    filter: drop-shadow(0 0 6px rgba(236, 72, 153, 0.6));
}

/* ── Tab Content Panels ─────────────────────────────────────────────── */
.tab-content-container {
    position: relative;
    min-height: 480px;
}

.tab-panel {
    display: none;
    animation: fadeInTab 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Section Cards (Admin Listings & Search) ────────────────────────── */
.admin-posts-section,
.user-search-section {
    background: rgba(11, 21, 40, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    margin-bottom: 32px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.section-title {
    font-family: var(--nc-font-heading, 'Outfit', sans-serif);
    font-size: 22px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ── Primary Action Buttons ─────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    font-family: var(--nc-font-sans, 'Plus Jakarta Sans', sans-serif);
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    box-sizing: border-box;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-primary {
    background: linear-gradient(135deg, #0FA3D9 0%, #0284C7 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 16px rgba(15, 163, 217, 0.35);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 163, 217, 0.5);
    background: linear-gradient(135deg, #38BDF8 0%, #0FA3D9 100%);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(15, 29, 56, 0.7);
    color: var(--nc-text-secondary, #94A3B8);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Category Specific Create Buttons */
#createEventBtn {
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.35);
}
#createEventBtn:hover {
    background: linear-gradient(135deg, #A78BFA 0%, #7C3AED 100%);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.55);
}

#createClassifiedBtn {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
}
#createClassifiedBtn:hover {
    background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.55);
}

#createMatrimonyBtn {
    background: linear-gradient(135deg, #EC4899 0%, #BE185D 100%);
    box-shadow: 0 4px 16px rgba(236, 72, 153, 0.35);
}
#createMatrimonyBtn:hover {
    background: linear-gradient(135deg, #F472B6 0%, #DB2777 100%);
    box-shadow: 0 8px 24px rgba(236, 72, 153, 0.55);
}

/* ── Activity Cards Grid ────────────────────────────────────────────── */
.posts-grid,
.search-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
    min-height: 180px;
}

.post-card {
    background: rgba(15, 29, 56, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 18px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    transition: background 0.3s ease;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
    border-color: rgba(15, 163, 217, 0.4);
}

/* Events Card Theme */
.tab-panel#events-panel .post-card:hover::before {
    background: linear-gradient(90deg, #8B5CF6, #EC4899);
}
.tab-panel#events-panel .post-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 24px rgba(139, 92, 246, 0.2);
}

/* Classifieds Card Theme */
.tab-panel#classifieds-panel .post-card:hover::before {
    background: linear-gradient(90deg, #4FD8A0, #0FA3D9);
}
.tab-panel#classifieds-panel .post-card:hover {
    border-color: rgba(79, 216, 160, 0.4);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 24px rgba(79, 216, 160, 0.2);
}

/* Matrimony Card Theme */
.tab-panel#matrimony-panel .post-card:hover::before {
    background: linear-gradient(90deg, #EC4899, #FFA24D);
}
.tab-panel#matrimony-panel .post-card:hover {
    border-color: rgba(236, 72, 153, 0.4);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 24px rgba(236, 72, 153, 0.25);
}

.post-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 14px;
    background: rgba(2, 6, 23, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.post-card-title {
    font-family: var(--nc-font-heading, 'Outfit', sans-serif);
    font-size: 17px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 8px;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.post-card-desc,
.post-card-description {
    font-size: 13.5px;
    color: var(--nc-text-secondary, #94A3B8);
    line-height: 1.55;
    margin-bottom: 14px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    color: var(--nc-text-secondary, #94A3B8);
}

/* Category Badges on Cards */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.badge-event-date {
    background: rgba(139, 92, 246, 0.2);
    color: #C4B5FD;
    border: 1px solid rgba(139, 92, 246, 0.35);
    font-family: var(--nc-font-mono, 'JetBrains Mono', monospace);
}

.badge-price {
    background: rgba(79, 216, 160, 0.2);
    color: #4FD8A0;
    border: 1px solid rgba(79, 216, 160, 0.35);
    font-family: var(--nc-font-mono, 'JetBrains Mono', monospace);
    font-weight: 700;
    font-size: 13px;
}

.badge-gotram {
    background: rgba(236, 72, 153, 0.2);
    color: #F472B6;
    border: 1px solid rgba(236, 72, 153, 0.35);
}

.card-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    justify-content: flex-end;
}

.btn-card-action {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: #F8FAFC;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-card-action:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
}

.btn-card-delete {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.3);
    color: #F87171;
}

.btn-card-delete:hover {
    background: rgba(239, 68, 68, 0.25);
    color: #FFFFFF;
}

/* ── Search Form Styles ─────────────────────────────────────────────── */
.search-form {
    margin-bottom: 24px;
}

.search-fields {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.search-input {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    background: rgba(15, 29, 56, 0.65);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-family: var(--nc-font-sans, 'Plus Jakarta Sans', sans-serif);
    font-size: 14px;
    color: #F8FAFC;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.search-input:focus {
    outline: none;
    border-color: #0FA3D9;
    box-shadow: 0 0 0 3px rgba(15, 163, 217, 0.2);
    background: rgba(15, 29, 56, 0.85);
}

.search-input::placeholder {
    color: var(--nc-text-muted, #64748B);
}

/* ── Pagination Controls ────────────────────────────────────────────── */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.pagination button,
.pagination .page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    background: rgba(15, 29, 56, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--nc-text-secondary, #94A3B8);
    font-family: var(--nc-font-mono, 'JetBrains Mono', monospace);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pagination button:hover:not(:disabled),
.pagination .page-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.2);
}

.pagination button.active,
.pagination .page-btn.active {
    background: #0FA3D9;
    color: #FFFFFF;
    border-color: #0FA3D9;
    box-shadow: 0 0 14px rgba(15, 163, 217, 0.4);
}

.pagination button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* ── Modals & Dialogs (Glassmorphic) ────────────────────────────────── */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    overflow-y: auto;
    padding: 24px;
    box-sizing: border-box;
}

.modal.show,
.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1001;
}

.modal-content {
    position: relative;
    background: rgba(11, 21, 40, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    max-width: 680px;
    width: 100%;
    margin: auto;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(32px) saturate(180%);
    -webkit-backdrop-filter: blur(32px) saturate(180%);
    z-index: 1002;
    animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    overflow: hidden;
}

@keyframes modalPop {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(16px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-title {
    font-family: var(--nc-font-heading, 'Outfit', sans-serif);
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
}

.modal-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--nc-text-secondary, #94A3B8);
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #EF4444;
    border-color: rgba(239, 68, 68, 0.4);
}

.modal-body {
    padding: 28px;
    max-height: calc(85vh - 160px);
    overflow-y: auto;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(2, 6, 23, 0.3);
}

/* ── Form Controls inside Modals ────────────────────────────────────── */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--nc-text-secondary, #94A3B8);
    margin-bottom: 7px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 11px 15px;
    background: rgba(15, 29, 56, 0.65);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-family: var(--nc-font-sans, 'Plus Jakarta Sans', sans-serif);
    font-size: 14px;
    color: #F8FAFC;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #0FA3D9;
    box-shadow: 0 0 0 3px rgba(15, 163, 217, 0.2);
    background: rgba(15, 29, 56, 0.85);
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

/* ── Image Upload Area & Dropzone ───────────────────────────────────── */
.image-upload-area {
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    background: rgba(15, 29, 56, 0.4);
    transition: all 0.25s ease;
}

.image-upload-area:hover {
    border-color: #0FA3D9;
    background: rgba(15, 163, 217, 0.05);
}

.upload-placeholder svg {
    stroke: var(--nc-text-secondary, #94A3B8);
}

.upload-placeholder p {
    margin: 4px 0;
    font-size: 13px;
    color: var(--nc-text-secondary, #94A3B8);
}

.image-preview {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.image-preview img {
    max-width: 100%;
    max-height: 220px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.image-remove-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #EF4444;
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.image-remove-btn svg {
    width: 14px;
    height: 14px;
}

/* ── Detail Inspection Modal Content ────────────────────────────────── */
.detail-view-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
}

.detail-view-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-view-info p {
    margin: 6px 0;
    font-size: 14px;
    color: var(--nc-text-secondary, #94A3B8);
}

.detail-view-info strong {
    color: #FFFFFF;
}

/* ── Modal Info Callout ─────────────────────────────────────────────── */
.info-callout {
    padding: 16px;
    background: rgba(15, 29, 56, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    margin-top: 8px;
}

.info-callout p {
    font-size: 13.5px;
    color: var(--nc-text-secondary, #94A3B8);
    margin-bottom: 6px;
    line-height: 1.4;
}

.info-callout p:last-child {
    margin-bottom: 0;
}

.info-callout strong {
    color: #FFFFFF;
}

/* ── Toast Notifications ────────────────────────────────────────────── */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: rgba(11, 21, 40, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 14px 20px;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: toastSlideIn 0.3s ease forwards;
}

@keyframes toastSlideIn {
    from {
        transform: translateX(40px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast-success {
    border-left: 4px solid #10B981;
}

.toast-error {
    border-left: 4px solid #EF4444;
}

/* ── Responsive Viewports ───────────────────────────────────────────── */
@media (max-width: 768px) {
    .posts-content {
        padding: 16px;
    }
    
    .tab-navigation {
        flex-direction: column;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .search-fields {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-input {
        width: 100%;
    }
    
    .detail-view-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Empty State & Icon Constraints ─────────────────────────────────── */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 56px 24px;
    text-align: center;
    background: rgba(11, 21, 40, 0.45);
    border: 1.5px dashed rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    margin: 20px 0;
    backdrop-filter: blur(16px);
}

.empty-state svg {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    stroke: #38BDF8 !important;
    stroke-width: 1.75;
    opacity: 0.9;
    margin-bottom: 16px;
    display: block;
    filter: drop-shadow(0 0 12px rgba(15, 163, 217, 0.4));
}

.empty-state h3 {
    font-family: var(--nc-font-heading, 'Outfit', sans-serif);
    font-size: 19px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 8px 0;
}

.empty-state p {
    font-size: 13px;
    color: var(--nc-text-secondary, #94A3B8);
    max-width: 400px;
    margin: 0;
    line-height: 1.6;
}

/* ── Light Theme Overrides ───────────────────────────────────────────── */
:root[data-theme="light"] .posts-content {
    color: #0F172A;
}

:root[data-theme="light"] .tab-navigation {
    background: #FFFFFF;
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

:root[data-theme="light"] .tab-button {
    color: #64748B;
}

:root[data-theme="light"] .tab-button:hover {
    color: #0F172A;
    background: rgba(15, 23, 42, 0.04);
}

:root[data-theme="light"] .tab-button.active {
    background: #FFFFFF;
    color: #0284C7;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .activity-card {
    background: #FFFFFF;
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
}

:root[data-theme="light"] .activity-title {
    color: #0F172A;
}

:root[data-theme="light"] .activity-desc {
    color: #475569;
}

:root[data-theme="light"] .activity-detail-item {
    background: #F8FAFC;
    border-color: rgba(15, 23, 42, 0.06);
    color: #334155;
}

:root[data-theme="light"] .empty-state {
    background: #FFFFFF;
    border-color: rgba(15, 23, 42, 0.12);
}

:root[data-theme="light"] .empty-state h3 {
    color: #0F172A;
}

:root[data-theme="light"] .empty-state p {
    color: #64748B;
}

:root[data-theme="light"] .post-card,
:root[data-theme="light"] .post-admin-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(15, 23, 42, 0.09) !important;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05) !important;
    color: #0F172A !important;
}

:root[data-theme="light"] .post-card-title,
:root[data-theme="light"] .post-card-top h4 {
    color: #0F172A !important;
}

:root[data-theme="light"] .post-card-desc,
:root[data-theme="light"] .post-card-meta {
    color: #475569 !important;
}

:root[data-theme="light"] .post-card-media-wrapper {
    background: #F1F5F9 !important;
    border-color: rgba(15, 23, 42, 0.08) !important;
}

:root[data-theme="light"] .modal-content {
    background: #FFFFFF !important;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15) !important;
    color: #0F172A !important;
}


