
  
.btn-login,
        .btn-post {
            padding: 8px 12px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 12px;
            transition: all 0.3s;
        }

.btn-login {
            background-color: transparent;
            color: white;
            border: 1px solid white;
        }

.btn-login:hover {
            background-color: white;
            color: #2c5282;
        }

/* Breadcrumb */
.breadcrumb {
            max-width: 1580px;
            background-color: white;
            border-radius: 8px;
            margin: 2px auto;
            padding: 0;
        }

.breadcrumb-container {
            max-width: 1600px;
            margin: 0 auto;
            padding: 8px 20px;
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
            color: #666;
        }

.breadcrumb-separator {
            color: #999;
        }

.breadcrumb a {
            color: #2c5282;
            text-decoration: none;
            margin-right: 5px;
        }

.breadcrumb a:hover {
            text-decoration: underline;
        }

.breadcrumb span {
            margin: 0 5px;
            color: #999;
        }

/* Main Container */
.item-container {
    max-width: 1580px;
    margin: 5px auto 40px;
    padding: 0;
    display: grid;
    grid-template-columns: 75% 330px;
    gap: 10px;
}

/* Three Column Layout */
.content-wrapper {
            max-width: 1600px;
            margin: 0 auto;
            padding: 10px;
            padding-top: 5px;
            display: grid;
            grid-template-columns: 220px 1fr 220px;
            gap: 10px;
        }

