nz-header {
  padding: 0 4px;
  color: rgba(255, 255, 255, 0.85);
  background: #108ee9;
}

nz-sider {
  ::ng-deep {
    .ant-menu-inline-collapsed>.ant-menu-item .anticon+a {
      display: inline-block;
      max-width: 0;
      opacity: 0;
    }
  }
}

nz-badge {
  color: rgba(255, 255, 255, 0.85);
  font-size: 20px;
}

nz-tabset {
  ::ng-deep {
    .ant-tabs-nav {
      padding: 0 24px;
      margin: 0;
    }

    .ant-tabs-tab {
      .ant-tabs-tab-btn {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 16em;
      }

      .anticon-close {
        visibility: hidden;
        opacity: 0;
        position: absolute;
        top: 50%;
        right: 0;
        margin: 0;
        padding: 4px;
        transform: translate(100%, -50%);
        transition: all .3s;
        color: rgba(0, 0, 0, .45);
      }

      &:hover .anticon-close {
        visibility: visible;
        opacity: 1;

        &:hover {
          color: rgba(0, 0, 0, .85);
        }
      }
    }
  }
}

nz-content {
  background: #f0f2f5;
}

._logo {
  display: flex;
  align-items: center;
  margin: 0 8px 0 16px;

  img {
    height: 32px;
    width: 32px;
  }

  h1 {
    margin: 0 0 0 12px;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    font-family: Avenir, Helvetica Neue, Arial, Helvetica, sans-serif;
  }
}

._button {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 0 12px;
  cursor: pointer;
  transition: all .3s, padding 0s;

  &:hover,
  &._button-active {
    background: rgba(0, 0, 0, .05);
  }

  &>*:not(:first-child) {
    margin-left: 8px;
  }
}

._button-icon {
  font-size: 20px;
}

._message-wrapper {
  width: 280px;
  padding: 4px 0;

  [nz-row] {
    font-size: 16px;
    padding: 8px 16px;
    border-bottom: 1px solid #f0f0f0;

    a {
      font-size: 14px;
    }
  }

  nz-list-item {
    cursor: pointer;
    transition: all .3s;

    &:hover {
      background: #fafafa;
    }

    &._message-readed>* {
      opacity: .45;
    }
  }

  nz-pagination:not(:empty) {
    text-align: right;
    padding: 8px 16px;
    border-top: 1px solid #f0f0f0;
  }
}
