.comparison-taxonomy-selector{
	width: 100%;
	margin: 15px 0;
}
/*
.software-comparison-search{
	width: 100%;
	margin: auto;
}
.software-comparison-search input{
	width: 100%;
	margin: auto;
	float: left;
}
*/

.find_alternatives_button{
	width: 100%;
	background-color:#1abc9c;
	color:#fff;
	margin: 15px 0;
}
.find_alternatives_button:hover{
	color: #fff;
	background-color: #1abc9c;
	border: solid #1abc9c;

}




/* Comparison template */
.software-comparison {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.software-comparison-container{
	width: 100%;
}

.software {
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 20px;
	float:left;
}

.star {
/*     font-size: 20px; */
}

.star.full, .star.fractional { 
	color: gold; 
}

.star.empty {
    color: #ccc; /* Empty stars in light gray */
}




.software h4 {
    margin-top: 0;
}

.package {
    border-top: 1px solid #eee;
    padding-top: 10px;
    margin-top: 10px;
}



.dropdown-toggle {
    border: 1px solid #8976FD;
    width: 100%;
	font-size: 24px;
    cursor: pointer;
	display: flex;
    justify-content: space-between;
    align-items: center;
	border-bottom: 1px solid white;
}
.dropdown-toggle:hover {
    background-color: #fff;
    border: 1px solid #1abc9c;
	color: #1abc9c;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.dropdown-content {
/*     display: none;  */
	background: white;
}



.pros, .cons {
    margin-top: 10px;
	padding: 10px;
}

.pros h5, .cons h5 {
    margin-bottom: 5px;
}

.pros ul, .cons ul {
    list-style-type: none; /* Removes the default list styling */
    padding-left: 0; /* Aligns the list with the section content */
}

/* 
.pros li:before, .cons li:before {
    content: "• "; 
    color: #007bff; 
}


.cons li:before {
    color: #dc3545; 
}
*/

.comparison-img{
    height: 120px;
    max-width: 100%;
}

/*----------------------
   Search-Form div
-----------------------*/
.top-alternatives-searchform{
	display:flex;
	padding: 2%;
    max-width: 1600px; 
    width: 100%; 
	margin: auto;
}
.search-container-image{
	width: 50%
}
.image-container-alternatives{
	/* style for picture*/
}
.search-container-introduction-image{
	width: 50%
}
.image-container-introduction{
	/* style for picture*/
}

/*----------------------
   Search-Form
-----------------------*/

#software_input_1{
	margin-right:0;
}
.software-comparison-search{
	width: 100%;
}
.find_alternatives_button{
    display: flex;
    width: 100%;
    background-color: #8976FD;
    color: #fff;
    margin: 15px 0;
    justify-content: center;
    padding: 10px;
    font-size: larger;
    border: 1px solid #8976FD;
}

.find_alternatives_button:hover {
    background-color: #9C87F5;
    border: 1px solid #8976FD;
}

/*----------------------
   introduction
-----------------------*/

.introduction p{
	padding:1% 2% 2% 2%;
}


/*----------------------
   alternative-title
-----------------------*/

.alternative-title-container{
    max-width: 1600px; 
    width: 100%; 
	display:flex;
	justify-content:center;
	padding:2%;
	margin: 0 auto;
	
}







/* Product Alternatives Template CSS */

/* =============== MAIN WRAPPER =============== */
#main-alternatives-comparison {
  margin: auto;
  width: 100%;
  padding: 1em;
  background-color: #EEEBFF;
  border: 1px solid #dedede;
  /* added grid*/
/*   display: grid;
  grid-template-columns: 1fr 1fr; */
}
.alternatives-page-container{
	max-width:1600px;
	margin: auto;
}

#main-alternatives-comparison .last-updated-info {
  text-align: right;
  
}
.last-updated-text {
  font-size: 0.9em;
  color: #666;
}

#top-alternatives-title {
  font-size: 1.8em;
  margin-bottom: 1em;
  color: #333;
  text-align: center;
}

/* =============== ALTERNATIVE BLOCKS =============== */




.alt-header-container {
    display: flex;
    gap: 50px; /* Increased spacing between text and logo */
    align-items: flex-start;
    padding: 10px;
    flex-direction: column;
}

.alt-text-content {
    flex: 1;
    min-width: 55%;
    padding-right: 20px;
}

.alt-logo-container {
    text-align: right;
    width: 20%;
    padding-top: inherit;
    display: flex;
}

.alternative-logo {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    object-fit: contain; /* Ensures the full image is visible */
}

.intro-container {
	display:flex;
	justify-content: space-between;
    background: #EEEBFF;
    padding: 15px 20px;
    border-radius: 8px;
}

.intro-title {
    margin: 10px 0;
    color: #2d3748;
    font-size: 28px;
    font-weight: bold;
}

