@charset "UTF-8";
/* 默认样式，适用于桌面端 */
header {
  width: 1200px;
  margin: 0 auto;
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  width: 56px;
  height: 40px;
}

.logo img {
  width: 100%;
  height: 100%;
}

.title {
  font-weight: 600;
  font-size: 20px;
  color: #333333;
}

footer {
  width: 1200px;
  margin: 20px auto;
  font-weight: 400;
  font-size: 14px;
  color: #666666;
}

main {
  height: 600px;
  background-image: url("../img/login/login_bg.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.box {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
}

.login_box {
  margin-top: 40px;
  width: 440px;
  height: 456px;
  background: #ffffff;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.05);
  border-radius: 4px 4px 4px 4px;
}

.tabs {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eeeeee;
}

.tab {
  height: 100%;
  width: 50%;
  text-align: center;
  font-weight: 400;
  font-size: 16px;
  color: #333333;
  padding: 20px;
  cursor: pointer;
}

.active {
  font-weight: 600;
  font-size: 16px;
  color: #333333;
  border-bottom: 3px solid #026eff;
}

form {
  width: 360px;
  margin: 37px auto 0;
}

.ipt_box {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  height: 52px;
  background: #ffffff;
  border-radius: 4px 4px 4px 4px;
  border: 1px solid #eeeeee;
  padding: 0 16px;
  gap: 16px;
}

.icon {
  width: 20px;
  height: 20px;
}

input {
  flex: 1;
  font-size: 16px;
}

.hint_box {
  display: flex;
  justify-content: flex-end;
  font-weight: 400;
  font-size: 14px;
  color: #026eff;
  text-align: end;
}

.btn {
  margin-top: 28px;
  width: 360px;
  height: 52px;
  background: #026eff;
  border-radius: 8px 8px 8px 8px;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
}

.agreement {
  width: 360px;
  margin: 0 auto;
  font-weight: 400;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.6);
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 2px;
}

span {
  color: #4671fe;
}

img {
  width: 16px;
  height: 16px;
}

input::placeholder {
  font-weight: 400;
  color: #aaaaaa;
}

button {
  all: unset;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.filter-item {
  display: flex;
  font-size: 14px;
  color: #333333;
  margin-bottom: 16px;
}

.filter-item .options {
  margin-right: 2px;
}

.filter-item .uk-checkbox {
  margin-right: 5px;
  border-radius: 2px;
}

/* 移动端样式，使用媒体查询 */
@media (max-width: 768px) {
  header {
    width: 100%;
    padding: 15px;
    flex-direction: column;
    align-items: flex-start;
  }
  .logo {
    width: 150px;
    height: 50px;
  }
  .title {
    font-size: 18px;
  }
  .box {
    width: 100%;
    height: 100%;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .login_box {
    width: 100%;
    height: auto;
    margin-top: 20px;
    padding: 20px;
  }
  .tabs {
    text-align: center;
    margin-bottom: 20px;
  }
  .tab {
    width: 100%;
    padding: 10px;
    font-size: 14px;
  }
  form {
    width: 100%;
    margin-top: 20px;
  }
  .ipt_box {
    height: 45px;
    padding: 0 10px;
  }
  input {
    font-size: 14px;
  }
  .btn {
    width: 100%;
    height: 45px;
  }
  .agreement {
    width: 100%;
    margin-top: 10px;
    text-align: center;
  }
  footer {
    width: 100%;
    padding: 0 15px;
  }
}

/* 更小屏幕的设备（如手机） */
@media (max-width: 480px) {
  .logo {
    width: 120px;
    height: 40px;
  }
  .btn {
    height: 45px;
    font-size: 14px;
  }
  .ipt_box {
    height: 40px;
  }
  input {
    font-size: 14px;
  }
}

.code {
  font-weight: 400;
  font-size: 16px;
  color: #026eff;
  cursor: pointer;
}

.code:disabled {
  cursor: not-allowed;
}

.retrieve_title {
  font-weight: 600;
  font-size: 16px;
  color: #333333;
  padding: 20px;
  text-align: center;
}

.retrieve {
  height: 500px;
}

.retrieve #form {
  margin-top: 0;
}
