/* ===== RESET ===== */
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: Arial, sans-serif; background: #f5f5f5; }

/* ===== MAIN LAYOUT ===== */
#main { 
    width:100%; 
    height:100vh; 
    display:flex; 
    position: fixed;
    top: 0;
    left: 0;
}
#left-col { 
    width:12.5%; 
    background:#f0f0f0; 
    padding:15px 10px; 
    overflow-y: auto;
    box-shadow: 2px 0 5px rgba(0,0,0,0.05);
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1001;
}
#center-col { 
    width:75%; 
    padding:10px; 
    overflow-y:auto;
    margin-left: 12.5%;
    height: 100vh;
    position: relative;
}
#right-col { 
    width:12.5%; 
    padding:10px;
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
}

/* ===== LEFT COLUMN - ACCOUNT TYPES ===== */
.account-types-section {
    margin-bottom: 25px;
    background: white;
    border-radius: 10px;
    padding: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    position: relative;
}
.section-header {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff7733;
    display: flex;
    align-items: center;
    gap: 8px;
}
.section-header i {
    color: #ff7733;
}
.account-type-list {
    list-style: none;
}
.account-type-item {
    margin-bottom: 8px;
    position: relative;
    height: 20px;
}
.account-type-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: #f9f9f9;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s;
    border: 1px solid #eee;
    cursor: pointer;
}
.account-type-link:hover {
    background: #fff8f3;
    color: #ff7733;
    transform: translateX(5px);
    border-color: #ff7733;
    box-shadow: 0 3px 10px rgba(255,119,51,0.1);
}
.account-type-link.active {
    background: #ff7733;
    color: white;
    border-color: #ff7733;
}
.account-type-count {
    background: #ddd;
    color: #666;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}
.account-type-link.active .account-type-count {
    background: rgba(255,255,255,0.3);
    color: white;
}
.account-type-link:hover .account-type-count {
    background: #ff7733;
    color: white;
}

.account-type-item:hover .subcategory-dropdown {
    display: block;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}
.subcategory-header {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    padding: 8px 12px;
    margin-bottom: 5px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 8px;
}
.subcategory-list {
    list-style: none;
}
.subcategory-item {
    margin-bottom: 4px;
}
.subcategory-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: #f9f9f9;
    border-radius: 6px;
    text-decoration: none;
    color: #555;
    font-size: 13px;
    transition: all 0.2s;
}
.subcategory-link:hover {
    background: #fff8f3;
    color: #ff7733;
    transform: translateX(3px);
}
.subcategory-link.active {
    background: #ff7733;
    color: white;
}
.subcategory-count {
    background: #eee;
    color: #666;
    font-size: 11px;
    padding: 1px 6px;
    border-radius: 8px;
    font-weight: 600;
}
.subcategory-link.active .subcategory-count {
    background: rgba(255,255,255,0.3);
    color: white;
}
.subcategory-link:hover .subcategory-count {
    background: #ff7733;
    color: white;
}

/* ===== ACTIVE FILTER BADGE ===== */
.active-filter-badge {
    display: inline-block;
    background: #ff7733;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.breadcrumb-item {
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.breadcrumb-separator {
    color: #ccc;
}
.breadcrumb-item.active {
    color: #ff7733;
    font-weight: 600;
}
.breadcrumb-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}
.breadcrumb-item a:hover {
    color: #ff7733;
}

