/* 公共的css */

/* 隐藏密码框默认的小眼睛图标 */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
  display: none;
}

input[type="password"]::-webkit-textfield-decoration-container,
input[type="password"]::-webkit-credentials-auto-fill-button {
  display: none !important;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  right: 0;
}
#message-dialog-content {
  padding: 0 !important;
}
/* 提示弹窗 */
.message-dialog-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  width: 860px;
  box-sizing: border-box;
  @media (max-width: 768px) {
    width: 100%;
  }
}

.message-dialog-content .message-dialog-content-icon {
  width: 24px;
  height: 24px;
}
.message-dialog-content .message-dialog-content-close {
  width: 24px;
  height: 24px;
  cursor: pointer;
}
.message-dialog-content .message-dialog-content-text {
  flex: 1;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 1);
  font-family: PingFang SC;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: -0.3px;
  margin: 0 12px;
}
.message-dialog-content-time {
  font-family: PingFang SC;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: -0.3px;
  color: rgba(121, 121, 121, 1);
  margin-right: 12px;
  min-width: 30px;
  text-align: center;
}
.layui-layer:has(.message-dialog-content) {
  padding: 0;
}

/* 验证提示弹窗*/

.dynamic-modal-content {
  padding: 48px 60px 32px 60px;
  width: 400px;
  /* max-width: 400px; */
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  background-color: rgba(36, 36, 36, 1);
  background-image: radial-gradient(
    74.65% 95.21% at 54% -5.39%,
    rgba(114, 91, 218, 0.5) 1.25%,
    rgba(0, 0, 0, 0) 100%
  );
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(68, 68, 68, 1);
  @media (max-width: 768px) {
    width: 330px;
    padding: 48px 25px 32px 25px;
  }
}

.dynamic-modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  transition: color 0.2s ease;
}
.dynamic-modal-close img {
  width: 100%;
  height: 100%;
}

.dynamic-modal-close:hover {
  color: rgba(255, 255, 255, 1);
}
.dynamic-modal-img.success,
.dynamic-modal-img.error {
  height: 72px;
  margin: 34px auto;
}
.dynamic-modal-img.privacy,
.dynamic-modal-img.follow {
  width: 140px;
  height: 140px;
  margin: 0 auto;
}
.dynamic-modal-title {
  font-family: PingFang SC;
  font-weight: 600;
  font-style: Semibold;
  font-size: 22px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: -0.3px;
  text-align: center;
  margin-bottom: 16px;
}

.dynamic-modal-title.success {
  color: rgba(6, 182, 47, 1);
}

.dynamic-modal-title.error,
.dynamic-modal-title.privacy,
.dynamic-modal-title.follow {
  color: rgba(255, 255, 255, 1);
}

.dynamic-modal-message {
  font-family: PingFang SC;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: -0.3px;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

.dynamic-modal-button {
  padding: 8px 72px;
  height: 44px;
  border-radius: 8px;
  border: none;
  margin: 0 auto;
  background: linear-gradient(98.36deg, #fc01f6 -35.91%, #4f00ff 91.35%);
  color: rgba(255, 255, 255, 1);
  font-family: PingFang SC;
  font-weight: 600;
  font-style: Semibold;
  font-size: 14px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: -0.3px;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.dynamic-modal-button:hover {
  opacity: 0.8;
}

.dynamic-modal-button:active {
  opacity: 0.6;
}
/* 登录加载弹窗 */
.login-modal-content {
  padding: 36px 32px;
  width: 524px;
  height: 512px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  background-color: rgba(36, 36, 36, 1);
  box-sizing: border-box;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(68, 68, 68, 1);
  @media (max-width: 768px) {
    padding: 40px 30px;
    width: 330px;
    height: 401px;
  }
}

.login-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 1);
  border-radius: 50%;
  transition: opacity 0.2s ease;
}

.login-modal-close img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.login-modal-close:hover {
  opacity: 0.8;
}

.login-modal-header {
  width: 100%;
  margin-bottom: 70px;
  @media (max-width: 768px) {
    margin-bottom: 40px;
  }
}

.login-modal-logo {
  height: 75px;
  @media (max-width: 768px) {
    height: 48px;
  }
}

.login-modal-animation {
  position: relative;
  width: 160px;
  height: 160px;

  display: flex;
  align-items: center;
  justify-content: center;
  @media (max-width: 768px) {
    width: 120px;
    height: 120px;
  }
}

.login-modal-icon {
  width: 80px;
  height: 80px;
  z-index: 2;
  position: relative;
  @media (max-width: 768px) {
    width: 75px;
    height: 75px;
  }
}

.login-modal-progress {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: spinAnimation 1.5s linear infinite;
}

@keyframes spinAnimation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.login-modal-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  @media (max-width: 768px) {
    margin-top: 20px;
  }
}

.login-modal-main-title {
  font-family: PingFang SC;
  font-weight: 400;
  font-style: Bold;
  font-size: 22px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: -0.3px;
  text-align: center;
  color: rgba(255, 255, 255, 1);
  margin-bottom: 10px;
}

.login-modal-sub-title {
  font-family: PingFang SC;
  font-weight: 400;
  font-style: Medium;
  font-size: 14px;
  leading-trim: NONE;

  letter-spacing: 0px;
  text-align: center;
  color: rgba(170, 170, 170, 1);
  max-width: 250px;
}
.login-modal-sub-title-error {
  background: rgba(60, 60, 60, 1);
  border-radius: 999px;
  font-family: PingFang SC;
  font-weight: 400;
  font-style: Regular;
  font-size: 12px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: -0.3px;
  color: rgba(250, 76, 76, 1);
  padding: 0px 8px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  margin-top: 10px;
}
.login-modal-button {
  width: 100%;
  border-top: 1px solid rgba(68, 68, 68, 1);
  padding-top: 16px;
  margin-top: 16px;
}
.login-modal-button-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: PingFang SC;
  font-weight: 400;
  font-style: Regular;
  font-size: 14px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: -0.3px;
  color: rgba(121, 121, 121, 1);
}
.login-modal-button-item img {
  width:  24px;
  height: 24px;
}

/* 绑定授权加载弹窗 */
.bind-modal-content {
  padding: 24px;
  width: 400px;
  height: 412px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  background-color: rgba(36, 36, 36, 1);
  box-sizing: border-box;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(68, 68, 68, 1);
  @media (max-width: 768px) {
    width: 330px;
    height: 404px;
  }
}

.bind-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 24px;
  height: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 1);
  border-radius: 50%;
  transition: opacity 0.2s ease;
}

.bind-modal-close img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.bind-modal-close:hover {
  opacity: 0.8;
}

.bind-modal-header {
  width: 100%;
  margin-bottom: 40px;
}

.bind-modal-logo {
  height: 32px;
}

.bind-modal-animation {
  position: relative;
  width: 160px;
  height: 160px;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bind-modal-icon {
  width: 80px;
  height: 80px;
  z-index: 2;
  position: relative;
}

.bind-modal-progress {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: spinAnimation 1.5s linear infinite;
}

.bind-modal-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bind-modal-main-title {
  font-family: PingFang SC;
  font-weight: 600;
  font-style: Semibold;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 1);
}

.bind-modal-sub-title {
  font-family: PingFang SC;
  font-weight: 400;
  font-style: Bold;
  font-size: 14px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: -0.3px;
  text-align: center;
  width: 100%;
  color: rgba(170, 170, 170, 1);
}
