.dji-login-bg {
  min-height: 100vh;
  background: #f5f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dji-login-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  padding: 40px 32px;
  width: 100%;
  max-width: 400px;
}
.dji-login-tabs {
  display: flex;
  margin-bottom: 32px;
}
.dji-tab-btn {
  flex: 1;
  background: none;
  border: none;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 16px;
  transition: background 0.2s;
}
.dji-btn-primary:hover {
  background: #0056c7;
}
.dji-social-login {
  text-align: center;
  margin-top: 16px;
}
.dji-social-btn {
  margin: 0 8px;
  border: none;
  background: #f7f8fa;
  color: #333;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.2s;
}
.dji-social-btn:hover {
  background: #e5e6eb;
}

/* 手机验证码登录样式 */
.phone-login-wrapper {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 24px;
}
.alisms-login-form .form-row {
  margin-bottom: 20px;
}
.alisms-login-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}
.alisms-login-form label i {
  margin-right: 8px;
  color: #666;
}
.alisms-login-form input[type="text"] {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  background: #ffffff;
  transition: all 0.3s ease;
}
.alisms-login-form input[type="text"]:focus {
  border-color: #006eff;
  outline: none;
  box-shadow: 0 0 0 1px rgba(0, 110, 255, 0.2);
}
.alisms-phone-group {
  display: flex;
  gap: 12px;
}
.alisms-phone-group input {
  flex: 1;
}
.alisms-send-code-btn {
  min-width: 120px;
  height: 42px;
  padding: 0 15px;
  background: #006eff;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.alisms-send-code-btn:hover {
  background: #0056c7;
}
.alisms-send-code-btn.disabled {
  background: #e0e0e0;
  cursor: not-allowed;
  color: #666;
}
.alisms-login-submit {
  width: 100%;
  padding: 12px;
  background: #006eff;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.alisms-login-submit:hover {
  background: #0056c7;
}
.alisms-message {
  margin-top: 15px;
  padding: 12px 15px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alisms-message i {
  font-size: 16px;
}
.alisms-error {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fecaca;
}
.alisms-success {
  background: #dcfce7;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

/* 响应式样式 */
@media (max-width: 768px) {
  .dji-login-card {
    padding: 24px 8px;
    max-width: 98vw;
  }
  .dji-login-tabs {
    margin-bottom: 20px;
  }
  .dji-form-group {
    margin-bottom: 16px;
  }
  .dji-btn-primary {
    font-size: 16px;
    padding: 12px 0;
  }
  .phone-login-wrapper {
    padding: 12px;
  }
  .alisms-send-code-btn {
    width: 100%;
    margin-top: 10px;
  }
  .alisms-phone-group {
    flex-direction: column;
  }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
  .dji-login-bg {
    background: #181a1b;
  }
  .dji-login-card {
    background: #23272f;
    box-shadow: 0 8px 32px rgba(0,0,0,0.32);
  }
  .dji-tab-btn {
    color: #bbb;
  }
  .dji-tab-btn.active {
    color: #4f8cff;
    border-bottom: 2px solid #4f8cff;
  }
  .dji-form-group input {
    background: #23272f;
    color: #fff;
    border-color: #333;
  }
  .dji-form-group input:focus {
    border-color: #4f8cff;
    background: #23272f;
  }
  .dji-link {
    color: #4f8cff;
  }
  .dji-btn-primary {
    background: #4f8cff;
  }
  .dji-btn-primary:hover {
    background: #006eff;
  }
  .dji-social-btn {
    background: #23272f;
    color: #fff;
  }
  .dji-social-btn:hover {
    background: #333;
  }
  .phone-login-wrapper {
    background: #23272f;
  }
  .alisms-login-form label {
    color: #eee;
  }
  .alisms-login-form input[type="text"] {
    background: #23272f;
    color: #fff;
    border-color: #333;
  }
  .alisms-login-form input[type="text"]:focus {
    border-color: #4f8cff;
    box-shadow: 0 0 0 1px rgba(79, 140, 255, 0.2);
  }
  .alisms-send-code-btn {
    background: #4f8cff;
  }
  .alisms-send-code-btn:hover {
    background: #006eff;
  }
  .alisms-send-code-btn.disabled {
    background: #333;
    color: #888;
  }
  .alisms-login-submit {
    background: #4f8cff;
  }
  .alisms-login-submit:hover {
    background: #006eff;
  }
  .alisms-error {
    background: #422c2c;
    color: #dc2626;
    border: 1px solid #fecaca;
  }
  .alisms-success {
    background: #1c3a2b;
    color: #16a34a;
    border: 1px solid #bbf7d0;
  }
}