.mini-testimonial-popup {
    position: fixed;
    transform: translateX(-50%);
    min-width: 280px;
    max-width: 400px;
    background: rgba(20, 20, 20, 0.75); 
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-radius: 1rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); 
    padding: 1.25rem 1.5rem;
    font-family: 'Segoe UI', sans-serif;
    font-size: 15px;
    color: #ffffff; 
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    cursor: grab;
    border: 1px solid rgba(255, 255, 255, 0.08); 
  }
  
  
  

  .mini-testimonial-popup.animate {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px);
  }
  
 
  .popup-arrow {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #fff;
  }
  
 
  .mini-testimonial-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  

  .mini-testimonial-text {
    font-style: italic;
    margin: 0;
  }
  
 
  .mini-testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    font-size: 0.9rem;
  }

  .mini-testimonial-author {
    font-weight: bold;
  }
  
  
  .mini-testimonial-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
  
 
  .star {
    font-size: 1rem;
    color: #ddd;
  }
  
  .star.full {
    color: #f7b500;
  }
  
  .star.half {
    color: #f7b500;
    background: linear-gradient(90deg, #f7b500 50%, #ddd 50%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .star.empty {
    color: #ddd;
  }
  
  .rating-score {
    font-size: 0.85rem;
    margin-right: 0.25rem;
    font-weight: bold;
  }
  
  /* Navigation buttons */
  .testimonial-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
  }
  
  .testimonial-nav-btn {
    padding: 4px 10px;
    font-size: 0.8rem;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
  }
  
  .testimonial-nav-btn:hover:not(:disabled) {
    background-color: #e0e0e0;
  }
  
  .testimonial-nav-btn:disabled {
    background-color: #f9f9f9;
    color: #aaa;
    cursor: not-allowed;
  }
  
  /* Close button */
  .popup-close-btn {
    position: absolute;
    top: 6px;
    right: 10px;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: bold;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
  }
  
  .popup-close-btn:hover {
    color: #555;
  }
  