﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Claude 2026-01-31 - Warning message for users with JavaScript disabled */
.noscript-warning {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 15px;
    margin: 10px;
    border-radius: 5px;
    text-align: center;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/* Claude 2026-02-12 - Override global select max-width for League Dashboard division dropdown */
#divisionFilter {
    max-width: 100%;
}

.hiddenElement {
    visibility: hidden;
    display: none;
}

#loading {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1104;
}

.redtext {
    color: red;
}

/* Claude 2026-11-23 - tester F-319: inside a Bootstrap table the table's own cell colour rule (.table > :not(caption) > * > *) outranks a
   single class, so the home page's "Sold Out" cell was black. The same selector plus the class wins. */
.table > :not(caption) > * > .redtext {
    color: red;
}

.error {
    color: #FF0000;
    font-size: smaller
}

.card-input-iFrame {
    padding: 10px;
    border: 1px solid #ccc;
}

.hidespinner {
    visibility: hidden;
    display: none;
}

.showspinner {
    display: block !important;
}

.btn-primary, .btn-primary:hover, .btn-primary:active, .btn-primary:visited {
    background-color: red !important;
    border-color: red !important;
}

/* Claude 2026-10-17 - Phase 1.5 item 1 round 2, the tester's F-186: the two rules below used to force a red BACKGROUND on an outline button and left
   Bootstrap's blue text on it - every outline-primary button on this portal read blue on red (the footer pair + three existing: Add a child, the
   Team Roster Member waiver button, Book a scan for another child). The Management Portal's F-113 fix of 2026-10-04, carried here: an outline button
   is red text and border on white at rest, white on red on hover / active, through Bootstrap 5's button variables so the states stay consistent. */
.btn-outline-primary {
    --bs-btn-color: red;
    --bs-btn-border-color: red;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: red;
    --bs-btn-hover-border-color: red;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: red;
    --bs-btn-active-border-color: red;
    --bs-btn-focus-shadow-rgb: 255, 0, 0;
    --bs-btn-disabled-color: red;
    --bs-btn-disabled-border-color: red;
}

.form-control-feedback {
}

.form-group {
}

.has-feedback {
}

.control-label {
}

/* Claude 2026-10-17 - Phase 1.5 item 1 (Jim "this works"): the landing page footer's row captions ("Register for" / "Book a time") */
.cp-nav-caption { font-size: .8rem; color: #6c757d; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .25rem; }

/* Claude 2026-12-01 - Jim "Todo 1-17 - ok to do" (candidate 17): Bootstrap asks for smooth scrolling of the page (scroll-behavior: smooth).
   A script or a link that must LAND on an element then ANIMATES there: in a pane that is not painting it never arrives, and after a
   redirect it stopped part way (tester F-466). Off for the page: every scroll and every jump lands at once. */
html {
    scroll-behavior: auto !important;
}
