/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;               /* Add this */
    align-items: center;         /* Center vertically */
    justify-content: center;     /* Center horizontally */
    z-index: 1000;
}
  
  .modal-content {
      background: white;
      border-radius: 12px;
      width: 90%;
      max-width: 500px;
      max-height: 90vh;
      overflow-y: auto;
      box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  }
  
  .modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 24px;
      border-bottom: 1px solid #eaeaea;
  }
  
  .modal-header h4 {
      margin: 0;
      color: #333;
  }
  
  .close {
      font-size: 28px;
      cursor: pointer;
      color: #999;
  }
  
  .close:hover {
      color: #333;
  }
  
  /* Form Styles */
  .review-form {
      padding: 24px;
  }
  
  .form-group {
      margin-bottom: 20px;
  }
  
  .form-group label {
      display: block;
      margin-bottom: 8px;
      font-weight: 500;
      color: #555;
  }
  
  .form-control {
      width: 100%;
      padding: 10px 12px;
      border: 1px solid #ddd;
      border-radius: 8px;
      font-size: 14px;
  }
  
  .rating-stars {
      display: flex;
      flex-direction: row-reverse;
      justify-content: flex-end;
      font-size: 28px;
  }
  
  .rating-stars input {
      display: none;
  }
  
  .rating-stars label {
      color: #ddd;
      cursor: pointer;
      padding: 0 5px;
      transition: color 0.2s;
  }
  
  .rating-stars input:checked ~ label,
  .rating-stars label:hover,
  .rating-stars label:hover ~ label {
      color: #ffc107;
  }
  
  .form-buttons {
      display: flex;
      gap: 12px;
      margin-top: 24px;
  }

  .share-options {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    }
    
    .share-btn {
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
    color: white;
    transition: opacity 0.2s;
    }
    
    .share-btn:hover {
    opacity: 0.9;
    color: white;
    }
    
    .facebook { background: #1877F2; }
    .twitter { background: #1DA1F2; }
    .whatsapp { background: #25D366; }
    .copy-link { 
    background: #6c757d; 
    border: none;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    }
    
    /* Reuse your existing modal styles */
    .modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    }
    .modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    }
    .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #eaeaea;
    }
    .close {
    font-size: 28px;
    cursor: pointer;
    color: #999;
    }