.login-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: none;
}

.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.login-box {
  position: relative;
  width: 400px;
  padding: 30px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

.close-btn {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 24px;
  color: #999;
  cursor: pointer;
}

.close-btn:hover {
  color: #666;
}

.login-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.login-header h2 {
  font-size: 20px;
  color: #333;
}

/* .switch-qr {
  color: #ff6700;
  cursor: pointer;
} */

.form-item {
  margin-bottom: 5px;
}

.form-item input {
  width: 100%;
  height: 40px;
  padding: 0 15px;
  border: 1px solid #ddd;
  border-radius: 2px;
  font-size: 14px;
}

.form-options {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.login-btn {
  width: 100%;
  height: 40px;
  background: #ff6700;
  color: #fff;
  border: none;
  border-radius: 2px;
  font-size: 16px;
  cursor: pointer;
}

/* .other-login {
  margin-top: 30px;
} */

/* .divider {
  text-align: center;
  position: relative;
  margin: 20px 0;
} */

/* .divider:before,
.divider:after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: #ddd;
}

.divider:before {
  left: 0;
}

.divider:after {
  right: 0;
}

.login-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
} */

.error-msg {
    color: #f44336;
    font-size: 12px;
    margin-top: 5px;
    min-height: 18px;
}

.form-item input.error {
    border-color: #f44336;
}

.login-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.login-btn:active {
    background: #ff5500;
}

/* 忘记密码模态框样式 */
/* .forget-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

.forget-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.forget-box {
    position: relative;
    width: 400px;
    padding: 30px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

.forget-header {
    margin-bottom: 30px;
    text-align: center;
}

.forget-header h2 {
    font-size: 20px;
    color: #333;
} */

/* .verify-code {
    position: relative;
} */

/* .send-code-btn {
    position: absolute;
    right: 1px;
    top: 1px;
    height: 38px;
    padding: 0 15px;
    background: #f5f5f5;
    border: none;
    border-left: 1px solid #ddd;
    color: #666;
    cursor: pointer;
}

.send-code-btn:hover {
    background: #e8e8e8;
}

.send-code-btn.disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
} */

/* .submit-btn {
    width: 100%;
    height: 40px;
    background: #ff6700;
    color: #fff;
    border: none;
    border-radius: 2px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
}

.submit-btn:hover {
    background: #ff5500;
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
} */

/* 注册模态框样式 */
.register-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

.register-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.register-box {
    position: relative;
    width: 400px;
    padding: 30px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

.register-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.register-header h2 {
    font-size: 20px;
    color: #333;
}

/* .switch-login {
    color: #ff6700;
    cursor: pointer;
    font-size: 14px;
}

.switch-login:hover {
    color: #ff5500;
} */

.register-form .form-item {
    margin-bottom: 1px;
}

.register-form input[type="text"],
.register-form input[type="password"] {
    width: 100%;
    height: 40px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.register-form input:focus {
    border-color: #ff6700;
    outline: none;
}

.agreement {
    margin: 20px 0;
    font-size: 12px;
    color: #666;
}

.agreement input[type="checkbox"] {
    margin-right: 5px;
}

.terms-link {
    color: #ff6700;
    text-decoration: none;
    margin-left: 5px;
}

.terms-link:hover {
    color: #ff5500;
}

.register-submit-btn {
    width: 100%;
    height: 40px;
    background: #ff6700;
    color: #fff;
    border: none;
    border-radius: 2px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.register-submit-btn:hover {
    background: #ff5500;
}

.register-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* 验证码按钮样式 */
/* .verify-code {
    position: relative;
} */

/* .send-code-btn {
    position: absolute;
    right: 1px;
    top: 1px;
    height: 38px;
    padding: 0 15px;
    background: #f5f5f5;
    border: none;
    border-left: 1px solid #ddd;
    color: #666;
    cursor: pointer;
}

.send-code-btn:hover {
    background: #e8e8e8;
}

.send-code-btn.disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
} */