/*
 * SPDX-FileCopyrightText: 2019-present Tobias Kunze
 * SPDX-License-Identifier: Apache-2.0
 */

#flow {
  display: flex;
  flex-wrap: no-wrap;
  position: relative;
  user-select: none;
  margin-right: 270px;

  #steps {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: no-wrap;
    align-self: stretch;
    padding-left: 0;
    flex-direction: column;
    > .step {
      box-shadow: var(--shadow-lighter);
      margin: 18px;
      margin-bottom: 24px;

      .step-header {
        height: 200px;
        position: absolute;
        width: calc(100% - 36px);
        overflow: hidden;
        img {
          object-fit: cover;
          margin-left: auto;
          margin-right: auto;
          max-width: 100%;
        }
      }

      .step-main-container {
        padding: 24px;
        margin-top: 200px;
        .edit-container {
          input {
            width: 100%;
          }
        }
        .editable {
          border-radius: 6px;
          &.row {
            padding: 8px;
          }
          &:hover {
            filter: opacity(50%);
            background-color: var(--color-grey-light);
            transition: all 0.5s ease;
          }
          &:hover,
          & *:hover {
            cursor: pointer;
          }
        }

        form {
          margin-top: 12px;

          &#auth-form {
            position: relative;
            .overlay {
              position: absolute;
              left: 0;
              top: 30%;
              width: calc(100% - 40px);
              margin-left: auto;
              margin-right: auto;
              text-align: center;
              padding: 20px;
              margin: 20px;
              font-weight: bold;
              font-size: 22px;
              box-shadow:
                3px 3px 5px rgb(0 0 0 / 0.18),
                3px 1px 4px rgb(0 0 0 / 0.3);
              border: var(--color-danger) 4px solid;
              background-color: white;
            }
          }
        }
      }
    }
  }
}
#dirty-flow {
  z-index: 400;
  position: fixed;
  background-color: white;
  margin-bottom: 0;
  bottom: 1px;
  left: 250px;
  right: 0;
  box-shadow: var(--shadow-dialog);
  button {
    margin-left: auto;
  }
}
#flow-modal {
  width: 800px;
  max-width: 100%;
  padding: 16px 32px;
  .i18n-form-group {
    margin-top: 8px;
  }
}
.title-input input {
  text-align: right;
  font-weight: bold;
}
