﻿
.navbar-brand-custom {
    font-family: 'Fredoka One', cursive;
    color: turquoise;
    text-decoration: none;
    font-size: large;
}

    .navbar-brand-custom:hover {
        color: turquoise; /* Maintain the same color on hover */
    }

.navbar-nav .nav-link,
.icon-text-container a,
.theme-toggle-link {
    font-size: 0.85rem !important;
    cursor: pointer;
    white-space: nowrap;
}

.theme-toggle-wrapper {
    display: flex;
    align-items: center;
}

body, html {
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    background-color: inherit;
}

nav.navbar {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    min-height: 48px; /* Gerekirse sabitle */
}

.navbar .container-fluid {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap; /* ✅ Zorla tek satırda tut */
    gap: 10px;
    padding: 0 10px;
    min-width: 0; /* ✅ taşmaları önlemek için */
}

.custom-navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 0 10px;
    min-width: 0;
}

.navbar-section {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
}

.navbar-left {
    width: auto;
    flex-shrink: 0;
}

.navbar-center {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-grow: 1;
    min-width: 0;
}

.logo-area {
    flex: 0 0 auto; /* Logo boyutu sabit kalsın */
}

.search-area {
    flex: 1 1 auto;
    display: flex;
    align-items: start;
    min-width: 0;
}

.nav-right-area {
    flex: 0 0 auto;
    justify-content: flex-end;
    gap: 8px;
}

.layout-wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    min-height: 100vh;
    gap: 10px; /* sütunlar arası hafif boşluk */
    padding: 0 10px;
    box-sizing: border-box;
}

.text-turquoise {
    color: turquoise;
}

/* Ortak kutu stilleri */
.sidebar,
.main-content,
.right-content {
    height: 100vh;
    overflow-y: auto;
    background: white;
}

/* Geniş ekranlar */
.sidebar {
    flex: 0 0 25%;
    padding-top: 60px;
}

.main-content {
    flex: 1 1 50%;
    padding-top: 60px;
    padding-left: 15px;
    padding-right: 15px;
}


.right-content {
    flex: 0 0 25%;
    padding-top: 60px
}

    .sidebar .nav-link {
        cursor: pointer !important;
    }

    .sidebar .topic-link {
        cursor: pointer !important;
    }

.nav-link.d-flex {
    gap: 0px;
}

.footer2 {
    width: 100%;
    padding: 10px;
    text-align: center;
    position: relative; /* Position at the bottom */
    font-size: small;
    left: 0;
    transition: bottom 0.3s ease; /* Smooth transition */
    margin-top: 30px;
    color: turquoise;
}

.nav-item-custom {
    list-style: none; /* Remove list-style */
    margin: 0;
    padding: 0;
    background: none;
    color: black;
    text-decoration: none;
}

    .nav-item-custom .nav-link {
        color: black; /* Default color */
        text-decoration: none;
    }

    .nav-item-custom:hover .nav-link {
        color: turquoise; /* Color of link on hover */
    }

.topic-link {
    display: grid;
    grid-template-columns: 1fr auto;
    justify-content: space-between;
    align-items: flex-start; /* Üstten hizala */
    text-decoration: none;
    color: black;
    width: 100%;
    gap: 8px;
    flex-wrap: wrap; /* Ekran daraldıkça metin aşağı taşabilsin */
}

.topic-name {
    flex: 1 1 auto;
    word-break: break-word; /* Uzun kelimeleri kır */
    overflow-wrap: anywhere;
    white-space: normal; /* ❗️ Artık tek satır olmasın */
    text-overflow: initial;
}

.entry-count {
    flex-shrink: 0;
    width: 24px; /* Sabit genişlik kalsın */
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

    .topic-link:hover {
        color: turquoise;
    }


.article {
    margin-bottom: 10px;
    overflow: hidden;
}

.read-more-btn {
    font-style: italic;
    color: gray;
    background: none;
    border: none; 
    padding: 0; 
    margin: 0;
    font-size: 1em;
    cursor: pointer;
}

.list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.item {
    margin-bottom: 10px;
    border-bottom: dotted;
    border-color: turquoise;
    border-width: thin;
}

.title {
    font-size: medium;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.6em * 8); /* 1.6 line-height x 8 satır */
    position: relative;
}

.title2 {
    font-size: medium;
    display: -webkit-box;
    position: relative;
}

.title.clamped {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 8;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.6em * 8);
}


.info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 5px;
    font-size: small
}

.icon {
    margin-right: 5px;
    vertical-align: middle;
}

