html,
body {
    height: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

.body {
    font-family: 'Roboto', sans-serif;
    display: grid;
    grid-template-columns: minmax(min-content, 75%);
    grid-template-rows: max-content max-content minmax(200px, max-content) 1fr;
    grid-gap: 26px;
    background: #888888;
    align-content: center;
    justify-content: space-evenly;
    justify-items: center;
    padding: 30px;
}

.body > * {
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.header {
    font-size: 26px;
    text-align: center;
    font-weight: bolder;
    border-radius: 5px;
    display: grid;
    grid-template-rows: min-content min-content min-content;
    grid-gap: 1px;
    background: #888888;
    overflow: hidden;
    min-width: 300px;
}

.header > div {
    padding:15px;
    background: #ffffff;
}
.logo {
    display: block;
    width: 200px;
    margin: auto;
}

.my-ip {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

.my-ip-label {
    font-size: 16px;
    color: #555555;
    margin-bottom: 8px;
}

.my-ip-value {
    font-family: 'Roboto Mono', monospace;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    word-break: break-all;
}

.my-ip-value.error {
    color: #9b1c31;
}

.my-ip-value-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.my-ip-copy {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    color: #555555;
    background: #f3f3f3;
    border: 1px solid #dddddd;
    border-radius: 4px;
    padding: 4px 10px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.my-ip-copy:hover {
    background: #e7e7e7;
}

.my-ip-copy.copied {
    color: #1b7f3b;
    border-color: #1b7f3b;
}

.my-ip-sub {
    margin-top: 8px;
    font-family: 'Roboto Mono', monospace;
    font-size: 13px;
    color: #888888;
}

.my-ip-info {
    margin: 14px auto 0;
    max-width: 460px;
    text-align: left;
    font-size: 14px;
}

.ip-info-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 0;
    border-top: 1px solid #eeeeee;
}

.ip-info-k {
    color: #888888;
    flex: 0 0 auto;
}

.ip-info-v {
    color: #1a1a1a;
    text-align: right;
    word-break: break-word;
}

.ip-info-v.ip-info-warn {
    color: #9b1c31;
    font-weight: 700;
}

.db-status {
    display: grid;
    grid-template-rows: max-content 1fr;
    width: 100%;
    max-width: 800px;
    min-height: 26px;
    padding: 10px;
    border-radius: 5px;
    font-family: 'Roboto Mono', monospace;
    color: white;
    overflow: auto;
}


.db-status-header {
    padding: 10px;
    background: rosybrown;
    text-align: center;
    border-radius: 5px 5px 0 0;
}

.db-status-header.success {
    background: royalblue;
}

.db-status-header.error {
    background: #9b1c31;
}

.db-status-results {
    padding: 10px;
    background: #4f4444;
    margin: 0;
    border-radius: 0 0 5px 5px;
    overflow: auto;
    white-space: pre;
    tab-size: 2;
}

/* JSON syntax highlighting for the db-status response (dark panel). */
.db-status-results .json-key {
    color: #9cdcfe;
}

.db-status-results .json-string {
    color: #ffd479;
}

.db-status-results .json-number {
    color: #b5cea8;
}

.db-status-results .json-boolean {
    color: #ff9e64;
}

.db-status-results .json-null {
    color: #c586c0;
}

