/**
 * Spoon - Shared styles for public legal/info pages, consent, and notices.
 * Additive only; does not override existing component styles.
 */

/* --- Cross-links footer shown on legal pages --- */
.policy-footer {
    margin: 32px 0 24px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    justify-content: center;
}
.policy-footer a {
    color: #eb1700;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}
.policy-footer a:hover { text-decoration: underline; }

/* --- Contact page blocks --- */
.contact-block { margin-bottom: 22px; }
.contact-block h3 { font-size: 15px; margin: 0 0 4px; color: #333; }
.contact-block p { margin: 0 0 2px; color: #555; line-height: 1.5; }
.contact-block a { color: #eb1700; text-decoration: none; }
.contact-block a:hover { text-decoration: underline; }

/* --- Signup consent row --- */
.consent-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 4px 0 18px;
    font-size: 13px;
    color: #555;
    line-height: 1.45;
}
.consent-row input[type="checkbox"] {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    accent-color: #eb1700;
    flex-shrink: 0;
}
.consent-row a { color: #eb1700; text-decoration: none; font-weight: 600; }
.consent-row a:hover { text-decoration: underline; }

/* --- Policy links on auth pages (login / signup) --- */
.auth-legal-links {
    margin-top: 22px;
    text-align: center;
    font-size: 12px;
    color: #999;
    line-height: 1.8;
}
.auth-legal-links a { color: #888; text-decoration: none; margin: 0 6px; }
.auth-legal-links a:hover { text-decoration: underline; color: #eb1700; }

/* --- Local-storage / cookie notice banner --- */
.storage-notice {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: 520px;
    margin: 0 auto;
    background: #1f2937;
    color: #f9fafb;
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    line-height: 1.45;
}
.storage-notice a { color: #fca5a5; text-decoration: underline; }
.storage-notice__btn {
    flex-shrink: 0;
    background: #eb1700;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
@media (max-width: 480px) {
    .storage-notice { flex-direction: column; align-items: stretch; text-align: center; }
}
