/* Smart Country Filter — additive UI only.
   No existing Matrix/Croix/Rejeté selectors are overridden here. */

.cid-smart-country-card {
  display: grid;
  gap: 7px;
  margin: 14px 0;
  padding: 12px 14px;
  border: 1px solid rgba(9, 98, 214, .14);
  border-radius: 12px;
  background: #f7faff;
  color: #0a1840;
}

.cid-smart-country-card label,
.cid-smart-country-label {
  color: #5b6678;
  font-size: 11px;
  font-weight: 800;
}

.cid-smart-country-card strong {
  font-size: 14px;
}

.cid-smart-country-select {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #cddcf3;
  border-radius: 9px;
  background: #fff;
  color: #0a1840;
  font: inherit;
  font-weight: 700;
}

.cid-smart-country-help,
.cid-smart-country-status {
  margin: 0;
  color: #687386;
  font-size: 11px;
  line-height: 1.4;
}

.cid-smart-country-status {
  color: #167447;
  font-weight: 800;
}

.cid-smart-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0;
  padding: 10px 12px;
  border: 1px solid rgba(9, 98, 214, .14);
  border-radius: 10px;
  background: #f7faff;
  color: #0a1840;
}

.cid-smart-toolbar-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.cid-smart-toolbar-copy strong {
  font-size: 12px;
}

.cid-smart-toolbar-copy span {
  color: #687386;
  font-size: 11px;
}

.cid-smart-other-button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid #0962d6;
  border-radius: 9px;
  background: #fff;
  color: #0962d6;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.cid-smart-other-button:hover,
.cid-smart-other-button:focus-visible {
  background: #eaf3ff;
  outline: none;
}

.cid-smart-rejected-group[data-smart-hidden="true"] {
  display: none !important;
}

.cid-smart-empty-note {
  margin: 10px 0 0;
  color: #687386;
  font-size: 12px;
}

@media (max-width: 520px) {
  .cid-smart-toolbar {
    align-items: stretch;
  }

  .cid-smart-other-button {
    width: 100%;
  }
}
