// placeholder
@import (optional, reference) '../../style/themes/index';

@mega-form-prefix-cls: ~'@{mega-prefix}-form';

@form-prefix-cls: ~'@{ant-prefix}-form';

.@{mega-form-prefix-cls} {
  &.@{form-prefix-cls}-inline .ant-form-item {
    width: 100%;
    display: flex;
    margin-bottom: 10px;
    .ant-form-item-control-wrapper {
      flex: 1;
    }
  }
  &.@{form-prefix-cls} .ant-form-item {
    .ant-form-item-children {
      display: inline-block;
      width: 100%;
    }
    .ant-calendar-picker {
      display: inline-block;
      width: 100%;
    }
  }
  .radio-badge {
    position: absolute;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    color: #fff;
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    white-space: nowrap;
    text-align: center;
    background: @primary-color;
    border-radius: 10px;
    box-shadow: 0 0 0 1px #fff;
    top: 0;
    right: 0;
    z-index: 99;
    transform: translate(50%, -50%);
    transform-origin: 100% 0;
  }
  .ant-form-item-hidden {
    display: none;
  }
  .ant-input-number {
    width: 100%;
  }
}
