﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

:root {
    --primary: #3498db;
    --secondary: #2c3e50;
    --accent: #f39c12;
    --light: #f8f9fa;
    --dark: #343a40;
    --success: #2ecc71;
    --danger: #e74c3c;
    --border: #e0e7ff;
    --text: #2c3e50;
    --text-light: #7f8c8d;
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

body {
    background: linear-gradient(135deg, #f5f9fc 0%, #eef2f7 100%);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative; /* 新增 */
}
em {
    color: #ff0000;
    font-style: normal;
}
/* 顶部导航栏 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
}
.user-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}


    .nav-container {
        display: flex;
        align-items: center;
        flex: 1;
        justify-content: space-between;
        margin-left: 30px;
    }

.nav-links {
    display: flex;
    list-style: none;
    transition: var(--transition);
}

    .nav-links li {
        margin: 0 8px;
    }

    .nav-links a {
        text-decoration: none;
        color: var(--text);
        font-weight: 500;
        font-size: 1rem;
        padding: 8px 15px;
        border-radius: 30px;
        transition: var(--transition);
        white-space: nowrap;
    }

        .nav-links a:hover,
        .nav-links a.active {
            background-color: #e3f2fd;
            color: var(--primary);
        }

/* 汉堡菜单 */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
    background: transparent;
    border: none;
    outline: none;
}

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--secondary);
        margin: 5px 0;
        border-radius: 3px;
        transition: var(--transition);
    }

/* 用户区域样式 */
.user-area {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-left: 15px;
}

.login-btn {
    background: linear-gradient(135deg, var(--primary), #2980b9);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
    white-space: nowrap;
}

    .login-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(52, 152, 219, 0.4);
    }

