﻿/* Clinpo Overrides - v1.45 */

@keyframes ai-jump {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-10px) scale(1.1);
    }
}

@keyframes ai-glow {

    0%,
    100% {
        box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2);
    }

    50% {
        box-shadow: 0 10px 30px rgba(37, 99, 235, 0.5);
    }
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 11000;
    /* Higher than bottom nav */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay[style*="display: flex"],
.modal-overlay[style*="display:flex"] {
    opacity: 1;
    visibility: visible;
}

/* Modal Content Centering Fix */
.ai-modal-content {
    width: 100%;
    max-width: 460px;
    max-height: 90vh;
    overflow-y: auto;
    margin: auto;
    scrollbar-width: none;
}

.ai-modal-content::-webkit-scrollbar {
    display: none;
}

/* Clinpo Overrides - v1.4 */
/* Sidebar Cards */
.sidebar-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.25rem;
}

/* Visibility Utilities */
@media (min-width: 851px) {
    .d-none-desktop {
        display: none !important;
    }
}

@media (max-width: 850px) {
    .d-none-mobile {
        display: none !important;
    }
}

.mobile-only-btn {
    display: none !important;
}

@media (max-width: 850px) {
    .mobile-only-btn {
        display: flex !important;
    }
}

/* Prevent Old Logo Flicker */
.logo img,
.header-logo-img {
    display: none !important;
}

.logo svg {
    display: block !important;
}

/* Global Logo Size */
.logo {
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    font-family: 'Dancing Script', cursive !important;
    transition: all 0.3s ease !important;
}

/* Dark Mode Logo Colors */
body.dark-mode .logo span {
    color: white !important;
}

body.dark-mode .logo svg {
    stroke: white !important;
}

body.dark-mode .auth-logo {
    color: white !important;
}

body.dark-mode .auth-logo svg {
    stroke: white !important;
}

/* App Download Button Styling */
.get-app-btn {
    border-radius: 16px 6px 16px 6px !important;
    /* Wavy Rectangle */
    background: rgba(37, 99, 235, 0.1) !important;
    /* Lighter/Thinner background */
    color: var(--primary-color) !important;
    padding: 0 10px !important;
    height: 34px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    font-weight: 700 !important;
    border: 1px solid rgba(37, 99, 235, 0.2) !important;
    /* Subtle border for definition */
    box-shadow: none !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

body.dark-mode .get-app-btn {
    background: rgba(37, 99, 235, 0.2) !important;
    color: #60a5fa !important;
    /* Lighter blue for dark mode */
    border-color: rgba(37, 99, 235, 0.3) !important;
}

.get-app-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.25) !important;
}

/* Desktop Specific Adjustments (Right Side Button) */
@media (min-width: 851px) {

    .nav-actions .get-app-btn,
    #header-guest-area.get-app-btn {
        background: var(--primary-color) !important;
        color: white !important;
        box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2) !important;
        border: none !important;
        border-radius: 16px 6px 16px 6px !important;
        height: 36px !important;
        padding: 0 16px !important;
        font-weight: 700 !important;
    }

    body.dark-mode .nav-actions .get-app-btn,
    body.dark-mode #header-guest-area.get-app-btn {
        background: var(--primary-color) !important;
        color: white !important;
        border: none !important;
    }

    .nav-actions .get-app-btn:hover,
    #header-guest-area.get-app-btn:hover {
        background: var(--primary-hover) !important;
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(37, 99, 235, 0.3) !important;
    }
}

.mobile-app-header-icon {
    display: none !important;
}

.sidebar-card.second-card {
    margin-top: 1.5rem;
}

.sidebar-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding: 0 0.25rem;
}

