
/* =========================================================
   INCLUSIVELINK
   DASHBOARD INTERFACE REDESIGN
   ========================================================= */

.dashboard-page {
    width: 100%;
    max-width: 1560px;
    margin: 0 auto 55px;
    color: #173765;
}

/* =========================================================
   HERO
   ========================================================= */

.dashboard-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    align-items: center;
    gap: 30px;
    min-height: 165px;
    margin-bottom: 22px;
}

.dashboard-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.dashboard-hero .page-heading {
    margin-bottom: 10px;
}

.dashboard-intro-description {
    max-width: 730px;
    line-height: 1.55;
}

.dashboard-new-button {
    display: none;
}

/* Communication illustration */

.dashboard-hero-graphic {
    position: relative;
    width: 230px;
    height: 145px;
    justify-self: center;
}

.dashboard-hero-graphic::before {
    content: "";
    position: absolute;
    inset: 14px 5px 0;
    background: #e5f0ff;
    border-radius: 45% 55% 50% 45%;
}

.dashboard-graphic-bubble {
    position: absolute;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(24, 75, 140, 0.12);
}

.dashboard-graphic-bubble span {
    display: block;
    height: 5px;
    background: white;
    border-radius: 10px;
}

.bubble-one {
    top: 7px;
    left: 5px;
    width: 91px;
    height: 65px;
    background: linear-gradient(135deg, #559ce9, #1452a3);
}

.bubble-one span:nth-child(1) {
    width: 25%;
}

.bubble-one span:nth-child(2) {
    width: 85%;
}

.bubble-one span:nth-child(3) {
    width: 55%;
}

.bubble-two {
    right: 0;
    bottom: 3px;
    width: 66px;
    height: 46px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background: #164a92;
}

.bubble-two span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.dashboard-graphic-document {
    position: absolute;
    top: 23px;
    left: 80px;
    width: 110px;
    height: 115px;
    padding: 17px 14px;
    background: #fff;
    border: 2px solid #d4e5fc;
    border-radius: 13px;
    transform: rotate(3deg);
}

.dashboard-graphic-document > span {
    display: block;
    height: 7px;
    margin-bottom: 8px;
    background: #a9cdf8;
    border-radius: 8px;
}

.dashboard-graphic-document > span:nth-child(2) {
    width: 80%;
}

.dashboard-graphic-document > span:nth-child(3) {
    width: 95%;
}

.dashboard-document-blocks {
    display: flex;
    gap: 5px;
    margin-top: 12px;
}

.dashboard-document-blocks i {
    width: 15px;
    height: 15px;
    background: #c5dcfa;
    border-radius: 4px;
}

/* =========================================================
   MAIN LAYOUT
   ========================================================= */

.dashboard-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    align-items: start;
    gap: 16px;
}

.dashboard-main-column,
.dashboard-sidebar {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* =========================================================
   SHARED CARDS
   ========================================================= */

.dashboard-stat-card,
.dashboard-table-card,
.dashboard-progress-card,
.dashboard-tips-card,
.dashboard-sidebar-card {
    background: #fff;
    border: 1px solid #dce6f3;
    border-radius: 13px;
    box-shadow: 0 5px 18px rgba(25, 55, 105, 0.045);
}

.dashboard-card-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dashboard-card-heading h3 {
    margin: 0 0 4px;
    color: #102f66;
    font-size: 17px;
    font-weight: 800;
}

.dashboard-card-heading p {
    margin: 0;
    color: #7283a0;
    font-size: 11px;
    line-height: 1.45;
}

.dashboard-heading-icon {
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #eaf3ff;
    color: #176dd1;
    border-radius: 10px;
    font-size: 19px;
    font-weight: 800;
}

.compact-heading {
    margin-bottom: 16px;
}

/* =========================================================
   STATISTICS
   ========================================================= */

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

.dashboard-stat-card {
    position: relative;
    min-height: 138px;
    padding: 16px;
    overflow: hidden;
}

.dashboard-stat-top {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 13px;
}

.dashboard-stat-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #e7f1ff;
    color: #176bd0;
    border-radius: 9px;
    font-size: 17px;
    font-weight: 800;
}