.intro-paragraph {
    padding: 2% 2% 2% 0;
    align-content: center;
}

.top-features-intro {
    font-weight: 500;
    color: #2b8a3e;
}


.score-item ul {
    padding: 0 0 0 8%;
}




/* Alternative Item Styling */
.alternative-item-block {
    margin: 2em 0;
    padding: 1em;
    border: 1px solid #ccc;
    background-color: #fff;
	border-radius: 7px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
/* 	width: 90%; */
}

.alternative-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 0.5em;
}

/* .alternative-logo {
    display: block;
    margin-bottom: 0.5em;
    max-width: 150px;
} */


/* Intro paragraph & partial scores */
.intro-paragraph {
  font-size: 1em;
  line-height: 1.5;
  color: #444;
  margin-bottom: 1em;
}
.intro-paragraph .alt-name,
.intro-paragraph .main-product-name,
.intro-paragraph .category-name {
  font-weight: bold;
  color: #111;
}
.partial-scores-container {
  margin: 1em 0;
}
.partial-scores-text {
  background-color: #EEEBFF;
  padding: 0.7em;
  font-size: 0.95em;
  line-height: 1.6; 
  display: flex;
  flex-direction: column;
}

.partial-scores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 10px;
}

.score-item {
    display: flex;
    flex-direction: column;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #CCCCCC;
}

.score-item strong {
    margin-bottom: 4px;
    font-size: 0.9em;
    color: #495057;
}

.score-item span {
    font-size: 1.1em;
    font-weight: bold;
    color: #8976FD;
}


.score-item p {

}



/* ACF Ratings Grid */
.acf-ratings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 10px;
	padding: 0 10px 0 10px;
}

