/* Students Home - styling for rows/cards that JavaScript builds from live data.
   The designed sample rows were styled by element IDs; live rows have no such IDs,
   so they were showing in plain browser fonts and grey default buttons.
   These class-based rules give live rows the same look as the designed ones. */

/* ---------- My listings / Managed listings (landlord + agent) ---------- */
.shml-listing-cell,.shml-price-cell,.shml-status-cell,.shml-actions-cell{
  box-sizing:border-box;display:table-cell;padding:10px 16px;border-bottom:1px solid #E5E9E3;
  vertical-align:middle;text-align:left;color:#202923;
  font-family:"DM Sans",system-ui,sans-serif;font-size:14.72px;font-weight:400;line-height:22.08px}
.shml-listing-title{color:#202923;font-family:"DM Sans",system-ui,sans-serif;font-size:14.72px;font-weight:600;line-height:22.08px}
.shml-listing-location{color:#718078;font-family:"DM Sans",system-ui,sans-serif;font-size:12.27px;font-weight:400;line-height:18.4px}
.shml-price-cell{white-space:nowrap;font-weight:600}
.shml-status{display:inline-block;border-radius:99px;padding:2px 10px;background:#E5F0E8;color:#174D39;
  font-family:"DM Sans",system-ui,sans-serif;font-size:12.48px;font-weight:600;line-height:18.72px;text-transform:capitalize}
.shml-actions-wrap{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:0 4px}
.shml-action-button{box-sizing:border-box;display:inline-block;margin:0;padding:6px 16px;cursor:pointer;
  color:#174D39;background:#fff;border:1px solid #174D39;border-radius:10px;
  font-family:"DM Sans",system-ui,sans-serif;font-size:14.08px;font-weight:700;line-height:21.12px;text-align:center;
  transition:background-color .15s ease,box-shadow .15s ease}
.shml-action-button:hover{background:#E5F0E8}
.shml-action-button[data-listing-action="feature"],
.shml-action-button[data-listing-action="spotlight"]{color:#1c1405;background:#F48C06;border-color:#F48C06}
.shml-action-button[data-listing-action="feature"]:hover,
.shml-action-button[data-listing-action="spotlight"]:hover{background:#e08000;border-color:#e08000}
.shml-action-button.shml-delete{color:#b3261e;border-color:#b3261e;background:#fff}
.shml-action-button.shml-delete:hover{background:#fdeceb}
.shml-action-button:disabled{opacity:.6;cursor:not-allowed}
.shml-action-button:focus-visible{outline:2px solid #F48C06;outline-offset:2px}

/* ---------- Enquiry cards (student + landlord inboxes) ---------- */
.sh-live-card:not(.sh-agent-card){box-sizing:border-box;margin:0 0 12px;display:flex;gap:14px;align-items:center;
  background:#fff;border:1px solid #E5E9E3;border-radius:14px;padding:14px;
  box-shadow:rgba(23,77,57,.05) 0 1px 2px,rgba(23,77,57,.06) 0 8px 22px}
.sh-live-card:not(.sh-agent-card):hover{border-color:rgb(201,220,207)}
.sh-live-card:not(.sh-agent-card)>span[data-states="delete"]{display:inline-flex;flex:none}
.sh-live-card:not(.sh-agent-card)>button{flex:none;margin:0}
@media (max-width:520px){
  .sh-live-card:not(.sh-agent-card){flex-wrap:wrap}
  .sh-live-card .sh-card-main{flex-basis:calc(100% - 40px)}
}
