body {
    background-color: #f8f9fb;
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
}
.page-header .back-button, .page-header .header-placeholder {
    flex: 1 0 50px;
    max-width: 50px;
}
.page-header .back-button {
    font-size: 1.2rem;
    color: #8b5cf6;
    text-decoration: none;
}
.page-header .header-logo-link {
    display: flex;
    justify-content: center;
    flex-grow: 1;
}
.page-header .header-logo {
    height: 58px;
    width: auto;
}

.terms-container {
    padding: 30px 15px;
}

.terms-card {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 40px;
}

.terms-card h1 {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

.terms-card .last-updated {
    text-align: center;
    color: #777;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.terms-content h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.terms-content p, .terms-content li {
    color: #555;
    margin-bottom: 1rem;
}

.terms-content strong {
    color: #333;
    font-weight: 600;
}

.terms-content ul {
    padding-left: 20px;
}

.acceptance-section {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.acceptance-section .btn {
    padding: 12px 25px;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
}

.acceptance-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn.btn-success {
    background-color: #2a9d8f;
}
.btn.btn-primary {
    background-color: #8b5cf6;
    color: white;
}