/* ===== USER CARDS FOR ACCOUNT TYPE VIEW ===== */
.user-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 2px solid transparent;
    transition: all 0.3s;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 350px;
}
.user-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border-color: #ff7733;
}
.user-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    text-align: center;
}
.user-avatar {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #ff7733;
    flex-shrink: 0;
}
.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.user-avatar.default {
    background: #ff7733;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
}
.user-info {
    text-align: center;
    width: 100%;
}
.user-name {
    font-size: 16px !important;
    font-weight: 700;
    color: #222;
    margin-bottom: 5px;
    line-height: 1.3;
}
.user-account-type {
    display: inline-block;
    background: #fff8f3;
    color: #ff7733;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px !important;
    font-weight: 600;
    margin-bottom: 8px;
}
.user-account-subcategory {
    display: inline-block;
    background: #f0f8ff;
    color: #0066cc;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px !important;
    font-weight: 500;
    margin-left: 5px;
}
.user-location {
    color: #666;
    font-size: 12px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.user-stats {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}
.stat-item {
    text-align: center;
}
.stat-value {
    font-size: 16px !important;
    font-weight: 700;
    color: #ff7733;
}
.stat-label {
    font-size: 11px !important;
    color: #888;
}
.user-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
}
.action-btn {
    padding: 8px 10px !important;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 12px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.profile-btn {
    background: #ff7733;
    color: white;
}
.profile-btn:hover {
    background: #e56a2b;
    transform: translateY(-2px);
}
.posts-btn {
    background: #f0f0f0;
    color: #333;
}
.posts-btn:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

/* ===== SPECIFIC USER POSTS HEADER ===== */
.specific-user-header {
    background: linear-gradient(135deg, #4f46e5 0%, #7e22ce 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    text-align: center;
}
.specific-user-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
}
.specific-user-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 20px;
}
.specific-user-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}
.specific-user-stat {
    text-align: center;
}
.specific-user-stat-value {
    font-size: 28px;
    font-weight: 700;
}
.specific-user-stat-label {
    font-size: 14px;
    opacity: 0.8;
}

/* ===== ACCOUNT TYPE VIEW HEADER ===== */
.account-type-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    text-align: center;
}
.account-type-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
}
.account-type-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 20px;
}
.account-type-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}
.account-type-stat {
    text-align: center;
}
.account-type-stat-value {
    font-size: 28px;
    font-weight: 700;
}
.account-type-stat-label {
    font-size: 14px;
    opacity: 0.8;
}

/* ===== SWITCH VIEW BUTTONS ===== */
.view-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}
.view-toggle-btn {
    flex: 1;
    padding: 12px;
    text-align: center;
    background: #f9f9f9;
    border: 2px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    transition: all 0.3s;
}
.view-toggle-btn.active {
    background: #ff7733;
    color: white;
    border-color: #ff7733;
}
.view-toggle-btn:hover:not(.active) {
    background: #f0f0f0;
    color: #333;
}

