body,
html {
  /* 禁止左右滑动 */
  overflow-x: hidden;
  overflow-y: hidden;
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-feature-settings: normal;
  font-variation-settings: normal;
}

* {
  box-sizing: border-box;
  /* transition: all 0.3s ease-in-out; */
  padding: 0;
  margin: 0;
}

/* 解决微信下拉回弹效果 */
html,
body {
  position: relative;
  background: linear-gradient(0deg,
      rgba(15, 188, 35, 1) 22.287%,
      rgba(24, 144, 255, 1) 74.486%);
  height: 100vh;
  /* 禁止用户调整字体大小 */
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: none;
  text-size-adjust: none;

  -webkit-overflow-scrolling: touch;
  /* overflow: auto; */
  /* font-family: Arial, sans-serif; */
  font-size: 12px;
  margin: 0;
  padding: 0;
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  /* background-image: url("../TT/background.png"); */
  overscroll-behavior: contain;
  /* 防止浏览器回弹行为 */
}


.body1 {
  position: relative;
  /* display: flex; */
  /* flex-direction: column; */
  /* justify-items: flex-start; */
  /* align-items: flex-start; */
  /* width: 100%; */
  height: 100vh;
  /* margin-top: 20px; */

  background: linear-gradient(0deg,
      rgba(15, 188, 35, 1) 22.287%,
      rgba(24, 144, 255, 1) 74.486%);
  /* 禁止用户调整字体大小 */
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: none;
  text-size-adjust: none;
}

p {
  margin: auto;
}

#head {
  position: relative;
  display: flex;
  /* 适应火狐 */
  width: -moz-fit-content;
  width: fit-content;

  flex-direction: column;
  justify-content: flex-start;
  align-items: left;
  /* justify-self:left;
            align-self: flex-start; */
  margin: auto;
  margin-top: 50px;
  margin-bottom: 50px;
  font-size: 30px;
  font-family: sans-serif;
  color: rgb(252, 252, 252);
  text-shadow: 5px 5px 5px rgb(0, 0, 0);
}


/* 信息卡片 */
#info {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  /* padding: 25px 15px; */
  border: none;
  background-color: rgba(255, 255, 255, 0.9);
  width: 90vw;
  max-width: 500px;
  height: max-content;
  height: 400px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(5px);
}

.infos {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  height: fit-content;
  width: 80vw;
  max-width: 400px;
  margin-top: 15px;
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}

.infos p {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-self: center;
  align-self: center;
  margin-top: 15px;
  color: #666;
  font-size: 14px;
}


/* 车牌类型选择 */
.car_type {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
  gap: 20px;
}

.select {

  height: 30px;
  color: white;
  background-color: rgb(47, 161, 255);
}

.qr {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: auto;
  margin-top: 10%;
  margin-bottom: 5%;
  width: 80%;
  height: 80%;
  /* height: 350px; */
  background-color: rgb(221, 221, 221);
  border-radius: 15px;
}

.canvas {
  width: 80%;
}

.qr_tank {
  width: 90%;
  display: flex;
  background-color: white;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.qr_code {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  /* 高度等于宽度 */
  height: 100%;
  /* height: 187px; */
  margin-top: 7%;
  margin-bottom: 7%;
}

/* 验证是否是空值的CSS */
.verify {
  display: -webkit-flex;
  /* 兼容safari */
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border-bottom: 1px solid rgb(150, 150, 150);

  /* align-items: flex-end; */
}

.verify input {
  margin-top: 5px;
  flex: 8;
  background-color: transparent;
  border: none;
  outline: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #333;
  font-size: 16px;
  text-align: left;
  width: 100%;
  height: 36px;
  padding: 8px 12px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.pad_number {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.pad_number div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 14.31642857vw;
  width: 7.158214286vw;
  border: 1.5px solid rgb(150, 150, 150);
  border-radius: 5px;
  margin: 0.9vw;
  text-align: center;
  text-size-adjust: 100%;
  /* 边框设置在div内容 */
  box-sizing: border-box
}

.pad_number .dot {
  flex-basis: 1.590714286vw;
  height: 1.590714286vw;
  background-color: rgb(255, 255, 255);
  border: none;
  border-radius: 100px;
}

.pad_number .dot_e {
  flex-basis: 1.590714286vw;
  height: 1.590714286vw;
  background-color: rgb(0, 0, 0);
  border: none;
  border-radius: 100px;

}

.pad_number .e_pad {
  display: none;
  height: 14.31642857vw;
  width: 7.158214286vw;
  border: 1.5px solid rgb(150, 150, 150);
  border-radius: 5px;
  margin: 0.9vw;
  text-align: center;
  text-size-adjust: 100%;
}


/* input[type="number"] {
  -moz-appearance: textfield;
} */


#btn_verify {
  /* position: absolute; */
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: fit-content;
  height: 42px;
  right: 0px;
  /* transform: translateX(-33.3%); */
  /* height: 44px;
  width: fit-content;
  padding-left: 10px;
  padding-right: 10px;
  background: rgba(47, 161, 255, 1);
  border: none;
  text-decoration-color: black;
  -webkit-transition-duration: 0.4s; */
  /* Safari动画 */
  /* transition-duration: 0.4s;
  -webkit-transition-duration: 0.4s;
  overflow: hidden;
  cursor: pointer;
  top: 50%;
  transform: translateX(-2px) translateY(-43%);
  right: 0px; */
}



#btn_verify:active {
  background: rgba(47, 161, 255, 0.5);
}

