.dynamic-layout-container {
  display: flex;
  position: absolute;
  inset: 90px 230px 90px 230px;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0px 0px 4px 0px #ababab40;

  .left-panel {
    width: 375px;
    padding: 100px 48px;
    border-right: 1px solid #d9dde7;

    h1 {
      font-size: 24px;
      font-weight: 600;
      color: #1a1a1a;
      margin-bottom: 16px;
    }

    p {
      font-size: 14px;
      color: #666;
      line-height: 1.5;
    }
  }

  .right-content {
    width: calc(100% - 375px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 0 8px 8px 0;
    padding: 100px 120px;
    &.with-stepper {
      padding-top: 50px;
    }

    .content-wrapper {
      flex: 1;
      overflow-y: auto;

      &.no-scroll {
        & + .actions {
          &::before {
            display: none;
          }
        }
      }

      // .progress-steps {
      //   display: flex;
      //   gap: 8px;
      //   margin-bottom: 32px;
      //   position: sticky;
      //   top: 0;
      //   background: #fff;
      //   padding-bottom: 16px;
      //   z-index: 1;

      //   .step {
      //     height: 4px;
      //     flex: 1;
      //     background-color: #e8e8e8;
      //     border-radius: 2px;

      //     &.active {
      //       background-color: #3649c6;
      //     }
      //   }
      // }

      .heading {
        margin-bottom: 32px;

        h2 {
          font-size: 20px;
          font-weight: 600;
          color: #1a1a1a;
          margin-bottom: 8px;
        }

        .field-label {
          font-size: 14px;
          color: #666;
          margin-bottom: 8px;
        }
      }

      .form-section {
        margin-bottom: 32px;

        .field-group {
          display: flex;
          flex-wrap: wrap;
          gap: 24px;
          margin-bottom: 24px;
          justify-content: flex-start;
        }
      }
    }

    .actions {
      padding-top: 12px;
      display: flex;
      justify-content: space-between;
      background: #fff;
      flex-wrap: wrap;
      position: relative;

      &::before {
        content: "";
        position: absolute;
        top: 0;
        left: -25px;
        height: 1px;
        background: #d9dde7;
        right: -25px;
      }
    }
  }
}

@media screen and (min-width: 1400px) and (max-width: 1600px) {
  .dynamic-layout-container {
    inset: 90px 150px 90px 150px;
    .right-content {
      padding: 50px 90px;
    }
    .left-panel-image {
      width: 100%;
    }
  }
}

@media screen and (max-width: 1399px) {
  .dynamic-layout-container .left-panel {
    width: 300px;
  }
  .dynamic-layout-container .right-content {
    width: calc(100% - 300px);
  }
  .dynamic-layout-container {
    inset: 90px 100px 90px 100px;
    .right-content {
      padding: 50px 60px;
    }
    .left-panel-image {
      width: 100%;
    }
  }
}