/* ===== USER PROFILE MODAL ===== */
.user-profile-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.user-profile-content {
    background: white;
    border-radius: 15px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff7733;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.modal-close:hover {
    background: #e56a2b;
    transform: rotate(90deg);
}
.user-profile-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px 15px 0 0;
    text-align: center;
    position: relative;
}
.user-profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 5px solid white;
    overflow: hidden;
    background: white;
}
.user-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.user-profile-avatar.default {
    background: #ff7733;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 700;
}
.user-profile-name {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
}
.user-profile-account-type {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}
.user-profile-body {
    padding: 30px;
}
.user-profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}
.user-profile-section {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
}
.user-profile-section h3 {
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff7733;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.user-profile-section h3 i {
    color: #ff7733;
}
.profile-detail {
    margin-bottom: 15px;
}
.profile-label {
    font-weight: 600;
    color: #666;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.profile-value {
    font-size: 16px;
    color: #222;
}
.phone-number-section {
    grid-column: 1 / -1;
    background: #fff8f3;
    border: 2px dashed #ff7733;
    text-align: center;
    padding: 25px;
}
.login-prompt-section {
    grid-column: 1 / -1;
    text-align: center;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 10px;
}
.modal-contact-btn{
     background: linear-gradient(135deg, #93c5fd, #bfdbfe);
    color: WHITE;
    border: none;
    padding: 14px 36px;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s ease;
    box-shadow: 0 8px 22px rgba(26, 35, 126, 0.4);
    text-decoration: none;
}

.modal-contact-btn:hover{
    background: linear-gradient(135deg, #00838f, #00acc1);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 131, 143, 0.5);
}

/* ===== MENU ===== */
#menu { 
    height:70px; 
    display:flex; 
    align-items:center; 
    justify-content:space-between; 
    padding:0 20px; 
    background:#fff; 
    position:fixed; 
    top:0; 
    left:12.5%;
    width:75%;
    z-index:1000; 
    box-shadow:0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 3px solid #ff7733;
}
.menu-left span { color:#ff7733; font-size:32px; font-weight:bold; }
.menu-center ul { list-style:none; display:flex; justify-content:center; gap:25px; }
.menu-center ul li { position:relative; }
.menu-center ul li a { 
    text-decoration:none; 
    padding:12px 15px; 
    display:block; 
    color:#333; 
    font-weight:500;
    border-radius: 5px;
    transition: all 0.3s;
}
.menu-center ul li a:hover { 
    background: #ff7733; 
    color: white;
    transform: translateY(-2px);
}
.menu-center ul li ul { 
    display:none; 
    position:absolute; 
    top:100%; 
    left:0; 
    list-style:none; 
    background:white; 
    padding:10px 0; 
    min-width:180px; 
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    border: 1px solid #eee;
}
.menu-center ul li:hover ul { display:block; }

/* ===== RIGHT MENU ICONS ===== */
.menu-right { 
    display:flex; 
    align-items:center; 
    gap:15px; 
}
.profile-btn { 
    height:45px; 
    width:45px; 
    border-radius:50%; 
    overflow:hidden; 
    cursor:pointer;
    border: 3px solid #ff7733;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    text-decoration: none;
}
.profile-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255,119,51,0.5);
}
.profile-btn img { 
    height:100%; 
    width:100%; 
    object-fit:cover; 
    display: block;
}
.profile-btn i.fa-user { 
    color: #ff7733; 
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.post-free-btn { 
    height:45px; 
    background:#ff7733; 
    color:white; 
    padding:0 5px; 
    border-radius:8px; 
    display:flex; 
    align-items:center; 
    cursor:pointer; 
    font-weight:bold;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(255,119,51,0.3);
    text-decoration: none;
}
.post-free-btn:hover { 
    background:#e56a2b; 
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255,119,51,0.4);
}
.post-free-btn img { 
    height:20px; 
    width:20px; 
    margin-right:8px; 
    filter:invert(1); 
}

/* ===== ENHANCED SEARCH BOX ===== */
#search-box { 
    margin:0px 0; 
    text-align:center; 
    background: white;
    padding: 5px;
    border-radius: 1px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    position: fixed;
    top: 70px;
    left: 12.5%;
    width: 75%;
    z-index: 999;
}
.search-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}
.search-title span {
    color: #ff7733;
}
.search-form { 
    display: flex; 
    gap: 15px; 
    justify-content: center;
    align-items: flex-end;
    flex-wrap: wrap;
}
.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.form-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
    font-weight: 500;
}
#search-box input[type=text], 
#search-box select { 
    padding:5px; 
    border-radius:8px; 
    border:2px solid #ddd; 
    font-size:16px;
    
    transition: all 0.3s;
     width: 150px !important;
    max-width: 150px !important;
    min-width: 150px !important;
}
#search-box input[type=text]:focus, 
#search-box select:focus { 
    outline: none;
    border-color: #ff7733;
    box-shadow: 0 0 0 3px rgba(255,119,51,0.2);
}
#search-box button { 
    padding:6px 30px; 
    background:#ff7733; 
    color:white; 
    border:none; 
    border-radius:8px; 
    cursor:pointer;
    font-size: 16px;
    font-weight: 100;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}
#search-box button:hover { 
    background:#e56a2b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,119,51,0.3);
}

/* ===== AD BANNER ===== */
#ad1 { 
    height:40px; 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align:center; 
    padding:20px; 
    margin-bottom:20px;
    border-radius: 10px;
    color: white;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-top: 200px;
}

/* ===== CATEGORY ICONS ===== */
#main-content { 
    display:flex; 
    justify-content:space-between; 
    flex-wrap:wrap; 
    padding:5px 0;
    background: white;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}
#main-content > div { 
    width:10%; 
    min-width:90px; 
    display:flex; 
    flex-direction:column; 
    align-items:center; 
    text-align:center; 
    padding:1px; 
    margin-bottom:10px; 
    cursor:pointer; 
    transition:all 0.3s ease-in-out;
    border-radius: 10px;
}
#main-content > div:hover { 
    transform:scale(1.08); 
    background: #fff8f3;
    box-shadow: 0 5px 15px rgba(255,119,51,0.1);
}
#main-content div img { 
    width:70px; 
    height:70px; 
    margin-bottom:10px; 
    object-fit:contain; 
    border-radius:15px; 
    border:2px solid #ffebdd;
    padding: 1px;
    background: #fff8f3;
}
#main-content div div {
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

