/*===========================================
    BACKGROUND STYLES
===========================================*/
/*
#brx-content {
    background: linear-gradient(to right, #EEEBFF, #fff);
}

#brxe-zppqte {
    background: linear-gradient(to right, #EEEBFF, #fff) !important;
}
*/

#brxe-onmlik {
    margin: 0 auto;
}

#brxe-oadstl {
    margin: 0 auto;
}

#brxe-oadstl h1 {
    color: #8976FD;
}

#brxe-oadstl p {
    padding: 1% 2%;
}

#brxe-rcoouo {
    margin: 0 auto;
}

/*===========================================
    LAYOUT STYLES
===========================================*/
.layout-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1600px;
    padding: 0 2%;
}

/*===========================================
    FILTER CONTAINER STYLES
===========================================*/
.filters-container {
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.filter-container-without-grid-container {
    background: white;
    border: 1px solid #ccc;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

.dopdown-filters-container {
    display: flex;
    position: relative;
    gap: 20px;
    padding: 2%;
}

/*===========================================
    DROPDOWN FILTER STYLES
===========================================*/
.dropdown-filter {
    position: relative;
    border-radius: 15px;
    cursor: pointer;
    width: 100%;
    transition: border-radius 0.3s ease;
}

.dropdown-filter.active {
    border-radius: 15px 15px 0px 0px; /* Rounded corners only at the top when active */
}

.dropdown-filter.active .dropbtn {
    border-radius: 15px 15px 0px 0px;
	background-color: #9C87F5;
    color: white;
}

.dropdown-filter.active .dropdown-content {
    border-radius: 0px 0px 15px 15px; /* Rounded corners only at the bottom */
    border-top: none; /* Remove top border to blend with button */
}

.dropdown-content {
    position: absolute;
    top: 100%;
    z-index: 100;
    display: none !important;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    padding: 10px;

}

.dropdown-filter:hover .dropdown-content {
    display: block;
}

.dropbtn {
    display: block;
    padding: 13px 20px;
    background-color: #fff;
    color: black;
    border-radius: 15px;
    border: 1px solid #ccc;
}

.dropbtn:hover {
    background-color: #9C87F5;
    color: white;
}

/* Dropdown Arrow Icons */
.dropbtn::after {
    font-family: 'Font Awesome 5 Free';
    content: "\f078";
    font-weight: 900;
    padding-left: 5px;
    float: right;
}

.dropdown-filter.active .dropbtn::after {
    content: "\f077";
    float: right;
}

/*===========================================
    FEATURE, SUPPORT, DEPLOYMENT STYLES
===========================================*/
.feature {
    padding: 10px;
    color: black;
    border-bottom: 1px solid grey;
    display: none;
}

.feature:nth-of-type(-n+10) {
    display: block;
}

.feature:hover {
    color: #9C87F5;
    border-bottom: 1px solid #9C87F5;
}

label.support-label,
label.deployment-label {
    padding: 10px;
    display: block;
    color: black;
    border-bottom: 1px solid grey;
}

label.support-label:hover,
label.deployment-label:hover {
    color: #9C87F5;
    border-bottom: 1px solid #9C87F5;
}

.checkbox-container-price {
    padding: 5px 0px 0px 0px;
    display: flex;
}

.checkbox-container-price-left {
    margin: 5px 5px 0px 5px;
}

.checkbox-container-price-right {
    margin: 5px 5px 0px 5px;
}

input[type=button], input[type=checkbox], input[type=radio] {
    margin: 0px 5px 0px 0px;
}

label {
    margin-bottom: 0px !important;
}

/*===========================================
    ACTIVE FILTERS SECTION
===========================================*/
.active-filters-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0px 2% 2% 2%;
    background-color: transparent;
    flex-wrap: wrap;
}

.applies-filters {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 20px;
}

.applies-filters span {
    color: #333;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
}

.active-filters-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 5px;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    background-color: #f0f0ff;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 14px;
    color: #333;
    gap: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.filter-tag-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-size: 12px;
    color: #666;
    margin-left: 4px;
    line-height: 1;
    text-align: center;
    font-weight: bold;
}

.filter-tag-remove:hover {
    background-color: rgba(0, 0, 0, 0.2);
    color: #333;
}

