/* ==================== 康辉旅游网风格 CSS ==================== */

/* 字体设置 */
@import url('https://fonts.googleapis.com/css2?family=Microsoft YaHei, PingFang SC, sans-serif');

/* CSS变量 */
:root {
    --primary-color: #e65300;      /* 橙色主色 */
    --primary-hover: #d94a00;      /* 橙色hover */
    --secondary-color: #c40000;    /* 红色强调 */
    --dark-color: #333333;         /* 深色文字 */
    --gray-color: #666666;         /* 灰色文字 */
    --light-gray: #f5f5f5;         /* 浅灰背景 */
    --border-color: #e0e0e0;       /* 边框色 */
    --white: #ffffff;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 14px;
    color: var(--dark-color);
    line-height: 1.6;
    background: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* 容器 */
.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ==================== 顶部工具栏 ==================== */
.top-bar {
    background: #f5f5f5;
    border-bottom: 1px solid #e5e5e5;
    font-size: 12px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 32px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-left a {
    color: var(--gray-color);
}

.top-bar-left a:hover {
    color: var(--primary-color);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar-right a {
    color: var(--gray-color);
}

.top-bar-right a:hover {
    color: var(--primary-color);
}

.hotline {
    color: var(--primary-color);
    font-weight: bold;
}

/* ==================== Logo区 ==================== */
.header-main {
    background: var(--white);
    padding: 15px 0;
    border-bottom: 2px solid var(--primary-color);
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
}

.logo-text {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
}

.logo-text span {
    font-size: 12px;
    color: var(--gray-color);
    font-weight: normal;
    display: block;
}

/* 搜索框 */
.header-search {
    display: flex;
    align-items: center;
}

.header-search input {
    width: 380px;
    height: 38px;
    border: 2px solid var(--primary-color);
    border-right: none;
    padding: 0 15px;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.header-search button {
    width: 80px;
    height: 38px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
}

.header-search button:hover {
    background: var(--primary-hover);
}

.header-contact {
    text-align: right;
}

.header-contact .phone {
    font-size: 22px;
    color: var(--primary-color);
    font-weight: bold;
}

.header-contact .time {
    font-size: 12px;
    color: var(--gray-color);
}

/* ==================== 导航菜单 ==================== */
.nav-main {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.nav-list {
    display: flex;
    align-items: center;
    height: 44px;
}

.nav-list > li {
    position: relative;
}

.nav-list > li > a {
    display: flex;
    align-items: center;
    height: 44px;
    padding: 0 25px;
    font-size: 15px;
    color: var(--dark-color);
    font-weight: 500;
}

.nav-list > li > a:hover,
.nav-list > li.active > a {
    color: var(--primary-color);
    background: #fff5f0;
}

.nav-list > li:first-child a {
    background: var(--primary-color);
    color: var(--white);
}

.nav-list > li:first-child a:hover {
    background: var(--primary-hover);
}

/* 下拉菜单 */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 150px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-top: 2px solid var(--primary-color);
    box-shadow: var(--shadow);
    display: none;
    z-index: 1000;
}

.nav-list > li:hover .nav-dropdown {
    display: block;
}

.nav-dropdown li a {
    display: block;
    padding: 10px 20px;
    color: var(--gray-color);
    border-bottom: 1px solid #f0f0f0;
}

.nav-dropdown li a:hover {
    background: #fff5f0;
    color: var(--primary-color);
}

.nav-dropdown li:last-child a {
    border-bottom: none;
}

/* ==================== 语言切换 ==================== */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 20px;
    padding: 5px 10px;
    background: var(--light-gray);
    border-radius: 4px;
}

.lang-switch a {
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    color: var(--gray-color);
}

.lang-switch a.active {
    background: var(--primary-color);
    color: var(--white);
}

/* ==================== Banner轮播 ==================== */
.banner {
    position: relative;
    height: 480px;
    overflow: hidden;
}

.banner-slides {
    position: relative;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    background: rgba(255,255,255,0.95);
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.banner-content h2 {
    font-size: 22px;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.banner-content p {
    color: var(--gray-color);
    font-size: 14px;
}

.banner-content .price {
    color: var(--secondary-color);
    font-size: 24px;
    font-weight: bold;
    margin-top: 10px;
}

.banner-content .price small {
    font-size: 14px;
    font-weight: normal;
}

/* 轮播指示器 */
.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.banner-dots span {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
}

.banner-dots span.active {
    background: var(--primary-color);
    border-color: var(--white);
}

/* ==================== 快捷入口 ==================== */
.quick-entry {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.quick-entry-list {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.quick-entry-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 8px;
    transition: var(--transition);
}

.quick-entry-item:hover {
    background: #fff5f0;
}

.quick-entry-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 18px;
}

.quick-entry-item span {
    font-size: 15px;
    font-weight: 500;
    color: var(--dark-color);
}

/* ==================== 服务保障 ==================== */
.service-guarantee {
    background: var(--light-gray);
    padding: 40px 0;
}

.guarantee-list {
    display: flex;
    justify-content: space-around;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.guarantee-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    font-size: 28px;
    color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.guarantee-text h4 {
    font-size: 16px;
    color: var(--dark-color);
    margin-bottom: 3px;
}

.guarantee-text p {
    font-size: 12px;
    color: var(--gray-color);
}

/* ==================== 线路模块通用样式 ==================== */
.section {
    padding: 50px 0;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.section-title h2 {
    font-size: 24px;
    color: var(--dark-color);
}

.section-title h2 i {
    color: var(--primary-color);
    margin-right: 8px;
}

.section-title .more {
    color: var(--primary-color);
    font-size: 14px;
}

.section-title .more:hover {
    text-decoration: underline;
}

/* 目的地标签 */
.dest-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.dest-tab {
    padding: 6px 16px;
    background: var(--light-gray);
    border-radius: 20px;
    font-size: 13px;
    color: var(--gray-color);
    transition: var(--transition);
}

.dest-tab:hover,
.dest-tab.active {
    background: var(--primary-color);
    color: var(--white);
}

/* 产品卡片网格 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.product-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.product-card-img {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card-img img {
    transform: scale(1.1);
}

.product-card-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    background: var(--primary-color);
    color: var(--white);
    font-size: 12px;
    border-radius: 3px;
}

.product-card-body {
    padding: 15px;
}

.product-card-title {
    font-size: 15px;
    color: var(--dark-color);
    margin-bottom: 10px;
    line-height: 1.4;
    height: 42px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card-title:hover {
    color: var(--primary-color);
}

.product-card-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--gray-color);
    margin-bottom: 10px;
}

.product-card-info span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-card-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.product-card-price .price {
    color: var(--secondary-color);
    font-size: 22px;
    font-weight: bold;
}

.product-card-price .unit {
    color: var(--gray-color);
    font-size: 12px;
}

/* ==================== 分类筛选 ==================== */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 20px;
    background: var(--light-gray);
    border-radius: 8px;
    margin-bottom: 20px;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-item label {
    color: var(--gray-color);
    font-size: 13px;
}

.filter-item select {
    padding: 8px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--white);
    min-width: 120px;
    outline: none;
}

.filter-item select:focus {
    border-color: var(--primary-color);
}

.filter-btn {
    padding: 8px 20px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    background: var(--primary-hover);
}

/* ==================== 路线详情页 ==================== */
.route-detail {
    padding: 30px 0;
}

.route-detail-header {
    margin-bottom: 30px;
}

.breadcrumb {
    font-size: 12px;
    color: var(--gray-color);
    margin-bottom: 15px;
}

.breadcrumb a {
    color: var(--gray-color);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb span {
    margin: 0 8px;
}

.route-detail-title {
    font-size: 28px;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.route-detail-meta {
    display: flex;
    gap: 30px;
    color: var(--gray-color);
    font-size: 14px;
}

.route-detail-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.route-detail-price {
    font-size: 14px;
    color: var(--gray-color);
    margin-top: 10px;
}

.route-detail-price strong {
    color: var(--secondary-color);
    font-size: 28px;
}

/* 图片画廊 */
.route-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
    margin-bottom: 30px;
}

.route-gallery-main {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

.route-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.route-gallery-thumbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.route-gallery-thumb {
    height: 195px;
    border-radius: 8px;
    overflow: hidden;
}

.route-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 预订按钮 */
.booking-bar {
    position: sticky;
    bottom: 20px;
    background: var(--white);
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.booking-bar-price {
    font-size: 14px;
    color: var(--gray-color);
}

.booking-bar-price strong {
    color: var(--secondary-color);
    font-size: 32px;
}

.booking-bar-btn {
    display: flex;
    gap: 15px;
}

.booking-bar-btn button {
    padding: 12px 40px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.booking-bar-btn .btn-book {
    background: var(--primary-color);
    color: var(--white);
    border: none;
}

.booking-bar-btn .btn-book:hover {
    background: var(--primary-hover);
}

.booking-bar-btn .btn-custom {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.booking-bar-btn .btn-custom:hover {
    background: #fff5f0;
}

/* 详情内容区 */
.route-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

.route-main-content {
    background: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.route-section {
    margin-bottom: 40px;
}

.route-section:last-child {
    margin-bottom: 0;
}

.route-section-title {
    font-size: 18px;
    color: var(--dark-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.route-section-title i {
    color: var(--primary-color);
}

.route-section-content {
    color: var(--gray-color);
    line-height: 1.8;
}

.route-section-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 15px 0;
}

/* 侧边栏 */
.route-sidebar {
    position: sticky;
    top: 70px;
}

.sidebar-box {
    background: var(--white);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.sidebar-box-title {
    font-size: 16px;
    color: var(--dark-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

/* 热门路线侧边栏 */
.hot-route-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.hot-route-item:last-child {
    border-bottom: none;
}

.hot-route-item img {
    width: 80px;
    height: 60px;
    border-radius: 4px;
    object-fit: cover;
}

.hot-route-item-text h4 {
    font-size: 13px;
    color: var(--dark-color);
    margin-bottom: 5px;
    line-height: 1.3;
}

.hot-route-item-text .price {
    color: var(--secondary-color);
    font-weight: bold;
}

/* ==================== 定制表单 ==================== */
.custom-form-section {
    background: linear-gradient(135deg, #ff7a00 0%, #ff4500 100%);
    padding: 60px 0;
    margin: 50px 0;
}

.custom-form {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.custom-form h2 {
    text-align: center;
    font-size: 28px;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.custom-form p {
    text-align: center;
    color: var(--gray-color);
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 14px;
    color: var(--dark-color);
}

.form-group label .required {
    color: var(--secondary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(230, 83, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    text-align: center;
    margin-top: 20px;
}

.form-submit button {
    padding: 15px 60px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.form-submit button:hover {
    background: var(--primary-hover);
    transform: scale(1.02);
}

/* ==================== 分页 ==================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--gray-color);
    font-size: 14px;
    transition: var(--transition);
}

.pagination a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination .active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.pagination .disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ==================== 页脚 ==================== */
.footer {
    background: #2a2a2a;
    color: #cccccc;
    padding-top: 50px;
}

.footer-service {
    background: var(--white);
    padding: 30px 0;
    margin-bottom: 40px;
}

.footer-service-list {
    display: flex;
    justify-content: space-around;
}

.footer-service-item {
    text-align: center;
}

.footer-service-item i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.footer-service-item h4 {
    font-size: 16px;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.footer-service-item p {
    font-size: 12px;
    color: var(--gray-color);
}

.footer-main {
    padding-bottom: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 40px;
}

.footer-about h3 {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 15px;
}

.footer-about p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-about .footer-contact {
    font-size: 14px;
}

.footer-about .footer-contact strong {
    color: var(--primary-color);
    font-size: 20px;
}

.footer-col h4 {
    font-size: 16px;
    color: var(--white);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #444;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 13px;
    color: #999;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    background: #1a1a1a;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    font-size: 12px;
    color: #666;
}

.footer-bottom-content a {
    color: #999;
}

.footer-bottom-content a:hover {
    color: var(--primary-color);
}

/* ==================== 浮动客服 ==================== */
.floating-service {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 9999;
}

.service-trigger {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(230, 83, 0, 0.4);
    transition: var(--transition);
    position: relative;
}

.service-trigger:hover {
    transform: scale(1.1);
    background: var(--primary-hover);
}

.service-trigger i {
    font-size: 28px;
    color: var(--white);
}

.service-trigger .online-dot {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 12px;
    height: 12px;
    background: #4caf50;
    border-radius: 50%;
    border: 2px solid var(--white);
}

.service-panel {
    position: absolute;
    right: 70px;
    bottom: 0;
    width: 380px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
    display: none;
}

.service-panel.active {
    display: block;
}

.service-panel-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-panel-header h3 {
    font-size: 16px;
}

.service-panel-header .close-btn {
    cursor: pointer;
    font-size: 20px;
}

.service-panel-body {
    height: 350px;
    overflow-y: auto;
    padding: 20px;
}

.chat-message {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
}

.chat-message.service {
    justify-content: flex-start;
}

.chat-message.user {
    justify-content: flex-end;
}

.chat-message .avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.chat-message.service .avatar {
    background: var(--primary-color);
    color: var(--white);
}

.chat-message.user .avatar {
    background: #4caf50;
    color: var(--white);
}

.chat-message .content {
    max-width: 75%;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.chat-message.service .content {
    background: var(--light-gray);
    color: var(--dark-color);
}

.chat-message.user .content {
    background: var(--primary-color);
    color: var(--white);
}

.service-panel-input {
    padding: 15px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
}

.service-panel-input input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    outline: none;
}

.service-panel-input input:focus {
    border-color: var(--primary-color);
}

.service-panel-input button {
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.service-panel-input button:hover {
    background: var(--primary-hover);
}

/* ==================== 响应式 ==================== */
@media (max-width: 1200px) {
    .container {
        width: 100%;
    }
    
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .header-main .container {
        flex-wrap: wrap;
    }
    
    .header-search {
        order: 3;
        width: 100%;
        margin-top: 15px;
    }
    
    .header-search input {
        width: 100%;
    }
    
    .nav-list {
        overflow-x: auto;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .route-content {
        grid-template-columns: 1fr;
    }
    
    .route-sidebar {
        position: static;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
}

/* ==================== 动画 ==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* ==================== 后台样式 ==================== */
.admin-wrap {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 220px;
    background: #2a2a2a;
    color: var(--white);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.admin-sidebar-header {
    padding: 20px;
    background: var(--primary-color);
    text-align: center;
}

.admin-sidebar-header h2 {
    font-size: 18px;
}

.admin-sidebar-menu {
    padding: 20px 0;
}

.admin-sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: #ccc;
    border-left: 3px solid transparent;
}

.admin-sidebar-menu a:hover,
.admin-sidebar-menu a.active {
    background: #3a3a3a;
    color: var(--white);
    border-left-color: var(--primary-color);
}

.admin-main {
    flex: 1;
    margin-left: 220px;
    background: var(--light-gray);
    min-height: 100vh;
}

.admin-header {
    background: var(--white);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.admin-header h1 {
    font-size: 20px;
    color: var(--dark-color);
}

.admin-header .user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-content {
    padding: 30px;
}

.admin-card {
    background: var(--white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.admin-card-title {
    font-size: 18px;
    color: var(--dark-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.admin-table th {
    background: var(--light-gray);
    font-weight: 600;
    color: var(--dark-color);
}

.admin-table tr:hover {
    background: #fafafa;
}

.admin-table .actions {
    display: flex;
    gap: 10px;
}

.admin-table .actions a,
.admin-table .actions button {
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.admin-table .btn-edit {
    background: var(--primary-color);
    color: var(--white);
    border: none;
}

.admin-table .btn-delete {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
}

/* 表单样式 */
.admin-form {
    max-width: 800px;
}

.admin-form .form-group {
    margin-bottom: 20px;
}

.admin-form label {
    display: block;
    font-size: 14px;
    color: var(--dark-color);
    margin-bottom: 8px;
    font-weight: 500;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
}

.admin-form textarea {
    min-height: 200px;
    resize: vertical;
}

.admin-form .btn {
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.admin-form .btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: none;
}

.admin-form .btn-primary:hover {
    background: var(--primary-hover);
}

.admin-form .btn-secondary {
    background: var(--white);
    color: var(--gray-color);
    border: 1px solid var(--border-color);
}

/* 状态标签 */
.status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 12px;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-handled {
    background: #d4edda;
    color: #155724;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-color);
}

.empty-state i {
    font-size: 60px;
    margin-bottom: 20px;
    color: #ddd;
}

.empty-state h3 {
    font-size: 18px;
    margin-bottom: 10px;
}


