.sidebar-sticky .form-check-input {
    appearance: none;
    width: 18px;
    height: 18px;
    margin: 0;
    margin-right: 0.5rem;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    position: relative;
    cursor: pointer;
    vertical-align: middle;
    display: inline-block;
    transition: all 0.2s ease-in-out;
}

.sidebar-sticky .form-check-input:checked {
    background-color: rgb(153, 212, 32);
    border-color: rgb(153, 212, 32);
}

.sidebar-sticky .form-check-input:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    box-sizing: border-box;
}

.sidebar-sticky .form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-sticky .form-check-label {
    margin: 0;
    font-size: 0.95rem;
    color: #333;
    cursor: pointer;
}

.topic-item,
.blogHashTag-item {
    max-height: none;
    opacity: 1;
    overflow: visible;
}

.topic-item.animate-show,
.blogHashTag-item.animate-show {
    max-height: 0;
    opacity: 0;
    margin-bottom: 0px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.topic-item.animate-show.show,
.blogHashTag-item.animate-show.show {
    max-height: 100px;
    opacity: 1;
}
.bg-primary.no-hover:hover {
    background-color: rgb(153, 212, 32) !important;
    text-decoration: underline !important;
    color: #FFF !important;
}

.read-more-link {
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.read-more-link:hover {
    color: #0d6efd;
    text-decoration: underline;
}

.read-more-link i {
    transition: transform 0.2s ease;
}

.read-more-link:hover i {
    transform: translateX(4px);
}
.btn.btn-outline-primary-green {
    border: 1px solid rgb(153, 212, 32);
    color: rgb(153, 212, 32);
}
.btn.btn-outline-primary-green:hover {
    background-color: rgb(153, 212, 32);
    color: #FFF;
}
a#showMoreTopics.text-primary:focus, a#showLessTopics.text-primary:focus, a#showMoreHashTags.text-primary:focus, a#showLessHashTags.text-primary:focus{
    color: #4e7661 !important;
}

.tag-checkbox {
    display: none;
}

.custom-tag-label {
    border: 1px solid #eaeaea;
    background-color: var(--white);
    font-weight: 600;
    font-size: .9rem;
    color: #7e7e7e;
    padding: .05rem .5rem;
    border-radius: 5px !important;
    cursor: pointer;
    transition: all .3s ease-in-out;
}

.tag-checkbox:checked + .custom-tag-label {
    background-color: rgb(153, 212, 32);
    color: #fff;
}
.blogHashTag-row {
    display: none;
    transition: all 0.3s ease;
}

.blogHashTag-row.show {
    display: block;
}

.blogHashTag-row > ul {
    display: flex;
    flex-wrap: wrap;
}

.blogHashTag-item {
    margin-right: 10px;
}
#blogHashTag-list {
    padding-left: 0 !important;
}
#blogHashTag-list {
    display: flex;
    flex-wrap: wrap;
}

.blogHashTag-item {
    margin-right: 10px;
    margin-bottom: 10px;
}

.blogHashTag-item.show {
    display: list-item;
}

.custom-tag-label {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    color: #333;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.custom-tag-label:hover {
    background-color: #f0f0f0;
}

.tag-checkbox:checked + .custom-tag-label {
    background-color: rgb(153, 212, 32);
    color: #fff;
}
#blog-loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8); /* semi-transparent white */
    display: flex;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#blog-loader-overlay.active {
    opacity: 1;
    pointer-events: all;
}

#blog-loader-overlay .spinner-border {
    color: rgb(153, 212, 32);
    width: 3rem;
    margin-top: 20vh;
    height: 3rem;
}
#blog-content {
    position: relative;
}

#topic-list {
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
}

.topic-item {
    margin-right: 10px;
    list-style: none;
}

.topic-label {
    padding: 0px 5px;
    border-radius: 4px;
}
.topic-label:hover {
    background-color: #EFEFEF;
}

.topic-link {
    display: inline-block;
    padding: 6px 12px;
    margin: 4px 0;
    border-radius: 6px;
    background-color: #f8f9fa;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.topic-link:hover {
    background-color: #e2e6ea;
    color: #000;
    border-color: #ced4da;
    text-decoration: none;
}

.topic-link.active,
.topic-link.selected {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}