.sidebar-card-header h3 {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Global Font Scaler */
html {
    font-size: 15px !important;
}

* {
    font-family: 'Inter', sans-serif;
    margin: 0;
}

.sidebar-card-header a {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

/* Sidebar AI Assistant Card */
.sidebar-assistant-card {
    position: relative;
    background: var(--card-bg);
    border: 2px dashed #bfdbfe;
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-assistant-card:hover {
    border-color: var(--primary-color) !important;
    background: var(--primary-light) !important;
    transform: translateY(-2px);
}

.ai-badge {
    position: absolute;
    top: -12px;
    right: 15px;
    background: #2563eb;
    color: white;
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    border: 2px solid var(--bg-color);
}

/* Popular Communities */
.pop-cat-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pop-cat-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 1rem !important;
    padding: 0.75rem 1rem !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    color: inherit !important;
    transition: background 0.2s !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.pop-cat-item:hover {
    background: rgba(127, 127, 127, 0.08) !important;
}

.pop-cat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.1rem !important;
    flex-shrink: 0 !important;
}

.pop-cat-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 !important;
    padding: 0 !important;
}

.pop-cat-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Enhanced Pagination Styles */
.pagination {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin: 3rem 0 !important;
    padding-bottom: 2rem !important;
}

.pagination-btn {
    width: 42px !important;
    height: 42px !important;
    border-radius: 10px !important;
    border: none !important;
    background: var(--card-bg) !important;
    color: var(--text-main) !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

.pagination-btn:hover:not([disabled]) {
    background: #f1f5f9 !important;
}

.pagination-btn.active {
    background: #2563eb !important;
    color: white !important;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3) !important;
}

.pagination-btn[disabled] {
    opacity: 0.3 !important;
    cursor: not-allowed !important;
}

/* Before/After Image Slider */
.ba-slider-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 0 !important;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    margin: 1rem 0;
    box-shadow: var(--shadow-md);
    cursor: ew-resize;
}

.ba-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.ba-image-before {
    z-index: 1;
}

.ba-image-after {
    z-index: 2;
    clip-path: inset(0 0 0 50%);
    /* Start at middle */
}

/* Slider Handle (Vertical Line + Circle) */
.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: white;
    z-index: 3;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.ba-handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.ba-handle-circle i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Labels */
.ba-label {
    position: absolute;
    bottom: 15px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 8px;
    text-transform: uppercase;
    z-index: 4;
    letter-spacing: 0.5px;
}

.label-before {
    left: 15px;
}

.label-after {
    right: 15px;
}

