/* Yerleşim Dizini Düzeltme CSS */

/* Bootstrap 5 ile FaRkLaR CSS çakışmalarını düzelt */
.yerlesim-content {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Navigasyon düzeltmeleri */
#yerlesimNav .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    color: #495057;
    font-weight: 500;
}

#yerlesimNav .navbar-nav .nav-link.active {
    color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 0.25rem;
}

#yerlesimNav .navbar-nav .nav-link:hover {
    color: #0d6efd;
}

/* Kart düzeltmeleri */
.yerlesim-content .card {
    border: 1px solid rgba(0,0,0,.125);
    margin-bottom: 1rem;
}

.yerlesim-content .card-header {
    padding: 0.75rem 1rem;
    font-weight: 600;
}

/* Tablo düzeltmeleri */
.yerlesim-content .table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
}

.yerlesim-content .table-dark {
    --bs-table-bg: #212529;
    --bs-table-striped-bg: #2c3034;
    --bs-table-striped-color: #fff;
    --bs-table-active-bg: #373b3e;
    --bs-table-active-color: #fff;
    --bs-table-hover-bg: #323539;
    --bs-table-hover-color: #fff;
    color: #fff;
    border-color: #373b3e;
}

/* Badge düzeltmeleri */
.yerlesim-content .badge {
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 700;
    border-radius: 0.25rem;
}

/* Form düzeltmeleri */
.yerlesim-content .form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.25rem;
}

/* Button düzeltmeleri */
.yerlesim-content .btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.25rem;
}

.yerlesim-content .btn-primary {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.yerlesim-content .btn-primary:hover {
    color: #fff;
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* Kategori kartları için özel renkler */
.yerlesim-content .bg-purple {
    background-color: #6f42c1 !important;
}

.yerlesim-content .bg-orange {
    background-color: #fd7e14 !important;
}

.yerlesim-content .bg-teal {
    background-color: #20c997 !important;
}

.yerlesim-content .bg-lime {
    background-color: #cddc39 !important;
    color: #333 !important;
}

/* Liste düzeltmeleri */
.yerlesim-content .list-unstyled {
    padding-left: 0;
    list-style: none;
}

.yerlesim-content .list-group {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    border-radius: 0.25rem;
}

.yerlesim-content .list-group-item {
    position: relative;
    display: block;
    padding: 0.5rem 1rem;
    color: #212529;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.125);
}

/* Alert düzeltmeleri */
.yerlesim-content .alert {
    position: relative;
    padding: 1rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.yerlesim-content .alert-info {
    color: #055160;
    background-color: #cff4fc;
    border-color: #b6effb;
}

/* Responsive düzeltmeler */
@media (max-width: 768px) {
    .yerlesim-content .col-md-3 {
        margin-bottom: 1rem;
    }

    #yerlesimNav .navbar-nav {
        flex-direction: column;
    }

    .yerlesim-content .table {
        font-size: 0.875rem;
    }
}

/* Ana içerik wrapper */
.blog-details .yerlesim-wrapper {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
}

/* py-50 sınıfı için düzeltme */
.py-50 {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
}