#btn_verify:disabled {
  background: rgba(150, 150, 150, 0.5);
}

#regist_button {
  position: relative;
  display: flex;
  height: 50px;
  width: 80vw;
  border: 1px;
  border-color: rgb(47, 161, 255);
  border-radius: 15px;
  background: rgb(47, 161, 255);
  border-radius: 5px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 50px;
  color: white;
  text-decoration-color: black;
  box-shadow: none;
  text-shadow: none;
  -webkit-transition-duration: 0.4s;
  /* Safari动画 */
  transition-duration: 0.4s;
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;

  /* text-shadow: 2px 2px 2px rgb(0, 0, 0); */
}

#regist_button:after {
  content: "";
  content: "";
  background: rgba(255, 255, 255, 0.5);
  border: none;
  border-radius: 50px;
  display: block;
  position: absolute;
  padding-top: 300%;
  padding-left: 350%;
  margin-left: -20px !important;
  margin-top: -120%;
  opacity: 0;
  transition: all 0.8s;
}

#regist_button:active:after {
  padding: 0;
  margin: 0;
  opacity: 1;
  transition: 0s;
}

#download_button {
  position: relative;
  display: flex;
  height: 50px;
  width: 80%;
  border: 1px;
  border-top-color: currentcolor;
  border-right-color: currentcolor;
  border-bottom-color: currentcolor;
  border-left-color: currentcolor;
  border-color: rgb(47, 161, 255);
  border-radius: 15px;
  background: rgb(47, 161, 255);
  border-radius: 5px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 5%;
  margin-bottom: 12%;
  color: white;
  text-decoration-color: black;
  box-shadow: none;
  text-shadow: none;
  -webkit-transition-duration: 0.4s;
  transition-duration: 0.4s;
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
}

#download_button:after {
  content: "";
  content: "";
  background: rgba(255, 255, 255, 0.5);
  border: none;
  border-radius: 50px;
  display: block;
  position: absolute;
  padding-top: 300%;
  padding-left: 350%;
  margin-left: -20px !important;
  margin-top: -120%;
  opacity: 0;
  transition: all 0.8s;
}

#download_button:active:after {
  padding: 0;
  margin: 0;
  opacity: 1;
  transition: 0s;
}

span.span_verify {
  /* flex: 1; */
  height: 16px;
  color: red;
  text-shadow: none;
  font-size: small;
  line-height: normal;
  /* vertical-align:middle */
}

span.span_name {
  font-size: small;
  height: 16px;
  color: rgb(116, 116, 116);
  line-height: normal;
  /* vertical-align:middle */
}

span.span {
  color: red;
  text-shadow: none;
  flex-grow: 0;
  width: max-content;
}

#verify_info {
  width: max-content;
}

.type_pad {
  display: flex;
  height: 30px;
  flex-direction: row;
}

.pad {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  /* 油车长宽比为440/140 */
  width: 80vw;
  height: 22.27vw;
}