/* Transformation Filter Tabs */
.ba-filter-tabs {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
    align-items: center;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.ba-tag {
    padding: 10px 22px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ba-tag:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.ba-tag.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* Category Picker Popup */
.cat-picker-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.2s ease;
}

.cat-picker-content {
    background: var(--card-bg);
    width: 100%;
    max-width: 500px;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.cat-pick-item {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cat-pick-item:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Premium Noise Texture */
.noise-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.04;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* MOBILE RESPONSIVE FIXES */
@media (max-width: 768px) {
    html {
        font-size: 13px !important;
    }

    .container {
        padding: 0 2px !important;
    }

    .main-layout {
        gap: 12px !important;
        margin-top: calc(64px + 12px) !important;
    }

    .post-card {
        padding: 16px 5px !important;
        border-radius: 0 !important;
        margin-bottom: 12px !important;
        border: 1px solid var(--border-color) !important;
    }

    .post-header {
        margin-bottom: 12px !important;
    }

    .user-avatar {
        width: 44px !important;
        height: 44px !important;
    }

    .username {
        font-size: 0.95rem !important;
    }

    #header-user-avatar {
        width: 34px !important;
        height: 34px !important;
    }

    /* Bildirim Dropdown Mobil Fix */
    #notif-dropdown {
        position: fixed !important;
        top: 64px !important;
        left: 10px !important;
        right: 10px !important;
        width: auto !important;
        max-width: none !important;
        z-index: 1100 !important;
    }

    .post-content p {
        font-size: 1rem !important;
        margin-bottom: 12px !important;
    }

    .d-none-desktop {
        display: flex !important;
    }

    .post-content p {
        line-height: 1.5 !important;
    }

    .post-actions {
        gap: 12px !important;
        padding-top: 12px !important;
    }

    .action-btn-p {
        gap: 6px !important;
    }

    /* Profile Page Mobile */
    .profile-hero {
        height: 160px !important;
        margin-top: 64px !important;
        border-radius: 0 0 20px 20px !important;
    }

    .profile-container {
        margin-top: -60px !important;
        padding: 0 15px !important;
    }

    .profile-header-card {
        flex-direction: column !important;
        text-align: center !important;
        padding: 1.5rem !important;
        gap: 1rem !important;
        border-radius: 20px !important;
    }

    .profile-avatar-xl {
        width: 110px !important;
        height: 110px !important;
        border-radius: 30px !important;
        border-width: 4px !important;
        transform: none !important;
        margin: 0 auto !important;
    }

    .profile-name-row {
        flex-direction: column !important;
        gap: 5px !important;
    }

    .profile-name-row h1 {
        font-size: 1.5rem !important;
    }

    .profile-stats-premium {
        justify-content: center !important;
        gap: 1.5rem !important;
    }

    .profile-layout-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    /* Modal Fixes */
    #modal-content-container {
        padding: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    #modal-content-container>div {
        padding: 1.5rem !important;
        border-radius: 24px !important;
    }

    /* Image Grid Mobile Fix */

    .post-media-grid div {
        aspect-ratio: 1/1 !important;
        overflow: hidden !important;
    }

    .post-media-grid img {
        transition: transform 0.3s ease !important;
    }

    .post-media-grid div:hover img {
        transform: scale(1.05) !important;
    }

    /* Header Fixes */
    .nav-container {
        padding: 0 10px !important;
    }

    .logo {
        font-size: 1.6rem !important;
    }

    .logo i {
        font-size: 1.6rem !important;
    }

    .nav-actions {
        gap: 8px !important;
    }

    /* Removed circular override */
    .get-app-btn span {
        display: inline !important;
        /* Ensure "Ä°ndir!" is visible on mobile */
    }

    /* Removed legacy #header-guest-area override to allow wavy shape */

    /* Sidebar Fixes */
    .sidebar-left.mobile-active {
        display: block !important;
        position: fixed !important;
        left: 0 !important;
        top: 0 !important;
        height: 100vh !important;
        width: 280px !important;
        background: var(--card-bg) !important;
        z-index: 10001 !important;
        box-shadow: 20px 0 50px rgba(0, 0, 0, 0.1) !important;
        padding-top: 80px !important;
    }

    .mobile-overlay.active {
        display: block !important;
        position: fixed !important;
        inset: 0 !important;
        background: rgba(0, 0, 0, 0.5) !important;
        z-index: 10000 !important;
        backdrop-filter: blur(4px) !important;
    }

    /* Ana Konteyner ve DÃ¼zen - TÃ¼m sayfa iÃ§in standartlaÅŸtÄ±rma */
    .container,
    .nav-container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }

    .main-layout {
        display: block !important;
        /* Grid'i tamamen iptal et */
        width: 100% !important;
        padding: 0 !important;
        margin-top: 64px !important;
    }

    .feed {
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px !important;
        margin: 0 !important;
    }

    /* Post KartÄ± Detay Sabitleme */
    #post-detail-card {
        padding: 16px !important;
        border-radius: 0 !important;
        /* Mobilde kenara dayanmasÄ± daha modern durur */
        width: 100% !important;
        margin: 0 !important;
        box-shadow: none !important;
    }

    /* GÃ¶rsellerin tam ekran geniÅŸliÄŸinde olmasÄ± */
    .post-media-grid {
        margin: 15px -16px !important;
        width: calc(100% + 32px) !important;
        border-radius: 0 !important;
    }

    /* Yorumlar BÃ¶lÃ¼mÃ¼ - KarmaÅŸÄ±klÄ±ÄŸÄ± Giderme */
    .comment-item {
        padding: 12px 0 !important;
        border-bottom: 1px solid var(--border-color);
    }

    .comment-item .comment-content {
        display: block !important;
        margin-top: 4px !important;
        width: 100% !important;
    }

    .user-details span.username {
        font-size: 0.9rem !important;
    }

    /* Emoji ve Rozetlerin taÅŸmasÄ±nÄ± engelle */
    .user-badges-list {
        display: flex !important;
        flex-wrap: wrap !important;
        max-width: 150px !important;
    }

    /* Override inline grids */
    .container[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin-top: 70px !important;
        padding: 0 10px !important;
    }

    .d-none-mobile {
        display: none !important;
    }

    .info-box-premium {
        padding: 1.25rem !important;
        border-radius: 20px !important;
        flex-direction: column !important;
        text-align: center !important;
        gap: 1rem !important;
    }

    .info-box-premium button {
        width: 100% !important;
    }

    /* Post Detail Specific */
    #post-detail-card {
        padding: 16px !important;
        border-radius: 20px !important;
        width: 100% !important;
        overflow: hidden !important;
        /* DÄ±ÅŸarÄ± taÅŸmayÄ± engeller */
        box-sizing: border-box !important;
    }

    .post-content h1 {
        font-size: 1.25rem !important;
        word-break: break-word !important;
        /* Uzun baÅŸlÄ±klar kaydÄ±rmasÄ±n */
    }

    .post-content p {
        word-break: break-word !important;
    }

    .post-actions {
        justify-content: flex-start !important;
        gap: 12px !important;
        flex-wrap: wrap !important;
    }

    .post-actions>div {
        gap: 10px !important;
    }

    /* GÃ¶rsellerin kart sÄ±nÄ±rlarÄ±na oturmasÄ± */
    .post-media-grid {
        margin: 12px -16px !important;
        width: calc(100% + 32px) !important;
        max-width: none !important;
        border-radius: 0 !important;
    }

    .post-media-grid div {
        border-radius: 0 !important;
    }

    /* Badge ve KullanÄ±cÄ± Bilgisi */
    .user-details {
        max-width: calc(100vw - 120px) !important;
        overflow: hidden;
    }

    /* Badge Wrapping on Mobile */
    .user-badges-list {
        max-width: 120px !important;
        flex-wrap: wrap !important;
    }

    /* Comment Section Mobile */
    #comments-section h3 {
        font-size: 1.1rem !important;
    }

    /* Yorum BÃ¶lÃ¼mÃ¼ Mobilde Daralma YapmasÄ±n */
    #comments-section {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    #new-comment-input {
        padding: 10px 14px !important;
        font-size: 0.9rem !important;
        min-width: 0 !important;
        /* Flexbox iÃ§inde bÃ¼zÃ¼lmeye izin ver */
    }

    #comments-section button {
        padding: 0 16px !important;
        font-size: 0.85rem !important;
        white-space: nowrap !important;
    }

    /* YanÄ±tlanan yorumlardaki girintiyi mobilde kÃ¼Ã§Ã¼ltelim */
    .comment-item {
        gap: 10px !important;
    }

    /* Post Detay SayfasÄ± - Feed ile tamamen aynÄ± */
    .main-layout-detail {
        display: block !important;
        margin-top: calc(64px + 12px) !important;
    }

    .main-layout-detail .feed {
        padding: 10px !important;
        /* Ana sayfadaki feed ile aynÄ± */
    }
}

