/*!
 * Compact white Unlock Contact card (search + carer details)
 * Heading+subheading one line; button 50% width with benefit inline.
 */
.tc-unlock-card {
  --tc-unlock-teal: #0f5a60;
  --tc-unlock-text: #0f5a60;
  --tc-unlock-muted: #6b7c80;
  --tc-unlock-line: rgba(15, 90, 96, 0.12);
  --tc-unlock-check: #2f9e77;
  display: block;
  width: 100%;
  max-width: 600px;
  margin-top: 12px;
  padding: 12px 16px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid var(--tc-unlock-line);
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(15, 90, 96, 0.07);
  color: var(--tc-unlock-text);
}

.search-card-new-listview-flex-bottom .tc-unlock-card,
.search-card-carer-unlock-box.tc-unlock-card {
  align-self: stretch;
  max-width: none;
}

.tc-unlock-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 10px;
}

.tc-unlock-card__titles {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
  min-width: 0;
  flex: 1;
}

.tc-unlock-card__heading {
  margin: 0;
  color: var(--tc-unlock-text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.tc-unlock-card__desc {
  margin: 0;
  color: var(--tc-unlock-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.tc-unlock-card__lock {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: #9aa8ab;
  margin: 0;
}

.tc-unlock-card__lock svg {
  display: block;
  width: 18px;
  height: 18px;
}

.tc-unlock-card__cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.tc-unlock-card__btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 50%;
  width: 50%;
  max-width: 50%;
  min-height: 42px;
  padding: 10px 14px;
  box-sizing: border-box;
  border: none;
  border-radius: 10px;
  background: var(--tc-unlock-teal) !important;
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-decoration: none !important;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.tc-unlock-card__btn:hover,
.tc-unlock-card__btn:focus {
  opacity: 0.92;
  color: #fff !important;
  text-decoration: none !important;
}

.tc-unlock-card__benefit {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: var(--tc-unlock-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
}

.tc-unlock-card__benefit-icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: var(--tc-unlock-check);
}

.tc-unlock-card__benefit-icon svg {
  display: block;
  width: 14px;
  height: 14px;
}

.tc-unlock-card__footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--tc-unlock-line);
}

.tc-unlock-card__or-plans {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.tc-unlock-card__or {
  color: var(--tc-unlock-muted);
  font-size: 12px;
  font-weight: 500;
}

.tc-unlock-card__plans {
  color: var(--tc-unlock-teal) !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

.tc-unlock-card__plans:hover,
.tc-unlock-card__plans:focus {
  color: #0a454a !important;
}

.tc-unlock-card__save {
  color: #8a989b;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  text-align: right;
  white-space: nowrap;
}

.search-card-new-listview-featured .tc-unlock-card__btn,
.tc-unlock-card--featured .tc-unlock-card__btn {
  background: #db6b66 !important;
}

.search-card-new-listview-featured .tc-unlock-card__plans,
.tc-unlock-card--featured .tc-unlock-card__plans {
  color: #db6b66 !important;
}

.search-card-carer-unlock-box.tc-unlock-card,
.search-card-new-listview .search-card-carer-unlock-box.tc-unlock-card,
.search-card-new-listview-featured .search-card-carer-unlock-box.tc-unlock-card {
  background: #fff !important;
  border: 1px solid rgba(15, 90, 96, 0.12) !important;
  box-shadow: 0 6px 18px rgba(15, 90, 96, 0.07) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: visible;
  padding: 12px 16px;
}

.carer-profile-cta-stack .tc-unlock-card {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 767px) {
  .tc-unlock-card {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 14px;
  }

  .tc-unlock-card__heading {
    font-size: 14px;
    white-space: normal;
  }

  .tc-unlock-card__desc {
    font-size: 12px;
  }

  .tc-unlock-card__cta-row {
    gap: 8px;
  }

  .tc-unlock-card__btn {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
    min-height: 38px;
    font-size: 13px;
    padding: 8px 10px;
  }

  .tc-unlock-card__benefit {
    font-size: 11px;
  }

  .tc-unlock-card__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-top: 8px;
    padding-top: 8px;
  }

  .tc-unlock-card__save {
    text-align: left;
    white-space: normal;
  }
}

@media (max-width: 420px) {
  .tc-unlock-card__cta-row {
    flex-wrap: wrap;
  }

  .tc-unlock-card__btn {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }
}
