/* Shared styles for privacy / terms / delete-account / support */
:root {
    --lp-bg: #0c0c0e;
    --lp-card: #1c1c1e;
    --lp-primary: #E30613;
    --lp-text: #e5e5ea;
    --lp-muted: #8e8e93;
    --lp-border: rgba(255, 255, 255, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body.legal-page {
    font-family: 'Outfit', system-ui, sans-serif;
    background: var(--lp-bg);
    color: var(--lp-text);
    line-height: 1.6;
    padding: 20px 15px;
    min-height: 100vh;
}

.lp-wrap {
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
    background: var(--lp-card);
    border: 1px solid var(--lp-border);
    border-radius: 20px;
    padding: 28px 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.lp-header {
    text-align: center;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--lp-border);
    padding-bottom: 14px;
}

.lp-header img {
    max-height: 48px;
    margin-bottom: 8px;
}

.lp-header h1 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.lp-date {
    font-size: 0.8rem;
    color: var(--lp-muted);
}

.lp-lang {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.lp-lang button {
    border: 1px solid var(--lp-border);
    background: transparent;
    color: var(--lp-muted);
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
}

.lp-lang button.is-active {
    background: var(--lp-primary);
    border-color: var(--lp-primary);
    color: #fff;
}

.lp-section { margin-bottom: 18px; }
.lp-section[hidden] { display: none !important; }

.lp-section h2 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--lp-primary);
    margin-bottom: 8px;
}

.lp-section p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-align: left;
}

.lp-section ul {
    margin: 0 0 10px 1.15em;
    font-size: 0.9rem;
}

.lp-section li { margin-bottom: 5px; }

.lp-section a {
    color: #ff8a80;
    text-decoration: underline;
}

.lp-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
}

.lp-btn {
    display: block;
    text-align: center;
    background: var(--lp-primary);
    color: #fff !important;
    text-decoration: none !important;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.lp-btn-ghost {
    background: transparent;
    border: 1px solid var(--lp-border);
    color: var(--lp-text) !important;
}

.lp-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 12px 0 6px;
    color: #fff;
}

.lp-form input,
.lp-form textarea,
.lp-form select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--lp-border);
    background: #121214;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
}

.lp-form textarea { min-height: 90px; resize: vertical; }

.lp-msg {
    margin-top: 12px;
    padding: 12px;
    border-radius: 10px;
    font-size: 0.88rem;
    display: none;
}

.lp-msg.is-ok {
    display: block;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
}

.lp-msg.is-err {
    display: block;
    background: rgba(227, 6, 19, 0.12);
    border: 1px solid rgba(227, 6, 19, 0.35);
    color: #fca5a5;
}

.lp-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.lp-tabs button {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid var(--lp-border);
    background: transparent;
    color: var(--lp-muted);
    font-weight: 700;
    cursor: pointer;
    font-size: 0.8rem;
}

.lp-tabs button.is-active {
    background: rgba(227, 6, 19, 0.15);
    border-color: var(--lp-primary);
    color: #fff;
}

.lp-contact-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--lp-border);
    border-radius: 12px;
    padding: 14px;
    font-size: 0.9rem;
}

.lp-contact-box strong { color: #fff; }
