/* Management Positions Page Styles - Exact Pixel Parity */
.task-page {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  background-color: #f7f8fa;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  box-sizing: border-box;
}

/* Green Header Card */
.task-page .task_top_card {
  width: 100%;
  background-color: #111827;
  box-sizing: border-box;
}

.task-page .nav-bar {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 16px;
  position: relative;
  background-color: #111827;
}

.task-page .back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  width: 24px;
  height: 24px;
}

.task-page .page-title {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
  pointer-events: none;
}

.task-page .task_top_card .data_box {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
  padding: 12px 14px 22px;
  box-sizing: border-box;
}

.task-page .task_top_card .data_box .top_tag {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 14px;
  text-align: center;
}

.task-page .task_top_card .data_box .top_box_info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  font-size: 11px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.95);
  box-sizing: border-box;
  gap: 12px;
}

.task-page .task_top_card .data_box .top_box_info span {
  flex: 1;
}
.task-page .task_top_card .data_box .top_box_info span:first-child {
  text-align: left;
}
.task-page .task_top_card .data_box .top_box_info span:last-child {
  text-align: right;
}

/* Position Cards List Container */
.task-page .uni-collapse {
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  background-color: #f7f8fa;
  flex: 1;
}

/* Individual Position Card */
.task-page .postmanage_data_box {
  background: #ffffff;
  border-radius: 12px;
  margin-bottom: 14px;
  padding: 16px 14px 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  box-sizing: border-box;
}

/* Top Row: Medal, Title, Tag, Apply Button */
.task-page .postmanage_data_box .postmanage_box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.task-page .postmanage_data_box .postmanage_box .postmanage_img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  flex-shrink: 0;
}

.task-page .postmanage_data_box .postmanage_box .postmanage_name_box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  flex: 1;
}

.task-page .postmanage_data_box .postmanage_box .postmanage_name_box .postmanage_name {
  font-size: 15px;
  font-weight: 600;
  color: #111111;
  margin: 0;
}

.task-page .postmanage_data_box .postmanage_box .postmanage_name_box .tag {
  background: #f4f6fa;
  border-radius: 12px;
  padding: 3px 10px;
  font-size: 11px;
  color: #9aa4b2;
  line-height: 14px;
  display: inline-block;
}

.task-page .postmanage_data_box .postmanage_box .postmanage_name_box .tag1 {
  background: #eafaf1;
  color: #111827;
  font-weight: 500;
}

.task-page .postmanage_data_box .postmanage_box .bottom_btn_con {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

.task-page .postmanage_data_box .postmanage_box .bottom_btn_con .bottom_btn {
  width: 86px;
  height: 36px;
  background: #111827;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
  outline: none;
}

.task-page .postmanage_data_box .postmanage_box .bottom_btn_con .bottom_btn.disable {
  background: #b2b2b2 !important;
  opacity: 0.85;
  cursor: not-allowed;
}

/* Requirements Box */
.task-page .postmanage_data_box .main_box {
  background: #f5f8ff;
  border-radius: 8px 8px 0 0;
  padding: 12px 14px;
  box-sizing: border-box;
}

.task-page .postmanage_data_box .main_box .title {
  font-size: 13px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 8px;
}

.task-page .postmanage_data_box .main_box .condition_box .tag_box {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #555555;
  margin-bottom: 6px;
}

.task-page .postmanage_data_box .main_box .condition_box .tag_box .job_req {
  flex: 1;
}

.task-page .postmanage_data_box .main_box .condition_box .progress_box {
  display: flex;
  align-items: center;
  margin: 6px 0 8px;
}

.task-page .postmanage_data_box .main_box .condition_box .progress_box .progress_track {
  flex: 1;
  height: 5px;
  background: #e4e9f2;
  border-radius: 3px;
  overflow: hidden;
  margin-right: 10px;
}

.task-page .postmanage_data_box .main_box .condition_box .progress_box .themeColor {
  font-size: 12px;
  font-weight: 600;
  color: #111827;
  min-width: 32px;
  text-align: right;
}

.task-page .postmanage_data_box .main_box .condition_box .hint_box {
  font-size: 11.5px;
  line-height: 1.45;
}

.task-page .postmanage_data_box .main_box .condition_box .hint_box .hint {
  color: #5385fa;
  font-weight: 500;
}

.task-page .postmanage_data_box .main_box .condition_box .hint_box .content {
  color: #666666;
}

/* Green Chevron Toggle Button */
.task-page .postmanage_data_box .down_arrow_con {
  background: #111827;
  border-radius: 0 0 8px 8px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.task-page .postmanage_data_box .down_arrow_con .down_arrow_con_bg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Expanded Social Benefits Section */
.task-page .postmanage_data_box .content .info_box {
  margin-top: 14px;
  border-top: 1px solid #f0f2f5;
  padding-top: 8px;
  box-sizing: border-box;
}

.task-page .postmanage_data_box .content .info_box .title {
  font-size: 14px;
  font-weight: 700;
  color: #111111;
  text-align: center;
  margin: 12px 0 10px;
}

.task-page .postmanage_data_box .content .info_box .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 14px;
  background: #f5f8ff;
  font-size: 12.5px;
}

.task-page .postmanage_data_box .content .info_box .row:nth-child(2n) {
  background: #ffffff;
}

.task-page .postmanage_data_box .content .info_box .row .tag {
  color: #666666;
}

.task-page .postmanage_data_box .content .info_box .row .value {
  color: #111111;
  font-weight: 600;
}

/* Footer visibility rule: hide when on position page */
#app:has(.task-page) #footer,
#app:has(.task-page) .footer,
#app:has(.task-page) .footer_box,
#app:has(.task-page) .van-tabbar {
  display: none !important;
}
