
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: Arial, sans-serif; background-color: #f7f7f7; }

    .header {
      background-color: #00A86B;
      padding: 1rem;
      color: #fff;
      text-align: center;
      font-size: clamp(1.2rem, 2.5vw, 1.7rem);
      font-weight: bold;
      position: relative;
    }

    .container {
      width: 95%; max-width: 450px; margin: 2rem auto; text-align: center;
    }
    .logout-btn {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  padding: 0.5rem 1rem;
  background-color: #00A86B;
  color: #fff;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
}

    input {
      width: 100%; padding: 1rem; border-radius: 30px; border: none;
      margin: 0.6rem 0; background-color: #dedede; font-size: 1rem;
    }

    .place-id-box { background-color: transparent; border: 2px solid #00A86B; }

    .btn-submit, .btn-list, .btn-edit {
  padding: 1rem;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1.1rem;
}

    .btn-submit { background-color: #00A86B; color: #fff; }
    .btn-edit { background-color: #cc0000; color: #fff; }
    .business-btn {
  background-color: #f39c12;   /* Orange */
  color: #fff;
}

.lead-btn {
  background-color: #0066cc;   /* Blue */
  color: #fff;
}

   .overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  top: 0;
  left: 0;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  z-index: 9999;
}
#lead-overlay {
  z-index: 10000 !important;
}


    .popup {
  background: white;
  width: 95%;
  max-width: 650px;
  border-radius: 12px;
  padding: 1rem;
  position: relative;
  max-height: 90vh;
  overflow: hidden; /* FIXED */
  padding-bottom: 1rem;
}
#business-list {
  max-height: 70vh;   /* same height as lead list */
  overflow-y: auto;
  padding: 10px;
  margin-top: 10px;
}


    .popup-title { text-align: center; font-size: 1.4rem; font-weight: bold; margin-bottom: 1rem; }
    .close-icon { position: absolute; top: 12px; right: 18px; font-size: 1.6rem; cursor: pointer; }

    .tile { background: #f2f2f2; padding: 1rem; margin-bottom: 1rem; border-radius: 10px; }
    .tile p {
    font-size: 14px !important;
    line-height: 18px !important;
    display: block !important;
}


    .btn-group { display: flex; gap: 8px; margin-top: 0.6rem; flex-wrap: wrap; position: relative; z-index: 10; }
    .btn-small { flex: 1 1 45%; padding: 0.6rem; border-radius: 8px; border: none; cursor: pointer; color: #fff; }

    .active-btn { background: #00A86B; }
    .deactive-btn { background: #cc0000; }
    .free-btn { background: orange; }
    .paid-btn { background: #0066cc; }

    .status-text, .userpack-text { display: inline-block; }

    .button-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 1rem;
}

.button-grid button {
  width: 100%;
  max-width: none; /* remove max width restriction */
}

  