#client-edit-tunnel-page {
  h1 {
    @include typography(app-title);
    color: var(--text-body-primary);
  }

  h2 {
    @include typography(app-body-1);
    color: var(--text-body-primary);
  }

  h3 {
    @include typography(app-side-bar);
    color: var(--text-body-primary);
  }

  & > header {
    width: 100%;
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 15px;

    & > h1 {
      text-align: left;
    }

    & > .controls {
      margin-left: auto;
      display: flex;
      flex-flow: row;
      align-items: center;
      justify-content: center;
      gap: 20px;

      .btn {
        width: 100%;
        min-width: 130px;
      }
    }
  }

  & > .content {
    form {
      & > * {
        width: 100%;
      }

      display: flex;
      flex-direction: row;
      justify-content: space-between;
      gap: 50px;
      align-items: flex-start;

      @include media-breakpoint-down(xxl) {
        justify-content: flex-start;
        flex-direction: column;
      }

      & > .card {
        box-sizing: border-box;
        padding: 32px 64px;
      }

      & > .client {
        border-bottom: 1px solid var(--border-primary);
        margin-bottom: 10px;
      }

      & > h3 {
        margin-bottom: 10px;
      }

      .advanced-options-header {
        display: flex;
        align-items: center;
        gap: 5px;
        margin-bottom: 10px;

        & > button {
          background: none;
          border: none;
          padding: 0;
          margin: 0;
        }

        .arrow-single {
          width: 22px;
          height: 22px;
          margin-left: auto;
        }

        .underscore {
          flex-grow: 1;
          border-bottom: 1px solid var(--border-primary);
          margin-right: 10px;
        }
      }

      .advanced-options {
        display: none;
        transition: opacity 0.5s ease;
      }

      .advanced-options.open {
        display: block;
      }

      > .controls {
        padding-top: 42px;

        .btn {
          height: 47px;
        }
      }
    }
  }
}
