/**
 * 登录认证模块样式
 */

/* 登录弹框容器 */
.auth-login-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 登录弹框内容 */
.auth-login-box {
  background: white;
  padding: 30px;
  border-radius: 8px;
  min-width: 400px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* 标题栏 */
.auth-login-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.auth-login-title {
  margin: 0;
  font-size: 18px;
  color: #333;
}

.auth-login-close {
  border: none;
  background: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
}

.auth-login-close:hover {
  color: #666;
}

/* 错误消息 */
.auth-login-message {
  color: #f56c6c;
  margin-bottom: 20px;
  font-size: 14px;
  display: none;
}

.auth-login-message.show {
  display: block;
}

/* 表单 */
.auth-login-form {
  margin: 0;
}

/* 表单组 */
.auth-form-group {
  margin-bottom: 15px;
}

.auth-form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: #606266;
}

.auth-form-group input[type="text"],
.auth-form-group input[type="password"],
.auth-form-group input[type="tel"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 14px;
}

.auth-form-group input:focus {
  outline: none;
  border-color: #fe7805;
}

/* 验证码组 */
.auth-verify-group {
  display: flex;
  gap: 10px;
}

.auth-verify-group input {
  flex: 1;
}

.auth-verify-group img {
  width: 100px;
  height: 40px;
  cursor: pointer;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
}

.auth-verify-group img:hover {
  opacity: 0.8;
}

/* 短信验证码组 */
.auth-sms-group {
  display: flex;
  gap: 10px;
}

.auth-sms-group input {
  flex: 1;
}

.auth-send-sms-btn {
  padding: 10px 15px;
  background: white;
  color: #fe7805;
  border: 1px solid #fe7805;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
  transition: all 0.3s;
}

.auth-send-sms-btn:hover:not(:disabled) {
  background: #fff5eb;
}

.auth-send-sms-btn:disabled {
  color: #999;
  border-color: #dcdfe6;
  cursor: not-allowed;
}

/* 登录按钮 */
.auth-login-btn {
  width: 100%;
  padding: 12px;
  background: #fe7805;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s;
}

.auth-login-btn:hover {
  background: #e66a00;
}

.auth-login-btn:disabled {
  background: #ffb366;
  cursor: not-allowed;
}

/* 导航栏登录按钮 */
.nav-login-btn {
  padding: 8px 20px;
  background: #fe7805;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s;
}

.nav-login-btn:hover {
  background: #e66a00;
}

/* 导航栏用户信息 */
.nav-user-info {
  display: none;
  align-items: center;
}

.nav-user-info.show {
  display: flex;
}

.nav-username {
  margin-right: 10px;
  font-size: 14px;
  color: #606266;
}

.nav-logout-link {
  color: #fe7805;
  font-size: 14px;
  text-decoration: none;
}

.nav-logout-link:hover {
  color: #e66a00;
}

/* Loading 遮罩层 - 全屏黑色背景 */
.auth-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2;
  display: none;
}

.auth-loading-overlay.show {
  display: block;
}
#GEO {
  z-index: 10;
}