.login-banner {
  width: 600px;
  height: 100%;
}

.login-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.login-form {
  width: 400px;
  padding: 40px;
}

.login-tabs {
  display: flex;
  margin-bottom: 30px;
  border-bottom: 1px solid #eee;
}

.tab-item {
  flex: 1;
  text-align: center;
  padding: 15px 0;
  cursor: pointer;
  color: #666;
  position: relative;
}

.tab-item.active {
  color: #F40F1E;
}

.tab-item.active:after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #F40F1E;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input {
  width: 100%;
  height: 45px;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0 15px;
  font-size: 14px;
}

.code-group {
  display: flex;
  gap: 10px;
}

.code-group input {
  flex: 1;
}

.code-group button {
  width: 120px;
  border: 1px solid #F40F1E;
  background: none;
  color: #F40F1E;
  border-radius: 4px;
  cursor: pointer;
}

.code-group button:disabled {
  border-color: #ddd;
  color: #999;
  cursor: not-allowed;
}

.remember {
  color: #666;
  font-size: 14px;
}

.login-btn {
  width: 100%;
  height: 45px;
  background: #F40F1E;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
}

.qrcode-box {
  text-align: center;
  padding: 20px 0;
}

#qrcode {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
}

.qrcode-box p {
  color: #666;
  font-size: 14px;
}

.login-header {
    height: 80px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.login-header .container {
    height: 100%;
    display: flex;
    align-items: center;
}

.login-header img {
    height: 40px;
}

.login-main {
    position: relative;
    height: calc(100vh - 160px);
    min-height: 600px;
    display: flex;
}

.login-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.login-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-container {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 460px; /* 增加宽度 */
    padding: 0;
}

.login-box {
    width: 100%;
    min-height: 500px; /* 设置最小高度 */
    padding: 40px 50px; /* 增加内边距 */
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    display: flex; /* 添加弹性布局 */
    flex-direction: column; /* 垂直排列 */
}

.login-content {
    flex: 1; /* 占满剩余空间 */
    display: flex;
    flex-direction: column;
}

.login-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.login-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.tab-item {
    flex: 1;
    padding: 15px 0;
    text-align: center;
    cursor: pointer;
    color: #666;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.tab-item.active {
    color: #F10E1E;
    font-weight: bold;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 25%;
    width: 50%;
    height: 2px;
    background: #F10E1E;
    transition: all 0.3s ease;
}

.form-item {
    margin-bottom: 25px;
}

.form-item input {
    width: 100%;
    height: 45px;
    padding: 0 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-item input:focus {
    border-color: #F10E1E;
    box-shadow: 0 0 0 2px rgba(241, 14, 30, 0.1);
    outline: none;
}

.verify-code {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.verify-code input {
    flex: 1;
}

.get-code {
    width: 120px;
    background: #F10E1E;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.get-code:hover {
    background: #d60d1b;
}

.get-code:disabled {
    background: #ccc;
}

.get-code {
    background-color: #F10E1E;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

.remember {
    display: flex;
    align-items: center;
    margin: 20px 0 30px;
}

.remember label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.remember input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    accent-color: #F10E1E;
}

.login-btn {
    width: 100%;
    height: 45px;
    background: #F10E1E;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: #d60d1b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(241, 14, 30, 0.2);
}

.login-qrcode {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
}

.qrcode-box {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    padding: 15px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.qrcode-box img {
    width: 100%;
    height: 100%;
}

.scan-status {
    margin-top: 15px;
    color: #666;
    font-size: 14px;
}

#qrcode {
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

#qrcode img {
    width: 100%;
    height: 100%;
}

.login-qrcode p {
    color: #666;
    font-size: 14px;
}

.login-footer {
    height: 80px;
    background: rgba(245, 245, 245, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #666;
}