.favourite-count {
    margin-right: 5px;
    vertical-align: middle;
    font-size: small;
}

.author {
    margin-left: auto; /* Push to the right */
    vertical-align: middle;
    text-decoration: none;
    color: black; /* Default color */
}

    .author:hover {
        color: turquoise; /* Color on hover */
    }

.entry-date {
    text-align: right;
    vertical-align: middle;
    font-size: small;
    color: grey;
}

.entry-header {
    text-align: left;
    font-weight: bold;
    font-size: large;
    color: black;
    text-decoration: none;
}

    .entry-header:hover {
        color: turquoise; /* Color on hover */
    }

.like-button {
    cursor: pointer;
    color: transparent;
    font-size: 24px;
}

.liked .heart-icon {
    fill: red;
}

.bold {
    font-weight: bold;
}

..search-area {
    display: flex;
    align-items: start;
    flex: 1;
    min-width: 0;
}

.search-box {
    display: flex;
    align-items: flex-start;
    flex: 1 1 auto;
    min-width: 0;
    gap: 6px;
    width: 100%;
    position: relative;
    text-align: left;
}

#searchInput {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    height: 36px;
    padding: 5px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-size: 14px;
}

#searchButton {
    height: 36px;
    padding: 0 12px;
    border-radius: 6px;
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}



.suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ccc;
    background-color: #fff;
    z-index: 999;
    display: none;
    font-size: 14px;
}

    .suggestions .suggestion-item {
        cursor: pointer;
    }


.bkz-link {
    color: turquoise;
    text-decoration: none;
    font-weight: normal;
}

    .bkz-link:hover {
        color: turquoise;
        text-decoration: underline;
    }

.body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 15px;
    line-height: 1.6;
    background-color: white; /* light mod için hafif gri */
    color: #1f1f1f;
    font-family: 'Source Sans Pro', sans-serif;
}

.custom-dropdown-btn {
    background-color: transparent; /* Make sure there's no background color */
    border: none; /* Remove the border */
    outline: none; /* No outline */
    color: black; /* Ensure button text is black */
    font-size:32px;
}

    .custom-dropdown-btn::after {
        content: ''; /* Remove the dropdown arrow */
    }

.dropdown-menu {
    background-color: white; /* Keep the default background color */
    color: black
}

.dropdown-menu-left {
    right: 0 !important;
    left: auto !important;
    transform: translateX(0);
    min-width: auto !important;
    width: max-content !important; /* sadece içerik kadar genişlik */
    padding: 4px 8px !important;
}

.dropdown-menu a.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px;
    white-space: nowrap;
}

.dropdown-item {
    color: black; /* List items should be black */
    text-decoration: none;
}

    .dropdown-item:hover {
        color: turquoise; /* Optional hover effect */
    }

#notificationDropdown::after {
    display: none !important;
}


#notification-list {
    background-color: #D0F0F2 !important;
    max-width: 400px;
    width: max-content;
    min-width: 250px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

    #notification-list .dropdown-item {
        white-space: normal !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        line-height: 1.4;
        font-size: 0.95rem;
        display: block;
        max-width: 100%;
        padding-top: 8px;
        padding-bottom: 8px;
        border-bottom: 1px solid #ccc;
    }

    #notification-list .dropdown-item {
        white-space: normal !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.4;
        font-size: 0.95rem;
        max-width: 90vw;
        border-bottom: 1px solid #ccc; /* İnce gri çizgi */
        padding-top: 8px;
        padding-bottom: 8px;
    }

    #notification-list .dropdown-item.text-muted {
        font-size: 0.85rem;
        padding-top: 6px;
        padding-bottom: 6px;
        color: #999 !important;
        pointer-events: none; /* tıklanamaz */
        cursor: default;
        background-color: transparent !important;
    }

.svg-icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin: 5px;
}

    .svg-icon path,
    .svg-icon polygon,
    .svg-icon rect {
        fill: black;
    }

    .svg-icon circle {
        stroke: black;
        stroke-width: 2;
    }

.icon-text-container {
    display: flex;
    align-items: center;
}

.tabs .tab-stat {
    display: flex;
    align-items: center;
    gap: 4px; /* sayı ile metin arasındaki boşluk */
    font-size: 15px;
    font-family: 'Rubik', sans-serif;
}

    .tabs .tab-stat .stat-count {
        font-weight: bold;
    }

.tabs .tab-link {
    font-weight: 500;
    color: black;
    text-decoration: none;
    cursor: pointer;
}

    .tabs .tab-link.active {
        font-weight: bold;
        border-bottom: 2px solid turquoise;
    }

    .tabs .tab-link:hover {
        color: tuq;
    }


