/* Styles for the terms of service section */

.terms-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.terms-container h1 {
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
}

.terms-container h2 {
    color: #444;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.terms-container p,
.terms-container ul {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.terms-container ul {
    padding-left: 2rem;
}

.terms-container li {
    margin-bottom: 0.5rem;
}

.last-updated {
    font-style: italic;
    color: #777;
    text-align: center;
    margin: 2rem 0 1rem;
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #4a6ea9;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.back-to-top:hover {
    opacity: 1;
}

.back-to-top-icon {
    width: 24px;
    height: 24px;
    transform: rotate(180deg);
    filter: brightness(0) invert(1);
}

.terms-toc {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.terms-toc ul {
    list-style-type: none;
    padding-left: 0;
}

.terms-toc li {
    margin-bottom: 0.75rem;
}

.terms-toc a {
    color: #4a6ea9;
    text-decoration: none;
}

.terms-toc a:hover {
    text-decoration: underline;
}

.content-restriction {
    background-color: #fff0f0;
    border-left: 4px solid #e74c3c;
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.content-restriction h3 {
    color: #e74c3c;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.content-restriction p {
    margin-bottom: 0.5rem;
}