/*
 * @zhang hao: zhanghao 269287868@qq.com
 * @Date: 2024-09-28 17:07:09
 * @LastEditors: zhanghao 269287868@qq.com
 * @LastEditTime: 2025-01-09 17:11:14
 * @FilePath: /unlock/static/css/common.css
 * @Description: 
 * 
 * Copyright (c) 2024 by ${git_name_email}, All Rights Reserved. 
 */
@import './reset.css';
@import 'https://unpkg.com/layui@2.7.6/dist/css/layui.css';
@import './phone.css';

body {
    background-color: black;
    color: white;
    font-family: Arial, sans-serif;
    /* display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; */
    margin: 0;
    color: #000;
}
#exit-btn{
    position: absolute;
    right: 0;
    top: 0;
    padding: 4px 10px;
    font-size: 16px;
    background-color: #45a049;
    border: none;
    color: #fff;
}
/* 菜单 */
.menu-box{
    position: absolute;
    right: 0;
    top: 0;
    padding: 4px 10px;
    font-size: 16px;
    border: none;
    color: #fff;
}
.menu-box .layui-nav-item{
    line-height: 40px;
}
.layui-nav .layui-this:after, .layui-nav-bar{
    background-color: #4caf50;
}
/* 菜单end */
.container-box {
    position: fixed;
    top: 50%;
    left: 72%;
    transform: translate(-50%, -50%);
    background-color: white;
    color: black;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 300px;
    text-align: center;
}

.input-field {
    margin: 10px 0;
    width: 280px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.qrcode-box{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.qrcode-box .input-field{
    width: 188px;
}
.qrcode-box .btn{
    display: inline-block;
    width: 80px;
    color: #45a049;
    border: none;
    background:transparent;
}
.button {
    padding: 10px;
    width: 100%;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.button:hover {
    background-color: #45a049;
}

.link {
    display: block;
    margin-top: 10px;
}


.password-box{
    position: relative;
}
.open,.close{
    cursor: pointer;
    width: 20px;
    position: absolute;
    right: 10px;
    top: 20px;
}
.password-box .open{
    display: none;
}

/* 背景 */
.login-box,.register-box,.forget-page{
    background: url(../image/bg.png) no-repeat;
    background-size: 100% 100%;
    height: 100vh;
}

.page-img{
    position: fixed;
    top: 50%;
    left: 8%;
    transform: translate(0, -50%);
}


/* layui改造 */
.layui-layer-dialog .layui-layer-content{
    color: #000;
}
/* layui改造 */

/* 备案 start */
.beian{
    position: fixed;
    width: 100%;
    height: 40px;
    bottom: 0;
    z-index: 2;
    text-align: center;
    background: #f7f7f7;
    clear: both;
}
.beian .item{
    margin: 0;
    padding: 0;
    margin-right: 20px;
    height: 40px;
    font: 400 12px / 40px "Microsoft YaHei";
    color: #9195A3;
}
/* 备案 end */


/* loading start */
.g-loading-box {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9;
    background-color: rgba(0, 0, 0, 0.5);
}
.g-loading {
    position: absolute;
    top: 45%;
    left: 45%;
    width: 30px;
    height: 30px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 100%;
    animation: circle infinite 0.75s linear;
  }
  
  /* // 转转转动画 */
  @keyframes circle {
    0% {
      transform: rotate(0);
      transform-origin:center;
    }
    100% {
      transform: rotate(360deg);
      transform-origin:center;
    }
  }
  /* loading end */