/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f5f5f5;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.5;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

a:hover {
    color: #40b4f7;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* 通用背景容器 */
.whitebg {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

/* 通用标题头部 */
.layheader {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.layheader span {
    font-size: 18px;
    font-weight: bold;
    position: relative;
    padding-left: 15px;
}

.layheader span:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: #40b4f7;
    border-radius: 2px;
} 


/* 通用宽度类 */
.w100 { width: 100%; }
.w1200 { width: 1200px; margin: 0 auto; }

/* 头部导航 */
.header {
    background: #40b4f7;
    height: 60px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .w1200 {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    color: #fff;
    font-weight: bold;
    margin-right: 50px;
}

.logo:hover {
    color: #fff;
}

.logo img {
    margin-right: 10px;
    transition: transform 0.8s ease;
    transform-origin: center center;
}

@keyframes logoRotate {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.5) rotate(180deg);
    }
    100% {
        transform: scale(1) rotate(360deg);
    }
}

.logo img.animate {
    animation: logoRotate 1.6s ease;
}

.nav {
    display: flex;
    height: 100%;
}

.nav li {
    height: 100%;
}

.nav li a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    color: #fff;
    font-size: 16px;
}

.nav li a:hover,
.nav li a.thisnav {
    background: rgba(0,0,0,0.1);
} 

/* 头部搜索框 */
.search-box {
    margin-left: auto;  /* 使搜索区域靠右 */
    display: flex;
    align-items: center;
}
.search-form {
    position: relative;
    display: flex;
    align-items: center;
}
.search-input {
    width: 240px;
    height: 36px;
    padding: 0 15px;
    border: 2px solid transparent;
    border-radius: 18px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
    outline: none;
}
.search-input::placeholder {
    color: rgba(255,255,255,0.8);
}
.search-input:focus {
    background: rgba(255,255,255,0.3);
    width: 280px;
    border-color: #FBB168;
}
.search-btn {
    position: absolute;
    right: 3px;
    top: 3px;
    height: 30px;
    width: 50px;
    border: none;
    background: rgba(255,255,255,0.9);
    color: #40b4f7;
    border-radius: 15px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}
.search-btn:hover {
    background: #fff;
    color: #1890ff;
}
.advanced-search {
    margin-left: 15px;
    color: #fff;
    font-size: 14px;
    opacity: 0.9;
}
.advanced-search:hover {
    color: #fff;
    opacity: 1;
}

/* 页脚 */
.footer {
    height: 80px;
    background: #333;
    color: #999;
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
} 

/* 分页样式 */
.page {
    margin: 30px 0;
    text-align: center;
}

.pagination {
    display: inline-flex;
    align-items: center;
    padding: 2px;
}

.pagination li {
    margin: 0 2px;
}

.pagination li a,
.pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    font-size: 14px;
    border-radius: 4px;
    color: #666;
    transition: all 0.3s ease;
}

.pagination li a {
    text-decoration: none;
}

.pagination li a:hover {
    color: #1890ff;
}

.pagination li.active span {
    background: #1890ff;
    color: #fff;
}

.pagination li.disabled span {
    color: #999;
    cursor: not-allowed;
}

/* 首尾页特殊样式 */
.pagination li:first-child span,
.pagination li:first-child a,
.pagination li:last-child span,
.pagination li:last-child a {
    font-family: "宋体";
    font-weight: bold;
} 