body {
    margin: 0;
    background: #f3f5f9;
    font-family: Arial, sans-serif;
    color: #0f172a;
}

.bo-layout {
    display: flex;
    min-height: 100vh;
}

.bo-sidebar {
    width: 270px;
    background: #1e293b;
    color: white;
    padding: 35px 24px;
    flex-shrink: 0;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
}

.bo-logo {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 55px;
}

.bo-menu {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bo-menu a {
    color: white;
    text-decoration: none;
    padding: 15px 18px;
    border-radius: 14px;
    font-weight: 600;
}

.bo-menu a:hover {
    background: rgba(255,255,255,0.08);
}

.bo-menu hr {
    width: 100%;
    opacity: 0.2;
}

.bo-content {
    margin-left: 270px;
    flex: 1;
    padding: 42px;
}

.bo-card {
    background: white;
    border-radius: 26px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    border: 1px solid #eef2f7;
}

.dashboard-hero {
    background: linear-gradient(135deg, #0f172a, #1e293b 55%, #334155);
    color: white;
    border-radius: 30px;
    padding: 36px;
    margin-bottom: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-hero h1 {
    font-size: 48px;
    margin: 10px 0;
}

.dashboard-hero p {
    color: #cbd5e1;
    margin: 0;
}

.dashboard-pill {
    display: inline-block;
    background: rgba(255,255,255,0.14);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.dashboard-hero-box {
    background: rgba(255,255,255,0.12);
    border-radius: 22px;
    padding: 22px 28px;
    text-align: right;
}

.dashboard-hero-box span {
    display: block;
    color: #cbd5e1;
}

.dashboard-hero-box strong {
    font-size: 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 28px;
}

.stat-card {
    background: white;
    border-radius: 26px;
    padding: 28px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: "";
    position: absolute;
    right: -35px;
    top: -35px;
    width: 120px;
    height: 120px;
    background: #dcfce7;
    border-radius: 50%;
}

.stat-main::after {
    background: #dbeafe;
}

.stat-orange::after {
    background: #fef3c7;
}

.stat-red::after {
    background: #fee2e2;
}

.stat-card span,
.stat-card strong,
.stat-card small {
    position: relative;
    z-index: 1;
}

.stat-card span {
    color: #64748b;
    font-weight: 700;
}

.stat-card strong {
    display: block;
    font-size: 34px;
    margin: 12px 0 6px;
}

.stat-card small {
    color: #94a3b8;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 28px;
    margin-bottom: 28px;
}

.panel-title {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.panel-title strong {
    font-size: 28px;
    color: #16a34a;
}

.big-progress {
    height: 26px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.big-progress div {
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #16a34a);
}

.progress-labels {
    margin-top: 14px;
    display: flex;
    justify-content: space-between;
    color: #64748b;
    font-weight: 600;
}

.projection-modern {
    background: linear-gradient(135deg, #7c2d12, #ea580c);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.projection-modern span {
    color: #fed7aa;
    font-weight: 700;
}

.projection-modern strong {
    font-size: 42px;
    margin: 12px 0;
}

.projection-modern p {
    color: #ffedd5;
}

.status-row {
    display: grid;
    grid-template-columns: 110px 1fr 70px;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.status-bar {
    height: 14px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.status-bar div {
    height: 100%;
}

.green { background: #16a34a; }
.orange { background: #f59e0b; }
.red { background: #dc2626; }

.metric-line {
    display: flex;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid #e5e7eb;
}

.metric-line:last-child {
    border-bottom: 0;
}

@media (max-width: 1100px) {
    .stats-grid,
    .dashboard-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.bo-page-header {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border-radius: 28px;
    padding: 32px;
    margin-bottom: 28px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bo-page-header h1 {
    font-size: 42px;
    margin: 0;
}

.bo-page-header p {
    color: #64748b;
    margin: 8px 0 0;
}

.bo-count-pill {
    background: #0f172a;
    color: white;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
}

.bo-modern-table thead th {
    background: #f8fafc;
    color: #334155;
    padding: 16px;
}

.bo-modern-table tbody td {
    padding: 16px;
    vertical-align: middle;
}

.bo-modern-table tbody tr {
    transition: 0.15s;
}

.bo-modern-table tbody tr:hover {
    background: #f8fafc;
}

.detail-header {
    background: linear-gradient(135deg, #0f172a, #334155);
    color: white;
    border-radius: 30px;
    padding: 34px;
    margin-bottom: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-header p {
    color: #cbd5e1;
    margin: 0;
}

.detail-box {
    background: #f8fafc;
    border-radius: 24px;
    padding: 24px;
    height: 100%;
}

.detail-box h5 {
    color: #64748b;
    font-weight: 700;
    margin-bottom: 14px;
}

.detail-total {
    font-size: 28px;
    font-weight: 800;
}