.category {

    margin-bottom: 2px;
    position: relative;
}

.button-option {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    padding: 4px 2px;
    height:50px
}
.disable{
    cursor: crosshair !important;
    opacity: 0.6;
}

.forum-loader {
    /* width: 200px;     */
    height: 200px;
    max-height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .inner-loader {
    width: 30px;
    height: 30px;
    border: 3px solid #e0e0e0;
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
  }
  
  @keyframes spin {
    to   { transform: rotate(360deg); }
  }   

.hide{
    display: none;
}

.fallback-msg{
    margin-top: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
}
.button-option button {
    border: 0;
    border-radius: 5px;
    padding: 7px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease,
                color 0.2s ease,
                box-shadow 0.2s ease;
}

/* Reset */
.button-option #reset-btn {
    background-color: #f1f3f5;
    color: #495057;
    border: 1px solid #dee2e6;
}

.button-option #reset-btn:hover {
    background-color: #e9ecef;
    color: #212529;
}

/* Apply */
.button-option #apply-btn {
    background-color: #0d6efd;
    color: #fff;
}

.button-option #apply-btn:hover {
    background-color: #0b5ed7;
}

.button-option button:active {
    transform: translateY(1px);
}

.button-option button:focus-visible {
    outline: 2px solid #86b7fe;
    outline-offset: 2px;
}
.clear-search{
    position: absolute;
    display: none;
    right: 20px;
    top: 6%;
    cursor:pointer
}
.clear-search.show{
    position: absolute;
    right: 20px;
    top: 16px;
    cursor:pointer
}
.multi-select {
    position: relative;
    width: 100%;
    font-family: Arial, sans-serif;
}


#selectedText {
    color: #1e293b;
    font-size: 14px;
    font-weight: 500;
}

.arrow {
    font-size: 11px;
    color: #666;
    transform: rotate(-90deg);
}
.arrow.opened{
    transform: rotate(0deg);
}
.multi-select-dropdown {
    display: none;

    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;

    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

    z-index: 1000;
    overflow: hidden;
}

.multi-select.open .multi-select-dropdown {
    display: block;
}

.category-search {
    padding: 8px;
    border-bottom: 1px solid #eee;
}

.category-search input {
    width: 100%;
    padding: 8px 10px;

    border: 1px solid #ccc;
    border-radius: 4px;

    outline: none;
    box-sizing: border-box;
}

.category-search input:focus {
    border-color: #666;
}

#categoryList {
    height: 200px;
    overflow-y: auto;
}
#categoryList label:last-of-type {
    margin-bottom: 15px;
}

.category-option {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 9px 12px;

    cursor: pointer;
    font-size: 14px;
}

.category-option:hover {
    background: #f5f5f5;
}

.category-option input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.category-option span {
    flex: 1;
}
	#main_home { padding-bottom: 0px; }
	.footer-header.footer-head-div { display: none; }
	.partspl_box.footer-box { margin-top: 0px; }
	.home-side-left { 
		background-color: #fff;
		color: #000;
	}
	.forum-card {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e6e9ed;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    /* height: 400px;
	max-height: 410px; */
}

/* Header */

.forum-card-header {
    height: 70px;
    padding: 15px 18px;
    background: #f8f9fb;
    border-bottom: 1px solid #e6e9ed;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.forum-title {
    display: flex;
    align-items: center;
}

.forum-icon {
    width: 38px;
    height: 38px;
    background: #337ab7;
    color: #fff;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 10px;
}

.forum-title h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.forum-title small {
    color: #999;
    font-size: 11px;
}

.view-all {
    color: #337ab7;
    font-size: 12px;
    text-decoration: none;
	display: flex;
	align-items: center;
}

.view-all:hover {
    text-decoration: none;
    color: #23527c;
}


/* Posts */

#forum-posts {
    min-height: 300px;
    overflow-y: auto;
}
#forum-posts a:last-of-type {
   margin-bottom: 22px;
}

.forum-post {
    display: flex;
    align-items: center;

    padding: 13px 15px;

    border-bottom: 1px solid #f0f1f3;

    color: #333;
    text-decoration: none;

    transition: all 0.2s ease;
}

.forum-post:hover {
    background: #f7faff;
    text-decoration: none;
    padding-left: 20px;
}

.forum-post:last-child {
    border-bottom: none;
}


/* Post icon */

.post-icon {
    width: 32px;
    height: 32px;

    background: #f0f5fa;
    color: #337ab7;

    border-radius: 6px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 12px;

    flex-shrink: 0;
}


/* Post content */

.post-content {
    min-width: 0;
    flex: 1;
}

.post-content h5 {
    margin: 0 0 4px 0;

    font-size: 13px;
    font-weight: 600;

    color: #333;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-content small {
    color: #999;
    font-size: 11px;
}


/* Arrow */

.post-arrow {
    color: #bbb;
    margin-left: 10px;
}

.forum-post:hover .post-arrow {
    color: #337ab7;
}

.post-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 28px 0 20px;
    color: #2563eb;
    font-size: 1.15rem;
    font-weight: 700;
    box-sizing: border-box;
}

.post-divider::before,
.post-divider::after {
    content: "";
    width: 70px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        transparent,
        #2563eb
    );
}

.post-divider::after {
    background: linear-gradient(
        90deg,
        #2563eb,
        transparent
    );
}
/* Layout & Header */
.multi-select-header {
    min-height: 42px;
    padding: 8px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    /* gap: 4px; */
    justify-content: space-between;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.multi-select-header:hover {
    border-color: #cbd5e1;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-count{
    display: flex;
    background-color: rgb(227, 39, 39);
    position: absolute;
    align-items: center;
    justify-content: center;
    border-color: rgb(255, 255, 255);
    top: 8px;
    /* right: -2px; */
    left: 20px;
    width: 12px;
    height: 12px;
    border-width: 1px;
    border-radius: 50%;
}
.filter-count.hide{
    display: hidden;
}
.filter-count div{
    color: rgb(255, 255, 255);
    font-size: 8px;
    line-height: 9px;
}