/* ============================================================
   TBANav
   DATA SOURCES & PROVIDERS
   ============================================================ */


/* ============================================================
   PAGE
   ============================================================ */

.data-sources-page {
    width: 100%;
    max-width: 1180px;

    margin: 0 auto;

    box-sizing: border-box;

    color: #123d70;
}


/* ============================================================
   PAGE HEADER
   ============================================================ */

.data-sources-heading {
    width: 100%;

    box-sizing: border-box;

    padding: 22px 26px;

    background: #075398;

    border-radius: 9px;

    color: #fff;
}

.data-sources-heading-copy {
    max-width: 850px;
}

.data-sources-eyebrow {
    display: block;

    margin-bottom: 5px;

    color: rgba(255,255,255,.82);

    font-size: 10px;
    line-height: 1;
    font-weight: 900;

    letter-spacing: .7px;
}

.data-sources-heading h1 {
    margin: 0;

    color: #fff;

    font-size: 27px;
    line-height: 1.05;
    font-weight: 900;
}

.data-sources-heading p {
    max-width: 760px;

    margin: 7px 0 0;

    color: #fff;

    font-size: 12px;
    line-height: 1.4;
}


/* ============================================================
   INTRODUCTION
   ============================================================ */

.data-sources-introduction {
    width: 100%;

    display: grid;

    grid-template-columns: 38px minmax(0, 1fr);

    gap: 10px;

    box-sizing: border-box;

    margin-top: 10px;

    padding: 15px 18px;

    background: #fff;

    border: 1px solid #d5e0eb;
    border-radius: 8px;

    box-shadow: 0 2px 8px rgba(20,45,75,.04);
}

.data-sources-introduction-icon {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #0756a6;
    border-radius: 50%;

    color: #0756a6;

    font-size: 16px;
    font-weight: 900;
}

.data-sources-introduction strong {
    display: block;

    margin-bottom: 5px;

    color: #063c7d;

    font-size: 14px;
    font-weight: 900;
}

.data-sources-introduction p {
    margin: 0 0 5px;

    font-size: 11px;
    line-height: 1.45;
}

.data-sources-introduction p:last-child {
    margin-bottom: 0;
}


/* ============================================================
   SOURCE TYPE KEY
   ============================================================ */

.data-sources-key {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 8px;

    margin-top: 10px;
}

.data-source-key-item {
    min-width: 0;

    display: flex;
    align-items: center;

    gap: 8px;

    box-sizing: border-box;

    padding: 10px 12px;

    background: #f7f9fb;

    border: 1px solid #dce4ec;
    border-radius: 7px;

    color: #123d70;

    font-size: 9px;
    line-height: 1.25;
}


/* ============================================================
   BADGES
   ============================================================ */

.data-source-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    padding: 5px 8px;

    border-radius: 4px;

    font-size: 8px;
    line-height: 1;
    font-weight: 900;

    white-space: nowrap;
}

.data-source-badge.official {
    background: #e8f2fb;

    border: 1px solid #9ec1e3;

    color: #0756a6;
}

.data-source-badge.external {
    background: #fff5e5;

    border: 1px solid #efc37f;

    color: #995700;
}

.data-source-badge.tbanav {
    background: #e8f6ef;

    border: 1px solid #8bc9aa;

    color: #067847;
}


/* ============================================================
   PROVIDER LIST
   ============================================================ */

.data-sources-list {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;

    margin-top: 10px;
}


/* ============================================================
   PROVIDER CARD
   ============================================================ */

.data-source-card {
    min-width: 0;

    box-sizing: border-box;

    background: #fff;

    border: 1px solid #d5e0eb;
    border-radius: 8px;

    box-shadow: 0 2px 8px rgba(20,45,75,.04);

    overflow: hidden;
}

.data-source-card-header {
    min-height: 74px;

    display: grid;

    grid-template-columns:
        46px
        minmax(0, 1fr)
        auto;

    gap: 10px;

    align-items: center;

    box-sizing: border-box;

    padding: 12px 14px;

    border-bottom: 1px solid #e0e6ed;
}

.data-source-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    background: #eef5fb;

    border: 1px solid #c9dcec;
    border-radius: 7px;

    color: #0756a6;

    font-size: 22px;
    line-height: 1;
    font-weight: 900;
}

.data-source-title {
    min-width: 0;
}

