/* ========================================
   Service Center - 统一样式文件
   配合 AdminLTE 3.2.0 使用
   ======================================== */

/* --- 首页卡片网格 --- */
.home-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.site-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.site-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  white-space: nowrap;
}

.site-brand-text strong {
  font-size: 0.98rem;
  font-weight: 700;
  color: #111827;
}

.site-brand-text small {
  font-size: 0.76rem;
  color: #64748b;
}

.home-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, #f4f7ff 100%);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.home-hero-copy h4 {
  margin-bottom: 0.25rem;
}

.home-hero-copy small {
  color: #64748b;
}

@media (max-width: 576px) {
  .home-hero {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* --- Flash消息 --- */
.w2p_flash {
  z-index: 9999;
}

/* --- 拖拽指示条（通用） --- */
.drag-handle {
  display: block;
  width: 40px;
  height: 4px;
  background: #ccc;
  border-radius: 2px;
  margin: 0 auto;
}

/* --- AdminLTE 微调 --- */

/* 侧边栏品牌区域文字居中 */
.main-sidebar .brand-link {
  padding: 0.8125rem 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 内容区域内边距 */
.content-wrapper > .content {
  padding: 16px;
}

/* 面包屑区域紧凑 */
.content-header {
  padding: 4px 0;
}
