/* =========================================================
   BOOKKEEPING SIMULATOR — DASHBOARD
   ========================================================= */


.dashboard-header-spacer {
    flex: 1;
}


/* ---------------------------------------------------------
   ACTIVE SIDEBAR ITEM
   --------------------------------------------------------- */

.app-sidebar nav a.nav-active {
    background: #e8f2fb;
    color: #1d5f96;
    font-weight: 700;
    border-left: 3px solid #2f6fad;
}


/* ---------------------------------------------------------
   MAIN DASHBOARD AREA
   --------------------------------------------------------- */

.dashboard-main {
    margin-left: 246px;
    padding: 94px 34px 45px;

    min-height: 100vh;

    background: #f4f6f8;
}


.dashboard-breadcrumb {
    margin-bottom: 18px;

    color: #6c7885;
    font-size: 12px;
}


/* ---------------------------------------------------------
   WELCOME AREA
   --------------------------------------------------------- */

.dashboard-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    margin-bottom: 26px;
}


.dashboard-eyebrow {
    margin: 0 0 7px;

    color: #6c7885;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.09em;
}


.dashboard-welcome h1 {
    margin: 0 0 7px;

    color: #183b56;
    font-size: 28px;
    line-height: 1.2;
}


.dashboard-welcome p:not(.dashboard-eyebrow) {
    margin: 0;

    color: #637381;
    font-size: 13px;
}


.dashboard-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;
    padding: 0 19px;

    background: #2f6fad;
    border: 1px solid #2f6fad;
    border-radius: 5px;

    color: white;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;

    white-space: nowrap;
}


.dashboard-primary-button:hover {
    background: #275f95;
}


/* ---------------------------------------------------------
   METRICS
   --------------------------------------------------------- */

.dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;

    margin-bottom: 20px;
}


.dashboard-metric-card {
    min-width: 0;
    padding: 20px 21px;

    background: white;
    border: 1px solid #dfe4e8;
    border-radius: 7px;

    box-shadow: 0 1px 2px rgba(20, 40, 60, 0.04);
}


.dashboard-metric-card > span {
    display: block;

    margin-bottom: 10px;

    color: #6c7885;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.06em;
}


.dashboard-metric-card > strong {
    display: block;

    margin-bottom: 6px;

    color: #183b56;
    font-size: 29px;
    line-height: 1;
}


.dashboard-metric-card > small {
    color: #7b8793;
    font-size: 10px;
}


/* ---------------------------------------------------------
   DASHBOARD CARDS
   --------------------------------------------------------- */

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 20px;

    margin-bottom: 20px;
}


.dashboard-card {
    background: white;
    border: 1px solid #dfe4e8;
    border-radius: 7px;

    box-shadow: 0 1px 2px rgba(20, 40, 60, 0.04);
}


.dashboard-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 19px 21px;

    border-bottom: 1px solid #e5e9ed;
}


.dashboard-card-heading h2 {
    margin: 0 0 4px;

    color: #183b56;
    font-size: 16px;
}


.dashboard-card-heading p {
    margin: 0;

    color: #7b8793;
    font-size: 10px;
}


/* ---------------------------------------------------------
   RECENT WORKDAYS TABLE
   --------------------------------------------------------- */

.dashboard-table-wrapper {
    overflow-x: auto;
}


.dashboard-table {
    width: 100%;
    border-collapse: collapse;

    font-size: 11px;
}


.dashboard-table th {
    padding: 11px 15px;

    background: #f8fafb;
    border-bottom: 1px solid #e5e9ed;

    color: #687684;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-align: left;
    white-space: nowrap;
}


.dashboard-table td {
    padding: 14px 15px;

    border-bottom: 1px solid #edf0f2;

    color: #34495a;
}


.dashboard-table tbody tr:last-child td {
    border-bottom: 0;
}


.dashboard-table tbody tr:hover {
    background: #fbfcfd;
}


.dashboard-empty {
    padding: 30px !important;

    color: #7b8793 !important;
    text-align: center;
}


.status-complete {
    display: inline-block;

    padding: 4px 8px;

    background: #edf8ef;
    border-radius: 12px;

    color: #347a43;
    font-size: 9px;
    font-weight: 800;
}


/* ---------------------------------------------------------
   LEARNING PROGRESS
   --------------------------------------------------------- */

.learning-card-body {
    padding: 26px 23px 28px;
}


.learning-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    margin-bottom: 15px;

    background: #edf8ef;
    border-radius: 50%;

    color: #347a43;
    font-size: 18px;
    font-weight: 800;
}


.learning-card-body h3 {
    margin: 0 0 8px;

    color: #183b56;
    font-size: 14px;
}