.data-source-category {
    display: block;

    margin-bottom: 3px;

    color: #64788e;

    font-size: 8px;
    line-height: 1;
    font-weight: 900;

    letter-spacing: .35px;
}

.data-source-title h2 {
    margin: 0;

    color: #063c7d;

    font-size: 15px;
    line-height: 1.15;
    font-weight: 900;
}


/* ============================================================
   PROVIDER BODY
   ============================================================ */

.data-source-card-body {
    box-sizing: border-box;

    padding: 13px 15px 14px;

    color: #123d70;

    font-size: 10px;
    line-height: 1.45;
}

.data-source-card-body p {
    margin: 0 0 7px;
}

.data-source-card-body p:last-child {
    margin-bottom: 0;
}


/* ============================================================
   TBANAV ASSESSMENT CARD
   ============================================================ */

.data-source-card-tbanav {
    grid-column: 1 / -1;

    border-color: #8bc9aa;
}

.data-source-card-tbanav .data-source-icon {
    background: #e8f6ef;

    border-color: #8bc9aa;

    color: #067847;

    font-size: 11px;
}


/* ============================================================
   TBANAV STATUS KEY
   ============================================================ */

.tbanav-status-key {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 7px;

    margin-top: 12px;
}

.tbanav-status {
    min-width: 0;

    display: flex;
    align-items: center;

    box-sizing: border-box;

    padding: 8px 9px;

    border: 1px solid #d5e0eb;
    border-radius: 5px;

    background: #fafbfd;

    font-size: 8px;
    line-height: 1.15;
    font-weight: 900;
}

.tbanav-status i {
    width: 8px;
    height: 8px;

    flex: 0 0 8px;

    margin-right: 6px;

    border-radius: 50%;
}

.tbanav-status.brown {
    color: #8a4b10;
}

.tbanav-status.brown i {
    background: #8a4b10;
}

.tbanav-status.green {
    color: #079658;
}

.tbanav-status.green i {
    background: #079658;
}

.tbanav-status.amber {
    color: #d97800;
}

.tbanav-status.amber i {
    background: #f28c00;
}

.tbanav-status.red {
    color: #c62828;
}

.tbanav-status.red i {
    background: #c62828;
}


/* ============================================================
   IMPORTANT INFORMATION
   ============================================================ */

.data-sources-notice {
    width: 100%;

    box-sizing: border-box;

    margin-top: 10px;

    padding: 15px 18px;

    background: #f7f9fb;

    border: 1px solid #cfd8e2;
    border-radius: 8px;
}

.data-sources-notice h2 {
    margin: 0 0 8px;

    color: #063c7d;

    font-size: 14px;
    font-weight: 900;
}

.data-sources-notice p {
    margin: 0 0 7px;

    color: #123d70;

    font-size: 10px;
    line-height: 1.45;
}

.data-sources-notice p:last-child {
    margin-bottom: 0;
}

.data-sources-lockkeeper {
    margin-top: 10px !important;

    padding-top: 9px;

    border-top: 1px solid #d4dce5;

    color: #063c7d !important;

    font-weight: 900;
}


/* ============================================================
   RETURN TO DASHBOARD
   ============================================================ */

.data-sources-return {
    margin-top: 10px;

    text-align: right;
}

.data-sources-return a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 34px;

    box-sizing: border-box;

    padding: 8px 13px;

    background: #075398;

    border-radius: 5px;

    color: #fff;

    font-size: 9px;
    line-height: 1;
    font-weight: 900;

    text-decoration: none;
}

.data-sources-return a:hover {
    background: #064783;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 900px) {

    .data-sources-key {
        grid-template-columns: 1fr;
    }

    .data-sources-list {
        grid-template-columns: 1fr;
    }

    .data-source-card-tbanav {
        grid-column: auto;
    }

    .tbanav-status-key {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 600px) {

    .data-sources-heading {
        padding: 18px;
    }

    .data-sources-heading h1 {
        font-size: 22px;
    }

    .data-source-card-header {
        grid-template-columns:
            42px
            minmax(0, 1fr);
    }

    .data-source-card-header > .data-source-badge {
        grid-column: 1 / -1;

        justify-self: start;
    }

    .tbanav-status-key {
        grid-template-columns: 1fr;
    }

    .data-sources-return {
        text-align: center;
    }

    .data-sources-return a {
        width: 100%;
    }
}