.acf-rating-item {
    background: #fff;
    border: 1px solid #e3e8ee;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

.acf-ratings-title{
	padding-left: 10px;
    color: #8976FD;	
}

.acf-rating-label {
    display: block;
    color: #4a5568;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.acf-rating-value {
    display: block;
    font-weight: bold;
    color: #2d3748;
    font-size: 1.2em;
}

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

.detail-item {
    background: #f8fafc;
    border-radius: 5px;
    padding: 10px;
    border: 1px solid #e2e8f0;
}

.detail-title {
    color: #2d3748;
    margin: 0 0 10px 0;
    font-size: 1em;
}

.detail-content {
    color: #4a5568;
    margin: 0;
    line-height: 1.5;
}


/* Implementation, Support, Training from ACF */
.acf-implementation-container {
  margin: 1em 0;
}
.acf-implementation-text {
  font-size: 0.95em;
  line-height: 1.4;
}

/* Top features Grid */
.top-features-grid {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
  padding: 0 10px 0 10px;
  width: 50%;
	
}

.features-ratings-columns {
    justify-content: space-between;
    display: flex;
    margin: 0 20px;
}

.top-features-block {
  margin: 1em 0;
}
.top-features-intro {
  font-weight: bold;
  margin-bottom: 0.5em;
  padding-left: 10px;
  color: #8976FD;
}
.top-features-list {
  list-style: none; 
  padding: 0;
  margin: 0;
}
.top-feature-item {
	height: 82px;
	background: #fff;
    border: 1px solid #e3e8ee;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
}
.top-feature-title {
    color: #4a5568;
    font-size: 0.9em;
    margin-bottom: 5px;
}
.top-feature-star {
 	font-weight: bold;
    color: #2d3748;
    font-size: 1.2em;
}



/* TEXTUAL MATCHES */
.textual-matches-block {
  margin: 1em 10px;
  padding: 0.7em;
  background-color: #EEEBFF;
  border: 1px dashed #ccc;
	border-radius: 7px;
}
.textual-matches-title {
    margin-bottom: 1rem;
    color: #2d3748;
    font-size: 1.1em;
}
.textual-overlap {
  margin: 0.3em 0;
}

/* PROS & CONS */
.pros-cons-container {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.pros-box, .cons-box {
    flex: 1;
    background: #fff;
    border: 1px solid #e3e8ee;
    border-radius: 8px;
    padding: 20px;
}

.pros-title, .cons-title {
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid;
    font-size: 1.1em;
}

.pros-title {
    color: #2b8a3e;
    border-color: #2b8a3e;
}

.cons-title {
    color: #c92a2a;
    border-color: #c92a2a;
}

.pros-list, .cons-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.pros-item, .cons-item {
    padding: 8px 0;
    line-height: 1.4;
}

.pros-item::before {
    content: '✓';
    color: #2b8a3e;
    margin-right: 8px;
}

.cons-item::before {
    content: '✕';
    color: #c92a2a;
    margin-right: 8px;
}


/* Recommendation Paragraph */
.recommendation-paragraph {
  margin: 1em 0;
  font-size: 1em;
  line-height: 1.6;
  color: #333;
}

/* SCHEMA */
.schema-json-data {
  display: none;  /* Hide the JSON-LD from visible layout */
}


h3.features-title, h3.support-title {
    display: flex;

}

h3.features-title, h3.support-title, h3.comparison-title {
    cursor: pointer;
    justify-content: space-between;
    flex-direction: row-reverse;
    border: 1px solid #d0cccc;
    padding: 5px;
    color: #8976FD;
    font-size: 24px;
    font-weight: 600;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 10px;
	
}

h3.features-title:hover, h3.support-title:hover, h3.comparison-title:hover {
	border-bottom: 1px solid #8976FD;

}

h3.features-title::before, 
h3.support-title::before, h3.comparison-title::before {
    content:'+';
    transition: transform 0.2s;
}

h3.features-title.active::before,
h3.support-title.active::before, h3.comparison-title.active::before {
    transform: rotate(90deg);
}

.open-container{
	display: none;
}

/*
strong{
	color: #8976FD;
	font-size: 20px;
}
*/


.title-and-buttons {
    width: 100%;
    display: flex;
    justify-content: space-between;
}


.similarity-score-window {
	background: #EEEBFF;
    padding: 15px 25px;
    width: 160px;
    border-radius: 8px;
	margin-right: 2%;
	
}


.overall-rating-window {
	background: #EEEBFF;
    padding: 15px 25px;
    width: 160px;
    border-radius: 8px;
	
	
}

.score-floats{
	display: flex;
	margin-bottom: 2%;
}


.comparison-section .dropdown-content {
    display: none; /* Initially hide the dropdown content */
}

.comparison-columns {
    display: flex;
    justify-content: space-around;
	gap:10px;
	flex-wrap:wrap;
	border-radius: 0 0 7px 7px;
}

.software-column {
/*     width: 50%; */
    float: left;
}


.desktop {
	display: flex;
}
	
.mobile{
	display: none;
}


.main-container{
	display: flex;
    flex-direction: column;
    padding: 1%;
    border-radius: 8px;
    border: 1px solid #d0cccc;
}

.compare-rating-value{
	display: flex;
	flex-direction: space-between;
}



/* ACF Ratings Container */
.acf-ratings-block {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 400px;
}

/* Individual rating items */
.acf-rating-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

/* Progress bar container */
.progress-bar-container {
	background-color: #e0e0e0;
    position: relative;
    flex: 1;
	max-height: 10px;
    margin: 0 10px;
    border-radius: 5px;
    overflow: hidden;
}

/* Foreground bar (progress fill) */
.progress-bar-fg {
    height: 100%;
    background: #7b5ef9; /* Purple color */
    position: absolute;
    border-radius: 5px;
    transition: width 0.4s ease-in-out;
}

/* Rating value */
.acf-rating-value {
    font-weight: bold;
}






.comparison-support, .comparison-impl, .comparison-training {
    border-left: 2px solid #8976FD;
    padding: 0 0% 0 2%;
    margin: 1% 0 2%;
}





@media (max-width: 480px) {
    .partial-scores-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive Fixes */
@media (max-width: 1024px) {
    .alt-header-container {
        gap: 30px;
        padding: 15px;
    }

    .alt-logo-container {
        flex: 0 0 150px;
    }

    .alternative-logo {
        max-width: 140px;
    }

    .intro-container {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
	
	.pros-cons-container {
        flex-direction: column;
        gap: 20px;
    }
	
	.top-features-grid {
	  display: flex;
	  flex-direction: column;
	  margin-top: 10px;
	  padding: 0 10px 0 10px;
	  width: 100%;

	}
	
	
	.acf-ratings-grid,
    .acf-details-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-item {
        padding: 12px;
    }
	
	
	.partial-scores-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
	
    .dropdown-content {
        display: block; /* Automatically display on larger screens */
    }

	
    .software-comparison-search input {
        width:100%; 
    }
	.comparison-taxonomy-selector{
		margin: 15px 0;
	}
	.find_alternatives_button{
		margin: 15px 0;
	}

	
    .software {
        width: 100%;
    }
    /* Example for a dropdown section */
    .dropdown-section {
        display: none; /* Initially hide */
    }
    .dropdown-section.open {
        display: block; /* Show when triggered */
    }
	
	
    .alt-header-container {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        text-align: center;
    }
    
    .alt-text-content {
        padding: 0;
        min-width: 100%;
    }
    
    .alt-logo-container {
        text-align: center;
        flex: 0 0 auto;
        padding: 0;
    }
    
    .alternative-logo {
        max-width: 130px;
    }

    .intro-container {
        max-width: 95%;
    }
	
	
	.software-column {
        width: 50%;
    	float: left;
    }
	
	
	.desktop {
		display: none;
	}
	
	.mobile{
		display: flex;
	}
}