/* ===== FT01 后台管理全局样式 ===== */

/* Vue 初始化前隐藏模板，避免闪烁 */
[v-cloak] {
  display: none;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #f0f2f5;
  font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
}

#app {
  height: 100%;
}

/* ===== 登录页 ===== */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1f3a5f 0%, #2f5f8f 100%);
}

.login-card {
  width: 360px;
  padding: 36px 32px 28px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.login-card h1 {
  margin: 0 0 24px;
  font-size: 20px;
  text-align: center;
  color: #303133;
}

.login-btn {
  width: 100%;
}

/* ===== 主框架 ===== */
.main-wrap {
  height: 100vh;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1f3a5f;
  color: #fff;
}

.topbar-title {
  font-size: 16px;
  font-weight: 600;
}

.topbar-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-user span {
  font-size: 14px;
}

.sidebar {
  background: #fff;
  border-right: 1px solid #e6e8eb;
}

.sidebar .el-menu {
  border-right: none;
}

.content {
  padding: 16px;
  overflow: auto;
}

/* ===== 卡片与工具栏 ===== */
.card {
  background: #fff;
  border-radius: 6px;
  padding: 16px 20px 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.card-title {
  font-size: 16px;
  font-weight: 600;
  color: #303133;
  margin-bottom: 12px;
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.tip-line {
  margin: 0 0 14px;
  font-size: 13px;
}

.muted {
  color: #909399;
}

/* ===== 表格与分页 ===== */
.pager {
  margin-top: 14px;
  text-align: right;
}

.danger-text {
  color: #f56c6c;
}

/* ===== 录入弹窗表单宽度控制 ===== */
.el-dialog .el-select {
  width: 100%;
}
