/* XT 品牌标识 — 与 XTAI 助手 FAB 同款 */
.xt-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(145deg, #3b82f6 0%, #2563eb 52%, #1e40af 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(15, 23, 42, 0.12);
  overflow: hidden;
  line-height: 0;
}

.xt-brand__svg {
  display: block;
  width: 100%;
  height: 100%;
}

.xt-brand--sm {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.xt-brand--md {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.xt-brand--lg {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.xt-brand--fab {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

/* 侧栏容器：仅布局，背景由 .xt-brand 承担 */
.admin-logo {
  background: transparent !important;
  box-shadow: none;
  padding: 0;
}

.admin-logo .xt-brand {
  width: 40px;
  height: 40px;
}

/* 登录页容器 */
.login-logo-icon {
  background: transparent !important;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

/* XTAI FAB 内品牌标填满按钮 */
.admin-ai-fab__inner {
  background: transparent !important;
  box-shadow: none !important;
}

.admin-ai-fab__inner .xt-brand--fab {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  box-shadow: none;
}
