
.login-container {
  width: 80%;
  max-width: 500px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin: auto;
  margin-top: 100px;
  margin-bottom: 100px;
}

.input-group {
  position: relative; /* 使图标的绝对定位生效 */
  margin-bottom: 15px;
  display: flex; /* 使用flexbox布局 */
  align-items: center;
  margin-left: 10px;
}

label {
  display: block;
  margin-bottom: 5px;
}

input[type="text"],
input[type="password"],
.password-wrapper input {
  width: calc(90% - 10px); /* 输入框占据90%的宽度，减去10px的右侧间距 */
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px 0 0 5px; /* 左侧边角为圆角，右侧为直角 */
  box-sizing: border-box;
  margin-left: 10px; 
}

.password-wrapper {
  display: flex;
  align-items: center;
  width: 100%; /* 确保与其他输入框一致的宽度 */
}

.password-wrapper input {
  padding-right: 0; /* 移除右侧的内边距 */
  margin-right: 10px; /* 在输入框和图标之间添加额外的间距 */
  margin-left: 10px; 
}

.password-wrapper img {
  cursor: pointer;
  width: 10%; /* 图标占据10%的宽度 */
  max-width: 40px; /* 限制图标的最大宽度 */
  height: auto;
  background-color: #ddd;
  border-radius: 0 5px 5px 0; /* 右侧边角为圆角，左侧为直角 */
  display: flex;
  justify-content: center;
  align-items: center;
  
}



.links {
  display: flex;
  justify-content: center; /* 将链接区域居中对齐 */
  gap: 20px; /* 增加链接之间的间距 */
  margin-bottom: 20px;
}

.links a {
  color: #007BFF;
  text-decoration: none;
}

.links a:hover {
  text-decoration: underline;
}

.terms {
  margin-bottom: 20px;
}

#sumbit_button {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  color: #fff;
  background-color: #ff9900;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#sumbit_button:hover {
  background-color: #ff8800;
}

@media (max-width: 1023px) and (min-width:769px) {
  .login-container {
    width: 90%;
    max-width: 500px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: auto;
    margin-top: 100px;
    margin-bottom: 100px;
  }
  
}
@media (max-width: 768px)and (min-width:432px) {
  .login-container {
    width: 90%;
    max-width: 500px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: auto;
    margin-top: 100px;
    margin-bottom: 100px;
  }
}
@media (max-width: 431px){
  .login-container {
    width: 90%;
    max-width: 500px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: auto;
    margin-top: 100px;
    margin-bottom: 100px;
  }
  .links {
    flex-direction: column-reverse;
    gap: 10px;
    margin-bottom: 10px;
  }
}
