/*
   * 基于复选框和单选框的卡片风格多选组件
   * 需要具备一些基础的 CSS 技能，以下样式均为外部自主实现。
   */
/* 主体 */
.layui-layer-dialog {
  min-width: 204px !important;
}
.layui-form-checkbox > .lay-skin-checkcard,
.layui-form-radio > .lay-skin-checkcard {
  display: table;
  display: flex;
  padding: 12px;
  white-space: normal;
  border-radius: 4px;
  border: 1px solid #e5e5e5;
  color: #000;
  background-color: #fff;
}

.layui-form-checkbox > .lay-skin-checkcard > *,
.layui-form-radio > .lay-skin-checkcard > * {
  /* display: table-cell; */
  /* IE */
  vertical-align: top;
}

/* 悬停 */
.layui-form-checkbox:hover > .lay-skin-checkcard,
.layui-form-radio:hover > .lay-skin-checkcard {
  /* border-color: #75bbf6; */
  border-color: #75bbf6;
}

/* 选中 */
.layui-form-checked > .lay-skin-checkcard,
.layui-form-radioed[lay-skin="none"] > .lay-skin-checkcard {
  color: #000;
  /* border-color: #75bbf6; */
  background-color: rgb(22 183 119 / 10%) !important;
  border-color: #75bbf6;
  background-color: #beedff !important;
  /* box-shadow: 0 0 0 3px rgba(22, 183, 119, 0.08); */
}

/* 禁用 */
.layui-checkbox-disabled > .lay-skin-checkcard,
.layui-radio-disabled > .lay-skin-checkcard {
  box-shadow: none;
  border-color: #e5e5e5 !important;
  background-color: #eee !important;
}

/* 选中 dot */
.layui-form-checked > .lay-check-dot:after,
.layui-form-radioed > .lay-check-dot:after {
  position: absolute;
  content: "";
  top: 2px;
  right: 2px;
  width: 0;
  height: 0;
  display: inline-block;
  vertical-align: middle;
  border-width: 10px;
  border-style: dashed;
  border-color: transparent;
  border-top-left-radius: 0px;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 6px;
  border-top-color: #75bbf6;
  border-top-style: solid;
  border-right-color: #75bbf6;
  border-right-style: solid;
  overflow: hidden;
}

.layui-checkbox-disabled > .lay-check-dot:after,
.layui-radio-disabled > .lay-check-dot:after {
  border-top-color: #d2d2d2;
  border-right-color: #d2d2d2;
}

/* 选中 dot-2 */
.layui-form-checked > .lay-check-dot-2:before,
.layui-form-radioed > .lay-check-dot-2:before {
  position: absolute;
  font-family: "layui-icon";
  content: "\e605";
  color: #fff;
  bottom: 4px;
  right: 3px;
  font-size: 9px;
  z-index: 12;
}

.layui-form-checked > .lay-check-dot-2:after,
.layui-form-radioed > .lay-check-dot-2:after {
  position: absolute;
  content: "";
  bottom: 2px;
  right: 2px;
  width: 0;
  height: 0;
  display: inline-block;
  vertical-align: middle;
  border-width: 10px;
  border-style: dashed;
  border-color: transparent;
  border-top-left-radius: 6px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 6px;
  border-bottom-left-radius: 0px;
  border-right-color: #75bbf6;
  border-right-style: solid;
  border-bottom-color: #75bbf6;
  border-bottom-style: solid;
  overflow: hidden;
}

.layui-checkbox-disabled > .lay-check-dot-2:before,
.layui-radio-disabled > .lay-check-dot-2:before {
  color: #eee !important;
}

.layui-checkbox-disabled > .lay-check-dot-2:after,
.layui-radio-disabled > .lay-check-dot-2:after {
  border-bottom-color: #d2d2d2;
  border-right-color: #d2d2d2;
}

.lay-ellipsis-multi-line {
  overflow: hidden;
  word-break: break-all;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.layui-tab .layui-tab-title li {
  width: 25% !important;
  min-width: unset !important;
  padding: 0 !important;
}

.layui-tab-brief > .layui-tab-title .layui-this {
  font-weight: bold;
  color: #1193f5 !important;
}

.layui-tab-brief > .layui-tab-more li.layui-this:after,
.layui-tab-brief > .layui-tab-title .layui-this:after {
  border-bottom: 2px solid #1193f5 !important;
}

.layui-tab-bar {
  display: none;
}

/* defined custom */
.top-bg {
  width: 100%;
  height: 8rem;
  background: linear-gradient(270deg, #04befe 0%, #495aff 100%);
}

.pay-main {
  position: absolute !important;
  top: 1.3rem;
  left: 1.3rem;
  right: 1.3rem;
  bottom: 1.3rem;
  padding: 1.3rem;
  /* margin: 1.3rem; */
  font-family: ArialMT;
}

.pay-type .tip-select {
  margin: 1rem auto;
  font-size: 1rem;
  color: #18284a;
}

.pay-type .layui-form-radio {
  width: 100%;
  align-items: center;
}

.pay-type .lay-skin-checkcard {
  align-items: center;
}

.pay-type img {
  margin: 0 1rem 0 0.5rem;
  width: 3rem;
  height: 3rem;
}

.pay-type span {
  color: #18284a;
  font-size: 1rem;
}

/* header */
.pay-header {
  margin-left: 1rem;
}

.header-amount {
  color: #435f98;
  font-size: 1.5rem;
}

.header-desc {
  font-size: 0.8rem;
  color: #a2a2a2;
}

/* pay btn */
.pay-btn {
  width: 100%;
  border-radius: 10px !important;
  line-height: 100% !important;
  margin-top: 1rem;
}

.cus-tag {
  display: inline-block;
  padding: 0px 6px 0px 12px;
  background-color: #62c91f;
  color: white;
  font-weight: bold;
  position: relative;
  font-size: 12px;
  line-height: 16px;
  font-weight: normal;
}

.cus-tag::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 8px solid white;
  position: absolute;
  left: 0px;
  top: 0;
}
