.container-ads {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    align-items: center;
    justify-content: left;
    min-height: 400px;
}

.card {
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 100%;
}

a:hover {
    text-decoration: none !important;
}

@media (max-width: 575px) {
    .card {
        width: 100%;
    }
}

.slider {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.slider img {
    width: 100%;
    height: 100%;
    position: absolute;
    transition: opacity 1s ease-in-out;
    opacity: 0;
    object-fit: cover;
}

.slider img.active {
    opacity: 1;
}

.details {
    padding: 15px;
    text-align: left;
    color: #000;
    line-height: 1;
}

.details p {
    margin: 5px 0;
}

.bold {
    font-weight: bold;
}

.lazyload {
    opacity: 0;
}

.lazyloading {
    background: url('/logos/loading.gif') center center no-repeat;
    background-size: 50px 50px;
    min-height: 200px;
}

.lazyloaded {
    opacity: 1;
    transition: opacity 0.3s;
}

#load_data_message {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin-bottom: 20px;
}

#load_data_message img {
    width: 50px;
}

.cursor-pointer {
    cursor: pointer !important;
}

.kateqoriya, .otaq-sayi, .rayonlar {
    text-decoration: none !important;
}

.kateqoriya-closer::first-letter {
    text-transform: uppercase !important;
}

.tabs-content {
    background-color: #fff;
}

div#new_item_form {
    border: none !important;
}

div#new_item_form fieldset {
    background-color: #fff;
    padding: 0 20px !important;
}

.tabs-content {
    border: none;
}

.tab-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.tab-col, .tab-col-last {
    flex: 1;
    min-width: 23%;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.tab-col:hover, .tab-col-last:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, #6e45e2, #88d3ce);
    color: white;
}

.tab-col h3, .tab-col-last h3 {
    font-size: 1.2rem;
    font-weight: bold;
}

.tab-col ul, .tab-col-last ul {
    padding: 0;
    list-style: none;
}

.tab-col ul li, .tab-col-last ul li {
    margin: 10px 0;
    transition: color 0.3s ease-in-out;
}

.tab-col ul li:hover a, .tab-col-last ul li:hover a {
    font-weight: bold;
}

.kateqoriya, .otaq-sayi, .rayonlar {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.kateqoriya:hover, .otaq-sayi:hover, .rayonlar:hover {
    color: #fff;
}


@media (max-width: 992px) {
    .tab-col, .tab-col-last {
        min-width: 48%;
    }
}

@media (max-width: 768px) {
    .tab-col, .tab-col-last {
        min-width: 100%;
    }
}

.tab-col-last {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.tab-col-last ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0;
    list-style: none;
}

.tab-col-last ul li {
    flex: 1 1 48%;
}

.tab-col-last ul li a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

@media (max-width: 768px) {
    .tab-col-last ul li {
        flex: 1 1 100%;
    }
}


.tab-col-last {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.tab-col-last ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0;
    list-style: none;
}

.tab-col-last ul li {
    flex: 1 1 23%;
}

.tab-col-last ul li a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

@media (max-width: 992px) {
    .tab-col-last ul li {
        flex: 1 1 48%;
    }
}

@media (max-width: 768px) {
    .tab-col-last ul li {
        flex: 1 1 100%;
    }
}

.tab-col-last ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0;
    list-style: none;
}

.tab-col-last ul li {
    flex: 1 1 23%;
    line-height: 1.4;
}

.tab-col-last ul li a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

@media (max-width: 992px) {
    .tab-col-last ul li {
        flex: 1 1 48%;
    }
}

@media (max-width: 768px) {
    .tab-col-last ul li {
        flex: 1 1 100%;
    }
}