.user-stats {
    font-size: 0.95rem;
    color: #666; /* soft gray */
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.stat {
    display: inline;
}

.stat-count {
    font-weight: bold;
    color: black;
    margin-right: 0.3px;
}

.follow-turquoise {
    background-color: turquoise;
    color: white;
}

.follow-grey {
    background-color: #e0e0e0;
    color: #555;
}

.follow-red {
    background-color: #ff5c5c !important; /* ✅ Softer red */
    color: white !important;
}

.ellipsis-inline {
    margin-top: 10px;
    margin-bottom: 5px;
    text-align: right;
    position: relative;
}

#themeToggle {
    color: black;
    background: none;
    border: none;
    font-weight: 500;
}

body.dark-mode #themeToggle {
    color: turquoise;
}

.ellipsis {
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    color: #555;
}

    .ellipsis:hover {
        color: turquoise;
    }

.dropdown-menu-entry {
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-top: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 10;
    right: 0;
}

.dropdown-item-entry {
    display: block;
    padding: 6px 12px;
    text-decoration: none;
    color: black;
    font-size: 14px;
}

    .dropdown-item-entry:hover {
        background-color: #e0ffff; /* light turquoise */
        color: turquoise;
    }

.follower-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.follower-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar-placeholder {
    width: 32px;
    height: 32px;
    border: 2px solid #ccc;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    color: #888;
}

.follower-username {
    font-weight: bold;
    color: black;
    text-decoration: none;
    font-size: 16px;
}

    .follower-username:hover {
        color: turquoise;
    }

.follower-right {
    flex-shrink: 0;
}

