/* Global Console Theme */
html,
body {
    background-color: #0d0d0d;
    color: #cccccc;
    font-family: 'Consolas', 'Courier New', monospace;
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

.console-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    box-sizing: border-box;
}

h1,
h2,
h3 {
    text-transform: uppercase;
    color: #ffffff;
}

hr {
    border: 0;
    border-top: 1px dashed #555;
    margin: 1.5rem 0;
}

/* Button Styles (Retro) */
.btn {
    display: inline-block;
    padding: 10px 15px;
    margin: 5px;
    border: 1px solid #444;
    background-color: #1a1a1a;
    color: #eee;
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.btn:hover,
.btn:focus {
    background-color: #333;
    border-color: #777;
    color: #fff;
    outline: none;
}

.btn-primary {
    border-color: #007700;
    color: #00ff00;
}

.btn-primary:hover {
    background-color: #004400;
    color: #ccffcc;
}

.btn-danger {
    border-color: #770000;
    color: #ff5555;
}

.btn-danger:hover {
    background-color: #440000;
    color: white;
}

/* Blazor Error UI */
#blazor-error-ui {
    background: #330000;
    color: #ffcccc;
    bottom: 0;
    padding: 10px;
    position: fixed;
    width: 100%;
    z-index: 1000;

    display: none;
    border-top: 2px solid red;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.alert-danger {
    color: #ffcccc;
    background-color: #550000;
    border-color: #ff0000;
}

.loading-progress {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #00ff00;
    font-size: 2rem;
}