:root {
    --primary-color: #1976D2;
    --secondary-color: #546E7A;
    --text-color: #333;
    --bg-color: #F8FAFC;
    --card-bg: #F1F5F9;
    --border-color: #dee2e6;
    /* Ek renkler */
    --link-color: #1976D2;
    --link-hover-color: #90CAF9;
    --hover-bg: rgba(0, 0, 0, 0.04);
}
html, body {
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    padding-top: 60px;
}

/* Mobil Header */
.mobile-header {
    background: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    z-index: 910;
}

.search-bar {
    position: relative;
    padding: 0.5rem;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 800;
}

/* Sidebar */
.sidebar {
    height: 100vh;
    position: sticky;
    top: 0;
    padding-top: 1rem;
}

/* Ana İçerik */
.main-content {
    padding: 1rem;
}

/* Kelime Kartı */
.word-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.word-card h1 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Kategoriler */
.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border-radius: 0.25rem;
}

.category-list a:hover {
    background: rgba(0,0,0,0.05);
}

/* Responsive */
@media (max-width: 992px) {
    .sidebar {
        position: fixed;
        left: -100%;
        top: 60px;
        width: 80%;
        max-width: 300px;
        background: var(--bg-color);
        z-index: 905;
        transition: 0.3s;
        height: calc(100vh - 60px);
        overflow-y: auto;
    }

    .sidebar.active {
        left: 0;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1565C0 100%);
    color: white;
    position: relative;
    /* overflow: hidden; */
    padding-top: 100px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.svg') center/cover;
    opacity: 0.1;
}

.search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-box input {
    padding-right: 45px;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.search-box i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
}

/* Alphabet Search */
.alphabet-search {
    background: var(--card-bg);
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.alphabet-link {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0.25rem;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 500;
}

.alphabet-link:hover {
    background: var(--primary-color);
    color: white;
}

/* Word Cards */
.word-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.word-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1rem;
    transition: all 0.2s;
}

.word-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.word-meta {
    margin-top: auto;
}