.user-info {
    display: flex;
    align-items: center;
    padding: 8px 15px 8px 12px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid #e0e7ff;
}

    .user-info:hover {
        background: rgba(255, 255, 255, 1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    }

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.username {
    margin: 0 10px;
    font-weight: 500;
    color: var(--text);
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vip-badge {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: bold;
    margin-left: 5px;
}
.vip-grey {
    background: linear-gradient(135deg, #e4dcd1, #dad7d5);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: bold;
    margin-left: 5px;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-top: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    overflow: hidden;
}

    .user-dropdown.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .user-dropdown a {
        display: flex;
        align-items: center;
        padding: 12px 20px;
        text-decoration: none;
        color: #555;
        transition: var(--transition);
        border-bottom: 1px solid #f0f0f0;
    }

        .user-dropdown a i {
            margin-right: 10px;
            color: var(--primary);
            width: 20px;
            text-align: center;
        }

        .user-dropdown a:hover {
            background-color: #f8f9ff;
            color: var(--primary);
            padding-left: 25px;
        }

        .user-dropdown a:last-child {
            border-bottom: none;
            color: var(--danger);
        }

            .user-dropdown a:last-child:hover {
                background-color: #fff8f8;
                color: var(--danger);
            }

/* 主要内容区域 - 优化位置 */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 240px; /* 减少顶部和底部内边距 */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.site-logo {
    margin-bottom: 30px; /* 减少间距 */
    position: relative;
    z-index: 2;
}

    .site-logo h1 {
        font-size: 3.2rem; /* 稍小尺寸 */
        font-weight: 800;
        background: linear-gradient(135deg, var(--secondary), var(--primary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .site-logo p {
        font-size: 1.2rem; /* 稍小尺寸 */
        color: var(--text-light);
        max-width: 700px;
        margin: 0 auto;
        padding: 0 20px;
    }

/* 搜索区域 */
.search-container {
    width: 100%;
    max-width: 650px; /* 稍小宽度 */
    position: relative;
    margin: 20px auto 30px; /* 减少间距 */
    z-index: 2;
}

.search-box {
    min-width:300px;
    width: 100%;
    padding: 16px 25px; /* 稍小内边距 */
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    outline: none;
    border: 1px solid #e0e7ff;
}

    .search-box:focus {
        box-shadow: 0 10px 30px rgba(52, 152, 219, 0.25);
        border-color: #a0d2ff;
    }

.search-btn {
    position: absolute;
    right: 6px;
    top: 6px;
    background: linear-gradient(135deg, var(--primary), #2980b9);
    color: white;
    border: none;
    padding: 12px 28px; /* 稍小内边距 */
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

    .search-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(52, 152, 219, 0.6);
    }

/* 装饰元素 */
.decoration {
    position: absolute;
    z-index: 1;
    opacity: 0.1;
}

.circle {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    top: 15%;
    left: 10%;
}

.square {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, var(--accent), #e67e22);
    bottom: 25%;
    right: 10%;
    transform: rotate(45deg);
}

/* 底部信息 - 简化版 */
.footer {
    background: var(--secondary);
    color: #ecf0f1;
    padding: 20px;
    text-align: center;
    margin-top: auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

    .footer-links a {
        color: #bdc3c7;
        text-decoration: none;
        margin: 0 12px;
        font-size: 0.95rem;
        transition: color 0.3s ease;
        white-space: nowrap;
    }

        .footer-links a:hover {
            color: var(--primary);
        }

.copyright {
    font-size: 0.9rem;
    color: #7f8c8d;
}




/* 用户中心内容 */
.user-center-container {
    display: flex;
    max-width: 1200px;
    margin: 110px auto;
    padding: 0 20px;
    gap: 30px;
}

/* 左侧导航 */
.user-sidebar {
    flex: 0 0 250px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.user-profile {
    padding: 30px 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 36px;
    color: var(--primary);
    border: 3px solid rgba(255,255,255,0.5);
}

.profile-name {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-vip {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

    .profile-vip i {
        margin-right: 5px;
        color: #FFD700;
    }

.sidebar-menu {
    list-style: none;
}

    .sidebar-menu li {
        border-bottom: 1px solid #f0f0f0;
    }

    .sidebar-menu a {
        display: flex;
        align-items: center;
        padding: 15px 20px;
        text-decoration: none;
        color: var(--text);
        transition: var(--transition);
    }

        .sidebar-menu a i {
            margin-right: 12px;
            width: 24px;
            text-align: center;
            color: var(--text-light);
            font-size: 1.2rem;
        }

        .sidebar-menu a:hover,
        .sidebar-menu a.active {
            background-color: #f5f9ff;
            color: var(--primary);
        }

            .sidebar-menu a.active i {
                color: var(--primary);
            }

.badge-count {
    margin-left: auto;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

/* 右侧内容区域 */
.user-content {
    flex: 1;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.content-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
}

/* 快速操作按钮 */
.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.action-card {
    background: #f8f9ff;
    border-radius: var(--border-radius);
    padding: 20px;
    flex: 1;
    min-width: 180px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #eef2f7;
}

    .action-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

    .action-card i {
        font-size: 2.5rem;
        color: var(--primary);
        margin-bottom: 15px;
    }

    .action-card h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .action-card p {
        font-size: 0.9rem;
        color: var(--text-light);
    }

/* 表格样式 */
.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    min-width: 700px;
}

    .data-table th {
        background-color: #f8fafc;
        text-align: left;
        padding: 15px;
        font-weight: 600;
        color: var(--secondary);
        border-bottom: 2px solid #eee;
    }

    .data-table td {
        padding: 12px 15px;
        border-bottom: 1px solid #f0f0f0;
    }

    .data-table tr:hover {
        background-color: #fafcff;
    }

.table-link {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

    .table-link:hover {
        text-decoration: underline;
    }

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.badge-success {
    background-color: #e8f6ef;
    color: var(--success);
}

.badge-warning {
    background-color: #fef9e7;
    color: var(--accent);
}

.badge-info {
    background-color: #e8f4fd;
    color: var(--primary);
}


/* 详情*/

.resource-container {
    background-color: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 30px;
    max-width: 1200px;
    margin: 110px auto;
}

.resource-header {
    color: black;
    padding: 25px 30px;
    position: relative;

    border-bottom: 1px solid var(--border)
}

    .resource-header h1 {
        font-size: 2.2rem;
        margin-bottom: 10px;
        font-weight: 700;
    }

.resource-breadcrumb {
    align-items: center;
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.resource-breadcrumb a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: var(--transition);
}

.resource-breadcrumb a:hover {
    color: white;
    text-decoration: underline;
}

.resource-breadcrumb i {
    margin: 0 10px;
    font-size: 0.8rem;
}

.resource-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 25px 30px;
    border-bottom: 1px solid var(--border);
}

.info-item {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

    .info-item i {
        margin-right: 10px;
        color: var(--text-light);
        width: 20px;
        text-align: center;
    }

.info-label {
    color: var(--text-light);
    margin-right: 8px;
}

.info-value {
    font-weight: 500;
}

.action-section {
    padding: 20px 30px;
    text-align: center;
}

.access-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 15px rgb(46 102 204 / 35%);
    transition: var(--transition);
    margin-bottom: 15px;
}

    .access-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgb(46 102 204 / 35%);
    }

.access-hint {
    color: var(--text-light);
    font-size: 0.9rem;
    align-items: center;
    margin: 10px auto;
}

.user-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.user-action {
    color: var(--text);
    font-size: 0.9rem;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: var(--transition);
    border: 1px solid var(--border);
    background: white;
}

    .user-action:hover {
        background: #f8f9ff;
        border-color: var(--secondary);
        color: var(--secondary);
    }

    .user-action i {
        margin-right: 8px;
    }

.related-resources {
    padding: 30px;
}

.section-title {
    font-size: 1.3rem;
    color: var(--text);
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

    .section-title::after {
        content: '';
        flex-grow: 1;
        height: 1px;
        background: var(--border);
        margin-left: 15px;
    }

.resource-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.resource-card {
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    padding: 20px;
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
}

    .resource-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        border-color: var(--primary);
    }

    .resource-card .user-list {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
    }

    .resource-card .user-avatar {
        width: 30px;
        height: 30px;
        background: linear-gradient(135deg, var(--secondary), #2980b9);
        border-radius: 50%;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.75rem;
        font-weight: 600;
    }

    .resource-card .username {
        margin-left: 10px;
        font-size: 0.9rem;
        font-weight: 500;
    }

    .resource-card .resource-name {
        font-weight: 600;
        margin-bottom: 5px;
        font-size: 1.05rem;
        color: var(--text);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .resource-card .resource-path {
        font-size: 0.85rem;
        color: var(--text-light);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.disclaimer {
    padding: 30px;
    background: #f8f9ff;
    border-top: 1px solid var(--border);
}

    .disclaimer h3 {
        color: var(--accent);
        margin-bottom: 15px;
        font-size: 1.15rem;
        display: flex;
        align-items: center;
    }

    .disclaimer p {
        font-size: 0.9rem;
        color: var(--text-light);
        line-height: 1.7;
    }




/* 搜索条件区域 */
.search-filters {
    min-width: 1200px;
    margin: 30px auto 20px;
    margin-top:100px;
}

.filters-container {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--secondary);
    font-size: 1rem;
}

.filter-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e7ff;
    border-radius: 10px;
    background: white;
    font-size: 1rem;
    color: var(--text);
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233498db' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

    .filter-select:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
        outline: none;
    }

.filter-actions {
    display: flex;
    gap: 15px;
    align-items: flex-end;
}

.filter-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

    .btn-primary:hover {
        background: #2980b9;
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(52, 152, 219, 0.4);
    }

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

    .btn-outline:hover {
        background: #f0f7ff;
    }

/* 搜索结果区域 */
.search-results {
    width: 1200px;
    margin: 0 auto;
}
.result-header-content {
    display: flex;
    align-items: center;
}
    .result-header-content span {
        margin-bottom: 8px;
        margin-right: 10px;
    }
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.results-count {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary);
}

    .results-count span {
        color: var(--primary);
    }

.sort-select {
    padding: 8px 15px;
    border: 1px solid #e0e7ff;
    border-radius: 30px;
    background: white;
    font-size: 0.95rem;
    color: var(--text);
}

.results-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.result-item {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 10px 20px 20px 20px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

    .result-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }

.result-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e3edff, #d6e4ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.8rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.result-content {
    flex: 1;
}

.result-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--secondary);
}

    .result-title a {
        text-decoration: none;
        color: inherit;
        transition: color 0.3s ease;
    }

        .result-title a:hover {
            color: var(--primary);
        }

.result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.meta-tag {
    display: flex;
    align-items: center;
}

    .meta-tag i {
        color: var(--text-light);
        margin-right: 8px;
        width: 18px;
        text-align: center;
    }

.result-description {
    color: var(--text-light);
    margin-bottom: 10px;
    line-height: 1.6;
}

.result-actions {
    display: flex;
    gap: 15px;
    align-items:center;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.btn-detail {
    background: var(--primary);
    color: white;
    box-shadow: 0 3px 8px rgba(52, 152, 219, 0.3);
}

    .btn-detail:hover {
        background: #2980b9;
        transform: translateY(-2px);
        box-shadow: 0 5px 12px rgba(52, 152, 219, 0.4);
    }

.btn-save {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

    .btn-save:hover {
        background: #f0f7ff;
    }

/* 分页控件 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 8px;
    margin-bottom:20px;
}

.page-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    color: var(--text);
    font-weight: 500;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

    .page-item:hover,
    .page-item.active {
        background: var(--primary);
        color: white;
    }



/* 悬浮客服按钮容器 */
.floating-service {
    position: fixed;
    bottom: 110px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column-reverse; /* 面板在上，按钮在下 */
    align-items: flex-end;
    gap: 15px;
}

/* 主按钮样式 */
.service-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #2980b9);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 6px 15px rgba(0, 160, 233, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

    .service-btn:hover {
        transform: translateY(-5px) scale(1.1);
        box-shadow: 0 8px 20px rgba(0, 160, 233, 0.6);
    }

    .service-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        transform: scale(0);
        transition: transform 0.5s ease;
    }

    .service-btn:hover::before {
        transform: scale(2);
        opacity: 0;
    }

/* 悬停时显示的标签 */
.service-label {
    background: #2c3e50;
    color: white;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    opacity: 0;
    transition: all 0.3s ease;
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
}

.service-btn:hover + .service-label,
.floating-service:hover .service-label {
    opacity: 1;
    transform: translateY(-50%);
}

/* 客服选项面板 */
.service-panel {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 20px;
    width: 280px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    visibility: hidden;
    position: absolute;
    bottom: calc(100% + 15px);
    right: 0;
    pointer-events: none;
}

.floating-service:hover .service-panel {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

.panel-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e7ff;
}

.panel-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #12b7f5, #00a0e9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin-right: 12px;
}

.panel-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
}

.contact-method {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 12px;
    border-radius: 10px;
    border: 1px solid #e0e7ff;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .contact-method:hover {
        background: #f8faff;
        border-color: #3498db;
        transform: translateX(5px);
    }

.contact-icon {
    width: 36px;
    height: 36px;
    background: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: #3498db;
    font-size: 18px;
}

.contact-info {
    flex: 1;
}

.contact-title {
    font-weight: 600;
    margin-bottom: 3px;
    color: #2c3e50;
}

.contact-detail {
    font-size: 14px;
    color: #7f8c8d;
}

.contact-btn {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .contact-btn:hover {
        background: #2980b9;
        transform: translateY(-2px);
    }

.panel-footer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e7ff;
    text-align: center;
    font-size: 13px;
    color: #7f8c8d;
}



/* 弹窗遮罩层 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .modal-overlay.active {
        opacity: 1;
        visibility: visible;
    }

/* 弹窗主体 */
.report-modal {
    background-color: white;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .report-modal {
    transform: translateY(0);
}

/* 弹窗标题 */
.modal-header {
    padding: 18px 20px;
    border-bottom: 1px solid #eee;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* 弹窗内容 */
.modal-content {
    padding: 20px;
}

.report-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

/* 举报选项 */
.report-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 三列 */
    grid-template-rows: repeat(3, auto); /* 三行 */
    gap: 15px; /* 子项之间的间距 */
    margin-bottom: 25px;
}

.option-row {
    display: flex;
    align-items: center;
}

.option-label {
    margin-left: 10px;
    font-size: 15px;
    color: #333;
}

/* 单选按钮样式 */
.radio-input {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid #ccc;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

    .radio-input:checked {
        border-color: #3498db;
        background-color: #3498db;
    }

        .radio-input:checked::after {
            content: "";
            position: absolute;
            top: 4px;
            left: 4px;
            width: 8px;
            height: 8px;
            background-color: white;
            border-radius: 50%;
        }

/* 提交按钮 */
.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .submit-btn:hover {
        background-color: #2980b9;
    }

    .submit-btn:disabled {
        background-color: #ccc;
        cursor: not-allowed;
    }

/* 触发按钮样式 */
.trigger-btn {
    padding: 12px 24px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .trigger-btn:hover {
        background-color: #2980b9;
    }

    /* 触发按钮样式 */
        .show-alert-btn {
            padding: 12px 24px;
            background-color: #3498db;
            color: white;
            border: none;
            border-radius: 4px;
            font-size: 16px;
            cursor: pointer;
            transition: background-color 0.2s;
        }
        
        .show-alert-btn:hover {
            background-color: #2980b9;
        }
        
        /* 弹窗遮罩层 */
        .alert-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            
        }
        
        .alert-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        
        /* 弹窗主体 */
.alert-box {
    background-color: rgba(0, 0, 0, 0.65);
    color: white;
    border-radius: 8px;
    padding: 10px 25px;
    max-width: 80%;
    text-align: center;
    transform: translateY(5px);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    top:-20vh;
}
        
        .alert-overlay.active .alert-box {
            transform: translateY(0);
        }
        
        /* 提示文字 */
        .alert-message {
            font-size: 16px;
            line-height: 1.6;
            margin: 0;
        }
