:root {
  --primary-color: #2778f8;
  --red-color: #ff4c52;
}

html {
  -webkit-tap-highlight-color: transparent
}

body {
  margin: 0;
  background: #f4f4f4;
  color: #333;
  font-size: 13px;
  font-family: -apple-system,
    BlinkMacSystemFont,
    "Helvetica Neue",
    Helvetica,
    Segoe UI,
    Arial,
    Roboto,
    "PingFang SC",
    "miui",
    "Hiragino Sans GB",
    "Microsoft Yahei",
    sans-serif;
}

*,
*:after,
*:before {
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none
}

ol,
ul {
  margin: 0;
  padding: 0;
  list-style: none
}

main {
  padding: 12px 12px 150px;
}

.block-content {
  background: white;
  border-radius: 8px;
  padding: 10px;
}

._text-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

._btn {
  display: grid;
  place-content: center;
  background: var(--primary-color);
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  transition: all .3s;
  height: 30px;
  border-radius: 15px;
  padding: 0 8px;
  white-space: nowrap;

  &:hover {
    opacity: .8;
  }
}

footer {
  background: white;
  box-shadow: 0 0 10px #ccc;
  height: 68px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;

  img {
    width: 24px;
    height: 24px;
  }

  a {
    display: grid;
    place-content: center;
    gap: 5px;
  }

  #download {
    position: relative;

    &::before {
      content: '';
      display: block;
      height: 24px;

    }

    img {
      width: 60px;
      height: 60px;
      position: absolute;
      top: -20px;
      left: calc(50% - 30px);
    }

  }
}

.job-list {
  display: grid;
  gap: 10px;
}

.job-item {
  display: grid;
  gap: 10px;
  cursor: pointer;

  .item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
  }

  .job-title {
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 1;
  }

  .salary {
    color: var(--red-color);
    font-weight: bold;
    font-size: 15px;
    display: flex;
    align-items: center;
    white-space: nowrap;

    img {
      width: 20px;
      height: 20px;
      object-fit: contain;
      margin-left: 10px;
    }
  }

  .item-address {
    white-space: nowrap;
    margin-right: 6px;
  }

  .welfares {
    span {
      font-size: 12px;
      line-height: 24px;
      padding: 0 5px;
      display: inline-block;
      margin-left: 5px;
      background: #f6f6f6;
      color: #666;
    }
  }

  .company {
    display: flex;
    align-items: center;
    color: #666;

    img {
      margin-right: 4px;
      border-radius: 4px;
    }

    .company-name {
      max-width: 220px;
      display: block;
    }
  }
}

.hidden {
  display: none !important;
}

#login_guide {
  display: flex;
  align-items: center;
  height: 52px;
  background: #3C4556;
  position: fixed;
  bottom: 86px;
  left: 12px;
  right: 12px;
  z-index: 99;
  color: #FFF;
  border-radius: 12px;
  font-size: 14px;
  justify-content: space-between;
  padding: 12px;
}

.btn_close {
  width: 14px;
  height: 14px;
  filter: brightness(1.5);
}

.btn-go-wx {
  flex-shrink: 0;
}

.guide_left {
  display: flex;
  align-items: center;
}

.ypzp_icon {
  width: 32px;
  height: 32px;
  margin: 0 12px;
  display: block;
}

.icon_right {
  height: 12px;
  margin-left: 6px;
}

#globalDialog {
  border: none;
  padding: 0;
  overflow: hidden;
  outline: none;
  overscroll-behavior: none;
  background: none;
  border-radius: 0;
  max-width: none;
  max-height: none;


  &::backdrop {
    background: rgba(0, 0, 0, 0.5);
    /* backdrop-filter: blur(3px); */
  }

  .confirm {
    width: 320px;
    display: grid;
    padding: 0;
    text-align: center;
    padding-top: 26px;
    background: white;
    border-radius: 12px;
  }

  .title {
    font-size: 16px;
    font-weight: 500;
  }

  .content {
    font-size: 14px;
    padding: 8px 24px 26px;
  }

  .btn-set {
    display: grid;
    grid-auto-flow: column;
    border-top: 1px solid #e5e5e5;
    font-size: 16px;

    >* {
      height: 48px;
      display: grid;
      place-content: center;

      &:last-child {
        color: var(--red-color);
        border-left: 1px solid #e5e5e5;
      }

      &:empty {
        display: none;
      }
    }
  }
}