.d-none-desktop {
    display: none;
}

/* Mobile Search Overlay */
.mobile-search-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-color);
    z-index: 100000;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-search-overlay.active {
    transform: translateX(0);
}

.m-search-header {
    height: 64px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 12px;
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

.m-search-back {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-main);
    font-weight: 800;
    cursor: pointer;
}

.m-search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.m-search-input-wrapper i {
    position: absolute;
    left: 12px;
    color: var(--text-muted);
}

.m-search-input-wrapper input {
    width: 100%;
    padding: 10px 10px 10px 36px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-color);
    color: var(--text-main);
    outline: none;
    font-size: 1rem;
}

.m-search-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.m-search-section {
    margin-bottom: 2rem;
}

.m-search-section h3 {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.m-search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.m-search-tag {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}

.m-search-tag:active {
    background: var(--primary-light);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.comment-item {
    padding: 12px 0 !important;
    margin: 0 !important;
}

/* Rozet & Ä°sim Hizalama */
.user-details {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.user-details #author-name {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 4px;
}

/* MasaÃ¼stÃ¼ DÃ¼zeni */
@media (min-width: 992px) {
    .main-layout-detail {
        display: grid !important;
        grid-template-columns: 280px 1fr 320px !important;
        /* Sol sidebar + Ä°Ã§erik + SaÄŸ sidebar */
        gap: 2rem !important;
        margin-top: 5rem !important;
        /* Header'dan yeterince uzaklaÅŸtÄ±r */
    }
}

/* Orta ekranlarda saÄŸ sidebar'Ä± gizle */
@media (min-width: 992px) and (max-width: 1400px) {
    .main-layout-detail {
        grid-template-columns: 280px 1fr !important;
        /* Sadece sol sidebar + iÃ§erik */
    }

    .main-layout-detail .sidebar-right {
        display: none !important;
    }
}

/* Fix for overlapping sidebars on slightly larger screens */
@media (max-width: 1200px) {
    .main-layout {
        grid-template-columns: 280px 1fr !important;
    }

    .sidebar-right {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .main-layout {
        grid-template-columns: 1fr !important;
    }

    .sidebar-left {
        display: none !important;
    }
}

/* Bottom Tab Bar (Mobile Only) - Ultra Minimal Redesign */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 58px;
    /* Daha ince ve zarif */
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: none;
    justify-content: space-around;
    align-items: center;
    z-index: 9999;
    padding-bottom: env(safe-area-inset-bottom);
}

body.dark-mode .mobile-bottom-nav {
    background: rgba(15, 23, 42, 0.85);
    border-top-color: rgba(255, 255, 255, 0.05);
}

.nav-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.65rem;
    /* Daha minimal yazÄ± */
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    padding: 6px 0;
    border: none;
    background: none;
    cursor: pointer;
}

.nav-tab i {
    font-size: 1.15rem;
    /* Daha kÃ¼Ã§Ã¼k ikonlar */
}

/* Orta TuÅŸ - Ã–zel TasarÄ±m (+) */
.nav-tab.tab-center {
    position: relative;
    top: -24px;
    /* Daha yukarÄ± Ã§Ä±kararak Ã§izgiyi tam yarÄ±lamasÄ±nÄ± saÄŸladÄ±k */
}

.nav-tab.tab-center .plus-circle {
    width: 50px;
    /* Biraz daha bÃ¼yÃ¼k */
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
    /* Daha belirgin gÃ¶lge */
    margin-bottom: -15px;
    font-size: 1.5rem;
    border: 4px solid var(--card-bg);
    /* Ã‡izgiyi kesmesi iÃ§in beyaz (veya dark mode rengi) Ã§erÃ§eve */
}

.nav-tab.active {
    color: var(--primary-color);
}

.nav-tab.active i {
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .mobile-bottom-nav {
        display: flex;
    }

    body {
        padding-bottom: 60px !important;
    }

    .sidebar-left,
    .sidebar-right {
        display: none !important;
    }

    /* Post Modal Fix Mobilde altta kalmasÄ±n */
    .post-modal-content {
        bottom: 0 !important;
        border-radius: 24px 24px 0 0 !important;
    }

    /* Hero Section Mobile Adjustments */
    #guest-hero-box {
        padding: 1.75rem !important;
    }

    #guest-hero-box h2 {
        font-size: 1.5rem !important;
        text-align: center;
    }

    #guest-hero-box p {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem !important;
        text-align: center;
    }

    .hero-actions {
        flex-direction: row;
        justify-content: center;
        gap: 0.75rem !important;
    }

    .hero-main-btn,
    .hero-secondary-btn {
        width: calc(50% - 0.5rem) !important;
        padding: 0.75rem 0.5rem !important;
        font-size: 0.85rem !important;
        justify-content: center;
        flex: 1;
    }

    /* Post Actions Mobile Alignment */
    .post-actions {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }

    .post-actions>div:first-child {
        display: flex !important;
        gap: 1.25rem !important;
    }

    .post-actions>div:last-child {
        display: flex !important;
        gap: 1rem !important;
        margin-left: auto !important;
    }
}

