@use "../variables" as *;

.stepContainer {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: $step2BackgroundColor;

  .innerBox {
    width: 100%;
    max-width: 900px;
    background-color: $step2BoxColor;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 8px 16px $step2ShadowColor;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .headerContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 1.5rem;

    .logoContainer {
      img {
        width: auto;
        height: auto;
      }
    }

    .betaVersion {
      background-color: $step2VersionBoxColor;
      color: $step2WhiteColor;
      padding: 0.6rem 1.2rem;
      border-radius: 8px;
      font-size: 1rem;
      font-weight: 600;
      box-shadow: 0 4px 8px $step2ShadowColor;
      text-transform: uppercase;
    }
  }

  h1 {
    font-size: 2.2rem;
    color: $step2PrimaryColor;
    margin-bottom: 1.5rem;
    font-weight: bold;
  }

  p {
    font-size: 1.1rem;
    color: $step2TextColor;
    margin-bottom: 2rem;
  }

  .dbForm {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;

    input {
      padding: 1rem;
      font-size: 1rem;
      border: 1px solid $step2DarkenedShadowColor;
      border-radius: 8px;
      background-color: $step2LightenedBoxColor;
    }

    .nextStepButton {
      margin-top: 1rem;
      padding: 1rem;
      font-size: 1.1rem;
      background-color: $step2SecondaryColor;
      color: $step2WhiteColor;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      transition: background-color 0.3s ease;
      opacity: 0.5;
      pointer-events: none;

      &:not(:disabled) {
        opacity: 1;
        pointer-events: auto;
      }

      &:hover:enabled {
        background-color: lighten($step2SecondaryColor, 10%);
      }
    }
  }
}
