/* ============================================
   AI飞拍365 - vw响应式布局 - 通用样式
   ============================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

body {
  font-family: PingFangSC-Regular, Roboto, Helvetica Neue, Helvetica, Tahoma,
    Arial, PingFang SC-Light, Microsoft YaHei;
  margin: 0;
  overflow-x: hidden;
}

input {
  background-color: transparent;
  border: 0;
  outline: none;
}

button {
  margin: 0;
  padding: 0;
  border: 0.0521vw solid transparent;
  outline: none;
  background-color: transparent;
  cursor: pointer;
  font-family: inherit;
}

button:active {
  opacity: 0.6;
}

/* ===== Flex 通用工具类 ===== */
.flex-col {
  display: flex;
  flex-direction: column;
}

.flex-row {
  display: flex;
  flex-direction: row;
}

.justify-start {
  display: flex;
  justify-content: flex-start;
}

.justify-center {
  display: flex;
  justify-content: center;
}

.justify-end {
  display: flex;
  justify-content: flex-end;
}

.justify-evenly {
  display: flex;
  justify-content: space-evenly;
}

.justify-around {
  display: flex;
  justify-content: space-around;
}

.justify-between {
  display: flex;
  justify-content: space-between;
}

.align-start {
  display: flex;
  align-items: flex-start;
}

.align-center {
  display: flex;
  align-items: center;
}

.align-end {
  display: flex;
  align-items: flex-end;
}

/* ===== 响应式媒体查询 ===== */

/* 平板横屏 1024px - 1279px */
@media screen and (max-width: 1279px) {
  * {
    font-size: inherit;
  }
}

/* 平板竖屏 768px - 1023px */
@media screen and (max-width: 1023px) {
  * {
    font-size: inherit;
  }
}

/* 手机端 < 768px */
@media screen and (max-width: 767px) {
  * {
    box-sizing: border-box;
  }
  body {
    overflow-x: hidden;
  }
  button {
    border: none;
  }
}
