/* ============================================================================
   Legacy global rules, rescued from custom-homepage.css.

   custom-homepage.css was registered from main.php on EVERY page and landed
   last in the cascade, so despite its name it was setting site-wide defaults:
   the h1/h2 scale, the .btn reset, table header colours. Non-homepage pages
   genuinely depend on these - the grey standings header every data table uses
   comes from here.

   So the file was split rather than unregistered. This half keeps loading
   globally, at exactly the position custom-homepage.css occupied, so nothing
   moves in the cascade. The opacity rule on .btn.btn-danger in particular only
   wins because it lands after custom.css's twelve .btn.btn-danger rules.

   THIS FILE IS A HOLDING PEN. Every rule here is legacy and should leave as
   the pages that need it move onto the design system. Do not add to it.
   ========================================================================= */

body, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4 {
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    line-height: 1.5em;
}
h1, .h1 {
    font-size: 3.8em;
    line-height: 1.15em;
}
.h2, h2 {
    font-size: 2.6em;
}

.success-color {
    color: #009688;
}
.btn.btn-danger {
    opacity: 1;
}
.table > thead > tr { background: #ef5350; color: #fff; }
.table>tbody>tr>td { vertical-align: middle; }
.material-icons.success-color { width: 24px;}

.text-underline {
    text-decoration: underline;
}

.flex-center {
    display: flex;
    align-items: center;
}
.btn {
    border: none;
    border-radius: 3px;
    position: relative;
    padding: 12px 30px;
    margin: 10px 1px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0;
    will-change: box-shadow, transform;
    transition: box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    color: #FFFFFF;
}

/* Standings table header medium gray override */
.fresh-table .table > thead > tr > th,
.fresh-table .table > thead > tr > th .th-inner,
.fresh-table .table > thead > tr > th a,
.fresh-table .table > thead > tr > th .th-inner a {
    background: #BDBDBD !important;
    color: #111 !important;
    border-bottom: 2px solid #b0b4bb !important;
    font-weight: 600 !important;
    letter-spacing: 0.03em;
}

/* Exception: keep red headers in picks modals/popups */
.modal-content .fresh-table .table > thead > tr > th,
.modal-content .fresh-table .table > thead > tr > th .th-inner,
.modal-content .fresh-table .table > thead > tr > th a,
.modal-content .fresh-table .table > thead > tr > th .th-inner a {
    background: #ef5350 !important;
    color: #fff !important;
    border-bottom: 2px solid #e0e0e0 !important;
    font-weight: 600 !important;
    letter-spacing: 0.03em;
}

/* Keep other table headers red for now */
