/* OKKwork — выбор привязки результатов проверки при приглашении специалиста */
.okkwork-spec-invite-link {
  position: fixed;
  inset: 0;
  z-index: 100010;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  box-sizing: border-box;
  font-family: "Rubik", "Rubik-Medium", "Segoe UI", system-ui, sans-serif;
}

.okkwork-spec-invite-link__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 20, 34, 0.52);
  backdrop-filter: blur(6px);
}

.okkwork-spec-invite-link__frame {
  position: relative;
  width: min(520px, 100%);
  max-height: min(88vh, 720px);
  padding: 2px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(6, 88, 162, 0.95), rgba(26, 95, 158, 0.95));
  box-shadow: 0 28px 70px rgba(6, 40, 72, 0.35);
}

.okkwork-spec-invite-link__panel {
  background: #f8fafc;
  border-radius: 16px;
  padding: 24px;
  max-height: min(88vh, 716px);
  overflow: auto;
  box-sizing: border-box;
}

.okkwork-spec-invite-link__title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 600;
  color: rgba(59, 85, 109, 1);
}

.okkwork-spec-invite-link__lead {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(81, 95, 108, 1);
}

.okkwork-spec-invite-link__stats {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(6, 88, 162, 0.06);
  border: 1px solid rgba(6, 88, 162, 0.12);
  font-size: 14px;
  line-height: 1.5;
  color: rgba(59, 85, 109, 1);
}

.okkwork-spec-invite-link__options {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.okkwork-spec-invite-link__option {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid rgba(6, 88, 162, 0.18);
  border-radius: 12px;
  padding: 14px 16px;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.okkwork-spec-invite-link__option:hover {
  border-color: rgba(6, 88, 162, 0.45);
  box-shadow: 0 8px 20px rgba(6, 88, 162, 0.08);
}

.okkwork-spec-invite-link__option-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: rgba(6, 88, 162, 1);
  margin-bottom: 4px;
}

.okkwork-spec-invite-link__option-desc {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(81, 95, 108, 1);
}

.okkwork-spec-invite-link__cancel {
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 12px 18px;
  background: rgba(6, 88, 162, 0.08);
  color: rgba(6, 88, 162, 0.92);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.okkwork-spec-invite-link__cancel:hover {
  background: rgba(6, 88, 162, 0.14);
}
