/*
Theme Name: Bradbeers
Theme URI: 
Author: 
Author URI: 
Description: 
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bradbeers
Tags: 
*/

.review-wrapper {
	height:100%;
	
	
}
p {
	margin-block-start: 0;
    margin-block-end: 0;
	
	
}


/* Review Badge Container */
.review-badge {
  width: 160px;
  height: 110px;
  background-color: #ffffff; /* White background */
  border: 2px solid #0055a5;
  border-radius: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: Arial, sans-serif;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 10px;
}

/* Review Header */
.review-header {
  font-size: 18px;
  font-weight: bold;
  color: #0055a5;
  margin-bottom: 8px;
}

/* Review Score */
.review-score {
  font-size: 18px;
  font-weight: bold;
  color: #0055a5;
  margin-bottom: 8px;
}

/* Stars */
.review-stars {
  font-size: 20px;
}

.review-stars .filled {
  color: #228b22; /* Deep green color for fully filled stars */
}

.review-stars .partial {
  color: #228b22; /* Deep green for partial star */
  opacity: 0.3; /* Lighten for partial effect */
}

/* Total Reviews */
.review-total {
  font-size: 12px;
  color: #444;
  margin-bottom: 8px;
}

/* 100% Recommended Line */
.review-recommended {
  font-size: 14px;
  color: #0055a5;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}

.review-recommended i {
  color: #228b22; /* Deep green for thumbs-up icon */
  font-size: 16px;
}

/* Link */
.review-link {
  font-size: 14px;
  text-decoration: none;
  color: #0055a5;
  border: 1px solid #0055a5;
  padding: 5px 10px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.review-link:hover {
  background-color: #0055a5;
  color: #ffffff;
}
/* Form Layout - Flexbox for Columns */
.form-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
}

.form-column {
    flex: 1 1 calc(50% - 20px);  /* Two columns with gap */
    max-width: calc(50% - 20px);  /* Limit width to 50% */
}

/* Full Width for Textareas or Single Rows */
.full-width .form-column {
    max-width: 100%;
    flex: 1 1 100%;
}

/* Label Styling */
.form-column label {
    display: block;
    font-size: 16px;
    color: white;  /* White text for labels */
    margin-bottom: 2px;
}

/* Input and Textarea Styling */
.form-column input,
.form-column select,
.form-column textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    background-color: #f9f9f9;
	font-family: var(--wp--preset--font-family--red-hat-text);
	font-size:16px;
}

textarea {
    resize: vertical;
    min-height: 80px;
}



/* Responsive Design */
@media (max-width: 768px) {
    .form-column {
        max-width: 100%;
        flex: 1 1 100%;
    }
}
/* Hide the accordion body by default */
.accordion-body {
  display: none;
}

/* Show the body when the preceding heading is active */
.accordion-title-start.active + .accordion-body,
.accordion-title-end.active + .accordion-body {
  display: block;
}

/* Arrow before the title for the start variant */
.accordion-title-start::before {
  content: "\25B6"; /* Unicode for right-pointing triangle */
  display: inline-block;
  margin-right: 8px;
  transition: transform 0.3s ease;
}

/* Arrow after the title for the end variant */
.accordion-title-end::after {
  content: "\25B6"; /* Unicode for right-pointing triangle */
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

/* Rotate the arrow when the title is active */
.accordion-title-start.active::before,
.accordion-title-end.active::after {
  transform: rotate(90deg);
}

