.sb-dashboard {
    color: #07164f;
}

.sb-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    margin-bottom: 18px;
    padding: 22px 24px;
    border-radius: 8px;
    background: linear-gradient(135deg, #07164f 0%, #0b2a86 58%, #0f7c75 100%);
    color: #fff;
    box-shadow: 0 18px 40px rgba(7, 22, 79, .16);
}

.sb-hero h2 {
    margin: 0 0 6px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0;
}

.sb-hero p {
    margin: 0;
    max-width: 760px;
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
}

.sb-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.sb-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 9px 14px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.sb-button:hover {
    color: #fff;
    background: rgba(255, 255, 255, .2);
    text-decoration: none;
}

.sb-button.primary {
    border-color: #bdf8ed;
    background: #bdf8ed;
    color: #07164f;
}

.sb-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.sb-card {
    border: 1px solid rgba(7, 22, 79, .09);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(7, 22, 79, .07);
}

.sb-metric {
    position: relative;
    min-height: 132px;
    padding: 18px;
    overflow: hidden;
}

.sb-metric:after {
    content: "";
    position: absolute;
    right: -30px;
    bottom: -34px;
    width: 108px;
    height: 108px;
    border-radius: 50%;
    background: rgba(55, 198, 166, .12);
}

.sb-metric .icon {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #edf6ff;
    color: #0b2a86;
    font-size: 17px;
}

.sb-label {
    color: #61708a;
    font-size: 13px;
    font-weight: 700;
}

.sb-value {
    margin-top: 8px;
    color: #07164f;
    font-size: 34px;
    font-weight: 850;
    line-height: 1;
}

.sb-note {
    margin-top: 10px;
    color: #718096;
    font-size: 12px;
}

.sb-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
    gap: 18px;
}

.sb-panel {
    margin-bottom: 18px;
}

.sb-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px 0;
}

.sb-panel-title {
    margin: 0;
    color: #07164f;
    font-size: 17px;
    font-weight: 800;
}

.sb-panel-subtitle {
    margin-top: 3px;
    color: #718096;
    font-size: 12px;
}

.sb-panel-body {
    padding: 16px 18px 18px;
}

.sb-chart {
    height: 280px;
}

.sb-link {
    color: #0b2a86;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.sb-link:hover {
    color: #0b2a86;
}

.sb-status-list {
    display: grid;
    gap: 12px;
}

.sb-status {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 44px;
    gap: 12px;
    align-items: center;
}

.sb-status span:first-child {
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.sb-track {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #edf2f7;
}

.sb-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #37c6a6, #0b2a86);
}

.sb-count {
    color: #07164f;
    font-size: 13px;
    font-weight: 850;
    text-align: right;
}

.sb-table {
    width: 100%;
    border-collapse: collapse;
}

.sb-table th,
.sb-table td {
    padding: 11px 8px;
    border-bottom: 1px solid #edf2f7;
    font-size: 13px;
    vertical-align: middle;
}

.sb-table th {
    color: #718096;
    font-weight: 800;
}

.sb-table td {
    color: #243044;
}

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

.sb-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 850;
    white-space: nowrap;
}

.sb-row-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 94px;
    min-height: 32px;
    padding: 6px 11px;
    border: 1px solid #cfe0ff;
    border-radius: 999px;
    background: #f3f8ff;
    color: #0b2a86;
    font-size: 12px;
    font-weight: 850;
    line-height: 1;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.sb-row-action:hover {
    border-color: #9dc1ff;
    background: #e8f2ff;
    box-shadow: 0 6px 16px rgba(11, 42, 134, .11);
    transform: translateY(-1px);
}

.sb-row-action.report {
    border-color: #bcefe3;
    background: #ecfbf7;
    color: #08745f;
}

.sb-row-action.report:hover {
    border-color: #7bd9c3;
    background: #dcf8f1;
    box-shadow: 0 6px 16px rgba(8, 116, 95, .12);
}

.sb-row-action i {
    font-size: 13px;
}

.sb-success {
    background: #e9fbf6;
    color: #078064;
}

.sb-warning {
    background: #fff4de;
    color: #9b5a00;
}

.sb-danger {
    background: #ffecec;
    color: #b42318;
}

.sb-info {
    background: #edf6ff;
    color: #0b2a86;
}

.sb-activity {
    display: grid;
    gap: 12px;
}

.sb-activity-item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: start;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf2f7;
}

.sb-activity-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.sb-dot {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eef7ff;
    color: #0b2a86;
}

.sb-activity-title {
    color: #07164f;
    font-size: 13px;
    font-weight: 800;
}

.sb-activity-meta {
    margin-top: 2px;
    color: #718096;
    font-size: 12px;
}

.sb-action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.sb-action-tile {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 72px;
    padding: 12px;
    border: 1px solid #e3e9f2;
    border-radius: 8px;
    color: #07164f;
    text-decoration: none;
    background: #fbfdff;
}

.sb-action-tile:hover {
    color: #07164f;
    border-color: #b7d8ff;
    background: #f5fbff;
    text-decoration: none;
}

.sb-action-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 8px;
    background: #07164f;
    color: #bdf8ed;
}

.sb-action-title {
    display: block;
    font-size: 13px;
    font-weight: 850;
}

.sb-action-desc {
    display: block;
    margin-top: 2px;
    color: #718096;
    font-size: 12px;
    line-height: 1.25;
}

.sb-empty {
    padding: 18px;
    border: 1px dashed #d8e2ee;
    border-radius: 8px;
    color: #718096;
    font-size: 13px;
    text-align: center;
}

@media (max-width: 1199px) {
    .sb-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 767px) {
    .sb-hero,
    .sb-grid,
    .sb-metrics,
    .sb-action-grid {
        grid-template-columns: 1fr;
    }

    .sb-actions {
        justify-content: flex-start;
    }

    .sb-status {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .sb-count {
        text-align: left;
    }
}