/* ===== POSTS SECTION ===== */
.section-title {
    font-size: 24px;
    font-weight: 600;
    margin: 30px 0 20px;
    color: #333;
    padding-bottom: 5px;
    border-bottom: 3px solid #ff7733;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-title i {
    color: #ff7733;
}
#posts-section { 
    display:grid; 
    grid-template-columns: repeat(5, 1fr); 
    gap:20px; 
    margin-top:10px;
}
.post-card { 
    background:#fff; 
    border-radius:12px; 
    padding:15px; 
    box-shadow:0 5px 15px rgba(0,0,0,0.08); 
    display:flex; 
    flex-direction:column;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.post-card:hover { 
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-color: #ff7733;
}
.post-card img { 
    width:100%; 
    height:180px; 
    object-fit:cover; 
    border-radius:8px; 
    margin-bottom:12px;
    transition: transform 0.3s;
}
.post-card:hover img {
    transform: scale(1.03);
}
.post-card h3 { 
    font-size:16px; 
    font-weight:bold; 
    margin-bottom:8px; 
color: #222;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.post-price {
    font-size: 20px;
    font-weight: 800;
    color: #ff7733;
    margin-bottom: 10px;
}
.post-info { 
    font-size:14px; 
    color:#666; 
    margin-bottom:5px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.post-info i {
    color: #ff7733;
    width: 16px;
}
.post-description {
    color: #555;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.post-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #ff7733;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
.no-image-placeholder {
    width: 100%;
    height: 180px;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ccc;
    border-radius: 8px;
    font-size: 40px;
}
.no-image-placeholder span {
    font-size: 12px;
    margin-top: 5px;
}

/* ===== SINGLE AD DETAIL PAGE ===== */
.single-ad-container {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin: 20px 0;
    margin-top: 180px;
}
.ad-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
}
.ad-title-large {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}
.ad-price-large {
    font-size: 32px;
    font-weight: 800;
    color: #ff7733;
    margin-bottom: 15px;
}

/* IMAGE SLIDER STYLES */
.ad-images {
    margin-bottom: 30px;
    position: relative;
}
.image-slider {
    position: relative;
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    border-radius: 12px;
    background: #f9f9f9;
}
.slider-container {
    display: flex;
    transition: transform 0.5s ease;
    height: 500px;
}
.slider-image {
    min-width: 100%;
    height: 500px;
    object-fit: contain;
    padding: 20px;
}
.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 10;
}
.slider-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: #333;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.slider-btn:hover {
    background: #ff7733;
    color: white;
    transform: scale(1.1);
}
.image-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}
.image-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.7;
    transition: all 0.3s;
}
.thumbnail:hover, .thumbnail.active {
    opacity: 1;
    border-color: #ff7733;
    transform: scale(1.05);
}

/* SHARE/SAVE BUTTONS */
.action-buttons {
    display: flex;
    gap: 15px;
    margin: 25px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 8px;
    border: 2px solid #eee;
    background: white;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    color: #333;
}
.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.action-btn.share-btn:hover {
    background: #3b5998;
    color: white;
    border-color: #3b5998;
}
.action-btn.save-btn:hover {
    background: #ff7733;
    color: white;
    border-color: #ff7733;
}
.action-btn .icon {
    font-size: 18px;
}

.share-options {
    display: none;
    position: absolute;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    padding: 15px;
    z-index: 100;
    margin-top: 10px;
}
.share-options.show {
    display: block;
}
.share-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.3s;
}
.share-option:hover {
    background: #f5f5f5;
}