.dashboard-stat-label {
    color: #183963;
    font-size: 11px;
    font-weight: 800;
}

.dashboard-stat-value {
    position: relative;
    z-index: 1;
    color: #0c316c;
    font-size: 29px;
    line-height: 1.1;
    font-weight: 800;
}

.dashboard-stat-description {
    position: relative;
    z-index: 1;
    margin: 7px 0 0;
    color: #73839c;
    font-size: 10px;
}

.stat-orange .dashboard-stat-icon {
    background: #fff1d7;
    color: #e99b00;
}

.stat-purple .dashboard-stat-icon {
    background: #eae8ff;
    color: #7454e8;
}

.stat-green .dashboard-stat-icon {
    background: #e4f7ed;
    color: #17a769;
}

/* Small decorative trend indicators */

.dashboard-mini-chart {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 75px;
    height: 38px;
    display: flex;
    align-items: flex-end;
    gap: 5px;
    opacity: 0.85;
}

.dashboard-mini-chart span {
    flex: 1;
    min-height: 3px;
    background: #3985e5;
    border-radius: 3px 3px 0 0;
}

.stat-green .dashboard-mini-chart span {
    background: #20b778;
}

.stat-orange .dashboard-mini-chart span {
    background: #f2b331;
}

.stat-purple .dashboard-mini-chart span {
    background: #8b6df0;
}

/* =========================================================
   RECENT EVALUATIONS
   ========================================================= */

.dashboard-table-card {
    overflow: hidden;
}

.dashboard-table-card > .dashboard-card-heading {
    padding: 18px;
    border-bottom: 1px solid #e5edf6;
}

.dashboard-view-all {
    margin-left: auto;
    color: #1459ac;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.dashboard-view-all:hover {
    text-decoration: underline;
}

.dashboard-table {
    padding: 0 15px 15px;
}

.dashboard-table-header,
.dashboard-table-row {
    display: grid;
    grid-template-columns:
        minmax(125px, 1.2fr)
        minmax(135px, 1.4fr)
        minmax(110px, 1fr)
        minmax(95px, 0.9fr)
        65px;
    align-items: center;
    gap: 12px;
}

.dashboard-table-header {
    min-height: 37px;
    padding: 0 12px;
    color: #7988a0;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dashboard-table-row {
    min-height: 57px;
    margin-bottom: 7px;
    padding: 8px 12px;
    background: #fbfcff;
    border: 1px solid #e2eaf4;
    border-radius: 9px;
}

.dashboard-table-row:last-child {
    margin-bottom: 0;
}

.dashboard-platform,
.dashboard-persona,
.dashboard-score {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #284364;
    font-size: 10px;
}

.dashboard-platform-icon {
    width: 29px;
    height: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #eaf3ff;
    color: #176bd0;
    border-radius: 7px;
    font-size: 12px;
}

.dashboard-persona-dot {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #e8f1ff;
    color: #1556a3;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 800;
}

.dashboard-score strong {
    white-space: nowrap;
    color: #173765;
    font-size: 10px;
}

.dashboard-score-track {
    width: 55px;
    height: 5px;
    overflow: hidden;
    background: #e3eaf4;
    border-radius: 10px;
}

.dashboard-score-fill {
    width: 80%;
    height: 100%;
    background: #3182e4;
    border-radius: 10px;
}

.dashboard-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border-radius: 20px;
    font-size: 9px;
    font-weight: 800;
}

.status-dot {
    width: 5px;
    height: 5px;
    background: currentColor;
    border-radius: 50%;
}

.status-submitted {
    background: #e5f0ff;
    color: #2464b3;
}

