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

body { font-family: Arial, sans-serif; background-color: aliceblue; }

.container {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* tab bar across the top */
.tabs {
    flex: 0 0 44px;
    display: flex;
    gap: 4px;
    padding: 6px 8px 0 8px;
    background-color: #e8eaf6;
    border-bottom: 2px solid #c5cae9;
}

.tab {
    flex: 1;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid #c5cae9;
    border-bottom: none;
    background-color: #c5cae9;
    color: #3949ab;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    padding: 6px 8px;
}

.tab.active { background-color: #ffffff; color: #1a237e; }

#network {
    flex: 1 1 auto;
    min-height: 0;
    background-color: aliceblue;
}

.title {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    font-weight: bold;
    color: #1a237e;
    background-color: rgba(240, 248, 255, 0.85);
    padding: 2px 10px;
    border-radius: 6px;
    z-index: 10;
}

.infobox {
    flex: 0 0 auto;
    min-height: 46px;
    margin: 6px 10px 0 10px;
    background-color: rgba(255, 255, 255, 0.97);
    border: 1px solid #c5cae9;
    border-left: 5px solid #3949ab;
    border-radius: 8px;
    padding: 8px 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.infobox-title { font-size: 14px; font-weight: bold; color: #1a237e; margin-bottom: 3px; }
.infobox-body { font-size: 13px; line-height: 1.45; color: #333; }

/* viewpoint "recipe" footer */
.footer {
    flex: 0 0 auto;
    height: 84px;
    margin: 6px 10px 8px 10px;
    overflow-y: auto;
    background-color: #1a237e;
    color: #ffffff;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1.5;
}

.footer b { color: #ffd54f; }
