html,
body {
  padding: 0;
  margin: 0;
  width: 100vw;
  height: 100vh;
}

.login {
  width: 100%;
  height: 100%;
  background: url(../images/index.png) no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.contain {
  flex: 1 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.box {
  width: 360px;
  text-align: center;
  margin-top: 50px;
}

.box h3 {
  color: #fff;
  font-size: 30px;
}

.box form {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  padding: 60px 40px;
  margin-top: 20px;
}

.box form .form-item {
  flex: auto;
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 0 11px;
  align-items: center;
  border-radius: 5px;
  margin-bottom: 20px;
  height: 35px;
}

.box form .mg0 {
  margin-bottom: 0;
}

.box form .form-item i {
  font-weight: bold;
  margin-right: 10px;
  color: #ddd;
}

.box form .vertify-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.box form .vertify-item input {
  width: 120px;
}

.box form .vertify-item .image-code {
  width: 100px;
  height: 35px;
  margin-left: 10px;
  background-color: #fff;
  border-radius: 5px;
  overflow: hidden;
}

.box form .vertify-item .image-code img {
  width: 100%;
  height: 100%;
}

.box form .form-item input[type="text"],
.box form .form-item input[type="password"] {
  flex: 1 1;
  background-color: #fff;
  font-size: 14px;
  border: none;
  outline: none;
  line-height: 1.4;
}

input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 12px;
  height: 12px;
  border: 1px solid #009688;
  border-radius: 0;
  position: relative;
}

input[type="checkbox"]:focus,
input[type="checkbox"]:hover {
  outline: none;
}

input[type="checkbox"]:checked::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: #009688;
  background-repeat: no-repeat;
  background-size: 14px 14px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 3px;
  background: transparent;
  top: 4px;
  left: 50%;
  border: 2px solid #fff;
  border-top: none;
  border-right: none;

  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
  -moz-transform: translate(-50%, -50%) rotate(-45deg);
  -o-transform: translate(-50%, -50%) rotate(-45deg);
  -ms-transform: translate(-50%, -50%) rotate(-45deg);
  transform: translate(-50%, -50%) rotate(-45deg);
}

.box form .checkbox-item {
  font-size: 13px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  color: #fff;
  position: relative;
}

.box form .checkbox-item label {
  margin-left: 5px;
}

/* .box form .checkbox-item label:after {
  opacity: 0;
  content: "";
  position: absolute;
  width: 6px;
  height: 3px;
  background: transparent;
  top: 6px;
  left: 0.3em;
  border: 2px solid #fff;
  border-top: none;
  border-right: none;

  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
} */

/* .box form .checkbox-item input[type="checkbox"]:checked + label:after {
	opacity: 1;
} */

.box form button {
  width: 100%;
  height: 35px;
  border: none;
  background-color: #009688;
  color: #fff;
  border-radius: 5px;
}

.bottom {
  font-size: 14px;
  text-align: center;
  color: #ccc;
  padding: 24px 0;
}