/* Simulation Overlay */
.simulation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.4s ease;
}

.simulation-card {
    background: var(--card-bg);
    border-radius: 28px;
    width: 100%;
    max-width: 500px;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.sim-step-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Diaries Tabs Centering */
.ba-filter-tabs {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 1rem !important;
    margin-bottom: 2rem !important;
    flex-wrap: wrap !important;
}

/* Desktop Hero Buttons Alignment */
@media (min-width: 993px) {
    .hero-actions {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 1rem !important;
        justify-content: flex-start !important;
    }
}

/* Guest Privacy - Stat Lock Icons */
.stat-value-locked {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.stat-value-locked i {
    font-size: 1rem;
    color: var(--text-muted);
    opacity: 0.6;
}

/* Guest Privacy - Posts Gradient Blur */
.blur-zone {
    position: relative;
    min-height: 400px;
}

.posts-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.3) 0%,
            rgba(255, 255, 255, 0.7) 20%,
            rgba(255, 255, 255, 0.95) 40%,
            rgba(255, 255, 255, 1) 60%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 10;
    pointer-events: all;
    cursor: not-allowed;
}

body.dark-mode .posts-gradient-overlay {
    background: linear-gradient(to bottom,
            rgba(15, 23, 42, 0.3) 0%,
            rgba(15, 23, 42, 0.7) 20%,
            rgba(15, 23, 42, 0.95) 40%,
            rgba(15, 23, 42, 1) 60%);
}

.posts-lock-cta {
    position: sticky;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 11;
    text-align: center;
    padding: 2rem;
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    max-width: 90%;
    width: 400px;
    pointer-events: all;
    cursor: default;
    color: var(--text-main) !important;
}

/* BLUR ARKALIK - TEMAYA GÖRE OTOMATİK DEĞİŞİR */
.feed-blur-overlay {
    background: rgba(255, 255, 255, 0.85) !important;
}

body.dark-mode .feed-blur-overlay {
    background: rgba(15, 23, 42, 0.85) !important;
}