.pad_bottom_e {
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* 根据VW计算出的长宽比为440/140 */
  width: 95.44%;
  height: 100%;
  background-image: linear-gradient(to top, rgb(0, 255, 0), white);
  box-shadow: 6px 6px 8px rgba(0, 0, 0, 0.25);
  padding: 1vw;
  border-radius: 1vw;

}

.pad_bottom {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* 根据VW计算出的长宽比为440/140 */
  width: 87.49%;
  height: 100%;
  background: rgb(5, 26, 120);
  box-shadow: 6px 6px 8px rgba(0, 0, 0, 0.25);
  padding: 1vw;
  border-radius: 1vw;

}

.pad_top {
  position: relative;
  /* 车牌 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  border: 0.4vw solid rgb(255, 255, 255);
  border-radius: 5px;
  padding: 1vw;
}

.pad_top_e {
  position: relative;
  /* 车牌 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  border: 0.6vw solid rgb(0, 0, 0);
  border-radius: 5px;

}

.carnum {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  height: 100%;
  width: 100%;
}

.carnum img {
  display: none;
  height: 72%;
  object-fit: contain;
}

/* 车牌键盘相关CSS */
#inputBox {
  width: 300px;
  height: 30px;
  padding: 5px;
  font-size: 16px;
}

#keyboard {
  display: none;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  border: 1px solid #ccc;
  padding: 10px;
  background-color: #f9f9f9;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 1000;
}

.provienceKey {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


#keyboard button {
  width: 8vw;
  max-width: 60px;
  height: 8vw;
  max-height: 60px;
  margin: 1vw;
  cursor: pointer;
  padding-inline: 0;
  font-size: 5vw;
  max-font-size: 24px;
  color: #353535;
  border: none;
  border-radius: 8px;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

#keyboard button:active {
  transform: scale(0.95);
  background-color: #929292;
}

#keyboard .del {
  display: flex;
  flex-direction: row;
  /* justify-self: left; */
  align-self: flex-end;
  justify-content: center;
  align-items: center;
  width: 20vw;
  max-width: 30vw;
  height: 5vh;
  margin: 1vw;
  cursor: pointer;
  /* border: 1px solid #353535; */
  border-radius: 8px;

}

#keyboard .functionKeys {
  display: flex;
  flex-direction: row;
  justify-content: end;
  align-items: center;
}

/* #keyboard .done {
  display: flex;
  flex-direction: row;
  justify-self: left;
  align-self: flex-end;
  justify-content: center;
  align-items: center;
  width: 20vw;
  height: 8vw;
  margin: 1vw;
  cursor: pointer;
  color: white;
  border: 1px solid #353535;
  background-color: rgb(47, 161, 255);
  border-radius: 1vw;
} */

#keyboard .done {
  display: flex;
  flex-direction: row;
  /* justify-self: left; */
  align-self: flex-end;
  justify-content: center;
  align-items: center;
  width: 20vw;
  max-width: 30vw;
  height: 5vh;
  margin: 1vw;
  cursor: pointer;
  /* border: 1px solid #353535; */
  color: white;
  background-color: rgb(47, 161, 255);
  border-radius: 8px;

}

/* 牌照字符相关 */

.carnum {
  height: 100%;
  width: 100%;
}

.carnum img {
  height: 100%;
  width: 100%;
}

#uuid_unique_check {
  display: none;
  margin: auto;
}

.window-show * {
  transition: none !important;
}


/* ====================================================== */


#hiyo_logo {
  max-width: 200px;
  margin-top: 20px;
  margin-left: 20px;
  align-self: start;
}

:root {
  font-size: 16px;
}



.container {
  width: 90%;
  max-width: 400px;
  margin: 2rem auto;
  padding: 1.5rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;

}

#loginForm {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.form-group {
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center
}


input {
  flex: 2;
  width: 100%;
  padding: 0.8rem;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
  height: 44px;
}

button {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:active {
  background: #0069d9;
}

#message {
  margin-top: 1rem;
  color: #dc3545;
  font-size: 0.9rem;
}

/* #info {
  height: 360px;
  max-width: 400px;
} */

#input_group {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 44%;
}

/* 小屏幕适配 */
@media (max-width: 480px) {
  :root {
    font-size: 14px;
  }

  .container {
    margin: 1rem auto;
    padding: 1rem;
  }
}