.sort-by-container {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.sort-by-container span {
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.sort-dropdown {
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: white;
    cursor: pointer;
    min-width: 150px;
}

.sort-dropdown:focus {
    outline: none;
    border-color: #8976FD;
}

/*===========================================
    PAGINATION STYLES
===========================================*/
#pagination {
    padding: 4% 4% 0 4%;
}

.pagination-numbers span {
    padding: 5px 10px;
    cursor: pointer;
}

.pagination-numbers span.active {
    font-weight: bold;
}

/*===========================================
    POSTS GRID CONTAINER
===========================================*/
.posts-grid-container {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 20px; /* Spacing between cards */
    margin-top: 2%;
    align-items: center;
}

/*===========================================
    SOFTWARE CARD STYLES
===========================================*/
.card-container {
    width: 100%;
}

.software-card {
    border-radius: 15px;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    display: block;
    box-sizing: border-box;
    height: auto;
    background: #fff;
    transition: all 0.3s ease;
}

.software-card-main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.software-card-information {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    justify-content: space-between;
}

.software-header {
    display: grid;
	grid-template-columns: 2fr 1fr;
    justify-content: space-between
}

.software-card img {
    height: 100px;
    object-fit: contain;
    margin: 2% 2% 0 2%;
	max-width: 150px;
}

.image-title-rating-container {
    display: flex;
    padding: 2%;
	width: 100%;
	align-items: center;
	
}

.title-rating-container {
    margin: 2% 2% 0 2%;  
}

.provider-description {
    padding: 0 2% 2% 2%;
}

.software-info {
	display: flex;
	justify-content: flex-end;
    margin: 2%;
	align-items: center;
}

.software-info h2 {
    font-size: 32px;
    margin: 0 0 2%;
}

/*===========================================
    RATING STYLES
===========================================*/
.software-rating {
    display: flex;
    align-content: center;
}

.software-rating,
.software-pricing {
    color: #666;
}

.star-rating {
    position: relative;
    font-size: 18px !important;
    color: #ccc;
    line-height: 1;
    display: inline-block;
    white-space: nowrap;
    overflow: visible !important;
}

.star-rating::before {
    content: "★★★★★" !important;
	font-size: 18px;
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%; 
    color: #ccc; 
    z-index: 1;
    white-space: nowrap;
}

.star-rating::after {
    content: "★★★★★";
    position: absolute;
    top: 0;
    left: 0;
    font-size: 18px !important;
    width: calc(var(--rating) / 5 * 100%); 
    color: #fc0; 
    overflow: hidden; 
    z-index: 2; 
    white-space: nowrap;
}

.rating-text {
    font-size: 18px; 
    margin-left: 10px; 
    vertical-align: middle; 
}

/*===========================================
    SOFTWARE TABS STYLES
===========================================*/
.software-tabs {
    width: 100%;
    box-sizing: border-box;
    border-top: 1px solid #ccc;
}

.tab-link {
    color: black;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    margin: 1%;
    font-weight: 500;
    position: relative;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
}

.tab-link:hover {
    color: #8976FD;
    background-color: transparent;
}

.tab-link.active {
    color: #8976FD;
    background-color: transparent;
    border-bottom: 3px solid #8976FD;
} 

.tab-content {
    padding: 0 20px 20px 20px;
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
}

.tab-content h3 {
    color: #8976FD;
}

.card-product-description {
    padding: 1%;
}

/*===========================================
    BUTTON STYLES
===========================================*/
.card-btns-softwarepage {
    display: flex;
    flex-direction: column;
}

.review-button {
    background-color: #8976FD;
    padding: 10px 15px;
    color: #fff;
    border: 1px solid #ffffff;
    border-radius: 25px;
	width: 100%;
	display: flex;
    justify-content: space-around;
}
.review-button::after {
    content: "\f518"; /* FontAwesome book icon code */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 8px;
}

.affiliate-button {
    background-color: #EEEBFF;
    padding: 10px 15px;
    color: #8976FD;
    border: 1px solid #ffffff;
    border-radius: 25px;
	width: 100%;
	display: flex;
    justify-content: space-around;
}
.affiliate-button::after {
    content: "\f061"; /* FontAwesome arrow-right icon code */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 8px;
}

.review-button:hover,
.affiliate-button:hover {
    background-color: #9C87F5;
    border: 1px solid #ffffff;
    color: white;
}

.btn.try-free {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-left: auto;
    cursor: pointer;
}

/*===========================================
    PROS AND CONS STYLES
===========================================*/
.card-pros,
.card-cons {
    width: 48%;
    float: left;
    margin: 1%;
}

ul.pros,
ul.cons {
    margin: 0;
}

ul.features {
    margin: 10px 10px 10px 25px;
}

.pros li,
.cons li {
    list-style: none;
}

i.fa.fa-plus-circle {
    color: green;
    margin-right: 5px;
}

i.fa.fa-minus-circle {
    color: red;
    margin-right: 5px;
}

/*===========================================
    FEATURES IN TWO COLUMNS
===========================================*/
.features-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 1%;
}

.features-left, 
.features-right {
    width: 48%; /* Slightly less than 50% to account for margins */
    margin: 0;
    padding-left: 15px;
}

/*===========================================
    INTRO SOFTWARE DESIGN
===========================================*/
.taxonomy-intro-container h2 {
    color: #8976FD;
}

