/* Shared styles for policy / info pages (about, fees, faq, terms, privacy, how-to) */
.policy-page { max-width: 860px; margin: 40px auto; padding: 0 20px 60px; }
.policy-page h1 { color: #0b1324; font-size: 2rem; font-weight: 900; margin-bottom: 8px; }
.policy-page .lead { color: #64748b; margin-bottom: 32px; }
.policy-page h2 { color: #24ca68; font-size: 1.15rem; font-weight: 800; margin: 28px 0 10px; }
.policy-page p, .policy-page li { color: #374151; line-height: 1.75; }
.policy-page ul { padding-left: 20px; }
.policy-page table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.policy-page th { background: #ecfdf5; color: #065f46; padding: 10px 14px; text-align: left; font-weight: 800; }
.policy-page td { padding: 10px 14px; border-bottom: 1px solid #e5e7eb; }

.badge-free { display: inline-block; background: #dcfce7; color: #15803d; font-weight: 800; font-size: 0.8rem; padding: 2px 10px; border-radius: 99px; }
.badge-small { display: inline-block; background: #fef9c3; color: #854d0e; font-weight: 800; font-size: 0.8rem; padding: 2px 10px; border-radius: 99px; }
.info-box { background: #f0fdf4; border-left: 4px solid #24ca68; border-radius: 6px; padding: 14px 18px; margin: 16px 0; }
.info-box p { margin: 0; }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 20px 0; }
.value-card { background: #f8fafc; border-radius: 12px; padding: 24px 20px; border-top: 3px solid #24ca68; }
.value-card .value-icon { font-size: 2rem; margin-bottom: 10px; }
.value-card h3 { color: #0b1324; font-size: 1rem; font-weight: 800; margin: 0 0 8px; }
.value-card p { color: #64748b; font-size: 0.92rem; line-height: 1.6; margin: 0; }

.pix-badge { display: inline-flex; align-items: center; gap: 10px; background: #ecfdf5; border: 1.5px solid #86efac; border-radius: 10px; padding: 12px 18px; margin: 12px 0; }
.pix-badge span { color: #065f46; font-weight: 700; font-size: 0.95rem; }

.cta-section { text-align: center; background: linear-gradient(135deg, #0b1324 0%, #1a2a4a 100%); border-radius: 16px; padding: 48px 32px; margin-top: 40px; }
.cta-section h2 { color: #fff !important; font-size: 1.6rem !important; margin-bottom: 12px !important; }
.cta-section p { color: #94a3b8 !important; margin-bottom: 28px; }
.cta-btn { display: inline-block; background: #24ca68; color: #fff; font-weight: 800; font-size: 1rem; padding: 14px 36px; border-radius: 8px; text-decoration: none; transition: background 0.2s; }
.cta-btn:hover { background: #1aaa56; color: #fff; text-decoration: none; }

.policy-page a.inline-link { color: #24ca68; font-weight: 700; text-decoration: none; }
.policy-page a.inline-link:hover { text-decoration: underline; }

.faq-list { margin-top: 8px; }
.faq-item { border-bottom: 1px solid #e5e7eb; }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 16px 0; font-weight: 700; font-size: 1rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: #0b1324; font-family: inherit; }
.faq-q .chevron { transition: transform 0.25s; flex-shrink: 0; margin-left: 12px; }
.faq-q.open .chevron { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; color: #374151; line-height: 1.7; }
.faq-a.open { max-height: 300px; padding-bottom: 14px; }
.faq-a p { margin: 0; }

/* Login / Register */
.policy-page.auth-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 520px;
}

.policy-page.auth-page h1,
.policy-page.auth-page > .lead {
    text-align: center;
    width: 100%;
}

.auth-page .auth-card {
    width: 100%;
    max-width: 440px;
    text-align: left;
}

.auth-page .auth-sub {
    text-align: center;
}

.auth-page .auth-lead {
    text-align: left;
}

.auth-page .lead { margin-bottom: 24px; }

.auth-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px 28px 32px;
    box-shadow: 0 10px 40px rgba(11, 19, 36, 0.06);
    max-width: 440px;
}

.auth-lead {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 24px;
}

.auth-field {
    margin-bottom: 18px;
}

.auth-field label {
    display: block;
    font-weight: 700;
    font-size: 0.88rem;
    color: #0b1324;
    margin-bottom: 8px;
}

.auth-field input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    font-size: 1rem;
    line-height: 1.4;
    color: #0b1324;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
    font-family: inherit;
}

.auth-field input:hover {
    border-color: #cbd5e1;
}

.auth-field input:focus {
    outline: none;
    border-color: #24ca68;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(36, 202, 104, 0.2);
}

.auth-field input::placeholder {
    color: #94a3b8;
}

.auth-submit {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 800;
    font-family: inherit;
    color: #fff;
    background: #24ca68;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s, transform 0.05s;
}

.auth-submit:hover {
    background: #1aaa56;
}

.auth-submit:active {
    transform: scale(0.98);
}

.auth-sub {
    margin: 22px 0 0;
    font-size: 0.92rem;
    color: #64748b;
}

.auth-sub a {
    color: #24ca68;
    font-weight: 700;
    text-decoration: none;
}

.auth-sub a:hover {
    text-decoration: underline;
}

.auth-alert {
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 20px;
}

.auth-alert--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.auth-alert--info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

@media (max-width: 600px) {
    .auth-card {
        padding: 22px 18px 26px;
    }
}
