/* Legal pages: privacy, cookie, grazie, unsubscribe */
.center_content_pages {
    max-width: 900px;
    margin: 50px auto 50px;
    padding: 48px;
    background: var(--bg-card);
    border-radius: 8px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
    color: var(--text);
    line-height: 1.82;
}
.center_content_pages h1 {
    color: var(--text-dark);
    font-size: 2.05rem;
    text-align: left;
    margin: 0 0 34px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.16);
}
.privacy-intro {
    background: var(--bg-muted);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(var(--primary-rgb), 0.12);
    margin-bottom: 38px;
}
.center_content_pages h2 {
    font-size: 1.24rem;
    color: var(--text-dark);
    margin-top: 42px;
    margin-bottom: 16px;
    border-left: 3px solid var(--primary);
    padding-left: 14px;
}
.center_content_pages ul {
    padding-left: 1.4em;
    margin-left: 0;
}
.center_content_pages ul li {
    margin-bottom: 10px;
}
.center_content_pages a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}
.center_content_pages a:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-dark);
}
section { margin-bottom: 30px; }
.center_content_pages hr {
    border: 0;
    height: 1px;
    background: rgba(var(--primary-rgb), 0.12);
    margin: 40px 0 20px;
}
.browser-links li a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    padding: 10px 16px;
    border-radius: 8px;
    margin-bottom: 8px;
    border: 1px solid rgba(var(--primary-rgb), 0.12);
    color: var(--text) !important;
}
.browser-links li a:hover {
    color: var(--primary) !important;
    border-color: rgba(var(--primary-rgb), 0.28);
}
.browser-links { list-style: none; padding-left: 0; }
.browser-links a i { color: var(--text-muted); }
.browser-links li { margin-bottom: 8px; }
.browser-links a { text-decoration: none; font-weight: 600; }
.last-update { font-size: 0.85rem; color: var(--text-muted); }
.reset-wrap { text-align: center; margin-top: 30px; }
.center_content_pages a.btn-reset { display: inline-flex; align-items: center; gap: 8px; background-color: #64748b !important; color: #fff !important; padding: 10px 20px; border-radius: 6px; text-decoration: none !important; font-weight: bold; font-size: 0.9rem; transition: all 0.2s ease; }
.center_content_pages a.btn-reset:hover { background-color: #B52025 !important; color: #fff !important; }

/* Thanks page */
.thanks-container {
    max-width: 800px;
    margin: 100px auto;
    text-align: center;
    padding: 40px 20px;
}
.icon-circle {
    width: 100px;
    height: 100px;
    background: var(--alert-ok-bg);
    color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 30px;
    animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.thanks-container h1 { color: var(--text-dark); font-size: 2.5rem; margin-bottom: 20px; }
.thanks-container p { color: var(--text-muted); font-size: 1.2rem; line-height: 1.6; margin-bottom: 40px; }
.next-steps { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.btn-next {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}
.btn-primary { background: var(--primary); color: white !important; }
.btn-secondary { background: var(--bg-input); color: var(--text-dark) !important; border: 1px solid var(--border); }
.btn-next:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); opacity: 1; }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

/* Unsubscribe page */
body { background: var(--bg-page); display: flex; align-items: center; justify-content: center; min-height: 100vh; margin: 0; }
h2 { color: var(--primary); margin-top: 0; margin-bottom: 20px; }
p { color: var(--text-muted); line-height: 1.5; }
.row { text-align: left; margin: 15px 0; display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--radius-btn); transition: var(--transition); }
.row:hover { background: var(--bg-input); }
.row input { cursor: pointer; width: 18px; height: 18px; }
.row label { cursor: pointer; font-size: 0.95rem; color: var(--text-dark); flex: 1; }
.btn { background: var(--primary); color: white; border: none; padding: 14px; width: 100%; border-radius: var(--radius-btn); cursor: pointer; font-size: 1rem; font-weight: bold; transition: var(--transition); margin-top: 10px; }
.btn:hover { background: var(--primary-dark); }
.success { color: var(--alert-ok-text); background: var(--alert-ok-bg); padding: 15px; border-radius: var(--radius-btn); margin-bottom: 20px; font-weight: bold; border: 1px solid var(--alert-ok-border); }
.footer-link { display: inline-block; margin-top: 25px; color: var(--text-muted); text-decoration: none; font-size: 0.9rem; }
.footer-link:hover { text-decoration: underline; }
.unsubscribe-note { font-size: 0.8rem; color: #999; margin-top: 20px; }

@media (max-width: 768px) {
    .center_content_pages { margin: 28px 18px 54px; padding: 30px 22px; }
    .center_content_pages h1 { font-size: 1.8rem; }
    .thanks-container { margin: 60px auto; padding: 20px 16px; }
    h1 { font-size: 2rem; }
    p { font-size: 1rem; }
    .next-steps { flex-direction: column; align-items: center; }
}
