/* Vertical launcher (shows only when there are selected properties) */
#property-compare-launcher {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: #0ea5e9;
  color: #ffffff;
  border-radius: 8px 0 0 8px;
  border: 1px solid #0ea5e9;
  padding: 8px 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  z-index: 9999;
}
#property-compare-launcher:hover {
  background: #0284c7;
  border-color: #0284c7;
}

/* Flyout base */
#property-compare-flyout {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 320px;
  max-width: calc(100% - 40px);
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-radius: 10px;
  padding: 14px;
  z-index: 9999;
  font-family: inherit;
  font-size: 14px;
}

/* Header */
.igx-pcf-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:10px;
}
#property-compare-flyout-close {
  border:none;
  background:transparent;
  cursor:pointer;
  font-size:18px;
  line-height:1;
}

/* Slots (3 x 90px squares) */
.igx-pcf-slots {
  display:grid;
  grid-template-columns: repeat(3, 90px);
  justify-content:space-between;
  gap:8px;
  margin-bottom:12px;
}

.igx-pcf-slot {
  position:relative;
  width:90px;
  height:90px;
  overflow:hidden;
  border:1px dashed #cbd5e1;
  border-radius:8px;
  background:#f8fafc;
  cursor:pointer; /* click to remove */
}
.igx-pcf-slot-filled {
  border-style:solid;
  border-color:#0ea5e9;
}

/* Thumbnail inside slot */
.igx-pcf-thumb {
  position:absolute;
  inset:0;
  overflow:hidden;
}
.igx-pcf-thumb img {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Title overlay at bottom (doesn't grow the slot) */
.igx-pcf-title {
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  font-size:10px;
  color:#ffffff;
  background:rgba(15,23,42,0.75);
  padding:2px 3px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* Button + hint */
.igx-pcf-view-btn {
  width:100%;
  padding:10px 12px;
  border-radius:8px;
  border:1px solid #0ea5e9;
  background:#0ea5e9;
  color:#ffffff;
  cursor:pointer;
  font-weight:500;
}
.igx-pcf-view-btn[disabled] {
  background:#bae6fd;
  border-color:#0ea5e9;
  color:#075985;
  cursor:not-allowed;
}

.igx-pcf-hint {
  margin-top:8px;
  font-size:12px;
  color:#64748b;
}

/* Card button style (used on Ignitix Property Card) */
.igx-prop-compare-btn {
  width:28px;
  height:28px;
  border-radius:6px;
  border:1px solid #ec6122;
  background:#ec6122;
  color:#ffffff;
  font-weight:700;
  line-height:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  font-size:18px;
  padding:0;
}
.igx-prop-compare-btn.igx-prop-compare-selected {
  background:#ffffff;
  color:#ec6122;
}

/* Comparison page small tweak */
#igx-prop-compare-form {
  max-width: 600px;
}

/* Small screen: move flyout up a bit */
@media (max-width: 600px) {
  #property-compare-flyout {
    right: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
  }
}