.body {
   margin:0px; 
}
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 15px 20px;
}

#searchInput {
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 600px;
  padding: 12px 40px 12px 16px; /* added right padding for icons */
  font-size: 16px;
  border: none;
  border-radius: 6px;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  background-color: white; /* keep original white bg */
}

/* Icons container positioned relative to input */
#searchInput-container {
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 600px;
  z-index: 1001;
  pointer-events: none; /* so input still receives clicks */
}



#searchInput-container img {
  position: absolute;
  top: calc(50% + 20px); /* move icons 15px down */
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  cursor: pointer;
  pointer-events: auto;
}

#searchInput-container img.lens-icon {
  right: 40px;
}

#searchInput-container img.mic-icon {
  right: 10px;
}





#results {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  justify-items: center;
}

@media (min-width: 600px) {
  #results {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  #results {
    grid-template-columns: repeat(3, 1fr);
  }
}

.job {
  width: 100%;
  max-width: 300px;
  background-color: #e0e0e0;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.job-name {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 8px;
  color: #0084ff;
}

.amount-line {
  margin-bottom: 8px;
}

.amount-label {
  color: #9c6e03; /* Yellow or any heading color you prefer */
  font-weight: bold;
}

.amount-value {
  color: #026118; /* Bright green for values */
  font-weight: bold;
}

.address-line {
  margin-bottom: 10px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.address-label {
  color: #525252; /* or any color you prefer */
  font-weight: bold;
}

.img-wrapper {
  position: relative;
  margin-bottom: 10px;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  background-color: #333;
}

.img-count-overlay {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 2px 6px;
  font-size: 12px;
  border-radius: 3px;
}

.button-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.details-button,
.share-button {
  flex: 1;
  padding: 8px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  color: white;
  white-space: nowrap;
}

.details-button {
  background-color: #007BFF;
}

.share-button {
  background-color: #28a745;
}

.details {
  display: none;
  margin-top: 10px;
}

.call-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  /*background-image: url('logo_img/call.svg');*/
  background-size: cover;
  vertical-align: middle;
  font-weight: bold;
}

.call-link {
  margin-left: 8px;
}

/* Image Viewer Overlay */
#imageViewer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#imageViewer .overlay-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  cursor: zoom-out;
}

#imageViewer .viewer-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#viewerImg {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 6px;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  display: block;
  margin: 0 auto;
}

/* Viewer Buttons - Always Visible */
#imageViewer button {
  position: absolute;
  background: rgba(0, 0, 0, 0.7);  /* Slightly darker to ensure visibility */
  color: white;
  border: none;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10001;
  opacity: 1;             /* Always visible */
  visibility: visible;    /* Always visible */
  transition: background 0.3s ease;
}

/* No hover dependence */
#imageViewer button:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Close (X) Button */
#closeViewer {
  top: 20px;
  right: 20px;
}

/* Prev/Next Buttons */
#prevImg,
#nextImg {
  top: 50%;
  transform: translateY(-50%);
}

#prevImg {
  left: 10px;
}

#nextImg {
  right: 10px;
}

/* Responsive for small screens */
@media (max-width: 600px) {
  #imageViewer button {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  #closeViewer {
    top: 10px;
    right: 10px;
  }

  #prevImg {
    left: 5px;
  }

  #nextImg {
    right: 5px;
  }
}

/* Optional: Bigger for large screens like TVs */
@media (min-width: 1200px) {
  #imageViewer button {
    width: 56px;
    height: 56px;
    font-size: 2.2rem;
  }
}

/* Add to your style */
.extra-info {
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}
.extra-info li {
  margin-bottom: 15px;
  margin-top: 15px;
}

   #voice-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  flex-direction: column;
  color: white;
  font-family: sans-serif;
}

.mic-centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.overlay-mic-icon {
  width: 90px;
  height: 90px;
  animation: pulse 1.2s infinite ease-in-out;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}



// slider logic in placeholder live search box

/*#searchInput::placeholder {*/
/*  text-align: center;*/
/*  font-weight: bold;*/
/*  transition: opacity 0.5s ease-in-out;*/
/*  color: #555;*/
/*}*/

