/* 现代CSS重置 */
:root { font-size: calc(100vw / 7.5) }  /* 基于750设计稿 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* 字体优化 */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-size-adjust: 100% !important;
}

/* 图片自适应 */
img {
   
}

/* 禁用长按菜单 */
*:not(input, textarea) {
    -webkit-user-select: none;
    user-select: none;
}

input {
    font-family: inherit;
    font-size: inherit;
    font-style: inherit;
    font-weight: inherit;
    outline:none;
}

.banner img {
    max-width: 100%;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

.center {
    background-color: #f3eff3;
    padding: 0.5rem;
}

.row {
    display: flex;
    align-items:center;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 5px 0px;
}

.row .item {
    display: inline-flex;
}

.row .lable {
    width: 80px;
    font-size: 14px;
}

.row .systemimg {
    width: 35%;
    padding: 5px 10px;
    vertical-align: middle;
    border-radius: 5px;
}

.row .systemimg.active {
    background-color: #1faac5;
}


.row .captchaimg {
    width: 28%;
    margin-left: 12px;
    vertical-align: middle;
    height: 36px;
    border-radius: 5px;
}

.row .inputbox {
    -webkit-appearance: none;
    background-color: #FFF;
    background-image: none;
    border-radius: 4px;
    border: 1px solid #DCDFE6;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #606266;
    display: inline-block;
    font-size: 14px;
    height: 36px;
    line-height: 36px;
    outline: 0;
    padding: 0 10px;
    -webkit-transition: border-color .2s cubic-bezier(.645,.045,.355,1);
    transition: border-color .2s cubic-bezier(.645,.045,.355,1);
    width: 68%;
}

.row .button {
    justify-content: center;
    background-color: #1faac5;
    width: 85%;
    text-align: center;
    font-size: 18px;
    color: white;
    padding: 5px;
    border-radius: 5px;
    margin-top: 25px;
    /* font-weight: 700; */
}
.row .button.greybg {
    background-color: #DCDFE6;
}


.tips {
    font-size: 14px;
    text-align: left;
    padding: 15px 15px 35px 15px;
}
.tip-title {
    font-size: 16px;
    text-align: center;
    padding: 5px;
}

.tips p {
    padding-top: 5px;
    border-bottom: 1px #ddd dashed;
}

.footer {
    padding: 25px 20px 30px 20px;
    background-color: #000;
    color: white;
    font-size: 10px;
    text-align: center;
}

.footer p{
    padding-bottom: 2px;
}


/* 消息容器基础样式 */
.alert {
    position: absolute;
    left: 10%;
    top: 0;
    width: 80%;
    padding: 10px 10px;
    margin-top: 10px;
    border-radius: 8px;
    display: flex;
    align-items: start;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    animation: slideIn 0.3s ease-out forwards;
    font-size: 16px;
  }

  /* 消息类型配色方案 */
  .alert.success {
    background: #e6ffee;
    border-left: 4px solid #4caf50;
    height: 120px;
  }

  .alert.error {
    background: #fdecea;
    border-left: 4px solid #f44336;
  }

  /* 内容区域 */
  .alert__content {
    flex-grow: 1;
    color: #333;
    height: 24px;
    line-height: 24px;
    padding:0px 15px;
  }

  /* 关闭按钮 */
  .alert__close {
    position: absolute;
    right: 10px;
    top: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    opacity: 0.7;
    transition: opacity 0.2s;
    font-size: 24px;
    line-height: 24px;
  }

  .alert__close:hover {
    opacity: 1;
  }

  /* 动画效果 */
  @keyframes slideIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }


  /* 方案1：极简流体圆环 */
.loader-ring {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    position: relative;
    animation: fluid-rotate 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    background: conic-gradient(transparent 30%, #90caf9);
    mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #fff 0);
  }
  
  @keyframes fluid-rotate {
    to { transform: rotate(1turn); }
  }
  
  /* 响应式适配 */
  @media (prefers-reduced-motion: reduce) {
    .loader-ring {
      animation: fluid-rotate 2.4s linear infinite;
    }
  }

  .mask-dialog {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
    display: none;
  }
  .dialog {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    width: 70%;
    background-color: white;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
  }
  .dialog-title {
    font-weight: 700;
  }
  .dialog-content-id {
    font-weight: 700;
    color: orangered;
    padding: 20px 0 10px 0;

  }
  .dialog-content-tip {
    font-size: 14px;
  }
  .dialog-footer {
    padding: 20px 0px 10px;
    display: flex;
    justify-content:space-around ;
  }
  .dialog-footer .optbtn {
    display: inline-block;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    margin: 5px 15px;
    width: 100px;
    border: 1px solid #ccc;
    border-radius: 3px;
  }
  .dialog-footer .queding {
    display: flex;
    align-items: center;
    justify-content: center;
    border-color: #1faac5;
    color: white;
    background-color: #1faac5;
    
  }
  .dialog-footer .greybg {
    border-color: #bbbbbb;
    background-color: #bbbbbb;
    color: #1faac5;
  }