/* 對照 http://177.2.184.17:2086/web 的頁面版面 */

.auth-page {
  min-height: 100vh;
  min-height: 100dvh;
  background: #0b6ea8 url('/static/sinopec/images/sinopec_login.a8ecbc2.png') center / cover no-repeat;
  color: #fff;
  container-type: inline-size;
}

.auth-logo {
  height: 46.67cqw;
  box-sizing: border-box;
  padding: 18.67cqw 0 0;
  text-align: center;
}

.auth-logo img {
  width: 40cqw;
  max-width: 300px;
  height: auto;
}

.sgin-in {
  box-sizing: border-box;
  padding: 8px 20px 40px;
}

.input-box {
  display: flex;
  align-items: center;
  width: 100%;
  height: 58px;
  margin-bottom: 22px;
  background: #ffc;
  color: #333;
}

.input-title {
  flex: 0 0 92px;
  padding-left: 16px;
  font-weight: 700;
  font-size: 16px;
  color: #000;
}

.input-box input {
  flex: 1;
  width: 0;
  height: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #333;
  font-size: 16px;
  padding-right: 12px;
}

.input-box input::placeholder {
  color: #8a8a8a;
}

.auth-btn {
  display: block;
  width: 100%;
  height: 52px;
  border: 0;
  background: #f8e16d;
  color: #111;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.auth-btn--plain {
  background: #fff;
  border: 1px solid #e5e5e5;
}

.auth-reg {
  margin: 28px 0 18px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.auth-reg .hot {
  color: #e10600;
  margin-left: 4px;
  cursor: pointer;
}

.auth-reg .gold {
  color: #f8e16d;
  margin-left: 6px;
  cursor: pointer;
}

.auth-links {
  display: flex;
  justify-content: space-between;
  color: #fff;
  font-size: 14px;
}

.auth-links a {
  color: #fff;
}

.landing {
  background: #fff;
  color: #666;
  padding-bottom: 72px;
  min-height: 100vh;
}

.landing-head {
  position: relative;
  z-index: 2;
  padding: 8px 12px 0;
  background: #fff;
}

.landing-head img {
  width: 150px;
  height: 42px;
  object-fit: contain;
  object-position: left center;
}

.landing-slide {
  position: relative;
  height: 230px;
  margin-top: -18px;
  overflow: hidden;
  background: #ddd;
}

.landing-slide img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.landing-service {
  background: #c4000f;
  color: #fff;
  padding: 16px 8px 12px;
}

.landing-service h2 {
  margin: 0;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
}

.landing-service .en {
  margin: 2px 0 12px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 1px;
  opacity: 0.9;
}

.service-list {
  display: flex;
  justify-content: space-between;
}

.service-item {
  width: 22%;
  text-align: center;
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  cursor: pointer;
}

.service-item img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
  margin: 0 auto 6px;
}

.landing-video {
  width: 100%;
  background: #000;
}

.landing-video video {
  width: 100%;
  display: block;
}

.company-banner img,
.company-mark img {
  width: 100%;
  display: block;
}

.company-info {
  background: #fff;
  padding: 10px 12px 16px;
  color: #666;
  text-align: justify;
  font-size: 14px;
  line-height: 1.75;
}

.company-info p {
  text-indent: 2em;
  margin: 0 0 10px;
}

.company-info .mark-title {
  text-indent: 0;
  text-align: center;
  color: #0d62ae;
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 10px;
}

.news-box {
  background: #fff;
  margin-top: 10px;
}

.news-top {
  height: 40px;
  background: #666;
  color: #fff;
  font-weight: 700;
  line-height: 40px;
  padding-left: 10px;
}

.news-item {
  display: flex;
  gap: 8px;
  min-height: 80px;
  padding: 10px;
  border-bottom: 1px dashed #f1f1f1;
  box-sizing: border-box;
}

.news-item h3 {
  margin: 0 0 4px;
  font-size: 15px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-item p {
  margin: 0;
  font-size: 13px;
  color: #888;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-more {
  text-align: center;
  padding: 18px 0 22px;
}

.news-more a {
  display: inline-block;
  min-width: 160px;
  height: 40px;
  line-height: 40px;
  padding: 0 18px;
  border-radius: 20px;
  background: #c4000f;
  color: #fff;
  font-size: 14px;
}

.copyright-box {
  min-height: 160px;
  padding: 16px 12px 24px;
  background: #f2f2f2 url('/static/sinopec/images/copyright_logo.png') 12px 16px / 180px auto no-repeat;
}

.copyright-box .info {
  margin-top: 58px;
  color: #666;
  font-size: 13px;
  line-height: 1.8;
}

.market-page {
  min-height: 100vh;
  background: #1c1d24;
  color: #c5c7c2;
  padding-bottom: 76px;
}

.market-slide {
  height: 169px;
  overflow: hidden;
  background: #111;
}

.market-slide img {
  width: 100%;
  height: 169px;
  object-fit: cover;
  display: block;
}

.market-title {
  margin: 16px 0 8px;
  text-align: center;
  color: #9aa0a6;
  font-size: 16px;
}

.product-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 8px;
}

