/* ------------------------------------------------------------------
   app.css

   Layered on top of the Bootstrap 3.3.7 already bundled in this folder.
   Carries forward the existing brand colour (#4242a2) and the footer
   treatment, so the rebuilt pages sit alongside the parts of the system
   that have not been touched without looking out of place.
   ------------------------------------------------------------------ */

:root {
    --spb-brand:       #4242a2;
    --spb-brand-dark:  #33337f;
    --spb-brand-tint:  #eeeef7;
    --spb-ink:         #1f2330;
    --spb-muted:       #6b7280;
    --spb-line:        #dfe2ea;
    --spb-page:        #f6f7fb;
}

body {
    background: var(--spb-page);
    color: var(--spb-ink);
    font-size: 15px;
    line-height: 1.6;
    /* The original stylesheet asked for a font the server does not serve.
       Fall through to whatever the machine actually has. */
    font-family: "Univers-Light-Normal", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    padding-bottom: 90px;
}

/* ---------------- masthead ---------------- */

.sec-masthead {
    background: var(--spb-brand);
    color: #fff;
    padding: 14px 0;
    margin-bottom: 26px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
}

.sec-masthead .sec-wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.sec-masthead-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: .2px;
}

.sec-masthead-brand img {
    height: 36px;
    width: auto;
    background: #fff;
    padding: 3px;
    border-radius: 3px;
}

.sec-masthead-user {
    font-size: 13px;
    opacity: .92;
    display: flex;
    align-items: center;
    gap: 14px;
}

.sec-masthead a {
    color: #fff;
    text-decoration: none;
}

.sec-masthead a:hover {
    text-decoration: underline;
}

/* ---------------- layout ---------------- */

.sec-page {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 18px;
}

.sec-page--narrow {
    max-width: 760px;
}

.sec-heading {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 4px;
    color: var(--spb-ink);
}

.sec-subheading {
    color: var(--spb-muted);
    font-size: 14px;
    margin: 0 0 22px;
}

/* ---------------- breadcrumb ---------------- */

.sec-crumb {
    font-size: 13px;
    color: var(--spb-muted);
    margin-bottom: 14px;
}

.sec-crumb a {
    color: var(--spb-brand);
    text-decoration: none;
}

.sec-crumb a:hover {
    text-decoration: underline;
}

.sec-crumb span {
    margin: 0 6px;
    opacity: .5;
}

/* ---------------- cards ---------------- */

.sec-card {
    background: #fff;
    border: 1px solid var(--spb-line);
    border-radius: 5px;
    margin-bottom: 26px;
    overflow: hidden;
}

.sec-card-head {
    padding: 13px 18px;
    border-bottom: 1px solid var(--spb-line);
    background: var(--spb-brand-tint);
    font-weight: 600;
    font-size: 15px;
    color: var(--spb-brand-dark);
}

.sec-card-body {
    padding: 8px 0;
}

/* ---------------- lists ---------------- */

.sec-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sec-list li {
    border-bottom: 1px solid #f0f1f5;
}

.sec-list li:last-child {
    border-bottom: 0;
}

.sec-list a,
.sec-list button {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    padding: 12px 18px;
    background: none;
    border: 0;
    text-align: left;
    color: var(--spb-ink);
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
}

.sec-list a:hover,
.sec-list button:hover,
.sec-list a:focus,
.sec-list button:focus {
    background: var(--spb-brand-tint);
    color: var(--spb-brand-dark);
    text-decoration: none;
    outline: none;
}

.sec-list .sec-icon {
    color: var(--spb-brand);
    flex: 0 0 auto;
}

.sec-list .sec-meta {
    margin-left: auto;
    font-size: 12px;
    color: var(--spb-muted);
    white-space: nowrap;
}

/* ---------------- year chips ---------------- */

.sec-years {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    padding: 14px 18px;
}

.sec-year {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 15px;
    border: 1px solid var(--spb-line);
    border-radius: 4px;
    background: #fff;
    color: var(--spb-ink);
    text-decoration: none;
    font-size: 14px;
}

