.wz-collection-share-launch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin: 10px 0 18px;
  padding: 8px 16px;
  border: 1px solid rgb(var(--v-theme-primary, 239, 71, 111));
  border-radius: 8px;
  background: #fff;
  color: rgb(var(--v-theme-primary, 239, 71, 111));
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.wz-collection-share-launch:hover {
  background: rgba(var(--v-theme-primary, 239, 71, 111), 0.08);
}

.wz-collection-share-launch:focus-visible,
.wz-collection-share-dialog button:focus-visible,
.wz-collection-share-dialog input:focus-visible {
  outline: 3px solid rgba(25, 118, 210, 0.32);
  outline-offset: 2px;
}

.wz-collection-share-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(12, 24, 38, 0.58);
}

.wz-collection-share-dialog {
  width: min(620px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-radius: 14px;
  background: #fff;
  color: #1f2937;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.wz-collection-share-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px 15px;
  border-bottom: 1px solid #e5e7eb;
}

.wz-collection-share-title {
  margin: 0;
  color: #111827;
  font-size: 1.35rem;
  line-height: 1.3;
}

.wz-collection-share-name {
  margin: 5px 0 0;
  color: #6b7280;
  font-size: 0.92rem;
}

.wz-collection-share-close {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #4b5563;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.wz-collection-share-close:hover {
  background: #f3f4f6;
}

.wz-collection-share-body {
  padding: 22px 24px 24px;
}

.wz-collection-share-copy,
.wz-collection-share-loading {
  margin: 0 0 18px;
  color: #4b5563;
  line-height: 1.55;
}

.wz-collection-share-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 14px;
}

.wz-collection-share-dialog label {
  display: block;
  color: #374151;
  font-size: 0.9rem;
  font-weight: 700;
}

.wz-collection-share-input {
  width: 100%;
  min-height: 44px;
  margin-top: 7px;
  padding: 9px 11px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  font: inherit;
  box-sizing: border-box;
}

.wz-collection-share-input:focus {
  border-color: #1976d2;
}

.wz-collection-share-linkbox {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid #cfe3f8;
  border-radius: 10px;
  background: #f4f9ff;
}

.wz-collection-share-linkrow {
  display: flex;
  align-items: stretch;
  gap: 9px;
}

.wz-collection-share-linkrow .wz-collection-share-input {
  flex: 1;
}

.wz-collection-share-status {
  min-height: 22px;
  margin-top: 14px;
  color: #166534;
  font-size: 0.92rem;
}

.wz-collection-share-status.is-error {
  color: #b91c1c;
}

.wz-collection-share-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.wz-collection-share-dialog button {
  min-height: 42px;
  padding: 9px 15px;
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.wz-collection-share-dialog button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.wz-collection-share-primary {
  border: 1px solid rgb(var(--v-theme-primary, 239, 71, 111));
  background: rgb(var(--v-theme-primary, 239, 71, 111));
  color: #fff;
}

.wz-collection-share-primary:hover {
  filter: brightness(0.94);
}

.wz-collection-share-secondary {
  align-self: flex-end;
  border: 1px solid #1976d2;
  background: #fff;
  color: #1976d2;
  white-space: nowrap;
}

.wz-collection-share-danger {
  border: 1px solid #dc2626;
  background: #fff;
  color: #b91c1c;
}

@media (max-width: 640px) {
  .wz-collection-share-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .wz-collection-share-dialog {
    width: 100%;
    max-height: 92vh;
    border-radius: 16px 16px 0 0;
  }

  .wz-collection-share-header,
  .wz-collection-share-body {
    padding-left: 18px;
    padding-right: 18px;
  }

  .wz-collection-share-fields {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .wz-collection-share-linkrow,
  .wz-collection-share-actions {
    flex-direction: column;
  }

  .wz-collection-share-actions button,
  .wz-collection-share-secondary {
    width: 100%;
  }
}
