/* 用户协议页样式 - 桌面端优化版本 */

.terms-content {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

.terms-section {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.terms-content {
    background-color: #fafafa;
}

.terms-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.terms-section h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.terms-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.terms-section ul li,
.terms-section ol li {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.terms-toc {
    position: sticky;
    top: 100px;
}

.terms-toc .card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.terms-toc ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.terms-toc ul li:last-child {
    border-bottom: none;
}

.terms-toc a {
    color: #333;
    transition: color 0.3s ease;
}

.terms-toc a:hover {
    color: #007bff;
}

.terms-toc a.active {
    color: #007bff;
    font-weight: 600;
}

.terms-alert .alert {
    border-left: 4px solid #4dabf7;
}

.prohibited-item {
    border-radius: 10px;
    transition: all 0.3s ease;
    padding: 0.75rem 1rem;
}

.prohibited-item:hover {
    background-color: rgba(220, 53, 69, 0.15) !important;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.2);
}
