﻿* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    cursor: pointer;
    color: #5a5a5a;
}

/* —— 整体头部 —— */
.header-wrapper {
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    margin: 0 auto;
    transition: width .3s;
}

@media (min-width:1600px) {
    .header-content {
        width: 70%;
    }
}

@media (max-width:1599px) {
    .header-content {
        width: 80%;
    }
}

/* —— 左侧 Logo（25%）—— */
.header-logo {
    flex: 0 0 25%;
}

    .header-logo img {
        height: 64px;
    }

/* —— 中央功能区（70%）—— */
.header-main {
    flex: 0 0 70%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

/* —— 搜索区（60%）—— */
.search-area {
    flex: 0 0 60%;
    position: relative;
}

.search-input {
    width: 100%;
    padding-left: 90px;
    padding-right: 120px;
}

.search-label {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}
/* 单选框容器 */
.search-select {
    position: absolute;
    right: 60px;
    top: 0;
    display: flex;
    align-items: center;
}
/* 搜索按钮 */
.search-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 50px;
    border: none;
    background: #1E9FFF;
    color: #fff;
    border-radius: 0 2px 2px 0;
    cursor: pointer;
}

    .search-btn i {
        font-size: 18px;
    }

/* —— 登录区（35%）—— */
.login-area {
    flex: 0 0 35%;
    display: flex;
    align-items: center; /* 垂直居中 */
    justify-content: flex-end; /* 水平居左对齐 */
    gap: 10px;
}

.layui-input {
    height: 34px;
}

.layui-btn {
    height: 34px;
    line-height: 34px;
}

footer.footer {
    border: 0px solid #D5D5D5;
    background-color: #ff9910;
    overflow: hidden;
    width: 100%;
}

    footer.footer div.container {
        margin: 1% auto;
        border: 0px solid #D5D5D5;
        width: 50%;
        color: #333334;
    }

        footer.footer div.container p {
            text-align: center;
            font-size: 16px;
            line-height: 25px;
        }