/* AD DETAILS SECTION */
.ad-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 30px;
}
.ad-info-section {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
}
.ad-seller-section {
    background: #fff8f3;
    padding: 25px;
    border-radius: 12px;
    border: 2px solid #ffebdd;
}
.detail-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}
.detail-label {
    font-weight: 600;
    color: #666;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.detail-value {
    font-size: 16px;
    color: #222;
}
.seller-info {
    text-align: center;
    padding: 20px 0;
}
.seller-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ff7733;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 15px;
}
.seller-name {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    margin-bottom: 5px;
}
.seller-location {
    color: #666;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.contact-btn {
    background: #ff7733;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-top: 15px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.contact-btn:hover {
    background: #e56a2b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,119,51,0.3);
}
.view-all-posts-btn {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-top: 15px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}
.view-all-posts-btn:hover {
    background: #4338ca;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3);
}
.phone-number {
    font-size: 24px;
    font-weight: 700;
    color: #ff7733;
    text-align: center;
    padding: 20px;
    background: #fff8f3;
    border-radius: 8px;
    margin-top: 15px;
    border: 2px dashed #ff7733;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.login-prompt {
    text-align: center;
    padding: 20px;
    background: #fff8f3;
    border-radius: 8px;
    margin-top: 15px;
    border: 2px solid #ffebdd;
}
.login-prompt a {
    color: #ff7733;
    font-weight: 600;
    text-decoration: none;
}
.back-btn {
    background: #666;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}
.back-btn:hover {
    background: #555;
    transform: translateY(-2px);
}
.ad-description-full {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    white-space: pre-line;
    margin-top: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

/* ===== RESPONSIVE ===== */
@media(max-width:1400px){ 
    #posts-section { grid-template-columns: repeat(4, 1fr); } 
    .ad-details-grid { grid-template-columns: 1fr; }
    #left-col { width: 15%; }
    #center-col { width: 70%; margin-left: 15%; }
    #right-col { width: 15%; }
    #menu { left: 15%; width: 70%; }
    #search-box { left: 15%; width: 70%; }
}
@media(max-width:1200px){ 
    #posts-section { grid-template-columns: repeat(3, 1fr); } 
    #main-content > div { width: 12.5%; }
    .slider-image, .image-slider, .slider-container {
        height: 400px;
    }
}
@media(max-width:1024px){ 
    #left-col,#right-col{display:none;} 
    #center-col{width:100%; margin-left: 0; } 
    #posts-section { grid-template-columns: repeat(3, 1fr); } 
    #main-content > div { width: 16.66%; }
    .search-form { flex-direction: column; align-items: stretch; }
    #search-box input[type=text], #search-box select { width: 100%; min-width: auto; }
    .slider-image, .image-slider, .slider-container {
        height: 350px;
    }
    #menu { left: 0; width: 100%; }
    #search-box { left: 0; width: 100%; }
}
@media(max-width:768px){ 
    #posts-section { grid-template-columns: repeat(2, 1fr); } 
    #main-content > div { width: 20%; }
    .menu-center { display: none; }
    #menu { padding: 0 15px; }
    .ad-detail-header { flex-direction: column; gap: 15px; }
    .slider-image, .image-slider, .slider-container {
        height: 300px;
    }
    .action-buttons {
        flex-wrap: wrap;
    }
    .action-btn {
        flex: 1;
        min-width: 140px;
    }
    .user-profile-grid {
        grid-template-columns: 1fr;
    }

}
@media(max-width:600px){ 
    #posts-section { grid-template-columns: 1fr; } 
    #main-content > div { width: 25%; }
    .single-ad-container { padding: 20px; }
    .slider-image, .image-slider, .slider-container {
        height: 250px;
    }
}
@media(max-width:480px){ 
    #main-content > div { width: 33.33%; }
    .ad-title-large { font-size: 22px; }
    .ad-price-large { font-size: 26px; }
    .slider-image, .image-slider, .slider-container {
        height: 200px;
    }
    .thumbnail {
        width: 60px;
        height: 60px;
    }
}

/* ===== NO RESULTS ===== */
.no-results {
    text-align: center;
    padding: 50px 20px;
    grid-column: 1 / -1;
}
.no-results-icon {
    font-size: 60px;
    color: #ddd;
    margin-bottom: 20px;
}
.no-results h3 {
    font-size: 24px;
    color: #666;
    margin-bottom: 10px;
}
.no-results p {
    color: #888;
    margin-bottom: 20px;
}

/* ===== FILTER TAGS ===== */
.filter-tags {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
}
.filter-tag {
    background: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}
.filter-tag .remove {
    color: #999;
    cursor: pointer;
    font-size: 12px;
}
.filter-tag .remove:hover {
    color: #ff7733;
}

/* ===== FOOTER STYLES ===== */
#site-footer {
    background: #222;
    color: white;
    padding: 50px 0 0;
    margin-top: 50px;
    width: 100%;
    font-family: Arial, sans-serif;
}

.footer-container {
    width: 100%;
    padding: 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    padding: 0 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-brand h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
    color: white;
}

.footer-brand p {
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 15px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover {
    background: #ff7733;
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-column h3 {
    color: white;
    font-size: 18px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff7733;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-column ul li a:hover {
    color: #ff7733;
    padding-left: 5px;
}

.contact-info li {
    color: #aaa;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.contact-info i {
    color: #ff7733;
    width: 20px;
}

.footer-bottom {
    background: #111;
    padding: 25px 0;
    margin-top: 50px;
    border-top: 1px solid #333;
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: #aaa;
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 25px;
}

.footer-legal a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: #ff7733;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #aaa;
    font-size: 14px;
}

.payment-methods i {
    font-size: 24px;
    color: #aaa;
    transition: color 0.3s;
}

.payment-methods i:hover {
    color: #ff7733;
}

/* Responsive Footer */
@media (max-width: 1200px) {
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 25px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 0 25px;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 600px) {
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-top {
        padding: 0 20px;
    }
}

/* ===== ENHANCED USER CARDS GRID LAYOUT ===== */
#users-section {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #a5b4fc 50%, #e0e7ff 100%);
    border-radius: 15px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.05);
}

.user-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border: 2px solid transparent;
    transition: all 0.3s;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 380px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.user-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    border-color: #4f46e5;
    background: white;
}