body.dark-mode .posts-lock-cta {
    background: var(--card-bg) !important;
    border-color: var(--border-color) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.posts-lock-cta i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.posts-lock-cta h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.posts-lock-cta p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.posts-lock-cta button {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}



/* Header Opak */
body.dark-mode .navbar {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%) !important;
    backdrop-filter: none !important;
}

body.dark-mode .user-menu-btn {
    background: #1e293b !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark-mode #header-user-avatar {
    border-color: #1e293b !important;
}


/* Hero Shine */
@keyframes heroShine {
    0% {
        left: 120%;
    }

    100% {
        left: -120%;
    }
}

body.dark-mode #guest-hero-box {
    position: relative !important;
    overflow: hidden !important;
}

body.dark-mode #guest-hero-box::after {
    content: '' !important;
    position: absolute !important;
    top: 0;
    left: 120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent) !important;
    transform: skewX(-20deg);
    animation: heroShine 4s linear infinite !important;
    pointer-events: none;
    z-index: 10;
}


/* Mobil 3 Nokta Gizle */
.mobile-bottom-nav .nav-tab:last-child {
    display: none !important;
}


/* Hero Shine Koyu */
body.dark-mode #guest-hero-box::after {
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.3), transparent) !important;
}


/* Trend Hero Gizle */
.explore-banner {
    display: none !important;
}

/* Topluluk Kartları Cam Efekt */
.topic-card {
    position: relative !important;
    overflow: hidden !important;
}

.topic-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.15), transparent);
    transform: skewX(-20deg);
    animation: cardShine 5s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes cardShine {
    0% {
        left: 120%;
    }

    100% {
        left: -120%;
    }
}

/* Rakamlar Beyaz */
body.dark-mode .topic-card .stat-value {
    color: #fff !important;
}


/* Kart Efekt Çapraz */
.topic-card::after {
    top: -50% !important;
    left: 150% !important;
    width: 100% !important;
    height: 200% !important;
    transform: rotate(-45deg) !important;
    animation: diagonalShine 6s ease-in-out infinite !important;
}

@keyframes diagonalShine {
    0% {
        left: 150%;
        top: -50%;
    }

    100% {
        left: -150%;
        top: 150%;
    }
}


/* 3 Nokta Düzelt */
.mobile-bottom-nav .nav-tab:last-child {
    display: flex !important;
}

.mobile-bottom-nav .fa-ellipsis {
    display: none !important;
}


/* Modal Keskin BG */
body.dark-mode .modal-content,
body.dark-mode .share-modal,
body.dark-mode .app-download-modal {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%) !important;
}


/* Kategori Banner Koyulaştır */
body.dark-mode .category-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: none;
    z-index: 1;
}

body.dark-mode .category-banner>* {
    position: relative;
    z-index: 2;
}


/* Gece Banner Değiştir */
body.dark-mode .category-banner {
    background-image: url('/assets/gecebanner.jpg') !important;
}

body.dark-mode .category-banner::after {
    display: none !important;
}


/* Kategori Bilgi Cam Efekt */
.category-info-card {
    position: relative !important;
    overflow: hidden !important;
}

.category-info-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 150%;
    width: 100%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.15), transparent);
    transform: rotate(-45deg);
    animation: infoShine 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.category-info-card>* {
    position: relative;
    z-index: 2;
}

@keyframes infoShine {
    0% {
        left: 150%;
        top: -50%;
    }

    100% {
        left: -150%;
        top: 150%;
    }
}


/* Kategori Info Cam Efekt Düzelt */
.category-info {
    position: relative !important;
    overflow: hidden !important;
}

.category-info::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 150%;
    width: 100%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(-45deg);
    animation: categoryInfoShine 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes categoryInfoShine {
    0% {
        left: 150%;
    }

    100% {
        left: -150%;
    }
}


/* Kategori Info Efekt Güncelle */
.category-info::before {
    background: linear-gradient(90deg, transparent, rgba(30, 58, 138, 0.3), transparent) !important;
    top: 0 !important;
    height: 100% !important;
    animation: categoryInfoShineV2 6s ease-in-out infinite !important;
}

@keyframes categoryInfoShineV2 {
    0% {
        left: 150%;
    }

    100% {
        left: -150%;
    }
}


/* Banner Efekt Sınırla */
.category-info::before {
    display: none !important;
}

.category-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 58, 138, 0.4), transparent);
    transform: skewX(-20deg);
    animation: bannerOnlyShine 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 10;
}

