/* All CSS of the platform. No inline styles in pages (Content-Security-Policy). */
body {
    margin-bottom: 3rem;
}

.btn:focus,
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* sign-up, login and other short forms */
.form-page {
    max-width: 30rem;
    margin: 0 auto;
}

/* longer forms */
.form-wide {
    max-width: 45rem;
}

/* plain text with its line breaks */
.text-lines {
    white-space: pre-line;
}

/* help books */
.help-text h1 {
    font-size: 1.75rem;
}

.help-text h2 {
    font-size: 1.25rem;
    margin-top: 2rem;
}

/* the form summary is empty until there is a message */
.validation-summary-valid {
    display: none;
}

.alert ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* trap for robots, not seen by people */
.trap {
    position: absolute;
    left: -10000px;
}
