/*! SPDX-License-Identifier: BSD-3-Clause · © 2026 WebTigers · Tiger™/WebTigers™ are trademarks */
/* PUMA custom.css — the override PLAYGROUND.
 *
 * Loads LAST in every PUMA layout (after bootstrap → default → skin → auth/admin css), so anything
 * here wins the cascade. Safe to edit freely — this is where you try things on before deciding if
 * they belong in the theme proper. Clear the file to return to stock PUMA.
 *
 * Currently: an EXPERIMENTAL GitHub / Primer–flavored pass on the auth forms (sign-in / lock /
 * sign-up) and the docs prose — mostly spacing, padding, and margins (the thing GitHub does well).
 * Colours lean on the theme's --bs-* variables so it stays light/dark + skin aware.
 */

/* ===== Auth cards — sign-in / lock / sign-up (.tiger-auth-card) ============================= */
.tiger-auth-card {
    padding: 1.75rem;                                   /* roomy, even box padding (GitHub feel) */
    border: 1px solid var(--bs-border-color);
    border-radius: .5rem;
    box-shadow: 0 1px 3px rgba(27, 31, 36, .04), 0 8px 24px rgba(27, 31, 36, .06);
}
.tiger-auth-brand { margin-bottom: 1.5rem; }

.tiger-auth-card .form-label {
    margin-bottom: .375rem;
    font-size: .875rem;
    font-weight: 600;                                   /* GitHub: bold, tight labels */
}
.tiger-auth-card .form-control {
    padding: .5rem .75rem;                              /* calmer than the stock -lg inputs */
    font-size: .95rem;
    border-radius: .375rem;
}
.tiger-auth-card .mb-3 { margin-bottom: 1.25rem !important; }   /* a bit more air between fields */
.tiger-auth-card .btn,
.tiger-auth-card .btn-lg {
    padding: .5rem 1rem;                                /* GitHub button proportions */
    font-size: .95rem;
    font-weight: 600;
    border-radius: .375rem;
}

/* ===== Docs prose — GitHub markdown-body rhythm (.tiger-docs-body) ========================== */
/* Complements the docs module CSS (which owns heading top-margin + code-block borders); this layer
 * adds the GitHub prose feel: comfortable line-height, paragraph/list spacing, underlined H1/H2. */
.tiger-docs-body { line-height: 1.6; }
.tiger-docs-body p { margin-bottom: 1rem; }

.tiger-docs-body h1,
.tiger-docs-body h2 {
    margin-bottom: 1rem;
    padding-bottom: .3em;
    border-bottom: 1px solid var(--bs-border-color);    /* GitHub's signature underlined H1/H2 */
}
.tiger-docs-body h3,
.tiger-docs-body h4,
.tiger-docs-body h5,
.tiger-docs-body h6 { margin-bottom: .5rem; }

.tiger-docs-body ul,
.tiger-docs-body ol { margin-bottom: 1rem; padding-left: 2em; }
.tiger-docs-body li + li { margin-top: .25em; }

.tiger-docs-body blockquote {
    margin: 0 0 1rem;
    padding: 0 1em;
    color: var(--bs-secondary-color);
    border-left: .25em solid var(--bs-border-color);
}

.tiger-docs-body :not(pre) > code {                     /* inline code */
    padding: .2em .4em;
    font-size: .85em;
    background: var(--bs-secondary-bg);
    border-radius: .375rem;
}

.tiger-docs-body table { width: auto; margin-bottom: 1rem; border-collapse: collapse; }
.tiger-docs-body th,
.tiger-docs-body td {
    padding: .375rem .75rem;
    border: 1px solid var(--bs-border-color);
}

.tiger-docs-body a { text-decoration: none; }           /* GitHub links: underline on hover only */
.tiger-docs-body a:hover { text-decoration: underline; }

.tiger-docs-body hr {
    height: .25em;
    margin: 1.75rem 0;
    background: var(--bs-border-color);
    border: 0;
}
