.clientreviews-section {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: var(--background);
    color: var(--text);
  }
  
  .review-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,.25);
  }
  .review-form label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
  }
  .review-form input,
  .review-form textarea,
  .review-form select {
    padding: 10px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
  }
  .review-form textarea {
    resize: vertical;
    min-height: 80px;
  }
  .btn-save {
    background: var(--gold);
    color: #000;
    font-weight: 700;
    padding: 10px 14px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: filter .2s ease;
  }
  .btn-save:hover {
    filter: brightness(1.1);
  }
  
  .reviews-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .review-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
  }
  .review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
  }
  .review-target {
    font-weight: 700;
    color: var(--gold);
  }
  .review-stars {
    color: #f5c518;
  }
  .review-text {
    font-size: 0.9rem;
    margin-bottom: 6px;
  }
  .review-date {
    font-size: 0.75rem;
    color: #aaa;
  }
  
  .empty {
    text-align: center;
    font-size: 0.95rem;
    color: #aaa;
  }
  

  /* Área de Review */
.review-form-card {
    background: var(--surface);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--border);
    margin-bottom: 30px;
}

.review-textarea {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 10px;
    border-radius: 8px;
    min-height: 100px;
    resize: vertical;
    margin-top: 5px;
}

.hidden { display: none !important; }

/* Input de Estrelas (Reverso para CSS hover effect) */
.stars-wrapper {
    display: flex;
    flex-direction: row-reverse; /* Importante para a lógica de hover */
    justify-content: flex-end;
    gap: 5px;
}

.stars-wrapper input { display: none; }

.stars-wrapper label {
    font-size: 1.8rem;
    color: #444;
    cursor: pointer;
    transition: color 0.2s;
}

/* Hover e Checked */
.stars-wrapper label:hover,
.stars-wrapper label:hover ~ label,
.stars-wrapper input:checked ~ label {
    color: #ffd700; /* Dourado */
}

/* Card de Histórico */
.review-card {
    background: var(--surface-2);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border);
    margin-bottom: 15px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.review-target-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-target-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--gold);
}

.review-target-info h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--text);
}

.review-date {
    font-size: 0.8rem;
    color: var(--muted);
}

.review-text-content {
    color: var(--text);
    font-style: italic;
    line-height: 1.4;
}

#reviewText, #reviewTargetID{
  background: white;
}