.user-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    text-align: center;
    flex-shrink: 0;
    padding: 10px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 10px;
    border: 1px solid #dbeafe;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #4f46e5;
    background: white;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-avatar.default {
    background: linear-gradient(135deg, #4f46e5 0%, #7e22ce 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

.user-info {
    width: 100%;
    flex-shrink: 0;
}

.user-name {
    font-size: 16px;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 5px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

.user-account-type {
    display: inline-block;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 8px;
    border: none;
    box-shadow: 0 3px 8px rgba(79, 70, 229, 0.3);
    flex-shrink: 0;
}

.user-account-subcategory {
    display: inline-block;
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 10px;
    font-weight: 500;
    margin-top: 4px;
    box-shadow: 0 2px 6px rgba(6, 182, 212, 0.3);
}

.user-location {
    color: #475569;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    line-height: 1.4;
    min-height: 34px;
    margin-bottom: 10px;
    background: #f8fafc;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.user-location i {
    color: #4f46e5;
    font-size: 10px;
}

.specialty-text {
    font-size: 12px;
    color: #334155;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    padding: 8px 12px;
    border-radius: 8px;
    margin-top: 8px;
    border: 1px solid #cbd5e1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 48px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.specialty-text i {
    color: #4f46e5;
    margin-right: 5px;
    font-size: 10px;
}

.user-stats {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 10px 0;
    padding: 12px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 10px;
    flex-shrink: 0;
    border: 1px solid #bae6fd;
}

.stat-item {
    text-align: center;
    flex-shrink: 0;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #4f46e5;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat-label {
    font-size: 11px;
    color: #475569;
    margin-top: 2px;
    font-weight: 600;
}

.user-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
    flex-shrink: 0;
}

/* BOTH BUTTONS KO EK JAISA SIZE DENE KE LIYE */
.action-btn {
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid transparent;
    min-height: 36px;
    flex-grow: 0;
    flex-shrink: 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Dono buttons ko same width aur height dena */
.profile-btn, .posts-btn {
    height: 36px;
    width: 100%;
    box-sizing: border-box;
}

.profile-btn {
    background: linear-gradient(135deg, #4f46e5 0%, #7e22ce 100%);
    color: white;
    border: none;
}

.profile-btn:hover {
    background: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(79, 70, 229, 0.3);
}

.posts-btn {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #334155;
    border: 1px solid #cbd5e1;
}

.posts-btn:hover {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    border-color: #94a3b8;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(148, 163, 184, 0.3);
}

/* Agar kisi user ke paas posts nahi hain to button */
.posts-btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: #94a3b8;
}

.posts-btn.disabled:hover {
    transform: none;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Responsive design ke liye background bhi adjust karo */
@media (max-width: 1600px) {
    #users-section {
        grid-template-columns: repeat(4, 1fr);
        background: linear-gradient(135deg, #5a67d8 0%, #93c5fd 50%, #dbeafe 100%);
    }
}

@media (max-width: 1200px) {
    #users-section {
        grid-template-columns: repeat(3, 1fr);
        background: linear-gradient(135deg, #4f46e5 0%, #a5b4fc 50%, #e0e7ff 100%);
    }
}

@media (max-width: 900px) {
    #users-section {
        grid-template-columns: repeat(2, 1fr);
        background: linear-gradient(135deg, #6366f1 0%, #a5b4fc 50%, #e0e7ff 100%);
    }
}

@media (max-width: 600px) {
    #users-section {
        grid-template-columns: 1fr;
        background: linear-gradient(135deg, #7c3aed 0%, #a5b4fc 50%, #e0e7ff 100%);
        padding: 15px;
    }
    .user-card {
        min-height: 360px;
    }
}

/* Card ke andar ka spacing aur layout improve karo */
.user-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5 0%, #6366f1 50%, #a5b4fc 100%);
    border-radius: 12px 12px 0 0;
}

/* No users message styling bhi update karo */
.no-users-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    border: 2px dashed #cbd5e1;
    backdrop-filter: blur(5px);
}

.no-users-message i {
    font-size: 48px;
    color: #94a3b8;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #4f46e5 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.no-users-message h3 {
    color: #1e3a8a;
    margin-bottom: 10px;
    font-weight: 700;
}
/* ===== FIX FOR PROFILE BUTTON ROUNDNESS ===== */
.menu-right > a.profile-btn {
    border-radius: 50% !important;
    overflow: hidden !important;
    width: 45px !important;
    height: 45px !important;
    border: 3px solid #ff7733 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: white !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
}

.menu-right > a.profile-btn img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    display: block !important;
}

.menu-right > a.profile-btn i.fa-user {
    color: #ff7733 !important;
    font-size: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

.menu-right > a.profile-btn:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 0 10px rgba(255,119,51,0.5) !important;
}

/* Dropdown ki z-index bahut high rakho */
.subcategory-dropdown {
    z-index: 9999 !important;
    position: fixed !important;
    left: 6% !important;
    top: auto !important;
    margin-top: -10px !important;
    width: 250px !important;
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 15px 50px rgba(0,0,0,0.25) !important;
    border: 2px solid #ff7733 !important;
    padding: 15px !important;
    display: none !important;
}

/* Main container jo hover area ko extend karega */
.account-type-item {
    position: relative !important;
}

/* Parent item aur dropdown ke beech invisible connection bridge */
.account-type-item::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    height: 100% !important;
    background: transparent !important;
    z-index: 9998 !important;
    left: 90% !important;
    width: 80px !important;
    height: 100% !important;
    background: transparent !important;
    display: none !important;
}

