/* Wrapper (78.2rem genişliğinde beyaz zemin) */
.iln-wrapper {
    max-width: 67.2rem;
    width: 100%;
   margin-left: auto;
   margin-right: auto;
   margin-top: 130px;
    background-color: #fff;
    padding: 20px 0;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

/* Containers */
.iln-containers {
    max-width: 58rem;
    width: 100%;
    margin: 3px auto 0;
    display: flex;
}

/* Header */
.iln-main-header {
    background-color: #f5f5f5;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}
.iln-header-container {
    max-width: 58rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
}
.iln-logo img {
    height: 40px;
}
.iln-city-selection select {
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}
.iln-header-search {
    flex: 1;
    margin: 0 15px;
}
.iln-header-search input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
}
.iln-user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}
.iln-user-menu a {
    color: #007782;
    font-size: 18px;
    text-decoration: none;
}
.iln-ilan-ekle-btn {
    background-color: #007782;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
}

/* Hamburger Menü */
.iln-hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    position: fixed;
    top: 15px;
    left: 15px;
    cursor: pointer;
    z-index: 1000;
}
.iln-hamburger-menu span {
    width: 100%;
    height: 4px;
    background-color: #007782;
    border-radius: 2px;
}

/* Sidebar */
.iln-sidebar {
    width: 230px;
    background-color: white;
    position: fixed;
    height: calc(100vh - 60px);
    top: 125px;
    border-right: 1px solid #ddd;
    padding-top: 20px;
    transition: transform 0.3s ease;
    padding: 19px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

/* Düzenle Menüsündeki Trendle Seçeneği */
.iln-dropdown li a[href*="#trendlestir"] {
    color: #FF9800; /* Turuncu renk */
}

.iln-dropdown li a[href*="#trendlestir"]:hover {
    color: #FB8C00; /* Daha koyu turuncu */
}

/* Durum Göstergesi */
.iln-status-indicator {
    display: inline-block;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    margin-left: 10px;
}

/* Aktif Durum */
.iln-status-indicator.aktif {
    background-color: #28a745; /* Yeşil */
    animation: blink 1.5s infinite; /* Yanıp sönme animasyonu */
}

/* Pasif Durum */
.iln-status-indicator.pasif {
    background-color: #dc3545; /* Kırmızı */
}

/* Yanıp Sönme Animasyonu */
@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        opacity: 1;
    }
}

/* Butonlar Arasındaki Boşluk */
.iln-ilan-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.iln-sidebar a {
    display: flex;
    align-items: center;
    color: #007782;
    text-decoration: none;
    padding: 8px 15px;
    margin-bottom: 8px;
    border: 1px solid #007782;
    border-radius: 5px;
    background-color: white;
    transition: all 0.3s ease;
    font-family: "Bree Serif", serif;
    font-weight: 400;
    font-style: normal;
    gap: 9px;
}
.iln-sidebar a:hover {
    background-color: #007782;
    color: white;
}
.iln-sidebar a.active {
    background-color: #007782;
    color: white;
    font-weight: bold;
}
.iln-sidebar ul {
    list-style: none;
    padding: 0 15px;
}
.iln-sidebar ul li {
    padding: 5px 0;
}
.iln-sidebar ul li a {
    border: none;
    padding: 5px 10px;
    font-size: 14px;
}

/* İçerik Alanı */
.iln-content {
    margin-left: 240px;
    padding: 15px;
    width: calc(100% - 240px);
    max-width: 58rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Arama Çubuğu ve Filtreleme */
.iln-search-bar {
    width: 100%;
    max-width: 50rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.iln-search-bar input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 16px;
}
.iln-filtre-siralama {
    display: flex;
    gap: 10px;
}
.iln-filtre, .iln-siralama {
    display: flex;
    align-items: center;
}
.iln-filtre select, .iln-siralama select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    background-color: white;
    cursor: pointer;
}

/* İlan Kartı */
.iln-ilan-card {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    width: 100%;
    max-width: 1132px;
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}

/* İlan Kartı Pasif Durumda */
.iln-ilan-passive {
    background-color: #f5f5f5; /* Gri zemin rengi */
}

.iln-ilan-thumbnail img {
    width: 108px;
    height: 108px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 15px;
}
.iln-ilan-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.iln-ilan-details {
    flex: 1;
}
.iln-ilan-details h3 {
    margin: 0;
    font-size: 16.2px;
    color: #333;
}
.iln-ilan-details p {
    margin: 5px 0;
    color: #666;
    font-size: 14.6px;
}
.iln-icons {
    display: flex;
    gap: 10px;
    font-size: 12.6px;
    color: #888;
    margin-top: 10px;
}

/* İlan İşlemleri ve Butonlar */
.iln-ilan-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}
.iln-action-btn {
    padding: 7px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}
.iln-duzenle-btn {
    background-color: #007782;
    color: white;
    border: none;
}
.iln-aktif-btn {
    background-color: #28a745;
    color: white;
    border: none;
}
.iln-aktif-btn.pasif {
    background-color: #dc3545;
}
.iln-trend-btn {
    background-color: #ffca28;
    color: #333;
    border: none;
}

/* Dropdown Menü */
.iln-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    list-style: none;
    padding: 0;
    margin: 5px 0 0 0;
}
.iln-dropdown li {
    display: block;
    padding: 4px 5px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    width: 9rem;
    border-bottom: 1px solid #f4f4f4;
    position: relative; /* Bunu ekleyin */
    z-index: 9500;
}

.iln-dropdown li a {
    color: #333;
    text-decoration: none;
    display: block;
}
.iln-dropdown li a:hover {
    background-color: #f5f5f5;
}

/* Sayfalandırma */
.iln-pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.iln-pagination .page-link {
    padding: 8px 12px;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #007782;
    text-decoration: none;
}
.iln-pagination .page-item.active .page-link {
    background-color: #007782;
    color: white;
    border-color: #007782;
}

/* Sayfalandırma */
.iln-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.iln-page-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.iln-page-arrow.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.iln-page-arrow:hover:not(.disabled) {
    background-color: #f5f5f5;
}

.iln-page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    color: #007782;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.iln-page-link:hover {
    background-color: #f5f5f5;
}

.iln-page-link-active {
    background-color: #007782;
    color: white;
    font-weight: bold;
}

/* Responsive Tasarım */
@media (max-width: 1024px) {
    .iln-wrapper {
        max-width: 100%;
    }
    .iln-containers {
        max-width: 100%;
        padding: 0 10px;
    }
    .iln-content {
        margin-left: 0;
        width: 100%;
        max-width: 58rem;
    }
    .iln-sidebar {
        transform: translateX(-100%);
        width: 220px;
    }
    .iln-sidebar.active {
        transform: translateX(0);
    }
    .iln-ilan-card {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        max-width: 58rem;
    }
    .iln-ilan-thumbnail img {
        width: 100%;
        height: auto;
        margin-bottom: 10px;
    }
    .iln-ilan-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .iln-ilan-actions {
        width: 100%;
        justify-content: flex-end;
    }
}