@import '../../scss/variables/colors';

.buttonWithLabel {
  align-items: center;
  display: flex;
  flex-direction: column;
  grid-gap: 8px;
}

.container {
  align-items: center;
  display: flex;
  flex-direction: column;
  width: fit-content;
}

.fullWidth {
  width: 100%;
}

.iconOnlyContainer {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;

  &:hover {
    opacity: 0.8;
  }

  &:active {
    opacity: 0.6;
  }
}

.iconOnly {
  display: block;
  height: 48px;
  width: 48px;
  object-fit: contain;
}

.largeContainer {
  box-shadow: 0 3px 6px $large-button-shadow !important;
  width: 100%;
}

.largeIcon {
  height: 24px;
  left: 12px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.largeText {
  margin: 0 auto !important;
  transform: translate(-0.675rem);
}

.smallContainer {
  border-radius: 50% !important;
  box-shadow: 0 3px 6px $small-button-shadow !important;
  height: 48px !important;
  min-width: 0 !important;
  padding: 8px !important;
  width: 48px !important;
}

.labelsContainer {
  text-align: left;
}

.noHover {
  &:hover {
    opacity: 1 !important;
    background: inherit !important;
    box-shadow: inherit !important;
  }

  &:active {
    opacity: 1 !important;
  }
}

.rectangleContainer {
  border: 1px solid $gray !important;
  border-radius: 8px !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 64px !important;
  padding: 16px !important;
  width: 100%;
  transition: opacity 0.2s ease;

  &:hover {
    opacity: 0.9;
  }

  &:active {
    opacity: 0.8;
  }
}

.rectangleIcon {
  display: block;
  height: 24px;
  width: 24px;
  object-fit: contain;
}