.sec-year:hover,
.sec-year:focus {
    border-color: var(--spb-brand);
    background: var(--spb-brand-tint);
    color: var(--spb-brand-dark);
    text-decoration: none;
}

.sec-year.is-current {
    border-color: var(--spb-brand);
    background: var(--spb-brand);
    color: #fff;
}

.sec-year .sec-count {
    font-size: 12px;
    opacity: .7;
}

/* ---------------- empty state ---------------- */

.sec-empty {
    padding: 34px 20px;
    text-align: center;
    color: var(--spb-muted);
}

.sec-empty .sec-icon {
    color: #c3c7d4;
    margin-bottom: 10px;
}

.sec-empty p {
    margin: 0;
    font-size: 14px;
}

/* ---------------- buttons ---------------- */

.sec-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 24px 0 34px;
}

.sec-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border: 1px solid var(--spb-line);
    border-radius: 4px;
    background: #fff;
    color: var(--spb-ink);
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
}

.sec-btn:hover,
.sec-btn:focus {
    background: #f0f1f6;
    color: var(--spb-ink);
    text-decoration: none;
}

.sec-btn--primary {
    background: var(--spb-brand);
    border-color: var(--spb-brand);
    color: #fff;
}

.sec-btn--primary:hover,
.sec-btn--primary:focus {
    background: var(--spb-brand-dark);
    border-color: var(--spb-brand-dark);
    color: #fff;
}

.sec-btn--danger {
    border-color: #d9534f;
    color: #d9534f;
}

.sec-btn--danger:hover,
.sec-btn--danger:focus {
    background: #d9534f;
    color: #fff;
}

/* ---------------- notices ---------------- */

.sec-notice {
    padding: 11px 15px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.sec-notice--warn {
    background: #fdf6e3;
    border: 1px solid #f0e0b0;
    color: #7a5b13;
}

.sec-notice--error {
    background: #fdecea;
    border: 1px solid #f5c2bd;
    color: #8d2620;
}

/* ---------------- login ---------------- */

.sec-login {
    max-width: 380px;
    margin: 64px auto;
}

.sec-login-card {
    background: #fff;
    border: 1px solid var(--spb-line);
    border-radius: 6px;
    padding: 30px 28px;
}

.sec-login-logo {
    text-align: center;
    margin-bottom: 20px;
}

.sec-login-logo img {
    height: 52px;
}

.sec-login h1 {
    font-size: 19px;
    font-weight: 600;
    text-align: center;
    margin: 0 0 22px;
    color: var(--spb-brand-dark);
}

.sec-field {
    margin-bottom: 15px;
}

.sec-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--spb-muted);
}

.sec-field input {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--spb-line);
    border-radius: 4px;
    font-size: 15px;
    background: #fff;
    color: var(--spb-ink);
}

.sec-field input:focus {
    border-color: var(--spb-brand);
    outline: none;
    box-shadow: 0 0 0 3px rgba(66, 66, 162, .12);
}

.sec-login .sec-btn {
    width: 100%;
    justify-content: center;
    padding: 10px;
    font-size: 15px;
}

.sec-otp-input {
    letter-spacing: 7px;
    text-align: center;
    font-size: 21px !important;
}

.sec-hint {
    font-size: 13px;
    color: var(--spb-muted);
    text-align: center;
    margin-top: 14px;
}

/* ---------------- footer ---------------- */

.sec-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--spb-brand-dark);
    color: #fff;
    text-align: center;
    padding: 11px 0;
    font-size: 13px;
}

/* ---------------- misc ---------------- */

.sec-icon {
    vertical-align: -.15em;
}

.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
}

@media print {
    .sec-masthead,
    .sec-footer,
    .sec-actions,
    .sec-crumb {
        display: none !important;
    }
    body {
        background: #fff;
        padding-bottom: 0;
    }
    a[href]:after {
        content: none !important;
    }
}

@media (max-width: 600px) {
    .sec-masthead .sec-wrap {
        flex-direction: column;
        align-items: flex-start;
    }
    .sec-heading {
        font-size: 20px;
    }
}