@keyframes bannerOnlyShine {
    0% {
        left: 150%;
    }

    100% {
        left: -150%;
    }
}


/* Admin Badge Belirgin */
body.dark-mode .admin-badge {
    background: rgba(163, 230, 53, 0.15) !important;
    border: 1px solid rgba(163, 230, 53, 0.5) !important;
    color: #a3e635 !important;
    font-weight: 600 !important;
}


/* Admin Badge Turuncu */
body.dark-mode .admin-badge {
    background: rgba(251, 146, 60, 0.2) !important;
    border: 1px solid rgba(251, 146, 60, 0.6) !important;
    color: #fb923c !important;
}


/* Banner Efekt Before */
.category-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: skewX(-20deg);
    animation: bannerShineEffect 5s ease-in-out infinite;
    pointer-events: none;
    z-index: 10;
}

@keyframes bannerShineEffect {
    0% {
        left: 150%;
    }

    100% {
        left: -150%;
    }
}


/* Banner Efekt Dark Blue */
.category-banner::before {
    background: linear-gradient(90deg, transparent, rgba(30, 58, 138, 0.4), transparent) !important;
}


/* Banner Efekt Koyulaştır */
.category-banner::before {
    background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.5), transparent) !important;
}


/* Hero ve Keşfet Efekt Dark Blue */
body.dark-mode #guest-hero-box::after {
    background: linear-gradient(90deg, transparent, rgba(30, 58, 138, 0.4), transparent) !important;
}

body.dark-mode .explore-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 58, 138, 0.4), transparent);
    transform: skewX(-20deg);
    animation: heroShine 4s linear infinite;
    pointer-events: none;
    z-index: 10;
}


/* Login Modal Hero Style */
body.dark-mode .auth-modal-content {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-color) 100%) !important;
    position: relative !important;
    overflow: hidden !important;
}

body.dark-mode .auth-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 58, 138, 0.4), transparent);
    transform: skewX(-20deg);
    animation: heroShine 4s linear infinite;
    pointer-events: none;
    z-index: 1;
}

body.dark-mode .auth-modal-content>* {
    position: relative;
    z-index: 2;
}


/* Login Card Hero Style */
body.dark-mode .auth-glass-card {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-color) 100%) !important;
    position: relative !important;
    overflow: hidden !important;
}

body.dark-mode .auth-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 58, 138, 0.4), transparent);
    transform: skewX(-20deg);
    animation: heroShine 4s linear infinite;
    pointer-events: none;
    z-index: 1;
}

body.dark-mode .auth-glass-card>* {
    position: relative;
    z-index: 2;
}


/* Glass Effects Restore */
body.dark-mode .app-download-modal,
body.dark-mode .app-download-content,
body.dark-mode .login-modal-content,
body.dark-mode .auth-required-modal {
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}


/* Modal BG Restore Transparency */
body.dark-mode .modal-content,
body.dark-mode div[class*='modal'][class*='content'],
body.dark-mode .app-download-content,
body.dark-mode .login-modal-content,
body.dark-mode .auth-required-modal {
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    opacity: 1 !important;
}


/* Mobile Image Boxed View Fix */
@media (max-width: 768px) {

    .post-media-grid,
    .post-media-slider,
    .ba-slider-container {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: none !important;
        border-radius: 0 !important;
        overflow: hidden !important;
    }

    .post-content>p {
        padding: 0 4px !important;
    }
}

/* Comment Thread Branch Fix */
.comment-item.is-reply {
    position: relative;
    margin-left: 2.2rem !important;
    padding-left: 8px !important;
}

.comment-item.is-reply::before {
    content: "";
    position: absolute;
    left: -1rem;
    top: -0.5rem;
    bottom: 50%;
    width: 0.8rem;
    border-left: 1.5px solid var(--border-color);
    border-bottom: 1.5px solid var(--border-color);
    border-bottom-left-radius: 10px;
    opacity: 0.5;
}

/* GLOBAL 10PX GLASS SYSTEM - Tüm Modal, Popup ve Dropdownlar için */
/* OVERLAY SYSTEM (Fixed Full Screen) */
.premium-modal-overlay,
.simulation-overlay,
.share-modal-overlay,
.ba-modal-overlay,
#auth-modal,
#app-modal,
#ba-test-modal,
#likes-modal,
#report-modal,
#share-modal-popup,
.modal-overlay {
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    background: rgba(0, 0, 0, 0.8) !important;
}

