﻿html, body, #app {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    height: 100%;
}

#blazor-error-ui {
    display: none;
}


.body-container {
    background: #0f111a;
    display: flex;
    flex: 1; /* take all remaining height */
    min-height: 0; /* important for flex children with scroll */
}


/* Main content scrolls if needed */
.page {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
}

.PixelHeadings a {
    font-family: 'VT323', monospace;
    font-size: 1.5rem;
    font-weight: normal;  
}
    .PixelHeadings.light {
        color: #ddd;
    }

    .PixelHeadings.dark {
        color: #191d2b;
    }


.application-logo {
    font-family: 'VT323', monospace;
    display: flex; /* ensures it occupies space */
    font-size: 3rem; /* match heading size */
    justify-content: center;
    background: #0f111a;
}

    .application-logo a {
        
        font-size: inherit; /* inherit from div */
        font-weight: normal;
        color: #ddd;
        text-decoration: none;
        display: inline-block; /* ensures clickable area */
    }


    .application-logo a:visited {
        color: #ddd;
    }

    .application-logo a:hover {
        color: #808080;
    }


.MonoContent {
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    color: #ddd;
}

    .MonoContent .dark{
        color: #ddd;
    }

    .MonoContent .light {
        color: #ddd;
    }


.info-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid #333;
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    margin-left: 6px;
}

.tooltip {
    font-family: 'Space Mono', monospace; 
    visibility: hidden;
    opacity: 0;
    background: #333;
    color: #fff;
    text-align: start;
    width:200px;
    border-radius: 6px;
    padding: 4px 8px;
    position: absolute;
    z-index: 1;
    top: -30px;
    left: 20px;   
    transition: opacity 0.1s;
    white-space:pre-wrap;
}

.info-icon:hover .tooltip {
    visibility: visible;
    opacity: 1;
}




