/* Child Theme - Custom CSS File for Buyers to Modify */

/* Change Status */
/* ✅ Ensure "Change Status" Button is on the Right */
.property-button {
    position: relative;
    padding: 14px 10px 11px 14px;

}


/* Popup Overlay */  
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

/* Popup Content */
.popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.popup-content h3 {
    margin-bottom: 15px;
}

.popup-content label {
    display: block;
    font-size: 16px;
    margin: 5px 0;
    cursor: pointer;
}

.popup-content input[type="radio"] {
    margin-right: 8px;
}

.popup-content button {
    padding: 8px 12px;
    border: none;
    cursor: pointer;
}

#save-status {
    background: #007bff;
    color: white;
    border-radius: 5px;
}

#close-popup {
    background: red;
    color: white;
    border-radius: 5px;
    margin-left: 5px;
}

/* End Change Status */


/* css for map popup content */

/* Adjust spacing for price */
.osm-popup-price {
    font-size: 14px; /* Ensure readable size */
    font-weight: bold;
    color: #df5400; /* Price color */
    margin-top: -5px; /* Moves price closer to title */
    display: block;
  }
  
  /* Ensure the price wrapper has minimal spacing */
  .osm-popup-price p {
    margin: 5px 0 0; /* Reduce top margin */
    padding: 0;
  }
  
  /* Ensure meta container aligns properly */
  .property-meta-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 20px; /* Matches the title padding */
    margin-top: 5px; /* Add slight spacing below price */
  }
  
  /* Adjust spacing between meta items */
  .property-meta-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
    padding: 0;
    border-radius: 0;
    min-width: auto;
    justify-content: flex-start;
    gap: 8px; /* Increase space between icon & text */
    background: none;
    margin-bottom: 5px; /* Add space between rows */
  }
  
  /* Icons */
  .property-meta-item svg {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    fill: #1ea69a;
  }
  
  /* Adjust grid spacing to spread out items */
  .property-meta-grid {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px; /* Increase spacing between items */
    width: 100%;
  }
  

  
.scroll {
    max-height: 300px; /* Limit the height for scrolling */
    overflow-y: auto;  /* Enable vertical scrolling */
    overflow-x: hidden; /* Hide horizontal scrolling */
    padding-right: 5px; /* Optional: Add padding for aesthetics */
}

/* end css for map popup content */

/* similar properties */
.property-grid .property-item .custom-price {
    color: #df5400; /* Price color */
    margin-bottom: 5px;
}

/* Ensure meta container aligns properly */
.property-grid .property-item .property-meta-container {
    /* display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px; */

    /* border: 1px solid #dedede; */
    margin: 0;
    background-color: #f5f5f5;
    /* border-color: #dedede; */
    width: auto;
    padding: 10px 0 0;
    

    text-align: left;
    /* border: 1px solid #dedede; */
    background-color: #fff;
    margin-bottom: 30px;
}    

  
  .property-grid .property-item .property-meta-container span{
    
    float: none;
    display: block;
    margin: 0;
    border: none;
    border-bottom: 1px solid #dedede;



  }


  .property-grid .property-item .property-meta-container .property-custom-meta {
    
    /* float: none;
    display: block;
    margin: 0;
    border: none;
    border-bottom: 1px solid #dedede; */

    color: #394041;
    font-size: 10px;
    font-weight: 100;    

    padding-right: 5px;
    padding-top: 5px;
    border-color: #f5f5f5;
    min-height: 16px;
    min-width: 86px;
    height: auto !important;
    width: 100%;

    }

  /* ✅ Ensure SVG Matches Text Size */
  .property-grid .property-item .property-meta-container .property-custom-meta svg {
    margin-right: 5px;
    vertical-align: top;
 }
  