/* 搜索输入框 */
.my_search_container {
    position: relative;
}

.my_search_input {
    width: 320px;
    height: 40px;
    padding: 4px 11px 4px 32px;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    outline: none;
}

/* placeholder样式 */
.my_search_input::placeholder {
    color: #7F7D83;
    font-size: 14px;
}

/* IE兼容性 - placeholder */
.my_search_input:-ms-input-placeholder {
    color: #bfbfbf;
    font-size: 14px;
}

.my_search_input::-ms-input-placeholder {
    color: #bfbfbf;
    font-size: 14px;
}

/* 搜索图标 */
.my_search_icon {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    pointer-events: none;
    transition: color 0.3s ease;
}

/* SVG图标 */
.my_search_icon svg {
    width: 100%;
    height: 100%;
}

.my_search_container:hover .my_search_icon {
    color: #40a9ff;
}

.my_search_input:focus + .my_search_icon {
    color: #1890ff;
}

/* active状态 */
.my_search_input:active {
    border-color: #096dd9;
    box-shadow: 0 0 0 1px #2080F6;
}

/* disabled状态 */
.my_search_input:disabled {
    background-color: #f5f5f5;
    border-color: #d9d9d9;
    color: #00000040;
    cursor: not-allowed;
}

/*禁用状态*/
.my_search_input:disabled::placeholder {
    color: #00000040;
}

.my_search_input:disabled + .my_search_icon {
    color: #00000040;
}

/* 有内容时的状态 */
.my_search_input:not(:placeholder-shown) + .my_search_icon {
    color: #595959;
}

/* 无边框变体 */
.my_search_container .my_search_input {
    border: none;
    background-color: #f5f5f5;
}

/* hover状态 */
.my_search_container .my_search_input:hover {
    background: #e5e6eb;
    box-shadow: none;
}

.my_search_container .my_search_input:focus {
    background-color: #ffffff;
    box-shadow: 0 0 0 1px #2080F6;
}


/*time datePicker样式*/
.my_date_picker {
    position: relative;
}

.my_date_picker .layui-input {
    border-radius: 8px;
    padding-right: 34px;
    height: 36px!important;
}

.my_date_picker .my_date_icon {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    pointer-events: none;
    transition: color 0.3s ease;
}


/* ================================
   form表单的输入框
================================ */
.my_form_input{
    width: 100%;
    height: 36px;
    font-size: 14px;
    padding: 11px 12px;
    border-radius: 6px;
    border: 1px solid #C9C9CC;
    background: #FFF;
    transition: all 300ms ease;
}

.my_form_input:focus {
    border-color: transparent;
    box-shadow: 0 0 0 1px #1379F8;
    outline: none;
}

/* placeholder样式 */
.my_form_input::placeholder {
    color: #7F7D83;
    font-size: 12px;
}

/*错误状态*/
.my_form_input.error{
    border-color: #E73F3F;
    background: #FFE7E7;
}
.my_form_input.error:focus{
    box-shadow: none;
}

/*只读状态*/
.my_form_input[readonly] {
    background: #e9e9e9;
    border: transparent;
    box-shadow: 0 0 0 1px transparent;
}

/*禁用状态*/
.my_form_input[disabled] {
    background: #e9e9e9;
    color: #919191;
    cursor: not-allowed;
    border-color: transparent;
}

.my_form_input[disabled]:hover{
    cursor: not-allowed;
    opacity: 1;
}

/* ================================
   popover弹窗
================================ */
.my_popover_sty{
    position: absolute;
    background: #ffffff;
    font-size: 13px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 20px;
    min-width: 200px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transform: translateY(-8px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 200ms ease;
}

.my_popover_sty.show{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/*默认是向下的箭头*/
.my_popover_sty::before {
    content: '';
    position: absolute;
    bottom: -9px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid rgba(0, 0, 0, 0.1);
}
.my_popover_sty::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #ffffff;
}

/*向上的箭头*/
.my_popover_sty.arrow_top::before{
    top: -9px;
    bottom: auto;
    border-top: none;
    border-bottom: 8px solid rgba(0, 0, 0, 0.1);
}
.my_popover_sty.arrow_top::after{
    top: -8px;
    bottom: auto;
    border-top: none;
    border-bottom: 8px solid #ffffff;
}

/*向左的箭头*/
.my_popover_sty.arrow_left::before{
    left: -9px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    border-left: none;
    border-right: 8px solid rgba(0, 0, 0, 0.1);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}
.my_popover_sty.arrow_left::after{
    left: -8px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    border-left: none;
    border-right: 8px solid #ffffff;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

/*向右的箭头*/
.my_popover_sty.arrow_right::before{
    right: -9px;
    left: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    border-right: none;
    border-left: 8px solid rgba(0, 0, 0, 0.1);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}
.my_popover_sty.arrow_right::after{
    right: -8px;
    left: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    border-right: none;
    border-left: 8px solid #ffffff;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.my_popover_sty ._title{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.my_popover_sty ._title ._span{
    color: #0A090B;
    line-height: 16px; /* 123.077% */
}

.my_popover_sty ._title ._closeIcon{
    padding: 0 4px;
    opacity: 1;
    transition: all 200ms ease;
}

.my_popover_sty ._title ._closeIcon:hover{
    cursor: pointer;
    opacity: 0.8;
}

.my_popover_sty ._content{
    margin-top: 10px;
    color: #5A5C60;
    line-height: 20px;
}


/* ================================
  错误提示dom
================================ */
.my_error_tip{
    position: absolute;
    left: 0;
    bottom: -18px;
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #E73F3F;
}

.my_error_tip ._tips_text{
    padding-left: 6px;
}