/* SplashPage new design */
.splash-center-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.splash-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 32px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
    padding: 7rem 5rem 5rem 5rem;
    max-width: 960px;
    width: 90vw;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 32px;
}

.splash-logo {
    max-width: 120px;
    margin-bottom: 1.5rem;
}

.splash-title {
    font-size: 2.1rem;
    font-weight: 700;
    color: #2B2D42;
    margin-bottom: 0.7rem;
    letter-spacing: -0.5px;
    background: linear-gradient(65deg, #171624 10%, #8AD1CD, #F05023, #505CB2);
    background-size: 300% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 30s ease infinite;
}

.enosix-highlight {

    font-weight: 800;

}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    8% {
        background-position: 100% 50%;
    }
    20% {
        background-position: 0% 50%;
    }
}

.splash-subtitle {
    font-size: 1.15rem;
    color: #E07A5F;
    margin-bottom: 2.2rem;
    font-weight: 500;
}

.splash-btn {
    display: inline-block;
    background: linear-gradient(65deg, #505CB2 0%, #171624 100%);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0.95rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 2px 8px 0 rgba(43, 45, 156, 0.10);
    letter-spacing: 0.5px;
    transition: background 0.2s, box-shadow 0.2s;
}

.splash-btn:hover {
    background: linear-gradient(65deg, #505CB2 0%, #52C9EC 100%);
    box-shadow: 0 4px 16px 0 rgba(43, 45, 156, 0.18);
}

/* SplashPage background image */
.splash-background {
    position: relative;
    min-height: 100vh;
    width: 100vw;
    overflow: hidden;
}

.splash-background::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(180deg, rgba(20, 20, 20, .9) 10%, rgba(127, 127, 127, .9) 70%),
    url('/enosix_pattern.png') 0 0 / 5% repeat;
    z-index: 0;
    pointer-events: none;
}

/* 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;
}

#scrollable-mud-paper .client-chat-message-body {
    max-width: 75vw;
    word-break: break-all;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

#scrollable-mud-paper .card-right .mud-card-header-actions {
    align-self: auto;
    margin-left: 16px;
    margin-right: 8px;
}