/* Hover trigger area ko bada karein */
.account-type-item:hover .subcategory-dropdown,
.account-type-item:hover::after,
.subcategory-dropdown:hover {
    display: block !important;
}

/* Dropdown ko bhi hover area mein include karein */
.subcategory-dropdown {
    pointer-events: auto !important;
}


/* Parent item pe hover ya dropdown pe hover - dono pe show */
.account-type-item:hover .subcategory-dropdown,
.subcategory-dropdown:hover {
    display: block !important;
    animation: slideIn 0.3s ease !important;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Dropdown items styling */
.subcategory-link {
    padding: 10px 15px !important;
    margin: 5px 0 !important;
    border-radius: 8px !important;
    transition: all 0.3s !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-decoration: none !important;
    color: #333 !important;
    background: #f9f9f9 !important;
    border: 1px solid #eee !important;
}

.subcategory-link:hover {
    background: #fff8f3 !important;
    color: #ff7733 !important;
    border-color: #ff7733 !important;
    transform: translateX(5px) !important;
}

.subcategory-link.active {
    background: #ff7733 !important;
    color: white !important;
    border-color: #ff7733 !important;
}

.subcategory-count {
    background: #ddd !important;
    color: #666 !important;
    font-size: 11px !important;
    padding: 2px 8px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
}

.subcategory-link.active .subcategory-count {
    background: rgba(255,255,255,0.3) !important;
    color: white !important;
}

.subcategory-header {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #333 !important;
    padding: 10px 15px !important;
    margin-bottom: 10px !important;
    border-bottom: 2px solid #ff7733 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

/* Additional: Agar dropdown close hone mein delay chahiye */
.subcategory-dropdown {
    transition: opacity 0.2s ease 0.1s !important;
}

/* Ensure smooth transition between parent and dropdown */
.account-type-item {
    position: relative !important;
}
  .query-btn {
        position: fixed;
        bottom: 20px;
        right: 20px;
        background-color: #2563eb;
        color: #ffffff;
        padding: 10px 16px;
        font-size: 14px;
        border-radius: 25px;
        text-decoration: none;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        z-index: 9999;
    }

    .query-btn:hover {
        background-color: #1e40af;
    }

#subcategoryContainer {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start;
}

#subcategoryContainer .form-label {
    margin-bottom: 4px;
}

select:disabled {
    background-color: #f2f2f2;
    cursor: not-allowed;
    opacity: 0.7;
}