/* Timeline */
.timeline-item {
    position: relative;
    padding-left: 20px;
    margin-bottom: 1rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

/* Tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    background: var(--bg-color);
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.tag:hover {
    background: var(--primary-color);
    color: white;
}

.tag span {
    background: rgba(0,0,0,0.1);
    padding: 0.125rem 0.375rem;
    border-radius: 50px;
    margin-left: 0.5rem;
    font-size: 0.75rem;
}

/* Last Viewed */
.last-viewed-item {
    display: block;
    padding: 0.5rem;
    border-radius: 0.25rem;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s;
}

.last-viewed-item:hover {
    background: rgba(0,0,0,0.05);
}

/* Word Detail */
.word-detail-card {
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.word-detail-card h1 {
    color: var(--primary-color);
    font-size: 2rem;
}

.word-content {
    font-size: 1.1rem;
    line-height: 1.7;
}

.word-content h5 {
    color: var(--primary-color);
    font-weight: 600;
}

/* Comments */
.comment-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.comment-item:last-child {
    border-bottom: none;
}

.avatar {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-color);
    border-radius: 50%;
}

.comment-actions {
    font-size: 0.875rem;
}

/* Navigation Buttons */
.navigation-buttons .btn {
    min-width: 120px;
}

/* Navbar */
.navbar {
    background: var(--bg-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand.lexlogo {
    padding: 0;
    margin: 0;
}


.logo {
            display: flex;
            align-items: center;
            gap: 6px;
            font-family: 'Arial', sans-serif;
            transform: scale(0.9); /* Reduced height by approximately 30% */
        }

        .logo svg {
            width: 60px;
            height: 60px;
            animation: rotate-scale 4s infinite;
        }

        @keyframes rotate-scale {
            0%, 100% {
                transform: rotate(0deg) scale(1);
            }
            50% {
                transform: rotate(360deg) scale(1.1);
            }
        }

        .logo-text {
            font-size: 28px;
            font-weight: bold;
            color: #1E3A8A; /* Darker blue */
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .logo-text .main {
            display: flex;
            gap: 2px;
        }

        .logo-text .highlight {
            color: #3B82F6; /* Primary blue */
        }

        .logo-text .subtitle {
            font-size: 14px;
            color: #555;
            font-weight: normal;
            margin-top: 2px;
        }

        .logo-icon {
            position: relative;
            width: 70px;
            height: 70px;
        }

        .logo-icon circle {
            fill: var(--primary-color); /* Primary blue */
        }

        .logo-icon text {
            fill: #fff;
            font-size: 24px;
            font-family: Arial, sans-serif;
            font-weight: bold;
        }

        .logo-icon path {
            fill: #60A5FA; /* Lighter blue */
            opacity: 0.8;
        }

        .logo-icon .dynamic-shape {
            fill: none;
            stroke: #1E3A8A;
            stroke-width: 2;
            animation: pulse 3s infinite;
        }

        @keyframes pulse {
            0%, 100% {
                r: 12;
                stroke-opacity: 0.6;
            }
            50% {
                r: 16;
                stroke-opacity: 1;
            }
        }

/* Mobil menü düzenlemeleri */
@media (max-width: 990px) {
    body {
        background: #f8f9fa;
    }

    .mobile-header {
        background: linear-gradient(135deg, var(--primary-color) 0%, #1565C0 100%);
        padding: 3.9rem 1.25rem 2.5rem;
        margin: 0rem 0rem 0 0;
        border-radius: 0 0 2rem 2rem;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    .search-box {
        background: rgba(255,255,255,0.2);
        border-radius: 0.75rem;
        padding: 0.5rem;
        backdrop-filter: blur(10px);
    }

    .search-box input {
        background: rgba(255,255,255,0.9);
        border: none;
        border-radius: 0.75rem;
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    .quick-category-item {
        background: rgba(255,255,255,0.15);
        border-radius: 1rem;
        padding: 1rem 0.5rem;
        color: white;
        text-decoration: none;
        transition: all 0.2s;
    }

    .quick-category-item i {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .quick-category-item span {
        font-size: 0.8rem;
    }

    /* İstatistik Kartları */
    .stats-scroll {
        overflow-x: auto;
        padding: 0.5rem 1.25rem;
        /* margin-top: -1rem; */
    }

    .stats-container {
        padding: 1rem 0;
        gap: 1rem;
    }

    .stat-card {
        background: white;
        border-radius: 1rem;
        padding: 1rem;
        min-width: 140px;
        display: flex;
        align-items: center;
        gap: 1rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        border-radius: 0.75rem;
        background: var(--primary-color);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem;
    }

    .stat-info h3 {
        font-size: 1.1rem;
        margin: 0;
        font-weight: 600;
    }

    .stat-info span {
        font-size: 0.8rem;
        color: var(--text-muted);
    }

    /* Son Eklenenler */
    .recent-card {
        background: white;
        border-radius: 1rem;
        padding: 1rem;
        margin-bottom: 1rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }

    .recent-icon {
        width: 45px;
        height: 45px;
        border-radius: 0.75rem;
        background: var(--primary-color);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem;
        margin-right: 1rem;
    }

    /* Popüler Etiketler */
    .popular-scroll {
        overflow-x: auto;
        padding: 0.5rem 0;
    }

    .popular-tags {
        gap: 0.75rem;
        padding-bottom: 0.5rem;
        display: flex;
    }

    .tag-pill {
        background: white;
        border-radius: 2rem;
        padding: 0.5rem 1rem;
        text-decoration: none;
        color: var(--text-color);
        font-size: 0.9rem;
        white-space: nowrap;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }

    .tag-pill span {
        background: var(--primary-color);
        color: white;
        padding: 0.2rem 0.5rem;
        border-radius: 1rem;
        font-size: 0.8rem;
        margin-left: 0.5rem;
    }

    /* Touch Feedback */
    .quick-category-item:active,
    .recent-card:active,
    .tag-pill:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
}

/* Tablet ve desktop için navbar düzenlemeleri */
@media (min-width: 577px) {
    .navbar .container-fluid {
        padding: 0rem 1.5rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
    }
    
    .search-box {
        min-width: 250px;
    }
}

/* Stat Boxes */
.stat-box {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

@media (max-width: 767px) {
    .stat-icon {
        font-size: initial; /* Veya font-size: 0; */
    }
}

.stat-box h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
}

.footer h5 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    color: var(--text-color);
    text-decoration: none;
}

.footer ul li a:hover {
    color: var(--primary-color);
}

.social-links a {
    color: var(--text-color);
    font-size: 1.25rem;
}

.social-links a:hover {
    color: var(--primary-color);
}

.newsletter-form .input-group {
    border-radius: 50px;
    overflow: hidden;
}

/* Mobil Tasarım */
.mobile-hero {
    margin: -1rem -1rem 1rem;
    padding: 2rem 1rem 3rem;
}

.search-container {
    position: relative;
    z-index: 10;
}

.quick-categories {
    margin-top: 2rem;
}

.quick-categories .row {
    margin: 0 -0.5rem;
}

.quick-categories .col-3 {
    padding: 0 0.5rem;
}

.quick-category-item {
    background: rgba(255,255,255,0.15);
    border-radius: 1rem;
    padding: 0.75rem 0.25rem;
    color: white;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
    height: 100%;
}

.quick-category-item i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.quick-category-item span {
    font-size: 0.75rem;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mobil Sekmeler */
.mobile-tabs {
    position: sticky;
    top: 56px;
    z-index: 905;
    background: var(--bg-color);
    margin: -1rem -1rem 1rem;
    padding: 0.5rem;
    /* border-bottom: 1px solid var(--border-color); */
}

.mobile-tabs .nav-pills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 0.5rem;
    gap: 0.5rem;
}

.mobile-tabs .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-color);
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.mobile-tabs .nav-link.active {
    background: var(--primary-color);
    color: white;
}

.mobile-tabs .nav-link i {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.mobile-tabs .nav-link span {
    font-size: 0.8rem;
}

/* Kelime Kartları Grid */
.word-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
    padding: 1rem;
    margin: 0;
}

.word-card.featured {
    height: 100%;
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.2s;
}

.word-card.featured:active {
    transform: scale(0.98);
}

.word-card-content {
    padding: 1rem;
}

/* Timeline */
.timeline {
    padding: 1rem;
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1.5rem;
}

.timeline-item .time {
    position: absolute;
    left: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Popüler Liste */
.popular-list {
    padding: 1rem;
}

.popular-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    margin-bottom: 1rem;
    background: var(--card-bg);
    border-radius: 1rem;
    text-decoration: none;
    color: var(--text-color);
}

.popular-item .rank {
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 1rem;
    color: var(--primary-color);
}

.popular-item .content {
    flex: 1;
}

.popular-item .trend {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.8rem;
}

.trend.up {
    color: #28a745;
}

.trend.down {
    color: #dc3545;
}

/* Section Başlıkları */
.section-title {
    padding: 1rem 1rem 0.5rem;
    margin: 0;
}

.section-title h5 {
    margin: 0;
    font-weight: 600;
}

/* Mobil Responsive */
@media (max-width: 576px) {
    .container-fluid {
        padding: 0;
    }
    
    .main-content {
        padding: 0;
    }
    
    /* Mobil için içerik padding'leri */
    .card {
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        margin-bottom: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .section-title {
        padding: 1rem 1.25rem;
    }
    
    .word-grid {
        padding: 1rem 1.25rem;
    }
    
    .timeline {
        padding: 1rem 1.25rem;
    }
    
    .popular-list {
        padding: 0.5rem 1.25rem;
    }
    
    /* Detay sayfası için mobil padding'ler */
    .word-detail-card {
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }
    
    .word-detail-card .card-body {
        padding: 1.25rem;
    }
    
    .navigation-buttons {
        padding: 0 1.25rem;
    }
    
    /* Liste görünümleri için padding */
    .list-group-item {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    
    /* Hero bölümü için padding */
    .mobile-hero {
        padding: 2rem 1.25rem 3rem;
    }
    
    /* Tab menü için padding */
    .mobile-tabs .nav-pills {
        padding: 0.75rem 1.25rem;
    }
}

/* Tablet ve orta boyut ekranlar için */
@media (min-width: 577px) and (max-width: 991px) {
    .main-content {
        padding: 1rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .word-grid {
        padding: 1rem;
    }
}

/* Extra large ekranlar için 
@media (min-width: 1400px) {
    .main-container {
        padding-left: calc((100vw - 1400px) / 2);
        padding-right: calc((100vw - 1400px) / 2);
    }
}
    */

/* Container düzeltmeleri */
.main-container {
    max-width: 1920px;
    margin: 0 auto;
}

/* Desktop için içerik düzeltmeleri */
.desktop-content {
    padding: 0 1rem;
}

/* Desktop için içerik düzeltmeleri */
.main-content {
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    min-height: calc(100vh - 60px);
}

@media (min-width: 992px) {
    .word-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

/* Son Eklenenler Listesi */
.list-group-item {
    border-left: none;
    border-right: none;
    padding: 1rem 1.25rem;
}

.list-group-item:first-child {
    border-top: none;
}

.list-group-item:last-child {
    border-bottom: none;
}

.list-group-item h6 {
    font-size: 1rem;
    color: var(--text-color);
}

.list-group-item:hover {
    background-color: var(--hover-bg);
}

/* Pagination Styles */
.pagination {
    margin: 0;
    gap: 0.25rem;
}

.page-link {
    border: none;
    background: none;
    color: var(--text-color);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.page-link:hover {
    background: var(--hover-bg);
    color: var(--text-color);
}

.page-item.active .page-link {
    background: var(--primary-color);
    color: white;
}

.page-item.disabled .page-link {
    background: none;
    color: var(--text-muted);
    opacity: 0.5;
}


/* Card Footer */
.card-footer {
    background: none;
    border-top: 1px solid var(--border-color);
    padding: 0.75rem;
}

/* Son Eklenenler Listesi */
.recent-items {
    overflow-y: auto;
}

.recent-items::-webkit-scrollbar {
    width: 6px;
}

.recent-items::-webkit-scrollbar-track {
    background: transparent;
}

.recent-items::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.recent-items::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Yorumlar ve Paylaşım */
.comments {
    background: var(--card-bg);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
}

.comment {
    border-bottom: 1px solid var(--border-color);
    padding: 0.5rem 0;
}

.comment:last-child {
    border-bottom: none;
}

.comment-form textarea {
    border-radius: 0.5rem;
}

.share {
    margin-top: 1rem;
}

.share-link {
    display: inline-block;
    margin-right: 1rem;
    color: var(--primary-color);
    text-decoration: none;
}

.share-link:hover {
    text-decoration: underline;
} 
.d-flex.justify-content-between.align-items-start.mb-4 {
    flex-wrap: wrap;
}
.word-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 11px;
}

.word-actions a {
    margin-right: 1rem;
}

a.nav-link {
    padding: 12px 8px;
    font-size: 21px;
}

a.similar {
    text-decoration: none; /* Alt çizgiyi kaldırır */
    color: inherit; /* Linkin yazı rengi, çevresindeki metinle uyumlu hale gelir */
  }

  /* İsteğe bağlı: Hover olduğunda alt çizgi eklemek isterseniz */
  a.similar:hover {
    text-decoration: underline; /* Hover durumunda alt çizgi ekler */
  }
.hero-section.d-none.d-lg-block.text-center.py-5 {
    margin-top: 22px;
}

.row.justify-content-center.main,
.mobile-tabs {
    padding: 0 5%;
    max-width: 2520px;
    margin: 0 auto;
    /* margin-top: 20px; */
    margin-bottom: -36px;
}

/* Büyük ekranlar için */
@media screen and (min-width: 1920px) {
    .row.justify-content-center.main,
    .mobile-tabs {
        padding: 0 10%;
    }
}

/* Küçük ekranlar için */
@media screen and (max-width: 768px) {
    .row.justify-content-center.main,
    .mobile-tabs {
        padding: 0 3%;
    }
}

/* Mobil cihazlar için */
@media screen and (max-width: 480px) {
    .row.justify-content-center.main {
        padding: 0 2%;
    }
    .mobile-tabs {
        padding: 0;
    }
}
.stats-container.d-flex {
    display: flex;
    justify-content: space-evenly;
}

.col-lg-3.col-xl-3.right-sidebar.d-none.d-lg-block {
    padding-top: 0.8rem;
}

.popular-tags.d-flex.px-3 {
    display: flex;
    justify-content: space-evenly;
}

  .badge a {
    color: var(--text-color) !important; !important; !important; !important;!important; /* Yazı rengini beyaz yapar */
    text-decoration: none !important; /* Alt çizgiyi kaldırır */
  }

  .badge a:hover {
    text-decoration: underline; /* İsteğe bağlı: Hover sırasında alt çizgi ekler */
  }

/* Minimal search form styling with mobile responsiveness */
.stt-block {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 15px;
    box-sizing: border-box;
}

.stt-block-title h3 {
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

#searchtable {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#searchtable fieldset {
    border: none;
    margin-bottom: 15px;
    padding: 0;
}

#searchtable legend {
    color: #555;
    font-weight: bold;
    margin-bottom: 10px;
    padding: 0;
}

.textin {
    width: 100% !important;
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.textin:focus {
    border-color: #4a90e2;
    outline: none;
}

.form-check-label {
    display: inline-flex;
    align-items: center;
    margin-right: 10px;
}

.form-check-input {
    margin-right: 5px;
}

.bbcodes {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.bbcodes:hover {
    background-color: #357abd;
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .stt-block {
        padding: 10px;
    }

    #searchtable {
        padding: 10px;
    }

    .search td {
        display: block;
        width: 100% !important;
        margin-bottom: 15px;
    }

    .textin, select {
        width: 100%;
    }

    .bbcodes {
        width: 100%;
        margin: 5px 0 !important;
    }
}

.alert-info {
    background-color: #e9ecef;
    color: #495057;
    padding: 10px;
    border-radius: 4px;
    margin-top: 15px;
}

.navi-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  flex-wrap: wrap;
  align-content: space-around;
}

.navi-footer span,
.navi-footer a {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 8px; /* Yuvarlatılmış köşeler */
  text-decoration: none;
  font-weight: 500;
  color: var(--text-color); /* Koyu tema metin rengi */
  background-color: rgba(255, 255, 255, 0.1); /* Hafif saydam arka plan */
  transition: background-color 0.3s ease; /* Yumuşak geçiş */
  margin-right: 14px;
}

.navi-footer a {
    border: 1px solid var(--border-color);
}

.navi-footer span:hover,
.navi-footer a:hover {
  background-color: var(--hover-bg); /* Koyu tema hover arka plan rengi */
}

.navi-footer i {
  font-size: 1.2rem;
}




.DLEPush-notification.wrapper {
    animation-name: DLEPush-show;
    animation-duration: 1s;
    position: fixed; /* Bildirimi sayfanın bir yerine sabitliyoruz */
    top: 20px; /* Alttan 20px boşluk bırak */
    right: 20px; /* Sağdan 20px boşluk bırak */
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    color: #333;
    margin-bottom: 10px;
    width: calc(100% - 40px); /* Mobil uyumluluk için genişlik */
    max-width: 400px;
    box-shadow: 0 10px 15px #000;
    background-color: #fff;
    border-radius: 10px;
    z-index: 9999; /* Bildirimi diğer içeriklerin üstüne getir */
}

.DLEPush-notification .DLEPush-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    width: 45px;
    height: 100%;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    text-align: center;
}

.DLEPush-notification .DLEPush-icon svg {
    scale: .8;
}

.DLEPush-notification .DLEPush-header {
    font-weight: 500;
    grid-column: 2;
    grid-row: 1;
    font-size: 1rem;
    margin-left: 1rem;
    margin-top: .5rem;
}

.DLEPush-notification .DLEPush-header:empty {
    margin-top: 0;
}

.DLEPush-notification .DLEPush-message {
    grid-column: 2;
    grid-row: 2;
    font-size: .875rem;
    margin: 1rem;
}

.DLEPush-notification .DLEPush-message li,
.DLEPush-notification .DLEPush-message ul {
    list-style-type: none;
    padding-left: 0;
}

.DLEPush-notification .DLEPush-close {
    position: absolute;
    top: 8px;
    right: 10px;
    font-weight: 300;
    background: none;
    border: 0;
    font-size: 1.15rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    color: inherit;
    outline: 0;
    opacity: .75;
}

@media only screen and (min-width: 601px) {
    .DLEPush-notification.wrapper {
        min-width: 400px;
    }
}

.DLEPush-notification .DLEPush-close:hover {
    opacity: 1;
}

.DLEPush-notification.wrapper.push-success {
    background-color: #e0f2f1;
}

.DLEPush-notification.wrapper.push-success .DLEPush-icon {
    background-color: #00897b;
}

.DLEPush-notification.wrapper.push-warning {
    background-color: #FFF3E0;
}

.DLEPush-notification.wrapper.push-warning .DLEPush-icon {
    background-color: #FF9800;
}

.DLEPush-notification.wrapper.push-error {
    background-color: #FBE9E7;
}

.DLEPush-notification.wrapper.push-error .DLEPush-icon {
    background-color: #FF5722;
}

.check-login {
    display: flex
}

/* Genel stiller */
button.btn.bbcodes {
    max-width: 5rem;
    padding: 0px 15px 0px 15px;
}

button.btn.btn-primary.bbcodes {
    max-width: 10rem;
    padding: 9px 15px 9px 15px;
}

/* Mobil için (max 768px) */
@media (max-width: 768px) {
    button.btn.bbcodes {
        max-width: 5rem;
        padding: 8px 10px 7px 10px;
        margin: 0 0px 0px 7px !important;
    }

    button.btn.btn-primary.bbcodes {
        max-width: 6rem;
        padding: 7px 10px 7px 10px;
    }
}

/* Bilgisayar için (min 769px) */
@media (min-width: 769px) {
    button.btn.bbcodes {
        max-width: 5rem;
        padding: 0px 15px 0px 15px;
        margin: 0 0px 0px 7px !important;
    }

    button.btn.btn-primary.bbcodes {
        max-width: 10rem;
        padding: 9px 15px 9px 15px;
    }
}

nav.navbar.navbar-expand-lg.fixed-top {
    z-index: 910 !important;!i;!;
}

.category-list {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Modern ve okunaklı bir font */
  font-size: 1rem; /* Temel font boyutu */
}

.category-list .list-group-item {
  padding-top: 0.1rem;
  padding-bottom: 0.05rem;
  border-bottom: 1px solid #dee2e6; /* Hafif bir ayraç ekle */
}

.category-list .list-group-item:last-child {
  border-bottom: none; /* Son öğedeki ayracı kaldır */
}

.category-list .list-group-item a {
  /* color: #343a40; */ /* Daha koyu ve belirgin bir metin rengi */
  transition: all 0.2s ease-in-out; /* Yumuşak bir geçiş efekti */
}

.category-list .list-group-item a:hover {
  background-color: #f8f9fa; /* Üzerine gelindiğinde hafif bir arka plan */
  border-radius: 5px;
  color:var(--text-color)
}

/* Aktif kategori stili */
.category-list .list-group-item a.active {
  background-color: #e9ecef; /* Aktif öğe için farklı bir arka plan rengi */
  color: #0d6efd; /* Aktif öğe metin rengi */
  font-weight: 600; /* Aktif öğe metnini kalınlaştır */
  border-radius: 5px;
}

/* İkon stili */
.category-list .list-group-item a [cat-icon] {
  font-size: 1.2rem; /* İkon boyutunu hafifçe büyüt */
}

/* Haber sayısı etiketi stili */
.category-list .list-group-item a .badge {
  font-size: 0.8rem; /* Etiket yazı boyutunu küçült */
  background-color: #2f70ff !important;!i;!; /* Etiket arka plan rengini güncelle */
  vertical-align: middle;
}




span.badge.bg-primary.minifont {
                                /* font-size: 10px; */
                                /* padding: 5px 4px 6px 4px; */
                                }

span.badge.bg-primary.me-2.text-capitalize {
    padding: 5px 5px 6px 5px;
}

.card-body.lexcard {
    padding: 0 2px;
}
.tab-content {
    margin-bottom: 19px;
}
.text-muted {
  display: -webkit-box;
  -webkit-line-clamp: 2;  /* 2 sətir göstər */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;  /* Sonunda "..." göstər */
}
select#catlist {
    height: 150px;
    width: 100%;
}