.product-item {
  width: 49%;
  margin-bottom: 10px;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  color: #333;
}

.product-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  background: #eee;
}

.product-item span {
  display: block;
  padding: 10px 8px;
  text-align: center;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mine-page {
  min-height: 100vh;
  background: #21212b;
  color: #fff;
  padding: 12px 0 80px;
}

.mine-page .account {
  margin: 0 16px;
}

.account-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 37px;
}

.account-head {
  height: 188px;
  padding: 18px 16px;
  box-sizing: border-box;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #3a3a44 url('/static/sinopec/images/myorderbkg.png') 30% 20% / 960px no-repeat;
}

.account-info {
  display: flex;
  align-items: center;
}

.account-info img {
  width: 48px;
  height: 48px;
  margin-right: 12px;
  border-radius: 4px;
}

.account-info h5 {
  margin: 0;
  font-size: 16px;
}

.account-info small {
  font-weight: 400;
  opacity: 0.9;
}

.asset-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.asset-label {
  font-size: 10px;
  font-weight: 700;
}

.asset-num {
  margin-top: 8px;
  font-size: 27px;
  line-height: 29px;
  font-weight: 700;
}

.asset-refresh {
  margin-left: 10px;
  font-size: 12px;
  font-weight: 400;
  cursor: pointer;
}

.eye {
  width: 22px;
  cursor: pointer;
}

.account-list {
  display: flex;
  padding: 16px 0 8px;
}

.account-list a {
  width: 25%;
  text-align: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.account-list img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  margin: 0 auto 6px;
}

.f-table {
  margin: 8px 16px;
  padding: 4px 16px;
  background: #262633;
  border-radius: 16px;
}

.f-table a {
  display: flex;
  align-items: center;
  height: 52px;
  color: #fff;
  font-size: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='8' height='14' viewBox='0 0 8 14'><path d='M1 1l6 6-6 6' fill='none' stroke='%23ffffff' stroke-width='1.4'/></svg>") no-repeat right center;
}

.f-table a:last-child {
  border-bottom: 0;
}

.f-table img {
  width: 16px;
  height: 16px;
  margin-right: 16px;
  object-fit: contain;
}

.hold-page.app {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 0 76px;
  background: #f6f7fb;
  color: #181818;
}

.hold-bar {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #fff url('/static/sinopec/images/hold-bar-bg.png') repeat-x top center;
}

.hold-bar img {
  height: 2.8rem;
  width: auto;
}

.hold-back {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -6px;
  border-left: 2px solid #323233;
  border-bottom: 2px solid #323233;
  transform: rotate(45deg);
}

.hold-page .title.hold-tabs {
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  display: flex;
}

.hold-page .title span {
  width: 50%;
  height: auto;
  line-height: 1.4;
  padding: 10px 0;
  border-radius: 0;
  background: transparent;
  color: #666;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 3px solid transparent;
  box-sizing: border-box;
}

.hold-page .title .active {
  background: transparent !important;
  color: #323233 !important;
  border-bottom: 3px solid #c4000f !important;
  box-shadow: none;
}

.hold-page .orderlist.hold-orderlist {
  margin: 0;
}

.online-page {
  min-height: 100vh;
  background: #21212b;
  padding-bottom: 64px;
  box-sizing: border-box;
}

.online-page iframe {
  width: 100%;
  height: calc(100vh - 64px);
  border: 0;
  display: block;
  background: #fff;
}

.online-empty {
  padding: 48px 20px;
  text-align: center;
  color: #666;
}

.popup-mask {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-card {
  width: 86%;
  max-width: 420px;
  max-height: 70vh;
  overflow: auto;
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  color: #333;
}

.popup-card h3 {
  margin: 0 0 10px;
  text-align: center;
}

.popup-card button {
  margin-top: 12px;
  width: 100%;
  height: 40px;
  border: 0;
  background: #c4000f;
  color: #fff;
}
