/* 隐私政策页面样式 */

/* 主容器样式 */
.privacy-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    gap: 30px;
    transition: all 0.3s ease-in-out;
}

/* 表格样式 */
.compliance-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #c0c0c0;
    table-layout: fixed;
}

/* .compliance-table td:first-child,
.compliance-table th:first-child {
    width: 25%;
} */

.compliance-table th {
    background-color: #1890ff;
    color: white;
    font-weight: 600;
    text-align: left;
    padding: 12px 15px;
    border: 1px solid #1681e5;
}

.compliance-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #d0d0d0;
    border-right: 1px solid #d0d0d0;
    vertical-align: top;
    line-height: 1.6;
    word-break: break-all;
}


.compliance-table tr:hover {
    background-color: #f1f8ff;
}

.compliance-table tr:last-child td {
    border-bottom: none;
}

/* 左侧导航样式 */
.policy-nav {
    width: 200px;
    flex-shrink: 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    align-self: flex-start;
    position: sticky;
    top: 90px;
    transition: all 0.3s ease;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.policy-nav:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* 右侧内容区域样式 */
.policy-content-container {
    flex: 1;
    min-width: 0;
    /* 防止flex子项溢出 */
    transition: all 0.3s ease;
}

/* 交互式菜单样式 */
.policy-menu {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.policy-item {
    border-bottom: 1px solid #eef0f5;
    transition: background-color 0.3s ease;
}

.policy-item:last-child {
    border-bottom: none;
}

/* 左侧导航菜单项样式 */
.policy-nav .policy-item {
    border-bottom: 1px solid #eef0f5;
    transition: all 0.25s ease-out;
}

.policy-nav .policy-header {
    padding: 15px 20px;
    cursor: pointer;
    font-weight: 500;
    color: #333;
    background-color: #fff;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.policy-nav .policy-header:hover {
    background-color: #f9f9f9;
    transform: translateX(5px);
}

.policy-nav .policy-header:before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
}

.policy-nav .policy-header:hover:before {
    left: 100%;
}

.policy-nav .policy-header.active {
    background-color: #e6f7ff;
    color: #1890ff;
    border-left: 3px solid #1890ff;
    box-shadow: inset 0 0 10px rgba(24, 144, 255, 0.1);
}

/* 右侧内容区域的菜单项样式 */
.policy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    font-weight: 500;
    color: #333;
    background-color: #fff;
    transition: all 0.3s ease;
}

.policy-header:hover {
    background-color: #f9f9f9;
}

.policy-header.active {
    background-color: #e6f7ff;
    color: #1890ff;
}

.policy-header .arrow {
    font-size: 12px;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.policy-header .arrow.up {
    transform: rotate(180deg);
}

.policy-content {
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 标题样式 */
.privacy-container h1 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
    position: relative;
    transition: all 0.3s ease;
}

.privacy-container h1:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1890ff, #36cfc9);
    transition: width 0.3s ease;
}

.privacy-container h1:hover:after {
    width: 100px;
}

.privacy-container h2 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: #444;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    transition: all 0.3s ease;
}

.privacy-container h3 {
    font-size: 18px;
    margin: 30px 0 15px;
}

/* 文本样式 */
.privacy-container p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #333;
}

.compliance-table p {
    margin-bottom: 3px;
}

.privacy-container ul {
    margin-bottom: 20px;
    /* padding-left: 20px; */
}

.privacy-container li {
    margin-bottom: 10px;
    line-height: 1.5;
    position: relative;
    margin-left: 12px;
}

.privacy-container .last-updated {
    color: #777;
    transition: all 0.3s ease;
}

.privacy-container .section {
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.privacy-container .section .strong {
    font-weight: 600;
}

.blue {
    color: #1890ff;
    cursor: pointer;
}