
  /* Header styles (from provided code, adjusted for consistency) */


  /* Popup styles */
  .modal {
      display: none;
      position: fixed;
      z-index: 1001;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.7);
      justify-content: center;
      align-items: center;
      backdrop-filter: blur(5px);
  }

  .modal-content {
      background: linear-gradient(135deg, #ffffff, #f0f4ff);
      padding: 30px;
      border-radius: 15px;
      width: 90%;
      max-width: 500px;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
      position: relative;
      animation: slideIn 0.3s ease-out;
  }

  @keyframes slideIn {
      from { transform: translateY(-50px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
  }

  .close {
      position: absolute;
      top: 15px;
      right: 20px;
      font-size: 28px;
      cursor: pointer;
      color: #ff4d4d;
      transition: color 0.3s;
  }

  .close:hover {
      color: #cc0000;
  }

  .modal-content h2 {
      text-align: center;
      margin-bottom: 25px;
      color: #1a1a3d;
      font-family: 'Trebuchet MS', sans-serif;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
  }

  .modal-content form {
      display: flex;
      flex-direction: column;
      gap: 20px;
  }

  .modal-content label {
      font-weight: 600;
      color: #1a1a3d;
      font-family: 'Arial', sans-serif;
  }

  .modal-content input,
  .modal-content select {
      padding: 12px;
      border: 1px solid #e0e0e0;
      border-radius: 8px;
      font-size: 16px;
      width: 100%;
      box-sizing: border-box;
      background-color: #f9f9f9;
      transition: border-color 0.3s, box-shadow 0.3s;
  }

  .modal-content input:focus,
  .modal-content select:focus {
      border-color: #0055aa;
      box-shadow: 0 0 8px rgba(0, 85, 170, 0.3);
      outline: none;
  }

  .modal-content button {
      padding: 12px;
      background: linear-gradient(90deg, #0055aa, #4a6ee0);
      color: #fff;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      font-size: 16px;
      font-weight: 600;
      transition: background 0.3s, transform 0.2s;
      margin-top: 10px;
  }

  .modal-content button:hover {
      background: linear-gradient(90deg, #003d80, #3a5ac0);
      transform: translateY(-2px);
  }

  #qrCodeSection,
  #screenshotSection {
      display: none;
      text-align: center;
  }

  #qrCode {
      max-width: 200px;
      margin: 20px auto;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  #screenshotPreview {
      max-width: 100%;
      max-height: 200px;
      margin-top: 10px;
      border-radius: 8px;
      display: none;
  }

  /* Back button specific style */
  #backButton, #backButton2 {
      background: linear-gradient(90deg, #6c757d, #5a6268);
  }

  #backButton:hover, #backButton2:hover {
      background: linear-gradient(90deg, #5a6268, #495056);
  }
