/* Shared defaults for every page that extends base.html (moved from its inline <style>).
   Page look lives in public.css / post-form.css / account.css. */

/* Scripts toggle visibility with the hidden attribute; keep it winning over display rules. */
[hidden] {
    display: none !important;
}

/* Honeypot (templates/_bot_fields.html): off-screen, not display:none, so bots still see it. */
.hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

body {
    font-family: Arial, sans-serif;
    max-width: 1000px;
    margin: auto;
    padding: 20px;
}

.post-button {
    display: inline-block;
    box-sizing: border-box;
    padding: 6px 12px;
    margin-right: 6px;
    background: #e6e6e6;
    border: 1px solid #ccc;
    border-radius: 6px;
    text-decoration: none;
    color: black;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: normal;
    cursor: pointer;
    vertical-align: middle;
    appearance: none;
    -webkit-appearance: none;
}

.post-button:hover {
    background: #d9d9d9;
}

.inline-form {
    display: inline;
    margin: 0;
}

@media (max-width: 600px) {
    body {
        font-size: 18px;
    }

    .post-button {
        font-size: 17px;
        padding: 9px 13px;
    }
}
