* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body, #app {
  height: 100%;
  font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #303133;
  background-color: #f5f7fa;
}

/* Responsive breakpoints */
$xs: 768px;
$sm: 1024px;
$md: 1440px;

/* Mobile adaptations */
@media (max-width: $xs) {
  .el-table {
    font-size: 13px;
  }
  .el-form-item__label {
    font-size: 13px;
  }
  .el-button {
    font-size: 13px;
  }
}

/* Utility classes */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-container {
  padding: 16px;
  @media (min-width: $xs) {
    padding: 24px;
  }
}

.card-shadow {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.05);
}
