/* =========================================
   1. 基础容器 (Base)
   - 默认开启 Flex 布局
   ========================================= */
.flex {
  display: flex;
}
/* =========================================
   2. 主轴方向 (Direction)
   - 包含 display: flex
   ========================================= */
.flex-col {
  display: flex;
  flex-direction: column;
}
.flex-row {
  display: flex;
  flex-direction: row;
}
/* =========================================
   3. 主轴对齐 (Justify Content)
   - 控制水平方向 (默认 row 下)
   ========================================= */
.justify-start {
  justify-content: flex-start;
}
.justify-center {
  justify-content: center;
}
.justify-end {
  justify-content: flex-end;
}
.justify-between {
  justify-content: space-between;
}
.justify-around {
  justify-content: space-around;
}
.justify-evenly {
  justify-content: space-evenly;
}
/* =========================================
   4. 交叉轴对齐 (Align Items)
   - 控制垂直方向 (默认 row 下)
   - 类名已修正为完整拼写
   ========================================= */
.align-start {
  align-items: flex-start;
}
.align-center {
  align-items: center;
}
.align-end {
  align-items: flex-end;
}
.align-stretch {
  align-items: stretch;
}
.align-baseline {
  align-items: baseline;
}
/* =========================================
   5. 换行控制 (Wrap)
   ========================================= */
.flex-wrap {
  flex-wrap: wrap;
}
.flex-nowrap {
  flex-wrap: nowrap;
}
/* =========================================
   6. 常用快捷组合 (Shortcuts)
   - 封装最高频的写法
   ========================================= */
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.stack {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