.learning-card-body p {
    margin: 0;

    color: #637381;
    font-size: 11px;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   COMPANY / LEVEL CARD
   --------------------------------------------------------- */

.dashboard-next {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 21px 23px;
}


.dashboard-next h2 {
    margin: 0 0 5px;

    color: #183b56;
    font-size: 16px;
}


.dashboard-next p:not(.dashboard-eyebrow) {
    margin: 0;

    color: #6c7885;
    font-size: 11px;
}


.dashboard-company-badge {
    padding: 7px 12px;

    background: #e8f2fb;
    border-radius: 14px;

    color: #2f6fad;
    font-size: 10px;
    font-weight: 800;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 1100px) {

    .dashboard-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 760px) {

    .dashboard-main {
        margin-left: 0;
        padding: 88px 18px 35px;
    }


    .dashboard-welcome {
        align-items: flex-start;
        flex-direction: column;
    }


    .dashboard-metrics {
        grid-template-columns: 1fr;
    }


    .dashboard-next {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* =========================================================
   PRACTICE WORKDAY HUB
   ========================================================= */

.practice-main {
    margin-left: 246px;
    padding: 94px 34px 45px;

    min-height: 100vh;

    background: #f4f6f8;
}


.practice-breadcrumb {
    margin-bottom: 18px;

    color: #6c7885;
    font-size: 12px;
}


/* ---------------------------------------------------------
   PAGE HEADING
   --------------------------------------------------------- */

.practice-heading {
    margin-bottom: 26px;
}


.practice-eyebrow {
    margin: 0 0 7px;

    color: #6c7885;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.09em;
}


.practice-heading h1 {
    margin: 0 0 7px;

    color: #183b56;
    font-size: 28px;
    line-height: 1.2;
}


.practice-heading p:not(.practice-eyebrow) {
    margin: 0;

    color: #637381;
    font-size: 13px;
}


/* ---------------------------------------------------------
   SUMMARY CARDS
   --------------------------------------------------------- */

.practice-overview {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;

    margin-bottom: 20px;
}


.practice-summary-card {
    min-width: 0;
    padding: 20px 21px;

    background: white;
    border: 1px solid #dfe4e8;
    border-radius: 7px;

    box-shadow: 0 1px 2px rgba(20, 40, 60, 0.04);
}


.practice-summary-card > span {
    display: block;

    margin-bottom: 10px;

    color: #6c7885;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.06em;
}


.practice-summary-card > strong {
    display: block;

    margin-bottom: 6px;

    color: #183b56;
    font-size: 29px;
    line-height: 1;
}


.practice-summary-card > small {
    color: #7b8793;
    font-size: 10px;
}


/* ---------------------------------------------------------
   WORKDAY PANEL
   --------------------------------------------------------- */

.practice-panel {
    margin-bottom: 20px;

    background: white;
    border: 1px solid #dfe4e8;
    border-radius: 7px;

    box-shadow: 0 1px 2px rgba(20, 40, 60, 0.04);
}


.practice-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 19px 21px;

    border-bottom: 1px solid #e5e9ed;
}


.practice-panel-heading h2 {
    margin: 0 0 4px;

    color: #183b56;
    font-size: 16px;
}


.practice-panel-heading p {
    margin: 0;

    color: #7b8793;
    font-size: 10px;
}


.practice-level-badge {
    padding: 6px 11px;

    background: #e8f2fb;
    border-radius: 14px;

    color: #2f6fad;
    font-size: 10px;
    font-weight: 800;
}


/* ---------------------------------------------------------
   INDIVIDUAL WORKDAYS
   --------------------------------------------------------- */

.workday-list {
    padding: 0 21px;
}


.workday-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;

    min-height: 92px;
    padding: 16px 0;

    border-bottom: 1px solid #edf0f2;
}


.workday-card:last-child {
    border-bottom: 0;
}


.workday-number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    background: #f1f5f8;
    border: 1px solid #dce3e8;
    border-radius: 50%;

    color: #183b56;
    font-size: 14px;
    font-weight: 800;
}


.workday-info {
    min-width: 0;
}


.workday-title-row {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 4px;
}


.workday-title-row h3 {
    margin: 0;

    color: #183b56;
    font-size: 13px;
}


.workday-info > p {
    margin: 0 0 7px;

    color: #7b8793;
    font-size: 10px;
}


.workday-results {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}


.workday-result {
    color: #6c7885;
    font-size: 10px;
}


.workday-complete-badge {
    display: inline-block;

    padding: 3px 7px;

    background: #edf8ef;
    border-radius: 11px;

    color: #347a43;
    font-size: 9px;
    font-weight: 800;
}


.workday-status-dot {
    color: #9aa6b2;
    font-size: 13px;
    font-weight: 800;
}


.workday-status-dot.complete {
    color: #3f8b4f;
}


.workday-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 112px;
    min-height: 36px;
    padding: 0 13px;

    background: #2f6fad;
    border: 1px solid #2f6fad;
    border-radius: 5px;

    color: white;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;

    white-space: nowrap;
}


.workday-action:hover {
    background: #275f95;
}


.workday-action.review {
    background: white;

    color: #2f6fad;
}


.workday-action.review:hover {
    background: #f2f7fb;
}


.practice-loading {
    padding: 30px 0;

    color: #7b8793;
    font-size: 11px;
    text-align: center;
}


/* ---------------------------------------------------------
   HOW PRACTICE WORKS
   --------------------------------------------------------- */

.practice-help-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;

    padding: 20px 22px;

    background: white;
    border: 1px solid #dfe4e8;
    border-radius: 7px;

    box-shadow: 0 1px 2px rgba(20, 40, 60, 0.04);
}


.practice-help-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;

    width: 34px;
    height: 34px;

    background: #e8f2fb;
    border-radius: 50%;

    color: #2f6fad;
    font-size: 14px;
    font-weight: 800;
}


.practice-help-card h2 {
    margin: 1px 0 6px;

    color: #183b56;
    font-size: 14px;
}


.practice-help-card p {
    max-width: 760px;
    margin: 0;

    color: #637381;
    font-size: 11px;
    line-height: 1.65;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 1100px) {

    .practice-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 760px) {

    .practice-main {
        margin-left: 0;
        padding: 88px 18px 35px;
    }


    .practice-overview {
        grid-template-columns: 1fr;
    }


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


    .workday-action {
        grid-column: 1 / -1;

        width: 100%;
    }
}
