* { box-sizing: border-box; }
html, body, #app { height: 100%; margin: 0; padding: 0; }
body {
  font-family: "Noto Sans Arabic", "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  background: #f0f2f5;
  color: #303133;
}

/* ---------- login page ---------- */
.login-wrap {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.login-card {
  width: 400px;
  padding: 40px 32px 28px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
}
.login-title {
  text-align: center;
  font-size: 23px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #303133;
}
.login-sub {
  text-align: center;
  color: #909399;
  font-size: 13px;
  margin-bottom: 28px;
}
.login-tip {
  margin-top: 18px;
  font-size: 12px;
  color: #909399;
  text-align: center;
  line-height: 1.6;
}

/* ---------- layout ---------- */
.layout-root { height: 100vh; }
.aside {
  background: #001529;
  overflow-x: hidden;
}
.logo {
  height: 60px;
  line-height: 60px;
  text-align: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  background: #002140;
}
.layout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid #e6e6e6;
  padding: 0 20px;
}
.page-title { font-size: 16px; font-weight: 600; }
.user-info {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #303133;
}
.el-menu { border-right: none; }

/* ---------- dashboard ---------- */
.dash-header { margin-bottom: 18px; }
.stat-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform .2s, box-shadow .2s;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.stat-label { color: #909399; font-size: 13px; margin-bottom: 10px; display:flex; align-items:center; gap:6px; }
.stat-value { font-size: 26px; font-weight: 700; color: #303133; }
.stat-extra { font-size: 12px; color: #c0c4cc; margin-top: 6px; }
.icon-box {
  width: 40px; height: 40px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px;
}
.c-blue { background: #409eff; }
.c-green { background: #67c23a; }
.c-orange { background: #e6a23c; }
.c-red { background: #f56c6c; }
.c-purple { background: #8e44ad; }
.c-cyan { background: #13c2c2; }
