@use "src/styles/variables" as *;

.vm-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  padding: $padding-small $padding-medium;
  gap: 0 $padding-large;
  min-height: 51px;
  z-index: 99;

  &_app {
    padding: $padding-small 0;
  }

  @media (max-width: 1000px) {
    position: sticky;
    top: 0;
    padding: $padding-small;
  }

  &_sidebar {
    display: flex;
    justify-content: space-between;
    box-shadow: $color-background-body 0 1px 1px 0px;
  }

  &_dark {
    .vm-header-button,
    button:before,
    button {
      background-color: $color-background-block;
    }
  }

  &-logo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    width: 100%;
    max-width: 75px;
    min-width: 75px;
    margin-bottom: 2px;
    overflow: hidden;

    svg {
      max-width: 75px;
      min-width: 75px;
    }

    &_mobile {
      order: 2;
      max-width: 75px;
      min-width: 75px;
      margin: 0 auto;
    }
  }
}
