/* 法律条款组件样式 */
.legal-terms {
  position: relative;
  margin-top: 0;
  border-top: 1px solid #e5e7eb;
  padding: 12px 24px;
  text-align: center;
  background-color: #fff;
  width: 100%;
  
  /* 在弹窗模式下的特殊处理 - 使用固定定位但不遮挡内容 */
  .pisell-lowcode-modal-body &, .login-lm-drawer-popover & {
    position: fixed;
    bottom: 0;
    left: 0;
    margin-top: 16px;
    border-top: none;
    padding: 8px 0;
    z-index: 1000;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  }
}

.legal-terms-content {
  text-align: center;
  font-size: 12px;
  color: #151624;
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto;
}

.legal-terms-link {
  color: inherit;
  cursor: pointer;
  transition: none;
  text-decoration: underline;
  
  &:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
    border-radius: 2px;
  }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .legal-terms {
    padding: 8px 16px;
  }
  
  .legal-terms-content {
    font-size: 11px;
  }
}

/* 深色主题支持 */
@media (prefers-color-scheme: dark) {
  .legal-terms {
    border-top-color: #e5e7eb;
  }
  
  .legal-terms-content {
    color: #151624;
  }
  
  .legal-term-link {
    color: #151624;
    
    &:hover {
      color: #151624;
    }
  }
}
