﻿html, body {
    margin: 0;
    background: #020817;
    color: white;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.dash-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 260px 1fr;
    background: radial-gradient(circle at 80% 0%, rgba(37,99,235,.22), transparent 28%), #020817;
}

.dash-sidebar {
    padding: 24px 16px;
    border-right: 1px solid rgba(96,165,250,.14);
    background: rgba(1,7,19,.9);
}

.dash-brand {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 34px;
}

.dash-logo {
    width: 42px;
    height: 42px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #22d3ee, #2563eb);
    font-size: 24px;
    font-weight: 900;
}

.dash-brand strong {
    display: block;
    font-size: 22px;
}

.dash-brand span {
    color: #38bdf8;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
}

.dash-menu {
    display: grid;
    gap: 8px;
}

    .dash-menu a {
        color: #dbeafe;
        padding: 13px 14px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        gap: 13px;
        position: relative;
        font-weight: 600;
    }

        .dash-menu a.active {
            background: linear-gradient(135deg, #2563eb, #1d4ed8);
        }

    .dash-menu b {
        margin-left: auto;
        background: #2563eb;
        border-radius: 999px;
        padding: 3px 9px;
    }

.dash-request {
    margin-top: 54px;
    padding: 24px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(88,28,135,.65), rgba(30,64,175,.4));
    border: 1px solid rgba(147,197,253,.16);
}

    .dash-request p {
        color: #cbd5e1;
        line-height: 1.55;
    }

    .dash-request button {
        width: 100%;
        border: none;
        color: white;
        padding: 13px;
        border-radius: 9px;
        background: linear-gradient(135deg, #0ea5e9, #2563eb);
        font-weight: 800;
    }

.dash-back {
    display: block;
    color: #38bdf8;
    margin-top: 80px;
}

.dash-main {
    padding: 20px 36px 40px;
}

.dash-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 34px;
}

.dash-search {
    width: 520px;
    height: 48px;
    border: 1px solid rgba(96,165,250,.18);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
    background: rgba(7,27,55,.55);
}

    .dash-search input {
        flex: 1;
        border: none;
        outline: none;
        color: white;
        background: transparent;
    }

    .dash-search span {
        color: #94a3b8;
        background: rgba(15,23,42,.7);
        padding: 5px 9px;
        border-radius: 6px;
    }

.dash-userbar {
    display: flex;
    gap: 18px;
    align-items: center;
}

.dash-bell {
    position: relative;
}

    .dash-bell span {
        position: absolute;
        top: -11px;
        right: -10px;
        background: #ef4444;
        font-size: 11px;
        border-radius: 999px;
        padding: 2px 6px;
    }

.dash-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    font-weight: 900;
}

.dash-userbar small {
    display: block;
    color: #cbd5e1;
}

.dash-welcome h1 {
    margin: 0;
    font-size: 36px;
}

.dash-welcome p {
    color: #cbd5e1;
    font-size: 18px;
}

.dash-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr) 390px;
    gap: 16px;
    margin: 24px 0;
}

.summary-card,
.health-card,
.portal-card {
    background: rgba(7,27,55,.72);
    border: 1px solid rgba(96,165,250,.18);
    border-radius: 16px;
    box-shadow: 0 0 45px rgba(0,132,255,.06);
}

.summary-card {
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.summary-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 24px;
}

.summary-card.blue .summary-icon {
    background: rgba(37,99,235,.45);
    color: #38bdf8;
}

.summary-card.green .summary-icon {
    background: rgba(34,197,94,.35);
    color: #4ade80;
}

.summary-card.purple .summary-icon {
    background: rgba(124,58,237,.45);
    color: #a78bfa;
}

.summary-card.orange .summary-icon {
    background: rgba(249,115,22,.35);
    color: #fb923c;
}

.summary-card span,
.summary-card small {
    color: #cbd5e1;
}

.summary-card strong {
    display: block;
    font-size: 30px;
}

.health-card {
    padding: 20px;
}

.card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .card-title h3 {
        margin: 0;
        font-size: 20px;
    }

    .card-title a,
    .text-link {
        color: #38bdf8;
        font-weight: 700;
    }

