.kas-review-section {
  font-family: Arial, sans-serif;
  margin-top:0px ;
}

.kas-review-container {
  max-width: 1200px;
  margin: 0px auto;
  padding: 20px;
}

.kas-review-title {
  font-size: 28px;
  font-weight: bold;
  color: #1a6334;
  margin-bottom: 30px;
}

.kas-center-title{
     
    font-size: 26px;
    line-height: 32px;
    font-family: futura_medium_bt, sans-serif;
    font-weight: 600;
    color: #4a6b3e;
    text-align: center;
    text-transform: uppercase;
      margin-bottom: 30px;
}
.kas-review-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

@media (min-width: 768px) {
  .kas-review-grid {
    flex-direction: row;
  }
}

.kas-rating-box {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  flex: 1;
  max-height: fit-content;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.kas-rating-value {
  font-size: 36px;
  color: #1a6334;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.kas-ratingMarketplace
.kas-rating-value svg {
  width: 30px;
  height: 30px;
  fill: #1a6334;
}

.kas-rating-count {
  text-align: center;
  color: #666;
  margin-top: 4px;
}

.kas-bar-container {
  margin-top: 25px;
}

.kas-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
  font-size: 14px;
}

.kas-bar-track {
  flex: 1;
  background: #e5e5e5;
  border-radius: 5px;
  height: 8px;
  position: relative;
}

.kas-bar-fill {
  background: #1a6334;
  height: 100%;
  border-radius: 5px;
}

.kas-click-review {
  text-align: center;
  margin-top: 30px;
}

.kas-click-review button {
  background: none;
  border: none;
  color: #1a6334;
  font-weight: bold;
  text-decoration: underline;
  cursor: pointer;
}

.kas-review-cards {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.kas-review-card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.kas-user-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.kas-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ccecd8;
  color: #1a6334;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
}

.kas-user-details p {
  margin: 0;
}

.kas-user-name {
  font-weight: bold;
}

.kas-user-date {
  font-size: 12px;
  color: #777;
}

.kas-stars {
  color: #f7c948;
  margin-top: 5px;
}

.kas-review-text {
  margin-top: 10px;
  color: #333;
}

.kas-pagination {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.kas-pagination button {
  background: #fff;
  border: 1px solid #ccc;
  padding: 5px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

.kas-pagination .active {
  background: #e0f3e8;
  border-color: #1a6334;
  color: #1a6334;
  font-weight: bold;
}

/* Modal Styles */
.kas-review-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.kas-modal-content {
  background-color: white;
  width: 90%;
  max-width: 600px;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.kas-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #666;
}

.kas-modal-title {
  font-size: 24px;
  color: #1a6334;
  margin-bottom: 20px;
  text-align: center;
}

.kas-rating-selector {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  gap: 5px;
}

.kas-rating-star {
  font-size: 32px;
  color: #ccc;
  cursor: pointer;
  transition: color 0.2s;
}

.kas-rating-star:hover,
.kas-rating-star.active {
  color: #f7c948;
}

.kas-review-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.kas-form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.kas-form-group label {
  font-weight: bold;
  color: #555;
}

.spinner-border {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  vertical-align: text-bottom;
  border: 0.2em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  -webkit-animation: spinner-border .75s linear infinite;
  animation: spinner-border .75s linear infinite;
}

@keyframes spinner-border {
  to { transform: rotate(360deg); }
}
.kas-form-group input {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  resize: vertical;
  font-family: inherit;
}
.kas-form-group textarea{
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
}

.kas-form-group textarea,input:focus {
  outline: none;
  border-color: #1a6334;
}

.kas-word-count {
  text-align: right;
  font-size: 12px;
  color: #666;
}

.kas-media-upload {
  border: 2px dashed #ddd;
  padding: 20px;
  text-align: center;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
}

.kas-media-upload:hover {
  border-color: #1a6334;
  background-color: #f8f8f8;
}

.kas-media-upload i {
  font-size: 40px;
  color: #1a6334;
  margin-bottom: 10px;
}

.kas-media-upload p {
  margin: 0;
  color: #666;
}

.kas-submit-btn {
  background-color: #1a6334;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.kas-submit-btn:hover {
  background-color: #134e29;
}

.kas-preview-images {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.kas-preview-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 5px;
  position: relative;
}

.kas-remove-image {
  position: absolute;
  top: -8px;
  right: -8px;
  background: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  cursor: pointer;
  font-size: 12px;
}