/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
  }
  :root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --background-color: #f9f9f9;
    --text-color: #262525;
       /* --secondory-color:#34495e; */
      /* --secondory-color:hsl(213, 28%, 41%); */
      /* --secondory-color:#7499c2; */
      /* --text-color:hsl(80, 50%, 36%);  */
      --accent-color:hsl(80, 50%, 39%);
  }

  .open-popup-btn:hover {
    cursor: pointer;
    color: var(--accent-color);
  }
  /* Popup Overlay */
  .popup-overlay {
    position: fixed;
    top: 5%;
    left: 0;
    width: 100%;
    height: 90%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;

    z-index: 1000;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  
  .popup-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  /* Popup Form */
  .popup-form {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
  }
  
  .popup-overlay.active .popup-form {
    transform: scale(1);
  }
  
  /* Close Button */
  .close-popup-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #666;
  }
  
  .close-popup-btn:hover {
    color: #333;
  }
  
  /* Form Styles */
  .popup-form h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--primary-color);
  }
  
  .form-group {
    margin-bottom: 1rem;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #555;
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    resize: none;
  }
  
  .form-group textarea {
    resize: vertical;
  }
  
  /* .btn-primary {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
  }
   */
  .btn-primary:hover {
    background-color: var(--accent-color);
}
