:root {
    --background: #f3f5f8;
    --surface: #ffffff;
    --border: #dfe4ea;
    --text: #202936;
    --muted: #687483;
    --ok: #198754;
    --alert: #dc3545;
    --error: #fd7e14;
    --info: #0d6efd;
    --shadow: 0 4px 14px rgba(31, 41, 55, 0.07);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 22px;
    background: var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}

.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 22px;
}

.title {
    margin: 0;
    font-size: 30px;
}

.subtitle {
    margin-top: 6px;
    color: var(--muted);
    font-size: 14px;
}

.navigation {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.navigation a {
    padding: 9px 13px;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: var(--surface);
    color: var(--info);
    text-decoration: none;
    font-size: 13px;
}

.navigation a:hover {
    background: #f8fafc;
}

.panel {
    overflow-x: auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

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

th,
td {
    padding: 11px 13px;
    border-bottom: 1px solid #edf0f3;
    text-align: left;
    vertical-align: top;
    white-space: nowrap;
}

th {
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
}

td {
    font-size: 13px;
}

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

.status {
    font-weight: bold;
}

.status-ok {
    color: var(--ok);
}

.status-alert {
    color: var(--alert);
}

.status-error {
    color: var(--error);
}

.json-link {
    color: var(--info);
    text-decoration: none;
    font-weight: bold;
}

.json-link:hover {
    text-decoration: underline;
}

.empty {
    padding: 28px;
    color: var(--muted);
    text-align: center;
}

.application-footer {
    margin-top: 26px;
    padding: 16px 10px 4px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

@media (max-width: 700px) {
    body {
        padding: 12px;
    }

    .header {
        flex-direction: column;
    }
}
