.propertyofferlist_grid {
  display: grid;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
}
.propertyofferlist_grid.listhead div {
  font-weight: bold;        /* bold header text */
  font-size: 0.75rem;       /* slightly smaller than data */
  text-align: center;       /* center align */
  white-space: nowrap;      /* prevent wrapping */
  overflow: hidden;
  text-overflow: ellipsis;  /* truncate long headers */
}

.propertyofferlist_grid.prodsite {
  grid-template-columns: 75px repeat(11, 1fr);
}

.propertyofferlist_grid.devsite {
  grid-template-columns: 50px 50px repeat(12, 1fr);
}

.propertyofferlist_borders {
  border-bottom: 1px solid #ccc;
}

.propertyofferlist_grid:nth-child(odd) {
    background: white;
}
.icon-accept { color: limegreen; }
.icon-counter { color: blue; }
.icon-highest-best { color: gold; }
.icon-reject { color: red; }
.action-icons i {
    margin: 0 5px;
    cursor: pointer;
}
.action-icons i:hover {
    color: #007bff; 
}
.propertyoffer-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 15px;
}
.propertyoffer-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.propertyofferlist_grid input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}
.propertyofferlist_grid > div:nth-child(2) .propertyoffer-checkbox {
    margin-left: 15px;
}

.propertyofferlist_grid > div {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 1rem;
}

.propertyofferlist_headers {
    font-weight: bolder;
    font-size: x-large;
    border-bottom: 1px solid black;
    padding: 8px 8px 8px 8px;
}

.propertyofferlist_borders {
    border-right: 1px solid black;
    border-bottom: 1px solid black;
    background-color: transparent;
}

.propertyofferlist-table {
    max-height: 500px;
    overflow-y: scroll;
}
.propertyofferspace, .propertyofferlist-container {
    min-height: 50px;
}

.propertyoffer__header {
    height: 50px;
    line-height: 50px;
    text-align: center;
    color: white;
    font-size: 1.7rem;
    font-weight: 600;
}

.propertyoffer__backButton {
    left: 12px;
    line-height: 50px;
    font-weight: 200;
    font-size: 2.1rem;
    color: white;
    float: left;
  }

.modalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modalContent {
    position: relative;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 70vw;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.closeButton {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: transparent;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #666;
    line-height: 1;
}

.closeButton:hover {
    color: #000;
}


@media screen and (max-width: 991px) {
    .propertyofferlist_grid {
        display: grid;
        grid-template-columns: 75px repeat(12, 20%);
        grid-template-rows: 2fr;
        grid-column-gap: 0px;
        grid-row-gap: 0px;
    }

    .propertyofferlist_grid > div {
        font-size: 1.2rem;
        font-weight: bold;
    }

    .propertyofferlist_borders {
        border: none;
    }
}

