/* Base Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    width: 100vw;
    font-family: 'Graphik', 'Inter', 'Roboto', Arial, sans-serif;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Splash Page Container */
.splash-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100vw;
    position: relative;
    padding: 0;
    margin: 0;
    max-width: none;
}

/* Logo styling */
.logo {
    width: 160px;
    margin-bottom: 64px;
}

/* Background logo */
.background-logo {
    position: fixed;
    left: 32px;
    bottom: 32px;
    height: 40px;
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

/* Blazor Error UI */
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* Override MudBlazor default margins for the splash page */
.splash-container .mud-stack {
    align-items: center !important;
}

/* Ensure proper font loading */
@font-face {
    font-family: 'Graphik';
    font-display: swap;
}

/* Additional MudBlazor component customizations */
.mud-list-subheader.mud-list-subheader-gutters {
    background: linear-gradient(to bottom, #f0f0f0, #e6e6e6);
    font-weight: bold;
    color: #333;
    padding: 14px 16px;
    border-top: 1px solid #fff;
}

.logDetails {
    font-family: monospace;
    white-space: pre-wrap;
    background-color: #f5f5f5;
}

.logs-table th,
.logs-table td {
    text-align: center;
}

/* Markdown Body Styles */
.markdown-body {
    font-family: 'Roboto', 'Graphik', 'Inter', Arial, sans-serif;
    max-width: 700px;
    margin: 2em auto;
    background: #fff;
    padding: 2em;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.markdown-body h2,
.markdown-body h4 {
    color: #2a4d8f;
    margin-bottom: 1em;
}

.markdown-body a {
    color: #0078d4;
    text-decoration: underline;
}

.markdown-body ul {
    margin-left: 2em;
    margin-bottom: 1em;
}
.markdown-body li {
    margin-bottom: 0.5em;
}