/* Application-specific Bootstrap additions */
:root {
    --color-cakephp-blue: #2f85ae;
    --color-lightgray: #606c76;
    --color-white: #fff;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Raleway", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
}

th a {
    color: var(--color-lightgray);
}

/* Main */
.content {
    padding: 1.25rem;
    background: var(--color-white);
    border-radius: 0.4rem;
    /* Thanks Stripe */
    box-shadow: 0 7px 14px 0 rgba(60, 66, 87, 0.1),
        0 3px 6px 0 rgba(0, 0, 0, 0.07);
}
.content form {
    margin: 0;
}
.match-filters {
    margin-bottom: 0;
}
.leaderboard-progress {
    height: 0.5rem;
}
.accordion-button .bi-chevron-down {
    transition: transform 0.2s ease-in-out;
}
.accordion-button:not(.collapsed) .bi-chevron-down {
    transform: rotate(180deg);
}
.accordion-button::after {
    display: none;
}
.match-day {
    margin-top: 1.5rem;
}
.match-card-countries {
    grid-template-columns: 1fr auto 1fr;
}
.match-card-score {
    font-size: 1.5rem;
    font-weight: bold;
}
.match-card-versus {
    color: var(--color-lightgray);
}
.prediction-form {
    border-top: 1px solid var(--bs-border-color);
    padding-top: 0.5rem;
}
.score-entry-row {
    align-items: end;
    display: grid;
    gap: 0.5rem;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
}
.score-entry-row .mb-3 {
    margin-bottom: 0 !important;
}
.score-entry-row input {
    text-align: center;
}
.score-entry-separator {
    align-self: end;
    font-weight: bold;
    padding-bottom: 0.4rem;
}
.participant-predictions {
    font-size: 0.875rem;
}
.participant-prediction-list {
    margin-top: 0.5rem;
}
.participant-prediction {
    align-items: center;
    border-top: 1px solid #eee;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 1fr auto auto;
    padding: 0.5rem 0;
}
.participant-prediction:first-child {
    border-top: 0;
}
.disabled-action {
    cursor: not-allowed;
}
th {
    white-space: nowrap;
}

/* Paginator */
.paginator {
    text-align: right;
}
.paginator p {
    margin-bottom: 0;
}
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0 0 1rem 0;
    padding: 0;
}
.pagination li {
    display: inline-block;
    margin: 0.25em;
    text-align: center;
}
.pagination a {
    color: var(--color-cakephp-blue);
    display: inline-block;
    font-size: 1.25rem;
    line-height: 3rem;
    min-width: 3rem;
    padding: 0;
    position: relative;
    text-decoration: none;
    transition: background .3s,color .3s;
}
.pagination li.active a,
.pagination a:hover {
    text-decoration: underline;
}
.pagination .disabled a {
    cursor: not-allowed;
    color: var(--color-lightgray);
    text-decoration: none;
}
.first a,
.prev a,
.next a,
.last a {
    padding: 0 .75rem;
}
.disabled a:hover {
    background: initial;
    color: initial;
}
.account-settings {
    max-width: 42rem;
}
.asc:after {
    content: " \2193";
}
.desc:after {
    content: " \2191";
}

@media screen and (max-width: 640px) {
    .score-entry-row {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    }
    .score-entry-row .btn {
        grid-column: 1 / -1;
        width: 100%;
    }
    .asc:after {
        content: " \2192";
    }
    .desc:after {
        content: " \2190";
    }
}
