@import '~ehome-visual-standard/styles/eh-normalize-HD.less';
@import '../../style/index.less';
@import './custom-keyboard.less';

@plateNumberPrefixCls: eh-plate-number;

.@{plateNumberPrefixCls} {
  padding: 0 32px;

  * {
    list-style: none;
    box-sizing: border-box;
  }

  &-container {
    display: flex;
    align-items: center;

    .@{plateNumberPrefixCls}-item {
      &:first-child {
        margin-left: 0;
      }
    }
  }

  &-separator {
    display: block;
    width: 9px;
    height: 9px;
    margin-left: 10px;
    margin-right: -5px;
    border-radius: 50%;
    background-color: #9b9b9b;
  }

  &-item {
    flex: 1;
    margin-left: 16px;
    min-width: 40px;

    &-container {
      position: relative;
      width: 100%;
      padding-top: (9/7) * 100%;
    }

    &-layout {
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
    }

    &-box {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;

      border-radius: 8px;
      border: 2px solid #e0e0e0;
      background-color: @c003;

      &.activated {
        border: 3px solid @eh-theme;
      }
    }

    &-content {
      font-size: 32px;
      line-height: 40px;
      font-weight: bold;
      color: @c104;
    }

    &-energy {
      border-style: dashed;
      font-size: 32px;
      line-height: 40px;
      font-weight: bold;
      color: @c104;

      .@{plateNumberPrefixCls}-leaf {
        width: 32px;
        height: 35px;
      }
    }
  }
}
