@import "../../../../assets/scss/variables";

.toggle-box {
  width: max-content;
  position: relative;
  &__header {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 6px;
    background-color: $blue-to-gray;
    user-select: none;
    transition: background-color 0.2s ease;
    width: 35px;
    height: 35px;

    img {
      width: 100%;
    }

    &:hover {
      background-color: $secondary-color;
    }
  }

  &__content {
    display: flex;
    flex-direction: column;
    margin-top: -4px;
    padding: 30px;
    border-radius: 6px;
    border-top-left-radius: 0;
    background-color: var(--main-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: calc(100% + 50px);
    position: absolute;
    z-index: 999999999;
    min-width: max-content;
  }
}