.taxonomy-intro-container p {
    padding: 2%;
}

/*===========================================
    MOBILE MENU STYLES
===========================================*/
/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    width: 100%;
    padding: 12px 15px;
    background-color: #8976FD;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    margin-bottom: 10px;
    text-align: left;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mobile-menu-toggle::after {
    content: "︾";
    float: right;
    transition: transform 0.3s ease;
}

.mobile-menu-toggle.active::after {
    content: "︽";
}

/*===========================================
    RESPONSIVE STYLES - TABLET (768px)
===========================================*/
@media screen and (max-width: 768px) {
    /* Layout adjustments */
    .layout-container {
        flex-direction: column;
    }
    
    .filters-container,
    .posts-grid-container {
        width: 100%;
/*         padding: 0 15px; */
        box-sizing: border-box;
    }
    
    /* Mobile menu toggle */
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Filters styling for mobile */
    .dopdown-filters-container {
        display: none;
        flex-direction: column;
        gap: 10px;
    }
    
    .dopdown-filters-container.show {
        display: flex;
    }
    
    .dropdown-filter {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .dropdown-content {
        width: 100%;
        position: relative;
    }
    
    /* Filter tags styling for mobile */
    .active-filters-tags {
        flex-wrap: wrap;
        width: 100%;
    }
    
    /* Tab adjustments */
    .tab-link {
        padding: 8px;
        font-size: 14px;
    }
    
    .tab-content {
        padding: 15px;
    }
    
    /* Text size adjustments */
    .provider-description {
        font-size: 14px;
    }
	
	.applies-filters {
    align-items: start;
	}
	
}

/*===========================================
    RESPONSIVE STYLES - MOBILE (576px)
===========================================*/
@media screen and (max-width: 576px) {
    /* Layout adjustments */
    .card-pros,
    .card-cons {
        width: 100%;
        float: none;
        margin: 10px 0;
    }
    
    /* Image and text size adjustments */
    .software-card img {
        height: 80px;
    }
    
    .star-rating {
        font-size: 16px !important;
    }
    
    .rating-text {
        font-size: 16px;
    }
    
    /* Features in single column */
    .features-left, 
    .features-right {
        width: 100%;
    }
    
    /* Filter styling adjustments */
    .applies-filters {
        align-items: flex-start;
    }
}

/*===========================================
    RESPONSIVE STYLES - SMALL MOBILE (425px)
===========================================*/
@media screen and (max-width: 425px) {
    /* Image and button layout adjustments */
    .image-title-rating-container {
        flex-direction: column;
        align-items: center;
    }
    
    .title-rating-container {
        width: 100%;
        padding: 10px 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .software-rating {
        justify-content: center;
    }
    
    .software-header {
        flex-direction: column;
    }
    
    .software-logo {
        margin: 0 auto 15px;
    }
    
    .software-info {
        margin: 9% 0 0;
        width: 100%;
        text-align: center;
    }
    
    /* Button layout */
    .card-btns-softwarepage {
        flex-direction: row;
        justify-content: space-evenly;
    }
    
    .software-info h2 {
        font-size: 22px;
        margin: 0 0 10px;
    }
    
    /* List styling */
    ul.features {
        margin: 10px 0;
        padding-left: 15px;
    }
	
	.software-tabs{
	display: flex;
    flex-direction: column;
    align-items: center;
	}
    
    /* Text size adjustments */
    .provider-description,
    .card-product-description,
    .tab-content {
        font-size: 13px;
    }
    
    /* Tab styling */
    .tab-link {
        margin: 1% 0;
        padding: 15px 10px;
    }
	
	
	.software-header {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto; 
    }
	.software-header .image-title-rating-container,
    .software-header .software-info {
        justify-self: center;
        width: 100%;
        text-align: center;
    }
    
    /* Adjust the card buttons on mobile */
    .card-btns-softwarepage {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        margin-top: 15px;
		width: 100%;
    }
	.software-info{
		margin: 0px 0px 2% 0px;
	}
	.card-btns-softwarepage a{
		width: 100%;
	}
	
	/* Button style */
	.review-button {
    	justify-content: center;
	}
	.affiliate-button {
    	justify-content: center;
	}		
}

/*===========================================
    RESPONSIVE STYLES - VERY SMALL MOBILE (360px)
===========================================*/
@media screen and (max-width: 360px) {
    /* Tab adjustments */
    .tab-link {
        padding: 6px 3px;
        font-size: 12px;
    }
    
    /* Button adjustments */
    .review-button,
    .affiliate-button {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    /* Stack buttons on very small screens */
    .card-btns-softwarepage {
        flex-direction: column;
		gap: 0;
		margin-top: 0;
		padding: 2%;
    }
    
    .card-btns-softwarepage a {
        width: 100%;
        text-align: center;
        margin: 5px 0;
    }
}