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

body {
    font-family: 'Nunito', 'Roboto', Arial, sans-serif;
    background: #1A2332;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body, .mud-typography, .mud-text {
    font-family: 'Nunito', 'Roboto', Arial, sans-serif !important;
}

.mud-typography-h6, .mud-text-h6 {
    font-weight: bold !important;
}

.mud-typography-body2, .mud-text-body2 {
    font-weight: normal !important;
    font-size: 1.05rem !important; /* Increase as needed */
}

/* Content */
.content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.error-container {
    background: #263447;
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.error-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #5DBACD 0%, #7DD3E8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-code {
    font-size: 6rem;
    font-weight: 700;
    background: linear-gradient(135deg, #5DBACD 0%, #7DD3E8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1;
}

h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 600;
}

p {
    color: #B0BEC5;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    font-family: 'Nunito', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: #5DBACD;
    color: white;
    box-shadow: 0 3px 6px rgba(93, 186, 205, 0.3);
}

.btn-primary:hover {
    background: #7DD3E8;
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(93, 186, 205, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #5DBACD;
    border: 2px solid #5DBACD;
}

.btn-secondary:hover {
    background: rgba(93, 186, 205, 0.1);
    border-color: #7DD3E8;
    color: #7DD3E8;
}

/* Blazor Error UI */
#blazor-error-ui {
    background: #fee;
    border-top: 3px solid #c33;
    color: #c33;
    padding: 1rem;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    display: none;
    font-weight: 600;
}

#blazor-error-ui .reload,
#blazor-error-ui .dismiss {
    cursor: pointer;
    margin-left: 1rem;
    text-decoration: underline;
}

#blazor-error-ui .reload:hover,
#blazor-error-ui .dismiss:hover {
    text-decoration: none;
}

/* Responsive */
@media (max-width: 600px) {
    .error-code {
        font-size: 4rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    .error-container {
        padding: 2rem 1.5rem;
    }

    .buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}