@use "../../scss/globals.scss";

.sidebar-adding-custom-game-modal {
  &__container {
    display: flex;
    flex-direction: column;
    gap: calc(globals.$spacing-unit * 3);
    min-width: 500px;
  }

  &__form {
    display: flex;
    flex-direction: column;
    gap: calc(globals.$spacing-unit * 2);
    text-align: left;
  }

  &__image-section {
    display: flex;
    flex-direction: column;
    gap: calc(globals.$spacing-unit * 2);
    text-align: left;
  }

  &__image-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: globals.$spacing-unit;
    border: 1px solid globals.$border-color;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.05);
  }

  &__preview-image {
    max-width: 120px;
    max-height: 80px;
    width: auto;
    height: auto;
    border-radius: 4px;
    object-fit: contain;
  }

  &__actions {
    display: flex;
    justify-content: flex-end;
    gap: calc(globals.$spacing-unit * 2);
  }
}
