* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #07111f;
    color: #e8eef7;
}

header {
    max-width: 1200px;
    margin: auto;
    padding: 55px 30px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

h1 {
    margin: 5px 0 10px;
    font-size: 38px;
}

h2 {
    margin-top: 0;
    font-size: 20px;
}

.eyebrow {
    color: #7da8db;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.subtitle {
    color: #a9b7c8;
    max-width: 700px;
    line-height: 1.6;
}

.server-status {
    background: #102236;
    border: 1px solid #24415f;
    border-radius: 30px;
    padding: 13px 18px;
    white-space: nowrap;
    font-size: 13px;
    font-weight: bold;
}

.status-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 8px;
    border-radius: 50%;
    background: #35d07f;
}

main {
    max-width: 1200px;
    margin: auto;
    padding: 0 30px 50px;
}

.overview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.metric-card,
.panel {
    background: #0f1d2d;
    border: 1px solid #20354b;
    border-radius: 16px;
    padding: 25px;
}

.metric-title {
    color: #8ca0b7;
    font-size: 13px;
    font-weight: bold;
}

.metric-value {
    font-size: 38px;
    font-weight: bold;
    margin: 14px 0;
}

.progress {
    height: 8px;
    background: #253448;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: #3f88d4;
    transition: width .4s ease;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.info-row,
.security-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #20354b;
    padding: 15px 0;
    gap: 20px;
}

.info-row:last-child,
.security-row:last-child {
    border-bottom: none;
}

.info-row span,
.security-row span {
    color: #9eafc2;
}

.badge {
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 12px;
    background: #253448;
}

.badge-ok {
    color: #6ae69e;
    background: rgba(64, 203, 120, .12);
}

.badge-error {
    color: #ff7c7c;
    background: rgba(255, 80, 80, .12);
}

.architecture {
    margin-top: 20px;
}

.architecture-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 25px;
}

.architecture-item {
    background: #14283e;
    border: 1px solid #2b4968;
    padding: 13px 18px;
    border-radius: 10px;
}

footer {
    text-align: center;
    padding: 30px;
    color: #71849a;
    border-top: 1px solid #172a3f;
}

.activity-overview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.activity-card {
    background: #0f1d2d;
    border: 1px solid #20354b;
    border-radius: 16px;
    padding: 22px 25px;
}

.activity-value {
    margin-top: 12px;
    font-size: 30px;
    font-weight: bold;
}

.last-access {
    margin-top: 14px;
    font-size: 16px;
    font-weight: bold;
    color: #c9d9eb;
}

.security-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.security-metric-card {
    background: #0f1d2d;
    border: 1px solid #20354b;
    border-radius: 16px;
    padding: 22px 25px;
}

.security-metric-value {
    margin-top: 12px;
    font-size: 32px;
    font-weight: bold;
}

.metric-description {
    margin-top: 8px;
    color: #8093aa;
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 800px) {

    header {
        flex-direction: column;
        align-items: flex-start;
    }

    .overview,
    .grid,
    .activity-overview,
    .security-metrics {
       grid-template-columns: 1fr;
}

    h1 {
        font-size: 30px;
    }
}
