@use "../../../../styles/tools/generate";
@use "../../../../styles/tools/convert";
@use "./config";

@mixin base($config: config.$layout) {
  @include generate.css-map($config);
}

@mixin radiocheck-base() {
  display: flex;

  > *:last-child {
    margin-bottom: 0;
  }
}

@mixin radiocheck-fill() {
  left: 0;
  top: 0;
  width: 100% !important;
  height: 100% !important;
}

@mixin description($config: config.$description) {
  @include generate.css-map($config);
}

@mixin label {
  display: inline;
}

@mixin radiocheck-label {
  vertical-align: middle;
}

@mixin input-control($config: config.$input-control) {
  @include generate.css-map($config);
}

@mixin radiocheck-control($config: config.$radiocheck-control) {
  @include generate.css-map($config);
}

@mixin hint($config: config.$hint) {
  @include generate.css-map($config);
}
