/*
 * Egypt Villas - Compound City Bridge v6
 * Safe bridge CSS. Only affects bridge UI.
 */

.ev-compound-bridge {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(16, 44, 70, .12);
}

.ev-compound-bridge-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.ev-compound-bridge-title {
  margin: 0;
  font-size: 12px;
  font-weight: 900;
  color: #102c46;
  text-align: left;
  direction: ltr;
}

.ev-compound-bridge-note {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  color: rgba(16, 44, 70, .68);
}

.ev-compound-bridge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.ev-compound-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  font-size: 12px;
  color: #102c46;
  background: rgba(42, 120, 93, .10);
  border: 1px solid rgba(42, 120, 93, .28);
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}

.ev-compound-pill:hover {
  background: rgba(42, 120, 93, .18);
  border-color: rgba(42, 120, 93, .45);
  transform: translateY(-1px);
}

.ev-compound-pill.is-active {
  background: #102c46;
  border-color: #102c46;
  color: #fff;
}

.ev-compound-clear {
  background: rgba(191, 143, 42, .12);
  border-color: rgba(191, 143, 42, .42);
  color: #102c46;
}

@media (max-width: 760px) {
  .ev-compound-bridge-head {
    display: block;
  }

  .ev-compound-bridge-note {
    margin-top: 4px;
    text-align: left;
    direction: rtl;
  }

  .ev-compound-pill {
    min-height: 32px;
    padding: 7px 10px;
    font-size: 11px;
  }
}

/* v5: lighter search bridge, no API loading loop, stable compound clicks. */

.ev-compound-bridge-note {
  max-width: 820px;
  line-height: 1.65;
}
.ev-compound-bridge-title {
  margin-bottom: 2px;
}