.status-reviewed {
    background: #e4f7ed;
    color: #268253;
}

.status-draft {
    background: #fff2d8;
    color: #a57110;
}

.dashboard-row-action {
    color: #1557a9;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.dashboard-row-action:hover {
    text-decoration: underline;
}

/* =========================================================
   RIGHT SIDEBAR
   ========================================================= */

.dashboard-sidebar-new {
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #173d78;
    color: white;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 5px 14px rgba(23, 61, 120, 0.12);
}

.dashboard-sidebar-new:hover {
    background: #102e60;
}

.dashboard-sidebar-new span {
    font-size: 20px;
}

.dashboard-sidebar-card {
    padding: 17px;
}

/* =========================================================
   EVALUATION OVERVIEW
   ========================================================= */

.dashboard-overview-content {
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.dashboard-overview-ring {
    width: 138px;
    height: 138px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: conic-gradient(
        #2e83e8 0% 57%,
        #1bb475 57% 82%,
        #e7edf5 82% 100%
    );
    transform: rotate(-90deg);
}

.dashboard-overview-ring-inner {
    width: 110px;
    height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    transform: rotate(90deg);
}

.dashboard-overview-ring-inner strong {
    color: #103b83;
    font-size: 30px;
    line-height: 1;
}

.dashboard-overview-ring-inner > span {
    margin-top: 4px;
    color: #536b8e;
    font-size: 11px;
}

.dashboard-overview-ring-inner small {
    margin-top: 8px;
    color: #7587a2;
    font-size: 9px;
}

.dashboard-overview-list {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dashboard-overview-row {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px;
    border: 1px solid #e4ebf4;
    border-radius: 8px;
}

.dashboard-overview-row > span:nth-child(2) {
    min-width: 0;
    flex: 1;
    color: #405675;
    font-size: 9px;
}

.dashboard-overview-row strong {
    color: #163a77;
    font-size: 12px;
}

.overview-dot {
    width: 9px;
    height: 9px;
    flex-shrink: 0;
    border-radius: 50%;
}

.dot-blue {
    background: #2e83e8;
}

.dot-orange {
    background: #f3b323;
}

.dot-red {
    background: #ed585c;
}

.dot-green {
    background: #19b477;
}

/* =========================================================
   QUICK ACTIONS
   ========================================================= */

.dashboard-quick-actions {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.dashboard-quick-primary,
.dashboard-quick-secondary {
    min-height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.dashboard-quick-primary {
    background: #173d78;
    color: #fff;
}

.dashboard-quick-primary:hover {
    background: #102e60;
}

.dashboard-quick-secondary {
    background: #eaf3ff;
    color: #1758a8;
    border: 1px solid #d1e2fa;
}

.dashboard-quick-secondary:hover {
    background: #dfeeff;
}

.dashboard-quick-primary > span,
.dashboard-quick-secondary > span {
    font-size: 18px;
}

.dashboard-quick-primary b,
.dashboard-quick-secondary b {
    margin-left: auto;
    font-size: 16px;
}

/* =========================================================
   COMMUNICATION INSIGHTS
   ========================================================= */

.insight-icon {
    background: #fff0df;
    color: #e38b18;
}

.dashboard-communication-insights {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.dashboard-communication-insight {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid #e1e9f3;
    border-radius: 9px;
    background: #fbfcff;
}

.communication-insight-icon {
    width: 37px;
    height: 37px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 9px;
    font-size: 16px;
    font-weight: 800;
}

.insight-green {
    background: #e1f7eb;
    color: #1ca968;
}

.insight-orange {
    background: #fff2dc;
    color: #e4a11b;
}

.insight-purple {
    background: #f0eaff;
    color: #8059d9;
}

.dashboard-communication-insight strong {
    color: #193b6d;
    font-size: 10px;
}

.dashboard-communication-insight p {
    margin: 4px 0 0;
    color: #74849c;
    font-size: 9px;
    line-height: 1.45;
}

/* =========================================================
   BOTTOM GRID
   ========================================================= */

.dashboard-lower-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 12px;
}

.dashboard-progress-card,
.dashboard-tips-card {
    min-width: 0;
    padding: 16px;
}

.dashboard-progress-card {
    background: linear-gradient(135deg, #fff, #f1f7ff);
}

.dashboard-tips-card {
    background: linear-gradient(135deg, #fff, #f2fcf7);
}

.tips-icon {
    background: #e1f6e9;
    color: #19a465;
}

/* =========================================================
   PROGRESS CHART
   ========================================================= */

.dashboard-progress-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 130px;
    gap: 14px;
}

.dashboard-progress-chart {
    display: flex;
    gap: 9px;
    min-width: 0;
}

.dashboard-chart-y-axis {
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #7085a5;
    font-size: 9px;
}

.dashboard-chart-area {
    position: relative;
    flex: 1;
    min-width: 0;
    height: 140px;
    margin-bottom: 22px;
}

.dashboard-chart-grid-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: #dce8f7;
}

.line-1 { top: 0%; }
.line-2 { top: 25%; }
.line-3 { top: 50%; }
.line-4 { top: 75%; }
.line-5 { top: 100%; }

.dashboard-progress-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: #287ee5;
    overflow: visible;
}

.dashboard-progress-svg circle {
    fill: #fff;
    stroke: #287ee5;
    stroke-width: 3;
}

.dashboard-chart-months {
    position: absolute;
    top: calc(100% + 7px);
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    color: #657a99;
    font-size: 9px;
}

.dashboard-progress-summary {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding-left: 12px;
    border-left: 1px solid #dce6f3;
}

.dashboard-progress-stat {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-progress-stat > strong {
    min-width: 38px;
    color: #123d82;
    font-size: 23px;
}

.dashboard-progress-stat > strong.progress-positive {
    color: #17a465;
}

.dashboard-progress-stat span {
    display: block;
    color: #284467;
    font-size: 9px;
    font-weight: 800;
}

.dashboard-progress-stat small {
    display: block;
    margin-top: 4px;
    color: #7989a1;
    font-size: 8px;
}

/* =========================================================
   COMMUNICATION TIPS
   ========================================================= */

.dashboard-tips-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dashboard-tip {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.dashboard-tip > span {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #def5e8;
    color: #16975a;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 800;
}

.dashboard-tip strong {
    color: #20476a;
    font-size: 10px;
}

.dashboard-tip p {
    margin: 3px 0 0;
    color: #72849a;
    font-size: 9px;
    line-height: 1.45;
}

.dashboard-more-tips {
    display: inline-block;
    margin-top: 15px;
    color: #155aa9;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
}

.dashboard-more-tips:hover {
    text-decoration: underline;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1350px) {

    .dashboard-layout {
        grid-template-columns: minmax(0, 1fr) 330px;
    }

    .dashboard-overview-content {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .dashboard-overview-list {
        width: 100%;
    }

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

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

@media (max-width: 1050px) {

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

    .dashboard-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .dashboard-sidebar-new {
        grid-column: 1 / -1;
    }

    .dashboard-overview-content {
        grid-template-columns: 145px minmax(0, 1fr);
    }

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

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

@media (max-width: 800px) {

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

    .dashboard-hero-graphic {
        display: none;
    }

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

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

    .dashboard-table-header,
    .dashboard-table-row {
        min-width: 680px;
    }
}

@media (max-width: 600px) {

    .dashboard-stats-grid,
    .dashboard-lower-grid,
    .dashboard-sidebar {
        grid-template-columns: 1fr;
    }

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

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

    .dashboard-progress-summary {
        flex-direction: row;
        justify-content: flex-start;
        border-left: none;
        border-top: 1px solid #dce6f3;
        padding: 15px 0 0;
    }
}
