* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

body {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.layout {
    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    font-style: normal;
    background-color: lightgrey;
    display: grid;
    grid-template-areas:
        "title title"
        "sidebar body";
    grid-template-rows: min-content 1fr; 
    grid-template-columns: 300px 1fr;
    height: 100vh;
    width: 100vw;
}

.title { 
    grid-area: title; 
    background-color: #202020;
    color: #ffffff;
    padding: 15px 20px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 15px;
}

.sidebar { 
    grid-area: sidebar;
    background-color: #1a1a1a;
    display: flex;
    flex-direction: column;
    padding: 20px 15px;
    height: 100%;
    z-index: 2;
    border-right: 1px solid #2d2d2d;
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.body { 
    grid-area: body;
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #1a1a1a;
    z-index: 1;
    color: white;
}

.body iframe {
    flex-grow: 1;
    width: 100%;
    height: 100%;
    border: none;
    background-image: url('placeholder.png');
    background-repeat: no-repeat !important;
    background-size: auto 100%;
    background-position: center !important;
    background-color: #060037;
    color: white;
}

details::details-content {
    transition: opacity 0.5s ease-out, content-visibility 0.5s allow-discrete;
    opacity: 0;
}

details[open]::details-content {
    opacity: 1;
}

.nodecorlink {
    text-decoration: none !important;
    border-radius: 6px;
    padding: 12px 16px;
    display: block;
    width: 100%;
    text-align: center;
    border: 1px solid #3d3d3d;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.1s ease, filter 0.2s ease;
    height: auto;
}

.nodecorlink:hover {
    filter: brightness(1.2);
}

.nodecorlink button {
    background: transparent;
    border: none;
    color: inherit;
    width: 100%;
    height: 100%;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

.logo {
    display: inline-block;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.minecraft {
    background-image: url('https://art.pixilart.com/sr20689747e11a3.png') !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
    color: #FFFFFF99 !important;
}

.backgroundfix {
    background-color: #00000040;
        color: #FFFFFF;
}
.warn-box {
  background-color: #ffcc00;
  color: #333333;
  font-family: "Ubuntu", sans-serif;
  font-weight: 400;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
}
.metrics-container {
    max-width: 100%;
    font-family: 'Ubuntu', sans-serif;
}
.metrics-container h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 500;
}
.metric-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #333;
}
.metric-row:last-child {
    border-bottom: none;
}
.metric-row .label {
    color: #aaaaaa;
    font-weight: bold;
}
.metric-row .value {
    font-family: monospace;
    font-size: 15px;
}
