/*
    Created on : 2025/09/29, 18:05:22
    Author     : xianxm
    Description: 文档中心-搜索栏
*/

/* 重置样式 - 兼容各版本浏览器 */
* {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html,body{
    width: 100%;
    height: 100%;
}

.page-search {
    display: flex;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: -o-flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    min-width: 375px;
    min-height: 100vh;
    font-family: PingFangSC, PingFang SC, Microsoft YaHei, sans-serif;
    background-color: #F4F4F8;
    line-height: 1;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* 链接样式 */
a {
    text-decoration: none;
    color: inherit;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

a:hover, a:active, a:focus {
    outline: none;
    text-decoration: none;
}

/* 文字选中样式 */
::-moz-selection {
    background: #007bff;
    color: #fff;
}

::selection {
    background: #007bff;
    color: #fff;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 输入框默认样式 */
input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #ccc;
    padding: 5px;
}

input:focus, textarea:focus, select:focus {
    border-color: #007bff;
}

/* 按钮默认样式 */
button {
    cursor: pointer;
    outline: none;
    border: none;
    background: transparent;
}

/* 图片样式 */
img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

/* 清除浮动 */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.search-container {
    display: block;
    background-image: url("../icon_img/bg_search@2x.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    padding: 2.34375rem 0 3.75rem;
    text-align: center;
}

.search-header {
    display: -webkit-box; 
    display: -moz-box; 
    display: -ms-flexbox;
    display: -webkit-flex; 
    display: flex;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: flex-start;
    -moz-box-align: flex-start;
    -ms-flex-align: flex-start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
}

.search-headerL {
    flex: 0 0 30%;
    min-width: 180px;
    margin: 0 1rem;
}

.search-headerL__img {
    width: 100%;
}

.search-headerL__img img {
    width: 100%;
    height: auto;
}

.search-headerL__desc {
    margin-top: 1.25rem;
    line-height: 1.9375rem;
    font-weight: 500;
    font-size: 1.375rem;
    color: #8CA1AC;
    letter-spacing: 1px;
    white-space: nowrap;
}

.search-headerR {
    flex: 0 0 10%;
    min-width: 45px;
    margin: 0 1rem;
    padding-top: 2.8125rem;
}

.search-headerR__logo {
    width: 100%;
}

.search-headerR__logo img {
    width: 100%;
    height: auto;
}

.search-input{
    display: inline-block;
    width: 66%;
    padding: 1.6875rem 2.375rem 1.8125rem;
    background-color: #ffffff;
    background: #FFFFFF;
    border-radius: 15px;
    border: 2px solid #A1F4FF;
}

.search-textarea{
    width: 100%;
    height: 100%;
    min-height: 6.875rem; 
    max-height: 20.75rem;
    line-height: 2.3125rem;
    font-weight: 400;
    font-size: 1.125rem;
    color: #333333;
    letter-spacing: 1px;
    border: none;
    resize: none;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.search-textarea::-webkit-input-placeholder,
.search-textarea:-moz-placeholder,
.search-textarea::-moz-placeholder,
.search-textarea:-ms-input-placeholder,
.search-textarea::-ms-input-placeholder,
.search-textarea::placeholder {
    color: #C0C0C0;
    font-weight: 400;
}

.search-history{
    display: -webkit-box; 
    display: -moz-box; 
    display: -ms-flexbox;
    display: -webkit-flex; 
    display: flex;
    -webkit-box-align: flex-start;
    -moz-box-align: flex-start;
    -ms-flex-align: flex-start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    justify-content: flex-end;
}

.search-history__items{
    flex: 1;
    -webkit-flex: 1;
    -moz-flex: 1;
    -ms-flex: 1;
    -o-flex: 1;
    display: -webkit-box; 
    display: -moz-box; 
    display: -ms-flexbox;
    display: -webkit-flex; 
    display: flex;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    flex-wrap: wrap;
}

.search-history__tit{
    padding: .625rem 1rem .625rem 0;
    margin: .5625rem .5625rem 0 0;
    line-height: 1.0625rem;
    font-weight: 500;
    font-size: .75rem;
    color: #333333;
    letter-spacing: 1px;
    white-space: nowrap;
    background-color: transparent;
}

.search-history__item{
    padding: .625rem 1rem;
    margin: .5625rem .5625rem 0;
    line-height: 1.0625rem;
    font-weight: 500;
    font-size: .75rem;
    color: #333333;
    letter-spacing: 1px;
    white-space: nowrap;
    background: #F4F7FA;
    border-radius: 9px;
    cursor: pointer;
}

.search-btn{
    margin-top: .5625rem;
    padding: .8125rem 1.5625rem;
    line-height: 1.3125rem;
    font-weight: 600;
    font-size: .9375rem;
    color: #FFFFFF;
    letter-spacing: 1px;
    background: #1E9FFF;
    border-radius: .5625rem;
    white-space: nowrap;
}

.search-btn:disabled {
    opacity: 0.75;
    cursor: not-allowed;
    background-color: #cccccc;
}

@media (max-width: 768px) {
    .search-header{
        flex-direction: column-reverse;
    }
    .search-headerR{
        width: 100%;
        flex: unset;
        margin: 0;
        padding-top: 0;
        z-index: 0;
    }
    .search-headerR__logo{
        display: inline-block;
        width: 100px;
        overflow: hidden;
    }
    .search-headerR__logo img{
        margin-bottom: -18px;
    }
    .search-headerL{
        width: 100%;
        margin: -15px auto 10px;
        text-align: center;
    }
    .search-headerL__img{
        text-align: center;
    }
    .search-headerL__img img{
        display: inline-block;
        width: 289px;
    }
    .search-headerL__desc {
        margin-top: .625rem;
        margin-bottom: .625rem;
        font-size: 1.75rem;
    }
    .search-input {
        width: 82%;
        padding: 1rem 2.375rem 1.25rem;
    }
    .search-textarea{
        padding: 0;
        min-height: 60px; 
        max-height: 180px;
        line-height: 20px;
        font-weight: 400;
        font-size: 14px;
    }
    .search-history{
        flex-wrap: wrap;
        justify-content: flex-end;
        -webkit-box-align: flex-start;
        -moz-box-align: flex-start;
        -ms-flex-align: flex-start;
        -webkit-align-items: flex-start;
        align-items: flex-start;

    }
    .search-btn{
        height: 36px;
        line-height: 36px;
        margin-top: 1rem;
        padding: 0 14px;
        font-size: 14px;
        font-weight: 600;
        border-radius: 6px;
        opacity: 0.9;
    }
    .search-btn:hover,
    .search-btn:focus,
    .search-btn:active{
        opacity: 1;
    }
}



@media (max-width:50px) {html {font-size:5.625px;}}
@media (min-width:51px) and (max-width:100px) {html {font-size:6px;}}
@media (min-width:101px) and (max-width:150px) {html {font-size:6.375px;}}
@media (min-width:151px) and (max-width:200px) {html {font-size:6.75px;}}
@media (min-width:201px) and (max-width:250px) {html {font-size:7.125px;}}
@media (min-width:251px) and (max-width:300px) {html {font-size:7.5px;}}
@media (min-width:301px) and (max-width:350px) {html {font-size:7.875px;}}
@media (min-width:351px) and (max-width:400px) {html {font-size:8.25px;}}
@media (min-width:401px) and (max-width:450px) {html {font-size:8.625px;}}
@media (min-width:451px) and (max-width:500px) {html {font-size:9px;}}
@media (min-width:501px) and (max-width:550px) {html {font-size:9.375px;}}
@media (min-width:551px) and (max-width:600px) {html {font-size:9.75px;}}
@media (min-width:601px) and (max-width:650px) {html {font-size:10.125px;}}
@media (min-width:651px) and (max-width:700px) {html {font-size:10.5px;}}
@media (min-width:701px) and (max-width:750px) {html {font-size:10.875px;}}
@media (min-width:751px) and (max-width:800px) {html {font-size:11.25px;}}
@media (min-width:801px) and (max-width:850px) {html {font-size:11.625px;}}
@media (min-width:851px) and (max-width:900px) {html {font-size:12px;}}
@media (min-width:901px) and (max-width:950px) {html {font-size:12.375px;}}
@media (min-width:951px) and (max-width:1000px) {html {font-size:12.75px;}}
@media (min-width:1001px) and (max-width:1050px) {html {font-size:13.125px;}}
@media (min-width:1051px) and (max-width:1100px) {html {font-size:13.5px;}}
@media (min-width:1101px) and (max-width:1150px) {html {font-size:13.875px;}}
@media (min-width:1151px) and (max-width:1200px) {html {font-size:14.25px;}}
@media (min-width:1201px) and (max-width:1250px) {html {font-size:14.625px;}}
@media (min-width:1251px) and (max-width:1300px) {html {font-size:15px;}}
@media (min-width:1301px) and (max-width:1350px) {html {font-size:15.375px;}}
@media (min-width:1351px) and (max-width:1400px) {html {font-size:15.75px;}}
@media (min-width:1401px) and (max-width:1450px) {html {font-size:16px;}}
@media (min-width:1451px) and (max-width:1500px) {html {font-size:16.375px;}}
@media (min-width:1501px) and (max-width:1550px) {html {font-size:16.75px;}}
@media (min-width:1551px) and (max-width:1600px) {html {font-size:17.125px;}}
@media (min-width:1601px) and (max-width:1650px) {html {font-size:17.5px;}}
@media (min-width:1651px) and (max-width:1700px) {html {font-size:17.875px;}}
@media (min-width:1701px) and (max-width:1750px) {html {font-size:18.25px;}}
@media (min-width:1751px) and (max-width:1800px) {html {font-size:18.625px;}}
@media (min-width:1801px) and (max-width:1850px) {html {font-size:19px;}}
@media (min-width:1851px) and (max-width:1900px) {html {font-size:19.375px;}}
@media (min-width:1901px) and (max-width:1950px) {html {font-size:19.75px;}}
@media (min-width:1951px) and (max-width:2000px) {html {font-size:20.125px;}}
@media (min-width:2001px) and (max-width:2050px) {html {font-size:20.5px;}}
@media (min-width:2051px) and (max-width:2100px) {html {font-size:20.875px;}}
@media (min-width:2101px) and (max-width:2150px) {html {font-size:21.25px;}}
@media (min-width:2151px) and (max-width:2200px) {html {font-size:21.625px;}}
@media (min-width:2201px) and (max-width:2250px) {html {font-size:22px;}}
@media (min-width:2251px) and (max-width:2300px) {html {font-size:22.375px;}}
@media (min-width:2301px) and (max-width:2350px) {html {font-size:22.75px;}}
@media (min-width:2351px) and (max-width:2400px) {html {font-size:23.125px;}}
@media (min-width:2401px) {html {font-size:23.5px;}}