@use '../../../style/globals';
@use '../../../style/colors';

.save-dialog {
  padding: 24px;
  .version-buttons {
    .mat-mdc-form-field-subscript-wrapper {
      display: none;
    }
    .save-list-item {
      @extend .subheading;
      font-weight: 700 !important;
    }
    .mat-mdc-list-item {
      padding: 16px !important;
      height: fit-content;
    }
    .mat-mdc-list-item:hover:not(.mdc-list-item--disabled) {
      .save-list-item {
        color: colors.color(primary);
      }
    }
    .mat-mdc-list-item + .mat-mdc-list-item {
      .dark & {
        border-top: 1px solid colors.border-color(dark);
      }
      .light & {
        border-top: 1px solid colors.border-color(light);
      }
    }
    .mat-mdc-list-item.mdc-list-item--disabled {
      .light & {
        color: colors.on-color-deemphasis(light);
      }
      .dark & {
        color: colors.on-color-deemphasis(dark);
      }
    }
    .mat-mdc-form-field {
      width: 100%;
    }
  }
  .stage.reviewing {
    text-align: center;
  }
  .validation {
    h3 {
      margin-bottom: 0px;
    }
  }
  .column + .column {
    padding-left: 16px;
    .dark & {
      border-left: 1px solid colors.border-color(dark);
    }
    .light & {
      border-left: 1px solid colors.border-color(light);
    }
  }
  .buttons {
    button + button {
      margin-left: 10px;
    }
    margin-top: 24px;
    margin-bottom: 24px;
  }
}