.follow-button {
    color: white;
    border: none;
    padding: 10px 20px;
    font-weight: bold;
    font-size: 15px;
    border-radius: 9999px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.follow-turquoise {
    background-color: turquoise;
    color: white;
}

.follow-grey {
    background-color: #e0e0e0;
    color: #555;
}

.follow-red {
    background-color: #ff5c5c !important;
    color: white !important;
}

.follow-button:hover {
    background-color: #00c2c2;
}

.theme-toggle-link {
    white-space: nowrap;
    font-size: 0.95rem;
    cursor: pointer;
}

.sidebar,
.main-content,
.right-content,
.search-box,
.suggestions,
.dropdown-menu,
.entry-box {
    background-color: white;
}

textarea.form-control {
    font-family: 'Rubik', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    border-radius: 10px;
    border: 1px solid #ccc;
    padding: 12px;
    background-color: #fff;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

    textarea.form-control:focus {
        outline: none;
        border-color: turquoise;
        box-shadow: 0 0 5px rgba(64, 224, 208, 0.5);
        background-color: #fff;
    }

.statistics-page {
    padding: 30px 20px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.stats-header {
    color: turquoise;
    font-size: 24px;
    margin-bottom: 20px;
}

.section-title {
    color: #333;
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.stat-box {
    background-color: #f0fefe;
    border: 1px solid turquoise;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.stat-label {
    font-size: 14px;
    color: #555;
    margin-bottom: 6px;
}

.stat-value {
    font-size: 22px;
    font-weight: bold;
    color: turquoise;
}



body.dark-mode {
    background-color: #2a2c2e;
    color: #f0f0f0;
}

    body.dark-mode .sidebar,
    body.dark-mode .footer2,
    body.dark-mode .dropdown-menu,
    body.dark-mode .main-content,
    body.dark-mode .right-content {
        background-color: #2a2c2e !important;
    }


    body.dark-mode .nav-link,
    body.dark-mode .entry-header,
    body.dark-mode .author,
    body.dark-mode .follower-username,
    body.dark-mode .dropdown-item-entry,
    body.dark-mode .topic-link,
    body.dark-mode .title,
    body.dark-mode .info,
    body.dark-mode .stat-count {
        color: #e0e0e0 !important;
    }

    body.dark-mode .entry-date {
        color: #999 !important;
    }

    body.dark-mode .dropdown-menu-entry {
        background-color: #2c2c2c !important;
        border-color: #444;
    }

    body.dark-mode input,
    body.dark-mode textarea {
        background-color: #2a2a2a;
        color: #e0e0e0;
        border-color: #555;
    }

    body.dark-mode .search-box,
    body.dark-mode .search-icon-button {
        background-color: #2a2a2a !important;
    }

    body.dark-mode .dropdown-item:hover {
        background-color: #333;
        color: turquoise;
    }

    body.dark-mode .navbar {
        background-color: #1f1f1f !important;
        border-bottom: 1px solid #333 !important;
    }

    body.dark-mode .navbar-light .navbar-nav .nav-link,
    body.dark-mode .navbar-light .navbar-brand,
    body.dark-mode .navbar-light .nav-link {
        color: #e0e0e0 !important;
    }

        body.dark-mode .navbar-light .nav-link:hover {
            color: turquoise !important;
        }

    body.dark-mode .search-box input,
    body.dark-mode #searchInput {
        background-color: #fff !important;
        color: #000 !important;
    }

    body.dark-mode .search-box input {
        border: 1px solid #ccc !important;
    }

    body.dark-mode .ellipsis {
        color: #ccc !important;
    }

    body.dark-mode .theme-toggle-link {
        color: turquoise !important;
    }

    body:not(.dark-mode) .theme-toggle-link {
        color: black !important;
    }

    body.dark-mode .theme-toggle-link {
        color: turquoise !important;
    }

    body:not(.dark-mode) .theme-toggle-link {
        color: black !important;
    }

    body.dark-mode .search-icon-button {
        background-color: #444 !important; /* Koyu arka plan */
        color: turquoise !important; /* İkon rengi */
        border: 1px solid #666 !important;
    }

    body.dark-mode .footer2 {
        border-top: none !important;
    }

    body.dark-mode label {
        color: #e0e0e0 !important;
    }

    body.dark-mode .text-danger {
        color: #dc3545 !important; /* hata mesajları kırmızı */
    }

    body.dark-mode .form-control,
    body.dark-mode .form-control:focus,
    body.dark-mode input,
    body.dark-mode textarea {
        background-color: #fff !important;
        color: #000 !important;
        border: 1px solid #ccc !important;
    }

    body.dark-mode #privacyModal {
        background-color: #2a2a2a !important;
        color: #e0e0e0 !important;
        border: 1px solid #444;
        padding: 20px;
        border-radius: 8px;
    }

        body.dark-mode #privacyModal button {
            background-color: #444;
            color: #e0e0e0;
            border: 1px solid #666;
        }

        body.dark-mode #privacyModal input[type="checkbox"] + label {
            color: #e0e0e0 !important;
        }

    body.dark-mode #privacyContent {
        background-color: #1e1e1e;
        color: #ddd;
        padding: 10px;
        border: 1px solid #444;
        border-radius: 5px;
    }

    body.dark-mode .suggestions {
        color: #333 !important;
    }

        body.dark-mode .suggestions .suggestion-item {
            color: #333 !important;
        }

    body.dark-mode .sidebar,
    body.dark-mode .main-content,
    body.dark-mode .right-content {
        background-color: #1e1e1e;

    }

    body.dark-mode ::-webkit-scrollbar {
        width: 10px;
    }

    body.dark-mode ::-webkit-scrollbar-track {
        background: #1e1e1e;
    }

    body.dark-mode ::-webkit-scrollbar-thumb {
        background-color: #444;
        border-radius: 6px;
        border: 2px solid #1e1e1e;
    }

        body.dark-mode ::-webkit-scrollbar-thumb:hover {
            background-color: #666;
        }

    body.dark-mode {
        scrollbar-color: #444 #1e1e1e;
        scrollbar-width: thin;
    }

    body.dark-mode textarea.form-control {
        background-color: #2a2a2a;
        color: #e0e0e0;
        border: 1px solid #555;
        box-shadow: none;
    }

        body.dark-mode textarea.form-control:focus {
            border-color: turquoise;
            box-shadow: 0 0 5px rgba(64, 224, 208, 0.3);
            background-color: #2a2a2a;
        }

    body.dark-mode .tabs .tab-link {
        color: #e0e0e0; /* Açık gri yazı */
    }

        body.dark-mode .tabs .tab-link:hover {
            color: turquoise;
        }

        body.dark-mode .tabs .tab-link.active {
            font-weight: bold;
            color: #ffffff;
            border-bottom: 2px solid turquoise;
        }

    body.dark-mode .tabs hr {
        border-color: #444; /* Daha yumuşak bir çizgi rengi */
    }

    body.dark-mode .tabs .tab-stat .stat-count {
        color: #ffffff; /* Sayılar açık renk kalsın */
        font-weight: bold;
    }

    body.dark-mode .statistics-page {
        background-color: #1e1e1e;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
        color: #f0f0f0;
    }

    body.dark-mode .stats-header {
        color: turquoise;
    }

    body.dark-mode .section-title {
        color: #ddd;
    }

    body.dark-mode .stat-box {
        background-color: #2a2c2e;
        border: 1px solid turquoise;
        color: #f0f0f0;
    }

    body.dark-mode .stat-label {
        color: #ccc;
    }

    body.dark-mode .stat-value {
        color: turquoise;
    }

        /* DARK MODE'da hover efektlerini turquoise yapmak için */
        body.dark-mode .sidebar .nav-link:hover,
        body.dark-mode .topic-link:hover,
        body.dark-mode .entry-header:hover,
        body.dark-mode .author:hover,
        body.dark-mode .follower-username:hover {
            color: turquoise !important;
        }




