/* Tablet ve Orta Boy Cihazlar İçin (Max 1280px) */
@media only screen and (max-width: 1280px) {
    .iln-wrapper {
        max-width: 100%;
        padding: 10px;
    }

    .iln-containers {
        max-width: 100%;
        padding: 0 0px;
        flex-direction: column;
        /* Sidebar'ı alta al */
    }

    .iln-sidebar {
        width: 100%;
        position: relative;
        height: auto;
        top: 0;
        border-right: none;
        border-bottom: 1px solid #ddd;
        transform: none;
        padding: 10px;
        margin-top: 100px;
    }

    .iln-content {
        margin-left: 0;
        width: 100%;
        padding: 4px;
    }

    .iln-search-bar {
        flex-direction: column;
        gap: 10px;
    }

    .iln-ilan-card.mob {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 10px !important;
        padding: 10px !important;
        margin: 10px 0 !important;
        width: 100% !important;
        margin-left: 0 !important;
        box-sizing: border-box !important;
        border: 1px solid #ddd !important;
        border-radius: 8px !important;
        background-color: #fff !important;
        overflow: hidden !important;
    }

    .iln-ilan-card.mob .iln-ilan-thumbnail {
        width: 100% !important;
        /* Thumbnail'ı tam genişlik yap */
    }

    .iln-ilan-card.mob .iln-ilan-thumbnail img {
        width: 100% !important;
        height: auto !important;
        margin-right: 0 !important;
        margin-bottom: 10px !important;
        object-fit: contain !important;
        /* Resmin orantılı kalmasını sağla, taşma önle */
    }

    .iln-ilan-card.mob .iln-ilan-content {
        flex-direction: column !important;
        justify-content: flex-start !important;
        width: 100% !important;
        /* İçeriği tam genişlik yap */
    }

    .iln-ilan-card.mob .iln-ilan-details {
        width: 100% !important;
        /* Detayları tam genişlik yap */
    }

    .iln-ilan-card.mob .iln-ilan-actions {
        width: 100% !important;
        justify-content: space-between !important;
        gap: 5px !important;
    }

    .iln-bos-kutu {
        padding: 20px;
    }

    .iln-pagination {
        gap: 5px;
    }
}

/* Mobil Cihazlar İçin (Max 480px) */
@media (max-width: 480px) {
    .iln-wrapper-mob {
        margin-top: 80px;
        padding: 10px;
    }

    .iln-containers-mob {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .iln-sidebar-mob {
        width: 100%;
        padding: 10px;
        font-size: 14px;
        border-bottom: 1px solid #ddd;
    }

    .iln-sidebar-mob a {
        display: block;
        padding: 10px;
        font-size: 14px;
        border: 1px solid #ccc;
        border-radius: 5px;
        margin-bottom: 8px;
        background-color: #f9f9f9;
    }

    .iln-content-mob {
        width: 100%;
        padding: 10px;
        box-sizing: border-box;
    }

    .iln-search-bar-mob {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 10px;
    }

    .iln-search-bar-mob input {
        padding: 8px;
        font-size: 14px;
        border-radius: 4px;
        border: 1px solid #ccc;
    }

    .iln-filtre-siralama-mob {
        display: flex;
        gap: 10px;
    }

    .iln-filtre-mob select,
    .iln-siralama-mob select {
        font-size: 13px;
        padding: 6px;
        width: 100%;
        border-radius: 4px;
    }

    .iln-ilan-card-mob {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        padding: 10px;
        margin: 12px 0;
        width: 100%;
        border: 1px solid #ddd;
        border-radius: 8px;
        background-color: #fff;
        overflow: hidden;
        box-sizing: border-box;
    }

    .iln-ilan-thumbnail-mob {
        width: 55px;
        height: 55px;
        flex-shrink: 0;
    }

    .iln-ilan-thumbnail-mob img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 4px;
    }

    .iln-ilan-content-mob {
        flex: 1;
        min-width: 0;
        padding-left: 10px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .iln-ilan-details-mob h3 {
        font-size: 14px;
        margin: 2px 0;
        font-weight: bold;
    }

    .iln-ilan-details-mob p {
        font-size: 12px;
        margin: 2px 0;
        line-height: 1.4;
    }

    .iln-ilan-price-mob {
        font-size: 14px;
        font-weight: bold;
        color: #007782;
        margin-top: 4px;
    }

    .iln-icons-mob {
        font-size: 11px;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        margin-top: 4px;
    }

    .iln-ilan-actions-mob {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-top: 8px;

    }




    .iln-action-btn-mob {
        padding: 5px 10px;
        font-size: 12px;
        white-space: nowrap;
        border-radius: 4px;
        border: none;
        background-color: #007782;
        color: #fff;
    }

    .iln-trend-btn-mob {
        background-color: #ffc107;
        color: #000;
    }

    .iln-dropdown {
        position: absolute;
        right: 5px !important;
        /* ✅ 20px sola */
        top: 25px !important;
        /* ✅ 20px yukarı */
        z-index: 9999 !important;
        background: white;
        border: 1px solid #ccc;
        border-radius: 5px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }



    .iln-dropdown-mob li {
        font-size: 12px;
        width: 100%;

    }

    .iln-bos-kutu-mob {
        padding: 20px;
        text-align: center;
    }

    .iln-bos-img-mob {
        max-width: 120px;
        margin-bottom: 10px;
    }

    .iln-bos-text-mob {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .iln-btn-ilan-ekle-mob {
        padding: 10px 20px;
        font-size: 14px;
        border: none;
        border-radius: 5px;
        background-color: #007bff;
        color: #fff;
        text-decoration: none;
    }

    .iln-pagination-mob {
        display: flex;
        justify-content: center;
        gap: 5px;
        margin-top: 20px;
    }

    .iln-pagination-mob .page-link {
        width: 30px;
        height: 30px;
        font-size: 14px;
        border-radius: 4px;
        text-align: center;
        line-height: 30px;
        border: 1px solid #ccc;
    }

    .iln-status-indicator-mob {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        margin-left: auto;
        margin-top: 4px;
        display: inline-block;
    }

    .iln-status-indicator-mob.aktif {
        background-color: #28a745;
    }

    .iln-status-indicator-mob.pasif {
        background-color: #dc3545;
    }

    .iln-ilan-card {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 4px !important;
        box-sizing: border-box !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        box-shadow: none !important;
    }
}