.health-content {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.health-ring {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: conic-gradient(#22c55e 0 45%, #14b8a6 45% 70%, #2563eb 70% 100%);
    display: grid;
    place-items: center;
    position: relative;
}

    .health-ring::after {
        content: "";
        position: absolute;
        width: 88px;
        height: 88px;
        border-radius: 50%;
        background: #07162e;
    }

    .health-ring span,
    .health-ring small {
        position: relative;
        z-index: 2;
    }

    .health-ring span {
        font-size: 30px;
        font-weight: 900;
    }

    .health-ring small {
        margin-top: 34px;
        color: #cbd5e1;
        font-size: 11px;
    }

.health-list p {
    color: #cbd5e1;
}

.health-list b {
    margin-left: 40px;
}

.green-dot,
.yellow-dot,
.red-dot,
.blue-dot,
.gray-dot {
    width: 12px;
    height: 12px;
    display: inline-block;
    border-radius: 4px;
    margin-right: 10px;
}

.green-dot {
    background: #22c55e;
}

.yellow-dot {
    background: #f59e0b;
}

.red-dot {
    background: #ef4444;
}

.blue-dot {
    background: #2563eb;
}

.gray-dot {
    background: #64748b;
}

.dash-content {
    display: grid;
    grid-template-columns: 1fr 430px;
    gap: 18px;
}

.portal-card {
    padding: 20px;
    margin-bottom: 18px;
}

.project-row {
    display: grid;
    grid-template-columns: 54px 1.6fr 120px 150px 130px 20px;
    gap: 14px;
    align-items: center;
    padding: 16px;
    margin-top: 14px;
    border-radius: 14px;
    background: rgba(15,23,42,.45);
    border: 1px solid rgba(96,165,250,.13);
}

.project-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: grid;
    place-items: center;
}

    .project-icon.blue {
        background: #1d4ed8;
    }

    .project-icon.green {
        background: #059669;
    }

    .project-icon.purple {
        background: #7c3aed;
    }

.project-info span,
.project-progress span,
.project-date span {
    display: block;
    color: #cbd5e1;
}

.project-status {
    padding: 6px 10px;
    border-radius: 7px;
    text-align: center;
    font-size: 13px;
}

.blue-status {
    background: rgba(37,99,235,.5);
    color: #60a5fa;
}

.green-status {
    background: rgba(34,197,94,.32);
    color: #4ade80;
}

.purple-status {
    background: rgba(124,58,237,.35);
    color: #c084fc;
}

.project-progress div {
    height: 5px;
    border-radius: 999px;
    background: rgba(96,165,250,.12);
    margin-top: 8px;
}

    .project-progress div i {
        display: block;
        height: 100%;
        border-radius: 999px;
        background: linear-gradient(90deg, #38bdf8, #22c55e);
    }

.dash-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 18px;
}

.tasks-wrap {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 25px;
}

.tasks-ring {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(#22c55e 0 46%, #2563eb 46% 79%, #64748b 79% 100%);
    display: grid;
    place-items: center;
    position: relative;
}

    .tasks-ring::after {
        content: "";
        position: absolute;
        width: 96px;
        height: 96px;
        background: #07162e;
        border-radius: 50%;
    }

    .tasks-ring strong,
    .tasks-ring span {
        position: relative;
        z-index: 2;
    }

    .tasks-ring strong {
        font-size: 30px;
    }

.activity-row,
.meeting-row,
.message-row {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid rgba(96,165,250,.1);
}

.activity-icon,
.meeting-icon,
.msg-avatar {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(37,99,235,.3);
}

.activity-row span,
.meeting-row span,
.message-row span,
.meeting-row small,
.activity-row time,
.message-row time {
    display: block;
    color: #cbd5e1;
    font-size: 13px;
}

.meeting-row button {
    border: none;
    color: white;
    padding: 10px 24px;
    border-radius: 7px;
    background: rgba(37,99,235,.5);
}

.msg-avatar {
    border-radius: 50%;
    font-weight: 900;
}

@media (max-width: 1200px) {
    .dash-page {
        grid-template-columns: 1fr;
    }

    .dash-sidebar {
        display: none;
    }

    .dash-summary,
    .dash-content,
    .dash-bottom-grid {
        grid-template-columns: 1fr;
    }
}
