

    /* ================= Common Styles ================= */
    .close-btn {
      position: absolute;
      top: 0;
      right: 15px;
      font-size: 38px;
      color: #333;
      cursor: pointer;
    }

    .trigger-button {
      display: block;
      margin: 20px auto;
      padding: 12px 24px;
      font-size: 16px;
      background-color: #007bff;
      color: white;
      border: none;
      border-radius: 6px;
      cursor: pointer;
    }

    /* ================= 1. Centered Modal Popup ================= */
    .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.2);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }

    .modal {
      background: white;
      border-radius: 10px;
      width: 90%;
      max-width: 400px;
      padding: 20px;
      position: relative;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .modal-buttons {
      display: flex;
      justify-content: space-between;
      margin-top: 20px;
    }

    .modal-buttons button {
      flex: 1;
      margin: 0 5px;
      padding: 10px;
      background-color: #be0069;
      color: white;
      border: none;
      border-radius: 5px;
      font-size: 16px;
      cursor: pointer;
    }

    /* ================= 2. Full-Screen Slide-In Popup ================= */
    .full-screen-popup {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: white; /* light gray */
      transform: translateY(100%);
      transition: transform 0.3s ease-in-out;
      z-index: 1001;
    }

    .full-screen-popup.active {
      transform: translateY(0);
    }

    .full-popup-content {
      padding: 60px 20px 20px;
    }

    /* ================= 3. Half-Screen Bottom Popup ================= */
    .half-screen-popup {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 50%;
      background-color: #ffffff; /* light blue */
      transform: translateY(100%);
      transition: transform 0.3s ease-in-out;
      z-index: 1002;
      border-top-left-radius: 16px;
      border-top-right-radius: 16px;
      box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    }

    .half-screen-popup.active {
      transform: translateY(0);
    }

    .half-popup-content {
      padding: 60px 20px 20px;
    }

    /* ================= Responsive Adjustments ================= */
    @media (max-width: 480px) {
      .modal {
        padding: 15px;
      }

      .modal-buttons button {
        font-size: 14px;
      }

      .trigger-button {
        font-size: 14px;
      }
    }


    /* Common sliding panel style */
.slide-panel {
  position: fixed;
  bottom: 0;
  right: 0;
  height: 50%;
  width: 100%;
  background-color: white;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
  z-index: 1010;
  padding: 20px;
  box-sizing: border-box;
}

.slide-panel.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}


