/* 阻止页面滚动 */
body.body-lock-scroll {
  overflow: hidden;
}
body {
  /* 抗锯齿设置 */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smooth: always;

  /* 清晰渲染 */
  text-rendering: geometricPrecision; /* 或 optimizeLegibility */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

/* 中奖记录弹窗样式 */
.modal-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 8000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.modal-popup.active {
  opacity: 1;
  visibility: visible;
}

.modal-popup .popup-content {
  background: white;
  border-radius: 12px;
  width: 90%;
  max-height: 80vh;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.modal-popup.active .popup-content {
  transform: translateY(0);
}

.modal-popup .main-content {
  padding: 20px;
  position: relative;
}

/* 关闭按钮 */
.modal-popup .modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.modal-popup .modal-close:hover {
  background: #e0e0e0;
}

.modal-popup .modal-close img {
  width: 12px;
  height: 12px;
}
/* 标题 */
.modal-popup .title {
  font-size: 1.4rem;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}
.main-content .popup-page {
  text-align: center;
}
/* 滚动条样式 */
.modal-popup .popup-page-list::-webkit-scrollbar {
  width: 4px;
}

.modal-popup .popup-page-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 2px;
}

.modal-popup .popup-page-list::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 2px;
}

.modal-popup .popup-page-list::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* 表格样式 */
.popup-page-list {
  width: 100%;
  height: 100%;
}
.table-t {
  height: 42px;
  font-size: 18px;
  color: #96999f;
  background-color: #eeeff0;
  display: flex;
  align-items: center;
  padding: 0 10px;
}
.table-t-item1 {
  width: 250px;
  text-align: left;
}
.table-t-item2 {
  width: 100%;
  text-align: center;
}
.table-t-item3 {
  width: 150px;
  text-align: center;
}
.table-t-item3-1 {
  width: 215px;
  text-align: center;
}
.table-i {
  height: 42px;
  font-size: 16px;
  padding: 0 20px;
  margin-top: 10px;
  display: flex;
  align-items: center;
}
.table-i-item1 {
  width: 250px;
  text-align: left;
}
.table-i-item2 {
  width: 100%;
  text-align: center;
}
.table-i-item3 {
  width: 115px;
  text-align: center;
}
.table-i-item3-button {
  width: 115px;
  height: 36px;
  font-size: 16px;
  border: 1px solid #777777;
  border-radius: 10px;
  line-height: 36px;
  text-align: center;
  cursor: pointer;
  user-select: none;
}
.table-i-item3-button:hover {
  background-color: #f5f5f5;
}
.table-i-item3-button:active {
  transform: scale(0.98);
}
.popup-page-list .kong {
  width: 100%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.popup-page-list .kong .kong-style {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.popup-page-list .kong .kong-style img {
  width: 100px;
  height: 100px;
}
.popup-page-list .kong .kong-style span {
  font-size: 18px;
}
/* 工会申请弹窗样式 */
.modal-popup.modal-apply {
  z-index: 9000;
}
.modal-apply .popup-content {
  width: 524px;
  height: 470px;
}
/* 工会申请失败弹窗样式 */
.modal-popup.modal-apply-fail {
  z-index: 9000;
}
.modal-apply-fail .popup-content {
  width: 524px;
  min-height: 286px;
}
.apply-fail-title{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin:64px auto 20px auto;
}
.apply-fail-icon{
  display: inline-block;
  height: 26px;
  padding-left: 29px;
  line-height: 26px;
  font-size: 14px;
  font-weight: 500;
  color: #000000;
  background: url("../../images/guild/fail.png")  no-repeat left center;
}
.modal-apply-fail-msg,
.modal-apply-fail-remark,
.modal-apply-fail-content{
  width: 100%;
  padding: 0 80px;
  text-align: center;
  font-weight: 400;
  font-size: 14px;
  color: #000000;
  margin-top: 20px;
}
.modal-apply-fail-remark{
  font-size: 12px;
  color: red;
}
.cancel-btn{
  margin: 45px 0 0 184px !important;
  background-color: #F4C210;
  transition: background-color 0.3s;
}
.cancel-btn:hover{
  background-color: #F4C210;
}
/* 工会申请成功弹窗样式 */
.custom-simple-popup {
  border-radius: 6px !important; /* 大圆角更贴近原图 */
  background: #fff !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1) !important;
  text-align: center;
}

/* 内容区居中 */
.custom-simple-popup .layui-layer-content {
  padding: 13px !important;
  font-size: 14px;
  font-weight: 500;
  color: #000;
  line-height: 1.4;
}

/* 图标样式 */
.success-icon {
  width: 26px;
  height: 26px;
  margin-right: 3px;
  vertical-align: middle;
}

.hide{
  display: none;
}

