.ax-restricted-contact-wrap {
  margin-top: 18px;
  text-align: left;
}

.ax-restricted-contact-trigger {
  color: #3b82f6;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
}

.ax-restricted-contact-trigger:hover {
  color: #2563eb;
  text-decoration: underline;
}

.ax-restricted-contact-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483002;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ax-restricted-contact-modal.is-open {
  display: flex;
}

.ax-restricted-contact-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
}

.ax-restricted-contact-dialog {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 20px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}

.ax-restricted-contact-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ax-restricted-contact-modal-title {
  margin: 0;
  color: #111827;
  font-size: 18px;
  font-weight: 700;
}

.ax-restricted-contact-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #eef2ff;
  color: #4338ca;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.ax-restricted-contact-close:hover {
  background: #e0e7ff;
}

.ax-restricted-contact-content {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.ax-restricted-contact-item {
  padding: 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

.ax-restricted-contact-label {
  margin-bottom: 8px;
  color: #374151;
  font-size: 13px;
  font-weight: 700;
}

.ax-restricted-contact-phone {
  color: #111827;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
}

.ax-restricted-contact-qr {
  display: block;
  width: min(220px, 100%);
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.ax-restricted-contact-hint {
  margin: 10px 0 0;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.6;
}

.ax-sale-purchase-bar .ax-restricted-contact-wrap {
  width: 100%;
  margin-top: 0;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.ax-sale-purchase-bar .ax-restricted-contact-label,
.ax-sale-purchase-bar .ax-restricted-contact-phone {
  color: #ffffff;
}

.ax-sale-purchase-bar .ax-restricted-contact-trigger,
.ax-sale-purchase-bar .ax-restricted-contact-hint {
  color: #60a5fa;
}

.ax-sale-purchase-bar .ax-restricted-contact-item {
  background: rgba(15, 23, 42, 0.35);
  border-color: rgba(255, 255, 255, 0.1);
}

.ax-sale-purchase-bar .ax-restricted-contact-trigger:hover {
  color: #93c5fd;
}

.ax-sale-purchase-bar .ax-restricted-contact-dialog {
  color: #111827;
}

@media (max-width: 768px) {
  .ax-restricted-contact-wrap {
    margin-top: 14px;
  }

  .ax-restricted-contact-dialog {
    padding: 16px;
  }
}
