/* =========================================================================
 * 58-job-recruit.css —— 我要招人（招聘者侧）四页复刻
 * 找人才 / 聊一聊 / 职位管理 / 我的 + 招聘版五宫格底栏
 * 依赖：58-tokens.css / 58-home.css / 58-job.css / 58-job-ext.css
 * ========================================================================= */

.page--jr { background: #F5F5F5; }
.page--jr .page__scroll { background: #F5F5F5; }
.page--jr button { font-family: inherit; }

/* =========================================================
 * 一、公共头栏 / 底栏 / 面板
 * ========================================================= */
.jr-top {
  flex: 0 0 auto;
  padding-top: 2px;
}
.jr-top--pink {
  background: linear-gradient(180deg, #FFD9D3 0%, #FFE9E3 44%, #FFF8F5 100%);
}
.jr-top--blue {
  padding-bottom: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .58) 100%),
    linear-gradient(100deg, #DCEBFF 0%, #F2E9FA 48%, #FFE9E3 100%);
}

.jr-nav {
  position: relative;
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 12px;
}
.jr-nav__back {
  width: 30px;
  height: 32px;
  margin-left: -7px;
  border: 0;
  background: none;
  padding: 0;
  color: #222;
  font-size: 28px;
  line-height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.jr-nav__title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 17px;
  font-weight: 600;
  color: #1A1A1A;
  white-space: nowrap;
}
.jr-nav__switch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 46px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  color: #333;
  font-size: 10px;
  line-height: 12px;
}
.jr-nav__switch .j58-i { width: 20px; height: 20px; }

.jr-arrow {
  margin-left: auto;
  font-style: normal;
  color: #C4C4C4;
  font-size: 19px;
  line-height: 16px;
}

/* 招聘版底栏：中间「免费发布」双行文案 */
.jr-tabbar .j58-tab__fab--free {
  display: block;
  box-sizing: border-box;
  padding-top: 8px;
  line-height: 15px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
}
/* 「我的」右上角小红点 */
.jr-tabbar .j58-tab__badge {
  left: calc(50% + 8px);
  right: auto;
  top: 8px;
  min-width: 0;
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
}

/* 复用 j58-sheet 的遮罩 / 面板，只补选项样式 */
.jr-sheet__opts {
  display: flex;
  flex-direction: column;
  padding-top: 4px;
}
.jr-sheet__opt {
  height: 44px;
  padding: 0 4px;
  border: 0;
  border-bottom: .5px solid #F4F4F4;
  background: none;
  text-align: left;
  font-size: 14.5px;
  color: #333;
}
.jr-sheet__opt.is-on { color: #FF552E; font-weight: 600; }
.jr-sheet__search { padding: 12px 0 2px; }
.jr-sheet__search input {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border: .5px solid #E6E6E6;
  border-radius: 19px;
  background: #F7F8FA;
  font-size: 14px;
  color: #333;
  outline: none;
  box-sizing: border-box;
}

/* 免费招人悬浮插画 */
.jr-float {
  position: absolute;
  right: 8px;
  width: 74px;
  height: 90px;
  z-index: 12;
}
.jr-float__x {
  position: absolute;
  top: -9px;
  right: -5px;
  z-index: 3;
  width: 17px;
  height: 17px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .18);
  color: #fff;
  font-size: 13px;
  line-height: 16px;
}
.jr-float__tag {
  position: absolute;
  top: 3px;
  right: 4px;
  z-index: 2;
  height: 15px;
  line-height: 15px;
  padding: 0 5px;
  border-radius: 8px 8px 8px 2px;
  background: linear-gradient(90deg, #A8E838, #63C60B);
  color: #fff;
  font-size: 9px;
  font-style: normal;
  white-space: nowrap;
}
.jr-float__body {
  position: absolute;
  left: 0;
  right: 4px;
  bottom: 0;
  height: 66px;
  border: 2px solid #FFD9A8;
  border-radius: 9px 9px 13px 13px;
  background: linear-gradient(180deg, #FFB84F 0%, #FF6A1E 100%);
  box-shadow: 0 4px 12px rgba(255, 110, 30, .28);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.jr-float__body b { font-size: 17px; line-height: 19px; font-weight: 800; letter-spacing: 1px; }

.jr-empty { padding: 52px 20px 60px; text-align: center; color: #999; }
.jr-empty b { display: block; font-size: 14px; color: #444; margin-bottom: 6px; }
.jr-empty p { margin: 0; font-size: 12px; }
.jr-end { padding: 4px 0 20px; text-align: center; font-size: 11px; color: #BFBFBF; }

/* =========================================================
 * 二、找人才
 * ========================================================= */
.jr-pick {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 14px 16px 13px;
  border-radius: 16px 16px 0 0;
  background: #fff;
}
.jr-pick__job {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
}
.jr-pick__job b {
  max-width: 156px;
  font-size: 19px;
  font-weight: 600;
  color: #1A1A1A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.jr-pick__state {
  flex: 0 0 auto;
  padding: 1px 4px;
  border-radius: 3px;
  background: #FFF0EA;
  color: #FF6A2C;
  font-size: 10px;
  font-style: normal;
}
.jr-pick__state.is-on { background: #EAF8F1; color: #2BA36B; }
.jr-pick__caret {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #B9B9B9;
}
.jr-pick__search {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  padding: 3px;
  border: 0;
  background: none;
  color: #222;
}
.jr-pick__search .j58-i { width: 22px; height: 22px; }

.jr-filter {
  display: flex;
  align-items: center;
  gap: 76px;
  height: 40px;
  padding: 0 34px;
  background: #F7F8FA;
}
.jr-filter button {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: none;
  color: #555;
  font-size: 13px;
  white-space: nowrap;
}
.jr-caret {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #A0A0A0;
}

.jr-warn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: #FFEDE7;
  color: #EF5320;
  font-size: 12.5px;
}
.jr-warn[hidden] { display: none; }
.jr-warn span { flex: 1 1 auto; min-width: 0; }
.jr-warn button {
  flex: 0 0 auto;
  height: 28px;
  padding: 0 12px;
  border: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, #FF7A2F, #FF4A0F);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
}

.jr-talents { padding: 10px 12px 0; }
.jr-card {
  position: relative;
  margin-bottom: 10px;
  padding: 14px 14px 12px;
  border-radius: 10px;
  background: #fff;
}
.jr-card__x {
  position: absolute;
  top: 2px;
  right: 6px;
  z-index: 2;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
  color: #C8C8C8;
  font-size: 17px;
  line-height: 18px;
}
.jr-card__ava {
  position: absolute;
  right: 14px;
  top: 24px;
  width: 52px;
  height: 52px;
}
.jr-card__ava img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #F0F0F0;
}
.jr-card__vip {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 16px;
  height: 16px;
  border: 1.5px solid #fff;
  border-radius: 50%;
  background: #FF4D4F;
}
.jr-card__vip::after {
  content: '招';
  display: block;
  color: #fff;
  font-size: 9px;
  line-height: 13px;
  text-align: center;
}
.jr-card__name {
  padding-right: 66px;
  font-size: 19px;
  font-weight: 600;
  line-height: 24px;
  color: #1A1A1A;
}
.jr-card__meta {
  display: flex;
  align-items: center;
  margin-top: 8px;
  font-size: 13.5px;
  color: #333;
}
.jr-card__sep { width: 1px; height: 11px; margin: 0 8px; background: #DDD; }
.jr-card__want {
  margin-top: 9px;
  font-size: 14px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.jr-card__want b { font-weight: 600; color: #1A1A1A; }
.jr-card__want i { font-style: normal; color: #BBB; }
.jr-card__tags { display: flex; gap: 6px; margin-top: 10px; overflow: hidden; }
.jr-card__tag {
  flex: 0 1 auto;
  max-width: 48%;
  padding: 4px 7px;
  border-radius: 3px;
  background: #F5F6F8;
  color: #777;
  font-size: 11.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.jr-card__intro {
  margin-top: 8px;
  padding: 7px 9px;
  border-radius: 4px;
  background: #F7F8FA;
  color: #666;
  font-size: 12.5px;
  line-height: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.jr-card__foot { display: flex; align-items: center; gap: 8px; margin-top: 11px; }
.jr-card__stat {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  color: #999;
  font-size: 11.5px;
  white-space: nowrap;
  overflow: hidden;
}
.jr-card__stat .j58-i { width: 13px; height: 13px; }
.jr-card__hi {
  flex: 0 0 auto;
  height: 30px;
  margin-left: auto;
  padding: 0 14px;
  border: 0;
  border-radius: 5px;
  background: linear-gradient(90deg, #FF7A2F, #FF4A0F);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.jr-card__hi.is-done { background: #F2F3F5; color: #999; font-weight: 400; }

/* =========================================================
 * 三、聊一聊
 * ========================================================= */
.jr-chat-tabs {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 40px;
  margin-top: 8px;
  padding: 0 16px;
  border-radius: 14px 14px 0 0;
  background: #fff;
}
.jr-chat-tabs button {
  position: relative;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  color: #666;
  font-size: 14px;
}
.jr-chat-tabs button.is-on { color: #1A1A1A; font-weight: 600; }
.jr-chat-tabs button.is-on::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 18px;
  height: 2.5px;
  border-radius: 2px;
  background: #FF552E;
  transform: translateX(-50%);
}
.jr-chat-tip { padding: 10px 14px 2px; font-size: 11.5px; color: #A0A0A0; }
.jr-chat-list { margin-top: 6px; background: #fff; }
.jr-chat { display: flex; align-items: flex-start; gap: 11px; padding: 13px 14px; }
.jr-chat + .jr-chat { border-top: .5px solid #F4F4F4; }
.jr-chat__ava { position: relative; flex: 0 0 auto; width: 46px; height: 46px; }
.jr-chat__ava img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #EEE;
}
.jr-chat__dot {
  position: absolute;
  top: -3px;
  right: -4px;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border: 1.5px solid #fff;
  border-radius: 8px;
  background: #FF3B30;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  line-height: 15px;
  text-align: center;
}
.jr-chat__main { flex: 1 1 auto; min-width: 0; }
.jr-chat__top { display: flex; align-items: center; gap: 6px; }
.jr-chat__top b { flex: 0 0 auto; font-size: 15.5px; color: #1A1A1A; }
.jr-chat__job {
  min-width: 0;
  font-size: 11px;
  color: #A0A0A0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.jr-chat__top time { margin-left: auto; flex: 0 0 auto; font-size: 11px; color: #B0B0B0; }
.jr-chat__msg {
  margin-top: 6px;
  font-size: 13px;
  color: #777;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* =========================================================
 * 四、职位管理
 * ========================================================= */
.jr-jobtabs {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  height: 44px;
  padding: 0 16px;
  border-bottom: .5px solid #F0F0F0;
  background: #fff;
}
.jr-jobtabs button {
  position: relative;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: #888;
  font-size: 14px;
}
.jr-jobtabs button.is-on { color: #1A1A1A; font-size: 15px; font-weight: 700; }
.jr-jobtabs button.is-on::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 18px;
  height: 2.5px;
  border-radius: 2px;
  background: #FF552E;
  transform: translateX(-50%);
}
.jr-jobblank { min-height: 160px; background: #fff; }
.jr-jobcard { padding: 18px 16px 20px; background: #fff; }
.jr-jobcard + .jr-jobcard { border-top: .5px solid #F2F2F2; }
.jr-jobcard__title { font-size: 19px; font-weight: 700; color: #1A1A1A; }
.jr-jobcard__meta { display: flex; align-items: center; margin-top: 10px; font-size: 13px; color: #999; }
.jr-jobcard__sep { width: 1px; height: 10px; margin: 0 8px; background: #DDD; }
.jr-jobcard__btn {
  display: block;
  height: 32px;
  margin: 14px 0 0 auto;
  padding: 0 14px;
  border: .5px solid #DDD;
  border-radius: 5px;
  background: #fff;
  color: #333;
  font-size: 13px;
}
.jr-jobcard__review {
  display: block;
  margin: 14px 0 0 auto;
  text-align: right;
  color: #FF8A00;
  font-size: 12px;
}
.jr-jobs-empty { padding: 56px 20px; background: #F5F5F5; text-align: center; color: #BBB; font-size: 13px; }
.jr-newjob {
  flex: 0 0 auto;
  height: 44px;
  margin: 8px 12px;
  border: 0;
  border-radius: 22px;
  background: linear-gradient(90deg, #FFC224, #FF6A18);
  box-shadow: 0 3px 10px rgba(255, 120, 20, .25);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

/* =========================================================
 * 五、我的（招聘者）
 * ========================================================= */
.page--jr-mine .page__scroll { padding-bottom: 12px; }
.jr-me {
  margin: 10px 12px 0;
  padding: 14px 14px 12px;
  border-radius: 12px;
  background: #fff;
}
.jr-me__profile {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 0 0 14px;
  border: 0;
  background: none;
}
.jr-me__ava {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #EDEDED;
  color: #B9B9B9;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.jr-me__edit { font-size: 14.5px; color: #999; }
.jr-me__profile .jr-arrow { margin-left: 3px; font-size: 16px; vertical-align: 1px; }
.jr-me__line { height: .5px; background: #F0F0F0; }
.jr-me__co { display: flex; align-items: center; gap: 8px; padding: 15px 0 12px; }
.jr-me__co b { font-size: 16.5px; font-weight: 700; color: #1A1A1A; }
.jr-me__kf {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  margin-left: auto;
  padding: 4px;
  border: 0;
  border-radius: 50%;
  background: #FFF2ED;
  color: #FF552E;
}
.jr-me__kf .j58-i { width: 18px; height: 18px; }
.jr-me__zm {
  display: flex;
  align-items: center;
  gap: 5px;
  width: 100%;
  height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(90deg, #EBF3FF, #F5F9FF);
  color: #4C7BFF;
  font-size: 12.5px;
}
.jr-me__zm .j58-i { width: 15px; height: 15px; }
.jr-me__zm span { flex: 1 1 auto; text-align: left; }
.jr-me__zm .jr-arrow { color: #9FB6DE; font-size: 16px; }

.jr-me__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.jr-me__tile {
  position: relative;
  height: 64px;
  padding: 10px;
  border: 0;
  border-radius: 8px;
  text-align: left;
  overflow: hidden;
}
.jr-me__tile--green { background: linear-gradient(110deg, #E6FAF0, #DBF5E9); }
.jr-me__tile--blue { background: linear-gradient(110deg, #EAF3FF, #DEEBFF); }
.jr-me__tile b { display: block; font-size: 14px; color: #1A1A1A; }
.jr-me__tile i {
  display: inline-block;
  margin-top: 7px;
  padding: 2px 8px;
  border-radius: 10px;
  background: #2FB37A;
  color: #fff;
  font-size: 10.5px;
  font-style: normal;
}
.jr-me__tile--blue i { background: #FF5A2C; }
.jr-me__tile i em { font-style: normal; }
.jr-me__tileico { position: absolute; right: 8px; bottom: 6px; opacity: .42; }
.jr-me__tileico .j58-i { width: 34px; height: 34px; }
.jr-me__tile--green .jr-me__tileico { color: #2FB37A; }
.jr-me__tile--blue .jr-me__tileico { color: #5B8FE8; }

.jr-quick3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 10px 12px 0;
  padding: 14px 4px;
  border-radius: 12px;
  background: #fff;
}
.jr-quick3__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 2px;
  border: 0;
  background: none;
}
.jr-quick3__item + .jr-quick3__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: .5px;
  background: #F0F0F0;
}
.jr-quick3__ico { color: #FF552E; }
.jr-quick3__ico .j58-i { width: 22px; height: 22px; }
.jr-quick3__ico--bag { color: #FF6B3D; }
.jr-quick3__ico--zm { color: #FF8A00; }
.jr-quick3__item b { font-size: 13.5px; color: #222; }
.jr-quick3__item > span { font-size: 11px; color: #A0A0A0; }

.jr-melist { margin: 10px 12px 0; padding: 2px 14px; border-radius: 12px; background: #fff; }
.jr-melist__row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 52px;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
}
.jr-melist__row + .jr-melist__row { border-top: .5px solid #F4F4F4; }
.jr-melist__ico { color: #444; }
.jr-melist__ico .j58-i { width: 21px; height: 21px; }
.jr-melist__row b { font-size: 14.5px; font-weight: 500; color: #222; }
.jr-me__tel { padding: 18px 12px 8px; text-align: center; font-size: 11.5px; color: #B5B5B5; }

/* 小屏兜底 */
@media (max-width: 360px) {
  .jr-pick__job b { max-width: 120px; font-size: 17px; }
  .jr-filter { gap: 52px; padding: 0 24px; }
  .jr-card__name { font-size: 17.5px; }
  .jr-card__want { font-size: 13px; }
  .jr-jobtabs { gap: 18px; }
  .jr-melist__row b { font-size: 13.5px; }
}