/* Left Sidebar */
.left-sidebar {
            background-color: white;
            border-radius: 8px;
            padding: 0;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

.sidebar-title {
            font-size: 14px;
            font-weight: bold;
            color: #2c5282;
            margin-bottom: 12px;
            padding-top: 5px;
            padding-bottom: 5px;
            padding-left: 10px;
            border-bottom: 2px solid #2c5282;
        }

.sidebar-subtitle {
            font-size: 13px;
            font-weight: bold;
            color: #2c5282;
            margin-bottom: 5px;
            padding-top: 5px;
            padding-bottom: 5px;
            border-bottom: 1px solid #2c5282;
        }

.store-item {
            margin-bottom: 2px;
            border-bottom: 1px solid #f0f0f0;
            background-color: white;
        }

.store-link.active {
            background-color: #edf2f7;
            color: #2c5282;
            font-weight: bold;
            border-left: 3px solid #2c5282;
        }

/* Main Content Area */
.main-content {
            background-color: white;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

/* Shop Header / Cover */
.shop-header {
            position: relative;
            border-radius: 8px;
            overflow: hidden;
            background: white;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            margin-bottom: 5px;
        }

.shop-cover {
            width: 100%;
            height: 200px;
            background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #3182ce 100%);
            background-size: cover;
            background-position: center;
            position: relative;
        }

.shop-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

.shop-info-bar {
            display: flex;
            align-items: flex-end;
            gap: 20px;
            padding: 0 20px 15px;
            position: relative;
            margin-top: -40px;
        }

.shop-logo {
            width: 90px;
            height: 90px;
            border-radius: 10px;
            border: 3px solid white;
            background: white;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
            overflow: hidden;
            flex-shrink: 0;
        }

.shop-logo img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

.shop-meta {
            flex: 1;
            padding-top: 45px;
        }

.shop-title {
            font-size: 22px;
            font-weight: bold;
            color: #1a365d;
            margin-bottom: 4px;
        }

.shop-subtitle {
            font-size: 12px;
            color: #666;
            line-height: 1.5;
            max-height: 55px;
            overflow: hidden;
        }

/* Shop Details Grid */
.shop-details-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-bottom: 5px;
        }

.shop-detail-card {
            background: white;
            border-radius: 8px;
            padding: 15px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

.detail-card-title {
            font-size: 14px;
            font-weight: bold;
            color: #2c5282;
            margin-bottom: 10px;
            padding-bottom: 5px;
            border-bottom: 2px solid #2c5282;
            display: flex;
            align-items: center;
            gap: 6px;
        }

.contact-item {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 6px 0;
            font-size: 13px;
            border-bottom: 1px solid #f0f0f0;
        }

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

.contact-item-icon {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: #edf2f7;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            flex-shrink: 0;
        }

.contact-item a {
            color: #2c5282;
            text-decoration: none;
        }

.contact-item a:hover {
            text-decoration: underline;
        }

.social-links {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            border-bottom: 1px solid #f0f0f0;
            padding-bottom: 5px;
        }

.social-link {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            padding: 6px 12px;
            background: #edf2f7;
            border-radius: 20px;
            text-decoration: none;
            color: #2c5282;
            font-size: 12px;
            transition: all 0.2s;
        }

.social-link:hover {
            background: #2c5282;
            color: white;
        }

.address-text {
            font-size: 13px;
            color: #555;
            line-height: 1.5;
            padding: 5px 0;
        }

/* Products Section */
.products-section {
            background: white;
            border-radius: 8px;
            padding: 15px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            margin-bottom: 5px;
        }

.products-title {
            font-size: 16px;
            font-weight: bold;
            color: #2c5282;
            margin-bottom: 12px;
            padding-bottom: 5px;
            border-bottom: 2px solid #2c5282;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

.products-count {
            font-size: 12px;
            color: #666;
            font-weight: normal;
        }

.products-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 10px;
        }

.product-card {
            background-color: white;
            border-radius: 8px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
            border: 1px solid #eee;
            text-decoration: none;
            color: inherit;
            display: block;
        }

.product-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

.product-image {
            width: 100%;
            height: 160px;
            background: #f8f9fa;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            position: relative;
        }

.product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

.product-badge {
            position: absolute;
            top: 8px;
            left: 8px;
            background: #e53e3e;
            color: white;
            font-size: 11px;
            font-weight: bold;
            padding: 2px 8px;
            border-radius: 4px;
        }

.product-content {
            padding: 10px;
        }

.product-date {
            font-size: 10px;
            color: #999;
            margin-bottom: 4px;
        }

.product-name {
            font-size: 12px;
            font-weight: bold;
            margin-bottom: 6px;
            color: #1a365d;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

.product-price {
            font-size: 14px;
            color: #48bb78;
            font-weight: bold;
        }

.product-price-old {
            font-size: 11px;
            color: #999;
            text-decoration: line-through;
            margin-left: 6px;
        }

.right-sidebar { position: static; top: 20px; display: flex; flex-direction: column; gap: 15px; max-height: 100%; }



.banner-title {
            font-size: 16px;
            font-weight: bold;
            margin-bottom: 10px;
            margin-top: 10px;
        }

.banner-text {
            font-size: 13px;
            margin-bottom: 12px;
            opacity: 0.9;
        }

.banner-button {
            background-color: white;
            color: #2c5282;
            border: none;
            padding: 8px 20px;
            border-radius: 5px;
            font-size: 13px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s;
        }

.banner-button:hover {
            transform: scale(1.05);
        }

.banner-promo {
            background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
            color: white;
        }

.banner-featured {
            background: linear-gradient(135deg, rgb(198, 214, 238) 0%, white 100%);
            color: #1a365d;
        }

/* Quick Stats */
.shop-quick-stats {
            background: white;
            border-radius: 8px;
            padding: 15px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

.quick-stat-item {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px;
            border-bottom: 1px solid #f0f0f0;
            transition: all 0.2s;
        }

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

.quick-stat-icon {
            font-size: 16px;
        }

.quick-stat-label {
            font-size: 13px;
            color: #333;
        }

.quick-stat-value {
            margin-left: auto;
            font-weight: bold;
            color: #1a365d;
        }

/* Footer */
footer {
            background-color: #1a202c;
            color: white;
            padding: 40px 20px 20px;
            margin-top: 40px;
        }

.footer-container {
            max-width: 1600px;
            margin: 0 auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
            margin-bottom: 20px;
        }

.footer-logo {
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 15px;
            color: #48bb78;
        }

.footer-description {
            font-size: 14px;
            line-height: 1.6;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 20px;
        }

.social-icon {
            width: 35px;
            height: 35px;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            font-size: 18px;
            transition: all 0.3s;
        }

.social-icon:hover {
            background-color: rgba(255,255,255,0.2);
            transform: translateY(-2px);
        }

.footer-section h3 {
            font-size: 16px;
            margin-bottom: 15px;
            font-weight: bold;
        }

.footer-section li {
            margin-bottom: 10px;
        }

.footer-section a:hover {
            color: white;
            padding-left: 5px;
        }

.footer-bottom {
            border-top: 1px solid #2d3748;
            padding-top: 20px;
            max-width: 1400px;
            margin: 0 auto;
            padding-left: 20px;
            padding-right: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
        }

.footer-bottom-links {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin-bottom: 15px;
            flex-wrap: wrap;
        }

.footer-bottom-links a {
            color: #cbd5e0;
            text-decoration: none;
            font-size: 13px;
            transition: all 0.3s;
        }

.footer-bottom-links a:hover {
            color: #48bb78;
        }

.banner_leftside {
            color: #1a365d;
            padding: 10px;
            padding-top: 0;
            border-radius: 8px;
            text-align: center;
        }

/* Responsive */
@media (max-width: 1200px) {
            .content-wrapper {
                grid-template-columns: 1fr;
            }

            .left-sidebar,
            .right-sidebar {
                display: none;
            }

            .products-grid {
                grid-template-columns: repeat(3, 1fr);
            }

            .shop-details-grid {
                grid-template-columns: 1fr;
            }
        }

@media (max-width: 768px) {
            .header-container {
                flex-direction: column;
                gap: 15px;
            }

            .header-search {
                flex-direction: column;
            }

            .products-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .footer-container {
                grid-template-columns: 1fr;
            }

            .footer-bottom {
                flex-direction: column;
                gap: 15px;
                text-align: center;
            }

            .shop-cover {
                height: 140px;
            }

            .shop-info-bar {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }

            .shop-logo {
                width: 70px;
                height: 70px;
            }
            .listing-detail {
        padding: 20px;
    }
    .listing-title {
        font-size: 20px;
    }
    .listing-price {
        font-size: 22px;
    }
    .gallery-main {
        height: 260px;
    }
    .spec-grid {
        grid-template-columns: 1fr;
    }
    .similar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
        }

.user-cover {
    height: 20px;
    background: linear-gradient(135deg, #2c5282 0%, #1a365d 100%);
    position: relative;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.category-count {
            font-size: 11px;
            color: #666;
        }

.category-card.active .category-name,
        .category-card.active .category-count {
            color: white;
        }

.subcategories-section_car {
            max-width: 1600px;
            margin: 10px auto;
            padding: 5px;
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

.subcategories-section_car.active {
            display: block;
        }

.subcategories-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 10px;
        }

.subcategory-group-title {
            background-color: #2c5282;
            font-size: 13px;
            font-weight: bold;
            color: white;
            border-radius: 5px;
            margin-bottom: 4px;
            padding: 4px 12px;
        }

/* Slider Dots */
.slider-dots {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-top: 10px;
        }

.slider-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: #ddd;
            cursor: pointer;
            transition: all 0.3s;
        }

.slider-dot.active {
            background-color: #2c5282;
            transform: scale(1.2);
        }

.slider-dot:hover {
            background-color: #4a90c2;
        }

/* Tulburtei Group Modal Styles */
#tulburteiGroupModal .tg-modal-content {
            background-color: #fff;
            width: 95%;
            max-width: 1200px;
            height: 90vh;
            border-radius: 12px;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            box-shadow: 0 8px 40px rgba(0,0,0,0.3);
        }

/* Responsive Design */
@media (max-width: 1024px) {
            .main-layout {
                flex-direction: column;
            }

            .sidebar-filters {
                position: static;
                width: 100%;
                max-height: none;
            }

            .listings-grid {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            }

            .footer-container {
                grid-template-columns: 1fr 1fr;
            }

            .footer-about {
                grid-column: 1 / -1;
            }

                .item-container {
        grid-template-columns: 1fr;
    }
    .gallery-main {
        height: 350px;
    }
        }



.chat-widget-btn {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: #6b9aed;
            color: white;
            border: none;
            padding: 14px 24px;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 500;
            cursor: pointer;
            z-index: 9999;
            display: flex;
            align-items: center;
            gap: 8px;
            box-shadow: 0 4px 15px rgba(107, 154, 237, 0.4);
            transition: all 0.3s ease;
        }

.chat-widget-btn:hover {
            background: #5a8ae0;
            box-shadow: 0 6px 20px rgba(107, 154, 237, 0.5);
        }


.chat-window {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 370px;
            height: 500px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
            z-index: 10000;
            display: none;
            flex-direction: column;
            overflow: hidden;
        }


.chat-header {
            background: #6b9aed;
            color: white;
            padding: 16px 20px;
            font-size: 15px;
            font-weight: 500;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            user-select: none;
        }

.chat-header:hover {
            background: #e55a24;
        }





.chat-message.sent {
            background: #6b9aed;
            color: white;
            align-self: flex-end;
            border-bottom-right-radius: 4px;
        }




.chat-input-area input:focus {
            border-color: #ff6b35;
        }


.chat-send-btn {
            background: none;
            border: none;
            cursor: pointer;
            font-size: 20px;
            color: #6b9aed;
            padding: 4px;
            display: flex;
            align-items: center;
        }


.main-layout {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 260px 1fr 270px;
    gap: 10px;
    padding: 3px;
    align-items: flex-start
        }

.sidebar-filters {
            position: sticky;
            top: 10px;
            background-color: white;
            border-radius: 8px;
            padding: 5px 15px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            max-height: 100%;
            flex-shrink: 0;
            overflow-y: auto;
        }

.sidebar-filters::-webkit-scrollbar {
            width: 6px;
        }

.sidebar-filters::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 3px;
        }

.sidebar-filters::-webkit-scrollbar-thumb {
            background: #888;
            border-radius: 3px;
        }

.sidebar-filters::-webkit-scrollbar-thumb:hover {
            background: #555;
        }

.filter-group {
            margin-bottom: 5px;
        }

.filter-label {
            font-size: 13px;
            color: #666;
            font-weight: 600;
            margin-bottom: 8px;
            display: block;
        }

.filter-group select,
        .filter-group input {
            width: 100%;
            padding: 10px 8px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 14px;
            transition: border-color 0.3s;
        }

.filter-group select:focus,
        .filter-group input:focus {
            outline: none;
            border-color: #2c5282;
        }

.price-separator {
            color: #999;
            font-weight: bold;
        }

.checkbox-group {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

.checkbox-group label {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            cursor: pointer;
        }

.checkbox-group input[type="checkbox"] {
            width: 16px;
            height: 16px;
            cursor: pointer;
        }

.filter-buttons {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-top: 20px;
        }

.btn-apply {
            flex: 1;
            padding: 12px;
            background-color: #2c5282;
            color: white;
            border: none;
            border-radius: 5px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

.btn-apply:hover {
            background-color: #1e3a5f;
        }

.btn-apply-filters { width: 100%; padding: 12px; background-color: #2c5282; color: white; border: none; border-radius: 5px; font-size: 14px; font-weight: bold; cursor: pointer; transition: all 0.3s; margin-top: 20px; }

.btn-apply-filters:hover { background-color: #1e3a5f; }

.btn-apply-filter,
        .btn-reset-filter {
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            font-size: 14px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s;
        }


.btn-reset-filter:hover {
            background-color: #f5f5f5;
        }

.btn-reset {
            padding: 12px 20px;
            background-color: #e2e8f0;
            color: #333;
            border: none;
            border-radius: 5px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

.btn-reset:hover {
            background-color: #f5f5f5;
        }

.listings-header {
            background-color: white;
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 20px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

.listings-title {
            font-size: 24px;
            font-weight: bold;
            color: #2c5282;
            margin-bottom: 10px;
        }

.listings-count {
            font-size: 14px;
            color: #666;
            margin-bottom: 15px;
        }

.content-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 2px solid #e2e8f0;
        }

.page-stats {
            color: #666;
            font-size: 14px;
        }

.results-info {
            font-size: 16px;
            font-weight: bold;
            color: #2c5282;
        }

.sort-options {
            display: flex;
            align-items: center;
            gap: 10px;
        }

.sort-options select {
            padding: 8px 12px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 14px;
            cursor: pointer;
        }

.view-toggle {
            display: flex;
            gap: 10px;
        }

.view-toggle button {
            padding: 8px 15px;
            border: 1px solid #ddd;
            background-color: white;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s;
        }

.view-toggle button.active {
            background-color: #2c5282;
            color: white;
            border-color: #2c5282;
        }

.view-btn {
            padding: 8px 12px;
            border: 1px solid #ddd;
            background-color: white;
            cursor: pointer;
            font-size: 13px;
            transition: all 0.3s;
        }

.view-btn.active {
            background-color: #2c5282;
            color: white;
            border-color: #2c5282;
        }

.sort-controls {
            display: flex;
            gap: 10px;
            align-items: center;
        }

.sort-label {
            font-size: 14px;
            color: #666;
        }

.sort-select {
            padding: 8px 12px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 14px;
            cursor: pointer;
        }

/* Listings Grid */
.listings-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }

/* Listing Card */
.listing-card {
            background-color: white;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.3s;
        }

.listing-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 4px 15px rgba(0,0,0,0.15);
        }

.listing-image {
            position: relative;
            width: 100%;
            height: 220px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 18px;
            font-weight: bold;
        }

.listing-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            padding: 5px 12px;
            background-color: #48bb78;
            color: white;
            border-radius: 20px;
            font-size: 12px;
            font-weight: bold;
        }

.listing-badge.featured {
            background-color: #f59e0b;
        }

.listing-badge.urgent {
            background-color: #ef4444;
        }

.listing-content {
            padding: 18px;
        }

.listing-title {
            font-size: 16px;
            font-weight: bold;
            color: #2c5282;
            margin-bottom: 10px;
            line-height: 1.4;
            display: -webkit-box;
                        line-clamp: 2;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

.listing-details {
            display: flex;
            flex-direction: column;
            gap: 6px;
            margin-bottom: 12px;
            padding-bottom: 12px;
            border-bottom: 1px solid #e2e8f0;
        }

.listing-details span {
            display: flex;
            align-items: center;
            gap: 4px;
        }

.listing-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 12px;
            color: #999;
            padding-top: 12px;
            border-top: 1px solid #f0f0f0;
        }

.right-sidebar::-webkit-scrollbar {
            width: 5px;
        }

.right-sidebar::-webkit-scrollbar-thumb {
            background: #888;
            border-radius: 3px;
        }

.ad-widget {
            background-color: white;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            text-align: center;
        }

.ad-widget h3 {
            font-size: 16px;
            color: #2c5282;
            margin-bottom: 15px;
        }

.sidebar-widget {
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

.widget-header {
            background: linear-gradient(135deg, #1a3a5c 0%, #2d5a87 100%);
            color: #fff;
            padding: 12px 15px;
            font-size: 14px;
            font-weight: 600;
        }

.widget-header i {
            margin-right: 8px;
            color: #f5a623;
        }

.widget-content {
            padding: 12px 15px;
        }

/* Forum Topic Items */
.forum-topic-item {
            padding: 10px 0;
            border-bottom: 1px solid #f0f0f0;
            font-size: 14px;
        }

.forum-topic-item:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

.forum-topic-item:first-child {
            padding-top: 0;
        }

.forum-topic-title {
            font-size: 14px;
            color: #333;
            display: block;
            margin-bottom: 5px;
            line-height: 1.4;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.2s;
        }

.forum-topic-title:hover {
            color: #2c5282;
        }

.forum-topic-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 11px;
            color: #888;
        }

.forum-topic-meta a {
            color: #2c5282;
            text-decoration: none;
        }

.forum-topic-stats {
            display: flex;
            gap: 10px;
        }

.forum-topic-stats span {
            display: flex;
            align-items: center;
            gap: 3px;
        }

.forum-badge {
            display: inline-block;
            font-size: 10px;
            padding: 2px 6px;
            border-radius: 3px;
            font-weight: 600;
            margin-left: 5px;
        }

.badge-hot {
            background: #fff3e0;
            color: #f5a623;
        }

.badge-new {
            background: #e8f5e9;
            color: #27ae60;
        }

.badge-solved {
            background: #e3f2fd;
            color: #1976d2;
        }

/* Top Users */
.top-user {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 0;
            border-bottom: 1px solid #f0f0f0;
        }

.top-user:last-child {
            border-bottom: none;
        }

.top-user-rank {
            width: 22px;
            height: 22px;
            background: #e0e0e0;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 11px;
            font-weight: 700;
            color: #666;
            flex-shrink: 0;
        }

.top-user-rank.gold {
            background: linear-gradient(135deg, #f5a623, #d4880f);
            color: #fff;
        }

.top-user-rank.silver {
            background: linear-gradient(135deg, #bdc3c7, #95a5a6);
            color: #fff;
        }

.top-user-rank.bronze {
            background: linear-gradient(135deg, #cd7f32, #a0522d);
            color: #fff;
        }

.user-avatar-small {
            width: 30px;
            height: 30px;
            background: linear-gradient(135deg, #3498db, #2980b9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 12px;
            font-weight: 600;
            flex-shrink: 0;
        }

.top-user-info {
            flex: 1;
            min-width: 0;
        }

.top-user-name {
            font-size: 13px;
            font-weight: 500;
            color: #333;
        }

.top-user-posts {
            font-size: 11px;
            color: #888;
        }

/* Related Ads in Sidebar */
.linked-ad-item {
            display: flex;
            gap: 10px;
            padding: 10px 0;
            border-bottom: 1px solid #f0f0f0;
        }

.linked-ad-thumb {
            width: 60px;
            height: 45px;
            background-color: #e2e8f0;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            flex-shrink: 0;
        }

.linked-ad-info h4 {
            font-size: 12px;
            font-weight: 500;
            margin-bottom: 3px;
        }

.linked-ad-info h4 a {
            color: #333;
            text-decoration: none;
        }

.linked-ad-info h4 a:hover {
            color: #2c5282;
        }

.linked-ad-price {
            font-size: 12px;
            color: #27ae60;
            font-weight: 600;
        }

.linked-ad-discussions {
            font-size: 10px;
            color: #888;
        }

/* Quick Poll */
.poll-option {
            padding: 8px 12px;
            margin-bottom: 6px;
            background: #f8f9fa;
            border-radius: 5px;
            font-size: 13px;
            cursor: pointer;
            transition: all 0.2s;
            border: 1px solid #e2e8f0;
        }

.poll-option:hover {
            background: #e2e8f0;
            border-color: #2c5282;
        }

.poll-option .poll-bar {
            height: 4px;
            background: #2c5282;
            border-radius: 2px;
            margin-top: 5px;
        }

.poll-total {
            font-size: 11px;
            color: #888;
            margin-top: 8px;
            text-align: center;
        }

.widget-more-link {
            display: block;
            text-align: center;
            padding: 10px;
            font-size: 13px;
            color: #2c5282;
            text-decoration: none;
            border-top: 1px solid #f0f0f0;
            transition: background 0.2s;
        }

.widget-more-link:hover {
            background: #f8f9fa;
        }

/* Tips Section */
.tips-section {
            background: white;
            color: black;
        }

.tips-section .sidebar-section-title {
            color: white;
            border-bottom-color: rgba(255, 255, 255, 0.3);
        }

.tip-item {
            padding: 10px 0;
            font-size: 13px;
            line-height: 1.6;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }

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

.tip-icon {
            margin-right: 8px;
        }

/* Pagination */
.pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            margin-top: 30px;
            flex-wrap: wrap;
        }

.page-btn {
            padding: 10px 15px;
            background-color: white;
            color: #2c5282;
            border: 1px solid #ddd;
            border-radius: 5px;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.3s;
        }

.page-btn:hover:not(.active):not(:disabled) {
            background-color: #f5f5f5;
            border-color: #2c5282;
        }

.page-btn.active {
            background-color: #2c5282;
            color: white;
            border-color: #2c5282;
        }

.page-btn:disabled {
            cursor: not-allowed;
            opacity: 0.5;
        }

/* ========== STORY SECTION ========== */
    .story-section {
        max-width: 1580px;
        margin: 0 auto;
        padding: 0;
    }

.story-row {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        padding: 6px 4px;
        scrollbar-width: none;
        scroll-behavior: smooth;
    }

.story-row::-webkit-scrollbar { display: none; }

.footer-about {
            padding-right: 20px;
        }

.footer-section ul li {
            margin-bottom: 10px;
        }

.footer-section ul li a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            font-size: 14px;
            transition: color 0.3s;
        }

.footer-section ul li a:hover {
            color: #48bb78;
            padding-left: 5px;
        }

.footer-bottom p {
            font-size: 13px;
            color: rgba(255,255,255,0.8);
        }

.filter-btn {
            width: 100%;
            padding: 12px;
            background-color: #2c5282;
            color: white;
            border: none;
            border-radius: 5px;
            font-size: 14px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s;
            margin-top: 10px;
        }

.filter-btn:hover {
            background-color: #1e3a5f;
        }

.reset-btn {
            width: 100%;
            padding: 10px;
            background-color: transparent;
            color: #666;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 13px;
            cursor: pointer;
            transition: all 0.3s;
            margin-top: 10px;
        }

.reset-btn:hover {
            background-color: #f5f5f5;
            border-color: #999;
        }

.reset-filter {
            width: 100%;
            padding: 10px;
            background-color: transparent;
            color: #666;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s;
            margin-top: 10px;
        }

.reset-filter:hover {
            background-color: #f5f5f5;
        }

/* Main Content */
main {
            flex: 1;
            min-width: 0;
        }

.results-header {
            background-color: white;
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 20px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
        }

.results-info strong {
            color: #2c5282;
            font-size: 18px;
        }

.page-btn:hover:not(:disabled):not(.active) {
            background-color: #f5f5f5;
            border-color: #2c5282;
        }

.price-range {
            display: flex;
            gap: 10px;
            align-items: center;
        }

.price-range input {
            flex: 1;
        }

.filter-actions {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-top: 25px;
            padding-top: 20px;
            margin-bottom: 20px;
            border-top: 1px solid #e2e8f0;
        }

.btn-apply, .btn-reset {
            flex: 1;
            padding: 10px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 14px;
            font-weight: bold;
            transition: all 0.3s;
        }

.page-btn:hover:not(:disabled) {
            background-color: #2c5282;
            color: white;
            border-color: #2c5282;
        }

/* Page Header */
.page-header {
            background-color: white;
            padding: 25px;
            border-radius: 8px;
            margin-bottom: 20px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

.page-header h1 {
            font-size: 28px;
            color: #2c5282;
            margin-bottom: 10px;
        }

.result-info {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
        }

.result-count {
            font-size: 15px;
            color: #666;
        }

.result-count strong {
            color: #2c5282;
            font-weight: 600;
        }

.sort-options label {
            font-size: 14px;
            color: #666;
            font-weight: 600;
        }

.filter-price-range {
            display: flex;
            gap: 10px;
            align-items: center;
        }

.filter-price-range input {
            flex: 1;
        }

.filter-price-separator {
            color: #666;
            font-weight: 500;
        }

.btn-filter {
            width: 100%;
            padding: 12px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 600;
            transition: all 0.3s;
        }

/* Listings Section */
.listings-section {
            background-color: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }

.section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 2px solid #e2e8f0;
        }

.section-title {
            font-size: 22px;
            font-weight: bold;
            color: #2c5282;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 2px solid #48bb78;
        }

.results-count {
            color: #666;
            font-size: 14px;
        }

.page-header-container {
            max-width: 1600px;
            margin: 0 auto;
        }

.page-title {
            font-size: 32px;
            margin-bottom: 10px;
        }

.page-subtitle {
            font-size: 16px;
            opacity: 0.9;
        }

/* Sidebar */
.sidebar {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

.filter-section {
            background: white;
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 20px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.08);
        }

.filter-title {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 15px;
            color: #2c5282;
        }

.filter-group label {
            display: block;
            margin-bottom: 5px;
            font-size: 14px;
            font-weight: 500;
            color: #555;
        }

.filter-group input[type="text"],
        .filter-group select {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 14px;
        }

.filter-group input[type="checkbox"] {
            margin-right: 8px;
        }

.btn-apply-filter {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
            color: white;
            border: none;
            border-radius: 5px;
            font-size: 15px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s;
        }

.btn-apply-filter:hover {
            background-color: #1e3a5f;
        }

/* Job Listings */
.jobs-container {
            flex: 1;
        }

.jobs-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

.jobs-count {
            font-size: 18px;
            font-weight: bold;
            color: #333;
        }

.sort-dropdown {
            padding: 8px 12px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 14px;
            cursor: pointer;
        }

.job-card {
            background: white;
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 15px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.08);
            transition: all 0.3s;
            cursor: pointer;
        }

.job-card:hover {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            border-left-color: #2c5282;
        }

.job-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 15px;
        }

.job-company-logo {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            font-weight: bold;
            color: #4c51bf;
            flex-shrink: 0;
        }

.job-main-info {
            flex: 1;
            padding: 0 20px;
        }

.job-title {
            font-size: 20px;
            font-weight: bold;
            color: #2c5282;
            margin-bottom: 8px;
        }

.job-company {
            font-size: 16px;
            color: #666;
            margin-bottom: 12px;
        }

.job-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 10px;
        }

.job-tag {
            padding: 6px 12px;
            background: #edf2f7;
            border: 1px solid #cbd5e0;
            border-radius: 20px;
            font-size: 12px;
            color: #2c5282;
        }

.job-tag.salary {
            background-color: #c6f6d5;
            color: #276749;
            font-weight: 600;
        }

.job-meta {
            display: flex;
            gap: 15px;
            align-items: center;
            flex-shrink: 0;
            font-size: 14px;
            color: #666;
        }

.job-posted {
            color: #999;
        }

.btn-save {
            padding: 8px 16px;
            background-color: transparent;
            color: #2c5282;
            border: 2px solid #2c5282;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 14px;
            font-weight: bold;
        }

.btn-save:hover {
            background-color: #2c5282;
            color: white;
        }

.job-details {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
            padding-top: 15px;
            border-top: 1px solid #e2e8f0;
        }

.job-detail-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            color: #555;
        }

.job-detail-icon {
            font-size: 18px;
        }

.pagination button {
            padding: 8px 15px;
            border: 1px solid #ddd;
            background-color: white;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s;
        }

.pagination button:hover {
            background-color: #2c5282;
            color: white;
            border-color: #2c5282;
        }

.pagination button.active {
            background-color: #2c5282;
            color: white;
            border-color: #2c5282;
        }

/* Main Container */
.container {
            max-width: 1600px;
            margin: 0 auto 40px;
            padding: 0 20px;
            display: grid;
            grid-template-columns: 1fr 350px;
            gap: 30px;
        }

/* Listing Detail */
.listing-detail {
            background-color: white;
            border-radius: 10px;
            padding: 30px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

.listing-header {
            margin-bottom: 25px;
            padding-bottom: 20px;
            border-bottom: 2px solid #f0f0f0;
        }

.listing-meta span {
            display: flex;
            align-items: center;
            gap: 5px;
        }

/* Gallery */
.gallery {
            margin: 10px 0;
        }

.gallery-main {
            width: 100%;
            height: 500px;
            background-color: #e8e8e8;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            color: #999;
            margin-bottom: 15px;
            position: relative;
            overflow: hidden;
        }

.gallery-main img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

.gallery-thumbnails {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
            gap: 10px;
        }

.gallery-thumb {
            height: 90px;
            background-color: #e8e8e8;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
            border: 2px solid transparent;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            color: #999;
            overflow: hidden;           /* ← НЭМЭВ: гадагшаа гарсан зургийг таслана */
        }

.gallery-thumb img {                    /* ← БҮХЭЛДЭЭ ШИНЭ RULE */
            width: 100%;
            height: 100%;
            object-fit: cover;          /* босоо/хэвтээ ямар ч зураг 90px дотор зөв хэлбэрээр харагдана */
            display: block;
        }

.gallery-thumb:hover {
            border-color: #2c5282;
            transform: scale(1.05);
        }

.gallery-thumb.active {
            border-color: #48bb78;
        }

        /* ─── Gallery navigation товчнууд (prev / next) ─── */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    opacity: 0.85;
    transition: background 0.25s ease, opacity 0.25s ease, transform 0.2s ease;
    z-index: 5;
    user-select: none;
}

.gallery-nav:hover {
    background: rgba(0, 0, 0, 0.75);
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
}

.gallery-nav:active {
    transform: translateY(-50%) scale(0.95);
    background: rgba(0, 0, 0, 0.85);
}

.gallery-nav:focus-visible {
    outline: 2px solid #48bb78;
    outline-offset: 2px;
}

.gallery-nav.prev {
    left: 14px;
}

.gallery-nav.next {
    right: 14px;
}

/* Hover хийгээгүй үед үндсэн зургаа битгий халхлахын тулд */
.gallery-main:not(:hover) .gallery-nav {
    opacity: 0.65;
}

/* Жижиг дэлгэц дээр (mobile) арай жижиг хэмжээ */
@media (max-width: 768px) {
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    .gallery-nav.prev { left: 8px; }
    .gallery-nav.next { right: 8px; }
}

/* ─── Gallery counter (1 / 5 гэх мэт) ─── */
.gallery-counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 5px 12px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 5;
    pointer-events: none;
}

/* Description Section */
.description-section {
            margin: 30px 0;
        }

.description-text {
            line-height: 1.8;
            color: #555;
            font-size: 15px;
        }

/* Details Grid */
.details-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 15px;
            margin: 25px 0;
        }

.detail-item {
            background-color: #f8f9fa;
            padding: 15px;
            border-radius: 8px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

.detail-label {
            font-weight: 600;
            color: #555;
        }

.detail-value {
            color: #2c5282;
            font-weight: 500;
        }

/* Features List */
.features-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 12px;
            margin: 20px 0;
        }

.feature-item {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px;
            background-color: #f8f9fa;
            border-radius: 6px;
            font-size: 14px;
        }

.feature-icon {
            color: #48bb78;
            font-weight: bold;
        }

/* Location Map */
.map-container {
            margin: 30px 0;
        }

.map-placeholder {
            width: 100%;
            height: 400px;
            background-color: #e8e8e8;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #999;
            font-size: 16px;
        }

/* ===== SIDEBAR ===== */
.item-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-card {
            background-color: white;
            border-radius: 10px;
            padding: 25px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

/* Contact Card */
.contact-info {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

.contact-icon {
            font-size: 20px;
        }

.contact-details {
            flex: 1;
        }

.contact-label {
            font-size: 12px;
            color: #666;
            margin-bottom: 3px;
        }

.contact-value {
            font-size: 15px;
            font-weight: 600;
            color: #333;
        }

.btn-contact {
            width: 100%;
            padding: 15px;
            background-color: #48bb78;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s;
            margin-top: 10px;
        }

.btn-contact:hover {
            background-color: #38a169;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
        }

.btn-message {
            width: 100%;
            padding: 15px;
            background-color: #2c5282;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s;
            margin-top: 10px;
        }

.btn-message:hover {
            background-color: #1e3a5f;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(44, 82, 130, 0.3);
        }

.sidebar-card .sidebar-title {
    font-size: 15px;
    font-weight: bold;
    color: #2c5282;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2c5282;
}

/* Seller Info */
.seller-profile {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 2px solid #f0f0f0;
        }

.seller-avatar {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            background-color: #2c5282;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            font-weight: bold;
        }

.seller-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.seller-details {
            flex: 1;
        }

.seller-name {
            font-size: 18px;
            font-weight: bold;
            color: #2c5282;
            margin-bottom: 5px;
        }

.seller-stats {
            font-size: 13px;
            color: #666;
        }

/* Safety Tips */
.safety-tips {
            background-color: #fff8e1;
            border-left: 4px solid #ffc107;
            padding: 20px;
            border-radius: 8px;
        }

.safety-tips h4 {
            color: #f57c00;
            margin-bottom: 15px;
            font-size: 16px;
        }

.safety-tips ul {
            list-style: none;
            padding: 0;
        }

.safety-tips li {
            padding: 8px 0;
            font-size: 14px;
            color: #666;
            display: flex;
            align-items: flex-start;
            gap: 8px;
        }

.safety-tips li:before {
            content: "⚠️";
            flex-shrink: 0;
        }

/* Quick Info Card */
.quick-info-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quick-info-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 13px;
}

.quick-info-item .label {
    color: #666;
}

.quick-info-item .value {
    font-weight: 600;
    color: #1a365d;
}

/* Fullscreen Modal */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.gallery-modal.active {
    display: flex;
}

.gallery-modal img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.gallery-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 36px;
    color: white;
    cursor: pointer;
    z-index: 10001;
    background: none;
    border: none;
}

.gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 36px;
    color: white;
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    border: none;
    padding: 10px 18px;
    border-radius: 50%;
    transition: all 0.3s;
}

.gallery-modal-nav:hover {
    background: rgba(255,255,255,0.3);
}

.gallery-modal-nav.prev { left: 20px; }

.gallery-modal-nav.next { right: 20px; }

/* Share Buttons */
.share-section {
            margin-top: 30px;
            padding-top: 20px;
            border-top: 2px solid #f0f0f0;
        }

.share-title {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 15px;
            color: #333;
        }

.share-buttons {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

.share-btn {
            padding: 10px 20px;
            border: 1px solid #ddd;
            background-color: white;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

.share-btn:hover {
            background-color: #f8f9fa;
            border-color: #2c5282;
            transform: translateY(-2px);
        }

/* Report Button */
.report-btn {
            width: 100%;
            padding: 12px;
            background-color: transparent;
            color: #dc3545;
            border: 1px solid #dc3545;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s;
            margin-top: 15px;
            font-size: 14px;
        }


/* Similar Listings */
.similar-listings {
            margin-top: 40px;
            background-color: white;
            border-radius: 10px;
            padding: 30px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

.similar-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }

.similar-card {
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            overflow: hidden;
            transition: all 0.3s;
            cursor: pointer;
        }

.similar-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

.similar-image {
            width: 100%;
            height: 180px;
            background-color: #e8e8e8;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #999;
        }

.similar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.similar-content {
            padding: 15px;
        }

.similar-title {
            font-size: 15px;
            font-weight: 600;
            color: #333;
            margin-bottom: 8px;
            display: -webkit-box;
                        line-clamp: 2;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

.similar-price {
            font-size: 18px;
            font-weight: bold;
            color: #48bb78;
            margin-bottom: 8px;
        }

.similar-location {
            font-size: 13px;
            color: #666;
        }

.footer-about .footer-logo {
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 15px;
        }

/* Company Header / Cover */
.company-header {
            position: relative;
            border-radius: 8px;
            overflow: hidden;
            background: white;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            margin-bottom: 5px;
        }

.company-cover {
            width: 100%;
            height: 200px;
            background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #fbb040 100%);
            background-size: cover;
            background-position: center;
            position: relative;
        }

.company-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

.company-award {
            position: absolute;
            top: 10px;
            right: 10px;
            background: white;
            padding: 10px 15px;
            border-radius: 8px;
            font-size: 11px;
            font-weight: bold;
            color: #2c5282;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        }

.company-info-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 15px 20px;
            background: white;
        }

.company-info-left {
            display: flex;
            align-items: center;
            gap: 15px;
        }

.company-logo {
            width: 80px;
            height: 80px;
            background: white;
            border-radius: 50%;
            border: 3px solid white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            margin-top: -40px;
        }

.company-logo img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            padding: 5px;
        }

.company-name {
            font-size: 24px;
            font-weight: bold;
            color: #2c5282;
        }

.company-info-right {
            display: flex;
            align-items: center;
            gap: 10px;
        }

.company-social {
            display: flex;
            gap: 8px;
        }

.social-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: 2px solid #2c5282;
            background: white;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            font-size: 18px;
        }

.social-btn:hover {
            background: #2c5282;
            color: white;
        }

.follow-btn {
            padding: 8px 20px;
            background: #2c5282;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 13px;
            font-weight: 500;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 5px;
        }

.follow-btn:hover {
            background: #1a365d;
        }

/* Company Tabs */
.company-tabs {
            background: white;
            border-radius: 8px;
            padding: 0;
            margin-bottom: 10px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

.tabs-list {
            display: flex;
            gap: 5px;
            border-bottom: 2px solid #e0e0e0;
        }

.tab-item {
            padding: 12px 20px;
            cursor: pointer;
            font-size: 14px;
            color: #666;
            border-bottom: 3px solid transparent;
            transition: all 0.3s;
            text-decoration: none;
            display: inline-block;
        }

.tab-item:hover {
            color: #2c5282;
        }

.tab-item.active {
            color: #2c5282;
            border-bottom-color: #ff6b35;
            font-weight: 600;
        }

/* Job Listings */
.job-section {
            background: white;
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 10px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

.job-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

.job-meta-item {
            display: flex;
            align-items: center;
            gap: 5px;
        }

.job-salary {
            font-size: 14px;
            font-weight: 600;
            color: #48bb78;
            margin-top: 8px;
        }

.job-time {
            font-size: 11px;
            color: #999;
            margin-top: 5px;
        }

/* Job Detail */
.job-detail {
            background: white;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

.job-detail-header {
            border-bottom: 2px solid #e0e0e0;
            padding-bottom: 15px;
            margin-bottom: 15px;
        }

.job-detail-title {
            font-size: 20px;
            font-weight: bold;
            color: #2c5282;
            margin-bottom: 10px;
        }

.job-detail-salary {
            font-size: 18px;
            font-weight: 600;
            color: #48bb78;
            margin-bottom: 10px;
        }

.job-detail-actions {
            display: flex;
            gap: 10px;
            margin-top: 15px;
        }

.btn-icon {
            padding: 12px;
            background: white;
            border: 1px solid #ddd;
            border-radius: 5px;
            cursor: pointer;
            font-size: 16px;
            transition: all 0.3s;
        }

.btn-icon:hover {
            background: #f5f5f5;
        }

.job-detail-section {
            margin-bottom: 20px;
        }

.job-description {
            line-height: 1.6;
            color: #555;
        }

.job-description ul {
            margin-left: 20px;
            margin-top: 10px;
        }

.job-description li {
            margin-bottom: 8px;
        }

.job-info-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            margin-top: 15px;
        }

.job-info-item {
            display: flex;
            flex-direction: column;
            gap: 5px;
        }

.job-map {
            width: 100%;
            height: 250px;
            background: #e0e0e0;
            border-radius: 8px;
            margin-top: 15px;
        }

/* Related Companies */
.related-companies {
            background: white;
            border-radius: 8px;
            padding: 15px;
            margin-top: 10px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

.related-title {
            font-size: 16px;
            font-weight: bold;
            color: #2c5282;
            margin-bottom: 15px;
        }

.company-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 10px;
        }

.company-item {
            text-align: center;
            padding: 10px;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            transition: all 0.3s;
            cursor: pointer;
            text-decoration: none;
            color: inherit;
        }

.company-item:hover {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            border-color: #2c5282;
        }

.company-item-logo {
            width: 60px;
            height: 60px;
            margin: 0 auto 8px;
            border-radius: 50%;
            background: #f5f5f5;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 30px;
        }

.company-item-name {
            font-size: 12px;
            color: #333;
            margin-bottom: 5px;
            font-weight: 500;
        }

.company-item-jobs {
            font-size: 11px;
            color: #666;
        }

.sidebar-section {
            margin-bottom: 20px;
        }

.sidebar-section:last-child {
            margin-bottom: 0;
        }

.quick-stat-item:hover {
            background-color: #f8f9fa;
        }

.footer-links {
            display: flex;
            gap: 20px;
        }

.footer-links a {
            color: #bdc3c7;
            text-decoration: none;
            transition: all 0.3s;
        }

.footer-links a:hover {
            color: white;
        }

@media (max-width: 992px) {
            .content-wrapper {
                grid-template-columns: 1fr;
            }

            .left-sidebar,
            .right-sidebar {
                display: none;
            }

            .header-search {
                max-width: 400px;
            }

            .company-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

/* Profile Layout */
.profile-wrapper {
            max-width: 1600px;
            margin: 0 auto;
            padding: 15px 20px;
            display: grid;
            grid-template-columns: 220px 1fr;
            gap: 15px;
        }

/* Sidebar */
.profile-sidebar {
            background-color: white;
            border-radius: 8px;
            padding: 15px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            height: fit-content;
        }

.sidebar-user-info {
            text-align: center;
            padding-bottom: 15px;
            border-bottom: 1px solid #e2e8f0;
            margin-bottom: 10px;
        }

.sidebar-avatar {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            background: linear-gradient(135deg, #2c5282, #48bb78);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 10px;
            font-size: 28px;
            color: white;
            font-weight: bold;
            position: relative;
        }

.sidebar-avatar .online-dot {
            position: absolute;
            bottom: 2px;
            right: 2px;
            width: 14px;
            height: 14px;
            background-color: #48bb78;
            border-radius: 50%;
            border: 2px solid white;
        }

.sidebar-user-name {
            font-size: 14px;
            font-weight: bold;
            color: #2c5282;
        }

.sidebar-user-email {
            font-size: 11px;
            color: #888;
            margin-top: 2px;
        }

.sidebar-nav {
            list-style: none;
        }

.sidebar-nav li a {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 12px;
            text-decoration: none;
            color: #555;
            border-radius: 6px;
            font-size: 13px;
            transition: all 0.2s;
        }

.sidebar-nav li a:hover {
            background-color: #f0f4f8;
            color: #2c5282;
        }

.sidebar-nav li a.active {
            background-color: #edf2f7;
            color: #2c5282;
            font-weight: bold;
        }

.sidebar-nav li a i {
            width: 18px;
            text-align: center;
            font-size: 14px;
        }

/* Main Content */
.profile-main {
            min-width: 0;
        }

/* Section Cards */
.section-card {
            background-color: white;
            border-radius: 8px;
            padding: 20px 30px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            margin-bottom: 15px;
        }

/* ===== Balance Summary Cards ===== */
.balance-summary {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin-bottom: 15px;
        }

.balance-card {
            background: white;
            border-radius: 8px;
            padding: 25px 30px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
            gap: 20px;
        }

.balance-card-icon {
            width: 60px;
            height: 60px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            color: white;
            flex-shrink: 0;
        }

.balance-card-icon.green {
            background: linear-gradient(135deg, #48bb78, #38a169);
        }

.balance-card-icon.blue {
            background: linear-gradient(135deg, #2c5282, #2b6cb0);
        }

.balance-card-info {
            flex: 1;
        }

.balance-card-label {
            font-size: 12px;
            color: #888;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 6px;
        }

.balance-card-amount {
            font-size: 26px;
            font-weight: bold;
            color: #1a365d;
        }

.balance-card-amount span {
            font-size: 15px;
            font-weight: 600;
            color: #666;
            margin-left: 2px;
        }

/* ===== Recharge Section ===== */
.recharge-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

.recharge-amount-input {
            display: flex;
            gap: 10px;
            margin-bottom: 16px;
        }

.recharge-amount-input input {
            flex: 1;
            padding: 12px 16px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 14px;
            transition: border-color 0.3s;
            font-family: inherit;
        }

.recharge-amount-input input:focus {
            outline: none;
            border-color: #2c5282;
        }

.btn-recharge {
            padding: 12px 28px;
            background-color: #48bb78;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            white-space: nowrap;
        }

.btn-recharge:hover {
            background-color: #38a169;
        }

.quick-amounts {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }

.quick-amount-btn {
            padding: 8px 16px;
            background-color: #edf2f7;
            color: #2c5282;
            border: 1px solid #e2e8f0;
            border-radius: 6px;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
        }

.quick-amount-btn:hover {
            background-color: #2c5282;
            color: white;
            border-color: #2c5282;
        }

.quick-amount-btn.active {
            background-color: #2c5282;
            color: white;
            border-color: #2c5282;
        }

/* ===== Bank List ===== */

.bank-list-title {
            font-size: 13px;
            color: #555;
            font-weight: 600;
            margin-bottom: 12px;
        }

.bank-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

.bank-item {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 12px 16px;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s;
        }

.bank-item:hover {
            border-color: #2c5282;
            background-color: #f7fafc;
        }

.bank-item.selected {
            border-color: #2c5282;
            background-color: #edf2f7;
        }

.bank-item-logo {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 11px;
            font-weight: bold;
            color: white;
            flex-shrink: 0;
        }

.bank-item-info {
            flex: 1;
        }

.bank-item-name {
            font-size: 13px;
            font-weight: 600;
            color: #1a365d;
        }

.bank-item-desc {
            font-size: 11px;
            color: #888;
            margin-top: 1px;
        }

.bank-item-check {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            border: 2px solid #ddd;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 11px;
            color: transparent;
            transition: all 0.2s;
            flex-shrink: 0;
        }

.bank-item.selected .bank-item-check {
            background-color: #2c5282;
            border-color: #2c5282;
            color: white;
        }

/* ===== Payment History Table ===== */
.payment-table-wrapper {
            overflow-x: auto;
        }

.payment-table {
            width: 100%;
            border-collapse: collapse;
        }

.payment-table thead th {
            background-color: #f7fafc;
            padding: 12px 16px;
            text-align: left;
            font-size: 11px;
            font-weight: 600;
            color: #555;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            border-bottom: 2px solid #edf2f7;
        }

.payment-table tbody td {
            padding: 14px 16px;
            font-size: 13px;
            color: #333;
            border-bottom: 1px solid #f0f4f8;
        }

.payment-table tbody tr:hover {
            background-color: #f7fafc;
        }

.payment-table tbody tr:last-child td {
            border-bottom: none;
        }

.status-badge {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 600;
        }

.status-badge.success {
            background-color: #f0fff4;
            color: #38a169;
        }

.status-badge.pending {
            background-color: #fefcbf;
            color: #d69e2e;
        }

.status-badge.failed {
            background-color: #fed7d7;
            color: #e53e3e;
        }

.status-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
        }

.status-badge.success .status-dot {
            background-color: #38a169;
        }

.status-badge.pending .status-dot {
            background-color: #d69e2e;
        }

.status-badge.failed .status-dot {
            background-color: #e53e3e;
        }

.amount-positive {
            color: #38a169;
            font-weight: 600;
        }

.amount-negative {
            color: #e53e3e;
            font-weight: 600;
        }

.payment-type-icon {
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

.payment-type-icon i {
            width: 28px;
            height: 28px;
            border-radius: 6px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            color: white;
        }

.payment-type-icon i.bg-green {
            background-color: #48bb78;
        }

.payment-type-icon i.bg-blue {
            background-color: #2c5282;
        }

.payment-type-icon i.bg-orange {
            background-color: #ed8936;
        }

.payment-type-icon i.bg-red {
            background-color: #e53e3e;
        }

/* Pagination */
.table-pagination {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 16px;
            padding-top: 16px;
            border-top: 1px solid #edf2f7;
        }

.pagination-info {
            font-size: 12px;
            color: #888;
        }

.pagination-btns {
            display: flex;
            gap: 4px;
        }

.pagination-btn {
            width: 32px;
            height: 32px;
            border: 1px solid #e2e8f0;
            background-color: white;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            color: #555;
            cursor: pointer;
            transition: all 0.2s;
        }

.pagination-btn:hover {
            background-color: #f0f4f8;
            color: #2c5282;
        }

.pagination-btn.active {
            background-color: #2c5282;
            color: white;
            border-color: #2c5282;
        }

.footer-copyright {
            font-size: 12px;
        }

/* Modal */
.modal-overlay {
            display: none;
            position: fixed;
            z-index: 10000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            align-items: center;
            justify-content: center;
        }

.modal-overlay.show {
            display: flex;
        }

.modal-box {
            background-color: white;
            border-radius: 12px;
            width: 480px;
            max-width: 95%;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            padding: 30px;
            position: relative;
            animation: modalSlideIn 0.3s ease-out;
        }

@keyframes modalSlideIn {
        }

.modal-box-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
        }

.modal-box-title {
            font-size: 18px;
            font-weight: bold;
            color: #1a365d;
        }

.modal-close-btn {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            border: none;
            background-color: #f0f0f0;
            color: #666;
            font-size: 18px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }

.modal-close-btn:hover {
            background-color: #e0e0e0;
            color: #333;
        }

/* Recharge Confirm Modal */
.confirm-detail {
            display: flex;
            justify-content: space-between;
            padding: 12px 0;
            border-bottom: 1px solid #f0f4f8;
            font-size: 13px;
        }

.confirm-detail:last-child {
            border-bottom: none;
        }

.confirm-detail-label {
            color: #888;
        }

.confirm-detail-value {
            font-weight: 600;
            color: #1a365d;
        }

.confirm-total {
            background-color: #f7fafc;
            border-radius: 8px;
            padding: 16px 20px;
            margin: 16px 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

.confirm-total-label {
            font-size: 14px;
            color: #555;
            font-weight: 600;
        }

.confirm-total-amount {
            font-size: 22px;
            font-weight: bold;
            color: #48bb78;
        }

.btn-confirm {
            width: 100%;
            padding: 14px;
            background-color: #48bb78;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

.btn-confirm:hover {
            background-color: #38a169;
        }

.btn-cancel {
            width: 100%;
            padding: 12px;
            background-color: transparent;
            color: #888;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 13px;
            cursor: pointer;
            transition: all 0.3s;
            margin-top: 8px;
        }

.btn-cancel:hover {
            background-color: #f5f5f5;
            color: #333;
        }

/* Success Alert */
.alert-toast {
            position: fixed;
            top: 20px;
            right: 20px;
            padding: 16px 24px;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 10px;
            z-index: 20000;
            transform: translateX(120%);
            transition: transform 0.4s ease;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        }

.alert-toast.show {
            transform: translateX(0);
        }

.alert-toast.success {
            background-color: #f0fff4;
            color: #276749;
            border-left: 4px solid #48bb78;
        }

.alert-toast.error {
            background-color: #fed7d7;
            color: #9b2c2c;
            border-left: 4px solid #e53e3e;
        }

/* Empty state */
.empty-state {
            text-align: center;
            padding: 40px 20px;
            color: #888;
        }

.empty-state i {
            font-size: 48px;
            color: #ddd;
            margin-bottom: 12px;
        }

.empty-state p {
            font-size: 14px;
        }

.save-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #666;
    cursor: pointer;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.save-btn:hover {
    border-color: #e74c3c;
    color: #e74c3c;
}

.save-btn.saved {
    background: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
}

.save-btn.saved:hover {
    background: #c0392b;
}

/* Payment Type Tabs */
        .payment-tabs {
            display: flex;
            background-color: #fff;
            border-radius: 8px;
            overflow: hidden;
            margin-bottom: 15px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
        }

.payment-tab {
            flex: 1;
            padding: 14px 20px;
            text-align: center;
            font-size: 14px;
            color: #4a5568;
            cursor: pointer;
            border: none;
            background: white;
            transition: all 0.3s;
            font-weight: 500;
        }

.payment-tab:first-child {
            border-radius: 8px 0 0 8px;
        }

.payment-tab:last-child {
            border-radius: 0 8px 8px 0;
        }



/* Two Column Layout */
        .two-col {
            display: flex;
            gap: 15px;
            margin-bottom: 15px;
        }

.col-search {
            flex: 0 0 48%;
            background-color: #fff;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
        }

.col-numbers {
            flex: 1;
            background-color: #fff;
            border-radius: 8px;
            padding: 15px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
        }

/* Search Box */
        .search-title {
            font-size: 16px;
            font-weight: bold;
            color: #1a365d;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

.search-title::before {
            content: '';
            width: 3px;
            height: 18px;
            background-color: #ed8936;
            border-radius: 2px;
        }

.btn-search-number {
            width: 48px;
            height: 48px;
            background-color: #ed8936;
            color: white;
            border: none;
            border-radius: 50%;
            font-size: 18px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
        }

.btn-search-number:hover {
            background-color: #dd6b20;
            transform: scale(1.05);
        }

.search-hint {
            font-size: 12px;
            color: #718096;
            line-height: 1.5;
            margin-top: 15px;
            padding: 10px;
            background-color: #f7fafc;
            border-radius: 6px;
            border-left: 3px solid #e2e8f0;
        }

/* Number Category Tabs */

.number-tab {
            padding: 8px 20px;
            border: none;
            border-radius: 20px;
            font-size: 13px;
            cursor: pointer;
            transition: all 0.3s;
            background-color: #edf2f7;
            color: #4a5568;
            font-weight: 500;
        }



/* Numbers Grid */
        .numbers-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 8px;
            max-height: 420px;
            overflow-y: auto;
        }

.number-card {
            padding: 10px;
            text-align: center;
            border: 1px solid #e2e8f0;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 500;
            color: #2d3748;
            cursor: pointer;
            transition: all 0.2s;
            background-color: #f7fafc;
        }

.number-card:hover {
            background-color: #ebf8ff;
            border-color: #90cdf4;
            color: #1a365d;
            transform: translateY(-1px);
            box-shadow: 0 2px 8px rgba(49, 130, 206, 0.15);
        }

.number-card.golden {
            background-color: #fffff0;
            border-color: #ecc94b;
        }

.number-card.golden:hover {
            background-color: #fefcbf;
            border-color: #d69e2e;
        }

.number-card.silver {
            background-color: #f7fafc;
            border-color: #a0aec0;
        }

/* Pagination Dots */
        .pagination-dots {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-top: 12px;
        }

.pagination-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: #cbd5e0;
            cursor: pointer;
            border: none;
            transition: all 0.3s;
        }

.pagination-dot.active {
            background-color: #1a365d;
            transform: scale(1.2);
        }

/* Recommendations Section */
        .recommendations-section {
            max-width: 1600px;
            margin: 20px auto;
            padding: 0 20px;
        }

.reco-title {
            font-size: 18px;
            font-weight: bold;
            color: #1a365d;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

.reco-title::before {
            content: '';
            width: 4px;
            height: 22px;
            background-color: #3182ce;
            border-radius: 2px;
        }

.reco-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
        }

.reco-card {
            background-color: white;
            border-radius: 10px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }

.reco-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
        }

.reco-image {
            width: 100%;
            height: 180px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 14px;
            font-weight: bold;
            text-align: center;
            padding: 15px;
            position: relative;
            overflow: hidden;
        }

.reco-image.img1 {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }

.reco-image.img2 {
            background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
        }

.reco-image.img3 {
            background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%);
        }

.reco-image.img4 {
            background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
        }

.reco-content {
            padding: 15px;
        }

.reco-card-title {
            font-size: 13px;
            font-weight: bold;
            color: #1a365d;
            margin-bottom: 8px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

.reco-arrow {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
            border: 1px solid #e2e8f0;
            border-radius: 50%;
            color: #3182ce;
            font-size: 12px;
            transition: all 0.3s;
        }

.reco-card:hover .reco-arrow {
            background-color: #3182ce;
            color: white;
            border-color: #3182ce;
        }

/* Scrollbar Styling */
        .numbers-grid::-webkit-scrollbar {
            width: 6px;
        }

.numbers-grid::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 3px;
        }

.numbers-grid::-webkit-scrollbar-thumb {
            background: #cbd5e0;
            border-radius: 3px;
        }

.numbers-grid::-webkit-scrollbar-thumb:hover {
            background: #a0aec0;
        }

/* Responsive */
        @media (max-width: 768px) {


            .two-col {
                flex-direction: column;
            }

            .col-search {
                flex: 1;
            }

            .numbers-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .reco-grid {
                grid-template-columns: repeat(2, 1fr);
            }

        }

.checkbox-item {
            display: flex;
            align-items: center;
            margin-bottom: 6px;
            font-size: 13px;
        }

.checkbox-item input[type="checkbox"] {
            width: auto;
            margin-right: 6px;
            accent-color: #3182ce;
        }

.price-inputs {
            display: flex;
            gap: 8px;
        }

.price-inputs input {
            flex: 1;
            padding: 7px 8px;
            border: 1px solid #e2e8f0;
            border-radius: 6px;
            font-size: 12px;
        }

/* Digit Search in Sidebar */
        .digit-search-box {
            background-color: #ebf8ff;
            border-radius: 8px;
            padding: 12px;
            margin-bottom: 14px;
            border: 1px solid #bee3f8;
        }

.digit-search-title {
            font-size: 13px;
            font-weight: bold;
            color: #1a365d;
            margin-bottom: 8px;
        }

.digit-selectors {
            display: flex;
            gap: 4px;
            flex-wrap: wrap;
            margin-bottom: 8px;
        }

.digit-select {
            width: 34px;
            height: 34px;
            border: 1.5px solid #bee3f8;
            border-radius: 6px;
            text-align: center;
            font-size: 14px;
            font-weight: bold;
            color: #1a365d;
            background-color: #fff;
            cursor: pointer;
            appearance: none;
            -webkit-appearance: none;
            padding: 0;
        }

.digit-select:focus {
            border-color: #3182ce;
            outline: none;
        }

.digit-select.filled {
            background-color: #ebf8ff;
            border-color: #90cdf4;
        }

.btn-digit-search {
            width: 34px;
            height: 34px;
            background-color: #ed8936;
            color: white;
            border: none;
            border-radius: 50%;
            font-size: 13px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }

.btn-digit-search:hover { background-color: #dd6b20; }

.digit-hint {
            font-size: 11px;
            color: #718096;
            line-height: 1.4;
        }

/* Payment Type Tabs */
        .payment-tabs {
            display: flex;
            background-color: #fff;
            border-radius: 10px;
            overflow: hidden;
            margin-bottom: 12px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        }

.payment-tab {
            flex: 1;
            padding: 12px 16px;
            text-align: center;
            font-size: 13px;
            color: #4a5568;
            cursor: pointer;
            border: none;
            background: white;
            transition: all 0.3s;
            font-weight: 500;
        }

.payment-tab:first-child { border-radius: 10px 0 0 10px; }

.payment-tab:last-child { border-radius: 0 10px 10px 0; }

.payment-tab.active { background-color: #1a365d; color: white; font-weight: bold; }

.payment-tab:hover:not(.active) { background-color: #edf2f7; }

/* Number Category Tabs */
        .number-tabs {
            display: flex;
            gap: 5px;
            margin-bottom: 12px;
        }

.number-tab {
            padding: 7px 18px;
            border: none;
            border-radius: 20px;
            font-size: 13px;
            cursor: pointer;
            transition: all 0.3s;
            background-color: #edf2f7;
            color: #4a5568;
            font-weight: 500;
        }

.number-tab.active { background-color: #ed8936; color: white; font-weight: bold; }

.number-tab:hover:not(.active) { background-color: #e2e8f0; }

/* ==================== LISTINGS GRID (Number Cards) ==================== */
        .listings-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            margin-bottom: 15px;
        }

.listing-card {
            background-color: #fff;
            border-radius: 10px;
            overflow: hidden;
            transition: all 0.3s;
            box-shadow: 0 2px 8px rgba(0,0,0,0.06);
            cursor: pointer;
            border: 2px solid transparent;
        }

.listing-card:hover {
            border-color: #3182ce;
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(49,130,206,0.15);
        }

.number-display {
            font-size: 24px;
            font-weight: bold;
            color: #1a365d;
            text-align: center;
            padding: 18px 15px 10px;
            letter-spacing: 2px;
            position: relative;
        }

.vip-badge {
            display: inline-block;
            background: linear-gradient(135deg, #e53e3e, #c53030);
            color: white;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 10px;
            font-weight: bold;
            margin-left: 6px;
            vertical-align: middle;
            letter-spacing: 1px;
        }

.premium-badge {
            display: inline-block;
            background: linear-gradient(135deg, #d69e2e, #b7791f);
            color: white;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 10px;
            font-weight: bold;
            margin-left: 6px;
            vertical-align: middle;
            letter-spacing: 0.5px;
        }

.number-info {
            display: flex;
            flex-direction: column;
            gap: 5px;
            margin-bottom: 10px;
        }

.info-item {
            display: flex;
            justify-content: space-between;
            font-size: 12px;
        }

.info-label { color: #718096; }

.info-value { font-weight: 500; color: #2d3748; }

.listing-price {
            font-size: 20px;
            font-weight: bold;
            color: #1a365d;
            text-align: center;
            margin-bottom: 10px;
        }

.buy-button {
            width: 100%;
            padding: 9px;
            background-color: #1a365d;
            color: white;
            border: none;
            border-radius: 6px;
            font-size: 13px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s;
        }

.buy-button:hover {
            background-color: #2c5282;
            box-shadow: 0 2px 8px rgba(26,54,93,0.3);
        }

/* Inline Numbers Grid (from skytel_clone) */
        .inline-numbers-section {
            background-color: #fff;
            border-radius: 10px;
            padding: 15px;
            margin-bottom: 12px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        }

.inline-numbers-title {
            font-size: 15px;
            font-weight: bold;
            color: #1a365d;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

.inline-numbers-title::before {
            content: '';
            width: 3px;
            height: 18px;
            background-color: #ed8936;
            border-radius: 2px;
        }

.numbers-grid-inline {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 6px;
            max-height: 320px;
            overflow-y: auto;
        }

.number-cell {
            padding: 8px;
            text-align: center;
            border: 1px solid #e2e8f0;
            border-radius: 5px;
            font-size: 13px;
            font-weight: 500;
            color: #2d3748;
            cursor: pointer;
            transition: all 0.2s;
            background-color: #f7fafc;
        }

.number-cell:hover {
            background-color: #ebf8ff;
            border-color: #90cdf4;
            color: #1a365d;
            transform: translateY(-1px);
            box-shadow: 0 2px 6px rgba(49,130,206,0.15);
        }

.number-cell.silver { background-color: #f7fafc; border-color: #a0aec0; }

/* ==================== SCROLLBAR ==================== */
        .numbers-grid-inline::-webkit-scrollbar { width: 5px; }

.numbers-grid-inline::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 3px; }

.numbers-grid-inline::-webkit-scrollbar-thumb { background: #cbd5e0; border-radius: 3px; }

.numbers-grid-inline::-webkit-scrollbar-thumb:hover { background: #a0aec0; }

/* ==================== RESPONSIVE ==================== */


        @media (max-width: 768px) {
            .nav-links { display: none; }
            .listings-grid { grid-template-columns: 1fr; }
            .numbers-grid-inline { grid-template-columns: repeat(3, 1fr); }
            .payment-tabs { flex-wrap: wrap; }
        }

/* Subcategories Section */
        .subcategories-section {
            background-color: white;
            padding: 25px 0;
            border-bottom: 1px solid #e2e8f0;
        }

.subcategories-container {
            max-width: 1600px;
            margin: 0 auto;
            padding: 0 20px;
        }

.subcategories-title {
            font-size: 16px;
            font-weight: bold;
            color: #333;
            margin-bottom: 15px;
        }

.brands-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
            gap: 12px;
            margin-bottom: 15px;
        }

.brand-link {
            padding: 5px 10px;
            background-color: #f7fafc;
            border: 1px solid #e2e8f0;
            border-radius: 6px;
            color: #333;
            text-decoration: none;
            font-size: 14px;
            transition: all 0.3s;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

.brand-link:hover {
            background-color: #edf2f7;
            border-color: #2c5282;
            color: #2c5282;
            transform: translateY(-2px);
        }

.hidden-brand {
            display: none;
        }

.toggle-brands-btn {
            width: 100%;
            padding: 12px 20px;
            background-color: #f7fafc;
            border: 1px solid #e2e8f0;
            border-radius: 6px;
            color: #2c5282;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
        }

.toggle-brands-btn:hover {
            background-color: #edf2f7;
            border-color: #2c5282;
        }

#toggleIcon {
            font-size: 12px;
            transition: transform 0.3s;
        }

#toggleIcon.rotated {
            transform: rotate(180deg);
        }

.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

.tag-badge { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; }

.tag-active { background: #eafaf1; color: #27ae60; border: 1px solid #a9dfbf; }

.tag-new { background: #eaf4fe; color: #2c5282; border: 1px solid #bee3f8; }

.tag-urgent { background: #fef3e5; color: #e67e22; border: 1px solid #fad7a0; }

.tag-closed { background: #f5f5f5; color: #999; border: 1px solid #ddd; }

/* ========================================
   gol.css-ээс нэмсэн CSS rules
   (my_main.css-д байхгүй байсан)
   ======================================== */

.ads-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.breadcrumb-bar {
    max-width: 1600px;
    margin: 0 auto;
    padding: 10px 20px;
    font-size: 13px;
    color: #666;
}

.breadcrumb-bar a {
    color: #2c5282;
    text-decoration: none;
}

.breadcrumb-bar a:hover {
    text-decoration: underline;
}

.breadcrumb-bar span {
    margin: 0 6px;
    color: #999;
}

.district-hero {
    max-width: 1600px;
    margin: 0 auto 10px;
    padding: 0 10px;
}

.district-hero-inner {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 60%, #3182ce 100%);
    border-radius: 10px;
    padding: 22px 30px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.district-hero-left h1 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 6px;
}

.district-hero-left p {
    font-size: 13px;
    opacity: 0.85;
}

.district-info-body {
    padding: 14px 16px;
}

.district-info-header {
    background: linear-gradient(135deg, #1a365d, #2c5282);
    color: white;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
}

.district-info-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 12px;
    border-bottom: 1px solid #f5f5f5;
}

.district-info-item span:first-child {
    color: #666;
}

.district-info-item span:last-child {
    font-weight: 600;
    color: #333;
}

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

.district-info-widget {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.district-stat {
    text-align: center;
    background: rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 12px 20px;
}

.district-stat-label {
    font-size: 11px;
    opacity: 0.8;
    margin-top: 2px;
}

.district-stat-num {
    font-size: 22px;
    font-weight: bold;
}

.district-stats {
    display: flex;
    gap: 20px;
}

.filter-btn-clear {
    width: 100%;
    padding: 8px;
    background-color: white;
    color: #e53e3e;
    border: 1px solid #e53e3e;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 6px;
}

.filter-btn-clear:hover {
    background: #fff5f5;
}

.filter-count {
    margin-left: auto;
    font-size: 11px;
    color: #999;
    background: #f0f4f8;
    padding: 1px 6px;
    border-radius: 10px;
}

.filter-district-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ebf8ff;
    color: #2c5282;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 14px;
    border: 1px solid #bee3f8;
}

.filter-district-badge i {
    font-size: 11px;
}

.filter-group input[type="checkbox"], .filter-group input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: #2c5282;
    cursor: pointer;
}

.filter-group label:hover {
    color: #2c5282;
}

.filter-group-title {
    font-size: 13px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.filter-price-inputs {
    display: flex;
    gap: 6px;
    align-items: center;
}

.filter-price-inputs input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 12px;
}

.filter-price-inputs span {
    font-size: 12px;
    color: #999;
    flex-shrink: 0;
}

.filter-sidebar {
    background-color: white;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 10px;
    max-height: calc(100vh - 20px);
    overflow-y: auto;
}

.filter-sidebar::-webkit-scrollbar {
    width: 4px;
}

.filter-sidebar::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 2px;
}

.listing-badge.new {
    background: #48bb78;
}

.listing-badge.top {
    background: #ed8936;
}

.listing-card:hover .listing-image img {
    transform: scale(1.05);
}

.listing-category-tag {
    font-size: 10px;
    background: #f0f4f8;
    color: #2c5282;
    padding: 2px 6px;
    border-radius: 3px;
    margin-top: 6px;
    display: inline-block;
}

.listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.listing-location {
    display: flex;
    align-items: center;
    gap: 3px;
    color: #2c5282;
    font-weight: 500;
}

.listing-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #cbd5e0;
}

.listing-save-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255,255,255,0.85);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #888;
    transition: all 0.2s;
}

.listing-save-btn.saved {
    background: #fff;
    color: #e53e3e;
}

.listing-save-btn[disabled] {
    opacity: .55;
    cursor: default;
}

.listing-save-btn:hover {
    background: white;
    color: #e53e3e;
}

.map-placeholder-text {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 11px;
    color: #2c5282;
}

.map-widget {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.map-widget-header {
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #1a365d;
    border-bottom: 1px solid #f0f0f0;
}

.other-district-count {
    font-size: 11px;
    color: #999;
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 10px;
}

.other-district-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    border-bottom: 1px solid #f8f8f8;
    text-decoration: none;
    color: #333;
    font-size: 12px;
    transition: background 0.2s;
}

.other-district-item:hover {
    background: #f0f4f8;
    color: #2c5282;
}

.other-districts-header {
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #1a365d;
    border-bottom: 1px solid #f0f0f0;
}

.other-districts-widget {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.scroll-end {
    text-align: center;
    padding: 20px;
    font-size: 13px;
    color: #999;
}

.scroll-loader {
    text-align: center;
    padding: 30px 0;
}

.scroll-loader .spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #e2e8f0;
    border-top-color: #2c5282;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 10px;
}

.scroll-loader p {
    font-size: 13px;
    color: #999;
}

.sort-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 10px 16px;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.sort-bar-left {
    font-size: 13px;
    color: #666;
}

.sort-bar-left strong {
    color: #2c5282;
}

.sort-bar-right {
    display: flex;
    gap: 8px;
    align-items: center;
}

.view-toggle-btn {
    padding: 6px 10px;
    border: none;
    background: white;
    color: #666;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.view-toggle-btn.active {
    background: #2c5282;
    color: white;
}

.story-tier-badge {
  position: absolute;
  top: 6px; right: 6px;
  z-index: 3;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: .4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
  pointer-events: none;
}
.story-tier-badge.tier-vip       { background: #dc2626; }
.story-tier-badge.tier-ontsgoi   { background: #2563eb; }
.story-tier-badge.tier-sponsored { background: #48bb78; }

/* Tier-той card highlight */
.story-card[data-tier="vip"]       .story-avatar { border-color: #dc2626 !important; }
.story-card[data-tier="ontsgoi"]   .story-avatar { border-color: #2563eb !important; }
.story-card[data-tier="sponsored"] .story-avatar { border-color: #48bb78 !important; }
.story-card[data-tier="vip"]       { box-shadow: 0 0 0 2px #dc2626 inset; }
.story-card[data-tier="ontsgoi"]   { box-shadow: 0 0 0 2px #2563eb inset; }
.story-card[data-tier="sponsored"] { box-shadow: 0 0 0 2px #48bb78 inset; }
