html,
body,
#app {
  margin: 0;
  height: 100%;
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  background: #f3f6fb;
  color: #1e293b;
}

.boot-mask {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
}

.login-page {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.18), transparent 32%),
    linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #0f172a 100%);
}

.login-card {
  width: 420px;
  padding: 36px 36px 28px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
}

.login-brand {
  margin-bottom: 24px;
}

.login-mark {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #1d4ed8;
  color: #fff;
  font-size: 12px;
  letter-spacing: 1px;
}

.login-brand h1 {
  margin: 12px 0 6px;
  font-size: 24px;
}

.login-brand p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.login-btn {
  width: 100%;
}

.app-shell {
  height: 100%;
}

.app-aside {
  background: #0f172a;
  color: #fff;
}

.aside-logo {
  height: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.aside-logo span {
  font-weight: 700;
  letter-spacing: 1px;
}

.aside-logo small {
  color: #94a3b8;
  margin-top: 2px;
}

.app-aside .el-menu {
  border-right: none;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}

.header-title {
  font-size: 16px;
  font-weight: 600;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-user {
  color: #475569;
}

.app-main {
  padding: 20px;
}

.master-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 18px 22px;
  background: linear-gradient(180deg, #ecfdf5 0%, #fff 72%);
  border: 1px solid #bbf7d0;
  border-radius: 12px;
}

.master-switch.paused {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 72%);
  border-color: #e2e8f0;
}

.master-title {
  font-size: 16px;
  font-weight: 600;
}

.master-desc {
  margin-top: 6px;
  color: #64748b;
  font-size: 13px;
}

.stat-row {
  margin-bottom: 16px;
}

.stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 18px 20px;
  border: 1px solid #e2e8f0;
  min-height: 118px;
}

.stat-card.success {
  border-color: #bbf7d0;
  background: linear-gradient(180deg, #f0fdf4 0%, #fff 70%);
}

.stat-card.danger {
  border-color: #fecaca;
  background: linear-gradient(180deg, #fef2f2 0%, #fff 70%);
}

.stat-label {
  color: #64748b;
  font-size: 13px;
}

.stat-value {
  margin: 10px 0 6px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
}

.stat-time {
  font-size: 18px;
  word-break: break-all;
}

.stat-sub {
  color: #94a3b8;
  font-size: 12px;
}

.block-card {
  margin-bottom: 16px;
  border-radius: 12px;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.settings-form {
  max-width: 820px;
}

.form-tip {
  margin-left: 10px;
  color: #94a3b8;
  font-size: 12px;
}

.muted {
  color: #94a3b8;
}

.danger-text {
  color: #f56c6c !important;
}
