/*********************************************** 车牌号输入框 ***********************************************************/

.cph_input {
    margin: 0;
    padding: 0;
    border: 0;
    /* 当使用 box-sizing: border-box; 时，元素遵循的是边框盒模型（也称为 border-box 模型）。
    在这种模型下，指定的宽度和高度包括了内容、内边距和边框。
    这意味着，即使你增加了内边距或边框的大小，元素的总宽度和高度也不会改变。 */
    box-sizing: border-box;
}

.ul_input {
    padding: 0;
    /* 左右自动居中 */
    margin: 0 auto;
    max-width: 350px;
    /* 移除默认的原点 */
    list-style: none;
}

.ul_input li {
    float: left;
    width: 12.5%;
    text-align: center;
    /* 当使用 box-sizing: border-box; 时，元素遵循的是边框盒模型（也称为 border-box 模型）。
    在这种模型下，指定的宽度和高度包括了内容、内边距和边框。
    这意味着，即使你增加了内边距或边框的大小，元素的总宽度和高度也不会改变。 */
    box-sizing: border-box;
}

.hasPro span, .ppHas span {
    border: 1px solid #833C66 !important;
    color: #833C66 !important;
}

.ul_input li span {
    position: relative;
    display: block;
    /* 左右自动居中 */
    margin: 0 auto;
    background: #EAECEE;
    border: 1px solid #F2EBEF;
    border-radius: 4px;
    width: 30px;
    height: 38px;
    line-height: 40px;
}

.ul_input li:first-child span::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    border: 4px solid #833C66;
    border-left: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-radius: 2px;
}

.typing_span::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 6px;
    /* 设置宽度以控制粗细 */
    width: 2px;
    /* 设置高度以控制长度 */
    height: 70%;
    background-color: #1F1F1F;
    animation: typing_span_blink 1s step-end infinite;
}

/* 定义动画 */
@keyframes typing_span_blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.new_energy {
    color: #888888 !important;
    background-color: #c6e8c9 !important;
    border: 1px dashed green !important;
    /* 文本行从右到左垂直排列 */
    writing-mode: vertical-rl !important;
    font-size: 10px !important;
    line-height: 32px !important;
    /* 设置字符之间的间距 */
    letter-spacing: 0.5px !important;
}

/************************************************* 车牌号键盘 ***********************************************************/

.cphKeyboard {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    padding: 0;
    border: none;
}

.ul_board {
    background-color: #E1E1E1;
    text-align: center;
    margin: 0;
    padding: 16px 2px;
    font-size: 14px;
    list-style-type: none;
}

.ul_board li {
    float: left;
    width: 10%;
    padding: 2px;
    box-sizing: border-box;
}

.ul_board .ikey20 {
    margin-left: 5%;
}

.ul_board .li_w {
    width: 11.11%;
}

/*.ul_board .li_close {
    float: right;
    width: 22.22%;
}

.ul_board .li_clean {
    float: right;
    width: 22.22%;
}

.ul_board .li_close span {
    background-color: #ACB3BB;
}*/

.ul_board li span {
    display: block;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 2px 2px 2px #888888;
    line-height: 32px;
    padding-top: 2px;
}

.ul_pro li span {
    display: block;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 2px 2px 2px #888888;
    line-height: 32px;
    padding-top: 2px;
}

.ul_pro .li_close span {
    background-color: #CED3D9;
}

.ul_board li span:active {
    background-color: #833C66 !important;
    color: #fff !important;
}

.ul_pro {
    background-color: #E1E1E1;
    text-align: center;
    padding: 16px 2px;
    margin: 0;
    font-size: 14px;
    list-style-type: none;
}

.ul_pro li {
    float: left;
    width: 11.11%;
    padding: 2px;
    box-sizing: border-box;
}

.ul_pro li span:active {
    background-color: #833C66 !important;
    color: #fff !important;
}

.ul_pro .li_close {
    float: right;
    width: 22.22%;
}

.ul_pro .li_clean {
    float: right;
    width: 22.22%;
}

/****************************************************** 其他 ***********************************************************/

.clearfix {
    display: block;
}

.clearfix::after {
    content: '.';
    display: block;
    font-size: 0;
    height: 0;
    clear: both;
    visibility: hidden;
}