.inline{    
    align-items: center;
    justify-content: center;
    display:flex; 
    flex-direction: row;
    gap: 10px;    
}
.searchbody{
    
    align-items: center;
    justify-items: center;
    display:flex; 
    flex-direction: column;
    
}
.searchhead{
    display:flex;
    align-self: center;
    width:85%;
    max-width:100%;
    height:fit-content;

}

.searchoptions{

    width:85%;
    max-width: 100%;
    justify-self: center;
    justify-items: center;
    min-height: 10px;
    height:auto;
    margin-top: -40px;
    
    /* border:black;
    border-width: 2px;
    border-style: solid; */
    
}

.searchhead div{
    display: flex;
    align-self: center;   /* vertical alignment */
    justify-content: left;
    padding:0;
    margin:0;

}

.searchoptions div{
    margin-top:-5px;
}

.note{
    font-size: 15px; 
    color: darkslategrey;
    margin: 10px 0 10px 0;
}

.search input, .search select{
    width:230px;
}



input:disabled, select:disabled, input:read-only {
  background-color: rgb(228, 228, 228);
  cursor: not-allowed;
}


.search_inputs{
    align-self: flex-start;
}

.specialnote {
    margin:-10px;
    padding:-10px;
    align-self:flex-start ;
    color: purple;
    content:2px;
}
input[type="checkbox"]:hover {
      cursor: pointer; /* Shows hand icon on hover */
    }

.selecttobuy, #selectAll{
    width: 25px; 
    height: 25px; 
    margin: 0; 
    accent-color: orange;
    color:blue;
}

.qr_frame{
    display:grid !important;
    grid-template-columns: 400px 1fr !important;
    padding: 10px;
}
.qr_code, .qr_details{
    display: flex;
    align-items: center;
    justify-content: center;
    height:fit-content;
}

.qr_details{
    display:inline;
    margin-top:20px;
    align-content: center;
    justify-content: flex-start;
}

/*///// to expand or collaps extended content */
.searresult {
  position: relative;
  /* min-height: 450px; */
  overflow: hidden;
  /* border: 1px solid #ccc;
  padding: 10px; */
  transition: max-height 0.3s ease;
  /* width: 400px;
  background: #f9f9f9; */
}

.toggleBtn {
  position: absolute;
  bottom: 5px;
  right: 10px;
  background-color: white;
  color: navy;
  border: none;
  border-radius: 4px;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 12px;
}

.searresult.card:nth-child(even) {
    /* background-color: rgb(241, 254, 254) ;*/
    /* border-color: gray red gray gray;  */
    box-shadow: 0 3px rgba(0, 68, 255, 0.3);
    /* background-image: url("bkg6.svg"); */
}

.searresult.card:nth-child(odd) {
    /* background-color: rgb(247, 247, 255);*/
    /* border-color: gray blue gray gray; */
    box-shadow: 0 3px 0 rgba(255, 0, 204, 0.3);
    /* background-image: url("bkg7.svg"); */
}
 .bgimg{
    background-image: url("../img/bkg03.jpg");
    background-repeat:repeat;
    background-size:65px;
    /* background-position: center;       center the image */
  
 }

T{
    color: olive;
    font-weight: normal;
    font-style: oblique;
}

/* ///// Grids to manage Photos. */
.gridds {
    display: grid;
    grid-template-rows: auto auto auto auto; /* Let rows size naturally to content */
    grid-template-columns: 60% 40%;
    /* row-gap: 1rem; optional: better spacing between rows */
}

/* Info Block */
.basicinfo{
    grid-row: 2;
    grid-column: 1;
    height: auto;
    overflow-wrap: break-word; 
    align-self: start; /* Ensures vertical alignment */
}
.bizname {
    grid-row: 1;
    grid-column: 1 / span 2;
    height: auto;
    overflow-wrap: break-word; 
    align-self: start; /* Ensures vertical alignment */
}

/* Profile or DP Image */
.dpimg {
    max-width: 90px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    align-self: center;
    border: 1px solid #ccc;
    border-radius: 4px;

    grid-row: 2;
    grid-column: 2;
}

/* Photo Grid (gallery) */
.gallry {
    display: grid;
    grid-template-columns: repeat(8, 1fr); /* 9 frames */
    gap: 5px;
    width: 100%;

    grid-row: 3;
    grid-column: 1 / span 2;
}

/* Description Area */
.photodescr {
    grid-row: 4;
    grid-column: 1 / span 2;
    /* margin-left: -25px; */
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;

  transition: max-height 0.3s ease;
  max-height: 1.5em; /* height of one line (adjust as needed) */
  position: relative;
}

/* Each photo tile, square */
.photo-tile {
    aspect-ratio: 1 / 1;
    height: 100%;
    overflow: hidden;
}

/* Image inside each tile */
.photo-tile img {
    min-width: 130px;
    max-width: 150px;
    /* height: 100%; */
    object-fit: cover;
    display: block;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.photo-tile img.broken {
    display: none;
}
.photo-tile .img-fallback {
    display: inline-block;
    font-style: italic;
    color: #666;
}

/* Message when no photos are present */
.no-photo {
    grid-column: 1 / span 9;

}

/* For Pagination */
.pagination-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
  gap: 1rem;
  /* font-family: Georgia, 'Times New Roman', Times, serif; */
}

.page-button {
  padding: 6px 12px;
  background-color: darkcyan;
  color: navy;
  font-size: small;
  text-decoration: none;
  border-radius: 4px;
}

.page-button:hover {
  background-color: orange;
}

.page-button.disabled {
  background-color: #ccc !important;
  color: #666;
  cursor: not-allowed;
  text-decoration: none;
}

.page-number {
  font-weight: bold;
  font-size: 1.1rem;
}

#per-page-select {
  font-size: 1rem;
  margin-left: -10px;
  border-color: transparent transparent black;
  /* border-radius: 4px; */
  appearance: none;
  color: black;
  width: fit-content;
  cursor: pointer;
}

/* CSS FOR PAID_BIZ DETAILS */
.bizdtlgrid{
    display:grid;
    grid-template-rows: auto auto auto; /* Let rows size naturally to content */
    grid-template-columns: 60% 40%;
}
.bizdtl_head{
    grid-row: 1;
    grid-column: 1 / span2;
}

.bizdtl_dtls{
    grid-row: 2;
    grid-column: 1;
    height: auto;
    overflow-wrap: break-word; 
    align-self: start; /* Ensures vertical alignment */    
}
.bizdtl_dp{
    max-width: 200px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    align-self: top;
    border: 1px solid #ccc;
    border-radius: 4px;

    grid-row: 2;
    grid-column: 2;

}

.bizdtl_dp img{
    max-width:200px;
}
.bizdtl_galry{
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 frames */
    grid-template-rows: repeat(2, 1fr); /* 2 rows */
    gap: 5px;
    width: 100%;

    grid-row: 3;
    grid-column: 1 / span 2;
}

/* @media (max-width: 768px) {
  .gallry {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 480px) {
  .gallry {
    grid-template-columns: repeat(2, 1fr);
  }
} */