@media (max-width: 768px) {
    body, header {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* NAVBAR */
    .navbar .container-fluid {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0;

    }
    .custom-navbar-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 0;
        padding: 0 0;
        min-width: 0;
    }

    .navbar-brand-custom span {
        display: none !important;
    }

    .navbar-brand-custom img {
        margin-right: 0;
        height: 32px;
        width: 32px;
    }

    .icon-text-container {
        gap: 0;
        padding: 0 0;
        min-width: 0;
    }

    .hide-on-mobile {
        display: none !important;
        width: 0 !important;
        width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* LAYOUT */
    .layout-wrapper {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }

    .home-page .sidebar,
    .inner-page .main-content .right-content {
        padding-top: 60px;
    }

    .home-page .sidebar .right-content {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 0;
    }


    .home-page .main-content,
    .home-page .right-content,
    .inner-page .sidebar,
    .inner-page .right-content {
        display: none;
    }

    .inner-page .main-content {
        display: block;
        margin: 0;
        width: 100%;
    }

    .dropdown-menu-left {
        right: 0 !important;
        left: auto !important;
        position: absolute;
        top: 100%;
        z-index: 1050;
        width: auto;
        min-width: 200px;
        max-width: 90vw;
    }

        .dropdown-menu-left a.nav-link {
            text-align: left;
            white-space: normal;
        }
    #dropdownMenuButton {
        position: relative;
        z-index: 1;
    }

    .dropdown-menu-left {
        position: absolute !important;
        top: 100%;
        right: 0;
        left: auto !important;
        z-index: 1050;
    }

        .dropdown-menu-left a.nav-link {
            white-space: normal;
            text-align: left;
        }

    #notificationDropdown {
        position: relative;
    }

    #notification-list {
        position: absolute !important;
        top: 100%;
        right: 0;
        left: auto;
        z-index: 1050;
        width: 90vw !important;
        max-width: 200px;
    }

    /* Search suggestions */
    .suggestions {
        left: 0 !important;
        width: 100% !important;
    }

    .footer2 {
        position: relative !important;
        bottom: auto !important;
        margin-top: 30px;
    }

    .mobile-only {
        display: flex !important;
        gap: 10px;
        align-items: center;
    }

    .desktop-only {
        display: none !important;
    }

    #privacyModal {
        left: 0;
        width: 100%;
        height: 95%;
        top: 2.5%;
        border-radius: 0;
    }

    .hide-on-mobile {
        display: none !important;
        width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .dropdown-menu a.nav-link {
        gap: 4px !important;
        justify-content: center;
    }

        .dropdown-menu a.nav-link .hide-on-mobile {
            display: none !important;
        }

    .navbar,
    .navbar .container-fluid {
        overflow: visible !important;
    }
}


/* Büyük ekranlarda sağ sütunu gizle */
@media (max-width: 1200px) {
    .right-content {
        display: none;
    }

    .main-content {
        margin-right: 0;
        width: 80%;
    }
}

#privacyModal {
    display: none;
    position: fixed;
    top: 5%;
    left: 20%;
    width: 60%;
    height: 90%;
    background: white;
    border: 1px solid #ccc;
    overflow: auto;
    z-index: 2147483647 !important; /* Üstte görünmesi için yüksek z-index */
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border-radius: 6px;
}


/* Tablet (orta boy ekran) */
@media (max-width: 1199px) {
    .right-content {
        display: none;
    }

    .sidebar {
        flex: 0 0 25%;
    }

    .main-content {
        flex: 1 1 75%;
    }
}

@media (max-width: 768px) {
    body.hide-sidebar .sidebar {
        display: none !important;
    }

    body.hide-sidebar .main-content {
        display: block !important;
        width: 100% !important;
    }

    body.show-sidebar .main-content {
        display: none !important;
    }

    body.show-sidebar .sidebar {
        width: 100% !important;
    }
}



@supports (-webkit-touch-callout: none) {
    .search-box {
        min-width: 0 !important;
    }

    #searchInput {
        min-width: 0 !important;
    }
}