/* DROPDOWN & SMALL POPUP SYSTEM */
.user-dropdown,
#notif-dropdown,
#header-dropdown,
.dropdown-menu,
.dropdown-content,
.actions-dropdown,
.swal2-popup,
.swal-modal,
.ba-modal-content,
.cat-picker-content {
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
}

body.dark-mode .user-dropdown,
body.dark-mode #notif-dropdown,
body.dark-mode .dropdown-menu,
body.dark-mode .actions-dropdown,
body.dark-mode .swal2-popup,
body.dark-mode .ba-modal-content {
    background: var(--card-bg) !important;
    /* Keep it consistent with user request */
}

/* GUEST BLUR SPECIFIC - 2PX */
.feed-blur-overlay,
.posts-gradient-overlay {
    backdrop-filter: blur(2px) !important;
    -webkit-backdrop-filter: blur(2px) !important;
}/* ===== MODAL OVERLAY SOLID BACKGROUNDS ===== */

/* All Modal Overlays - Dark Solid Background */
.modal-overlay,
.share-modal-overlay,
.app-modal-overlay,
.complaint-modal-overlay,
.ai-sim-modal-overlay {
    background: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.dark-mode .modal-overlay,
body.dark-mode .share-modal-overlay,
body.dark-mode .app-modal-overlay,
body.dark-mode .complaint-modal-overlay,
body.dark-mode .ai-sim-modal-overlay {
    background: rgba(0, 0, 0, 0.9) !important;
}
/* ===== REMOVE BACKDROP BLUR FROM MODALS/DROPDOWNS ===== */

/* User Dropdown */
.user-dropdown {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.dark-mode .user-dropdown {
    background: #111827 !important;
    /* Solid Dark */
}

body:not(.dark-mode) .user-dropdown {
    background: #ffffff !important;
}

/* Notification Dropdown */
#notif-dropdown {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.dark-mode #notif-dropdown {
    background: #111827 !important;
}

body:not(.dark-mode) #notif-dropdown {
    background: #ffffff !important;
}

/* All Dropdowns */
.actions-dropdown,
.options-dropdown,
.category-dropdown,
.filter-dropdown {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.dark-mode .actions-dropdown,
body.dark-mode .options-dropdown,
body.dark-mode .category-dropdown,
body.dark-mode .filter-dropdown {
    background: #111827 !important;
}

body:not(.dark-mode) .actions-dropdown,
body:not(.dark-mode) .options-dropdown,
body:not(.dark-mode) .category-dropdown,
body:not(.dark-mode) .filter-dropdown {
    background: #ffffff !important;
}

/* Modal Content & Internal Cards */
.modal-content,
.ai-modal-content,
.comment-modal-content,
#app-modal>div,
#info-modal>div,
#error-modal>div,
#auth-modal>div,
#likes-modal>div,
#post-modal>div,
.share-modal,
#share-modal-popup .card,
.modal-overlay .card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.dark-mode .modal-content,
body.dark-mode .ai-modal-content,
body.dark-mode .comment-modal-content,
body.dark-mode #app-modal>div,
body.dark-mode #info-modal>div,
body.dark-mode #error-modal>div,
body.dark-mode #auth-modal>div,
body.dark-mode #likes-modal>div,
body.dark-mode #post-modal>div,
body.dark-mode .share-modal,
body.dark-mode #share-modal-popup .card,
body.dark-mode .modal-overlay .card {
    background: #111827 !important;
    /* Force Solid Dark */
}

body:not(.dark-mode) .modal-content,
body:not(.dark-mode) .ai-modal-content,
body:not(.dark-mode) .comment-modal-content,
body:not(.dark-mode) #app-modal>div,
body:not(.dark-mode) #info-modal>div,
body:not(.dark-mode) #error-modal>div,
body:not(.dark-mode) #auth-modal>div,
body:not(.dark-mode) #likes-modal>div,
body:not(.dark-mode) #post-modal>div,
body:not(.dark-mode) .share-modal,
body:not(.dark-mode) #share-modal-popup .card,
body:not(.dark-mode) .modal-overlay .card {
    background: #ffffff !important;
}

/* Mobile Sidebar */
.sidebar-left.active {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.dark-mode .sidebar-left.active {
    background: #111827 !important;
}

body:not(.dark-mode) .sidebar-left.active {
    background: #ffffff !important;
}

/* Search Results */
.search-results-dropdown {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.dark-mode .search-results-dropdown {
    background: #111827 !important;
}

body:not(.dark-mode) .search-results-dropdown {
    background: #ffffff !important;
}
