:root {
  --ca-header-height: 60px;
}

.el-header {
  height: var(--ca-header-height) !important;
  left: var(--ca-aside-width);
  width: calc(100% - var(--ca-aside-width));
  transition: left 0.24s ease, width 0.24s ease;
}

.el-main {
  padding-top: calc(var(--ca-header-height) + 24px) !important;
  transition: padding-left 0.24s ease, padding-right 0.24s ease;
}

.el-container > .el-container {
  min-width: 0;
  width: 100%;
}

.home-dashboard-card {
  margin-top: 8px !important;
}

.el-header .header-right {
  gap: 12px;
}

.el-header .header-right__item {
  display: flex;
  align-items: center;
  min-height: 40px;
}

.el-header .header-right__button,
.el-header .header-right__control {
  box-sizing: border-box;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  height: 40px;
  border: 1px solid #e4e7ed !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: #606266 !important;
  box-shadow: none !important;
  transition: background-color 0.2s ease, border-color 0.2s ease,
    color 0.2s ease, box-shadow 0.2s ease;
  transform: none !important;
}

.el-header .header-right__button {
  width: 40px;
  padding: 0 !important;
}

.el-header .header-right__control--lang {
  min-width: 40px;
  padding: 0 8px !important;
}

.el-header .header-right__control--avatar {
  padding: 0 8px 0 4px !important;
}

.el-header .header-right__button:hover,
.el-header .header-right__control:hover,
.el-header .header-right__button:focus-visible,
.el-header .header-right__control:focus-visible {
  background: #f5f7fa !important;
  border-color: #c0c4cc !important;
  color: #409eff !important;
  box-shadow: 0 0 0 3px rgba(64, 158, 255, 0.12) !important;
  outline: none;
}

.el-header .header-right__button:active,
.el-header .header-right__control:active,
.el-header .header-right__button.is-active,
.el-header .header-right__control.is-active {
  background: #ecf5ff !important;
  border-color: #409eff !important;
  color: #409eff !important;
}

.el-header .header-right__control.is-disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.el-header .header-right__icon-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.el-header .header-right__icon-shell--flag {
  width: 18px;
  height: 18px;
}

.el-header .header-right__button img,
.el-header .header-right__control--lang img {
  width: 18px !important;
  height: 18px !important;
  border-radius: 0 !important;
  object-fit: contain;
}

.el-header .header-right__badge {
  line-height: 0;
}

.el-header .header-right__badge .el-badge__content.is-fixed {
  top: 7px !important;
  right: 7px !important;
  transform: translate(50%, -50%) !important;
  background: #f56c6c !important;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px rgba(245, 108, 108, 0.24);
}

.el-header .header-right__avatar {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px;
  padding: 0 !important;
  border-radius: 50% !important;
  overflow: hidden;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 600;
  line-height: 1;
}

.el-header .header-right__avatar-picture,
.el-header .header-right__avatar-picture img {
  display: block;
  width: 100%;
  height: 100%;
}

.el-header .header-right__avatar-image {
  border-radius: 50% !important;
  object-fit: cover;
}

.el-header .header-right__avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.el-header .header-right__chevron {
  margin-left: 8px !important;
  font-size: 12px !important;
  color: currentColor !important;
}

.el-header .header-right .cloum-line-item {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.el-header .header-right .header-right-item .cloum-line {
  height: 16px;
  border-color: #e4e7ed;
}

@media screen and (max-width: 750px) {
  .el-header {
    left: 0;
    width: 100%;
  }
}

.el-header .header-right .un-login {
  min-height: 40px;
  padding: 0 14px !important;
  border-radius: 8px !important;
}
