/* Stijling voor de Console Generator */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500&display=swap');

:root {
    --console-bg: #0d0d0d;
    --text-color: #e0e0e0;
    --prompt-color: #4a9eff;
    --success-color: #28a745;
    --error-color: #e53e3e;
    --info-color: #f0e68c;
}

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

html, body {
    height: 100%;
    background-color: var(--console-bg);
}

body {
    font-family: 'Fira Code', monospace;
    color: var(--text-color);
}

.console {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1rem;
    overflow: hidden;
}

#console-output {
    flex-grow: 1;
    overflow-y: auto;
    white-space: pre-wrap;
    word-break: break-all;
}

#console-output::-webkit-scrollbar {
    display: none; /* Verberg scrollbalk */
}

#console-output {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

#ascii-header {
    text-align: left;
    margin-bottom: 1rem;
    font-weight: bold;
    font-size: 0.7em; /* Maakt de art iets compacter */
    line-height: 1;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

#sub-header {
    color: #888;
    font-size: 0.9em;
    padding-left: 0.5rem;
    margin-top: 0.5rem; /* Ruimte boven de copyright */
}

.input-line {
    display: flex;
    align-items: center;
    border-top: 1px solid #333;
    padding: 0.5rem 0;
}

.input-line .prompt {
    color: var(--prompt-color);
    margin-right: 0.75rem;
    font-weight: 500;
}

#commandInput {
    flex-grow: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
    height: 36px;
    padding: 0;
}

.log {
    margin-bottom: 0.25rem;
}

.log.command {
    color: #888;
}
.log.command::before {
    content: '> ';
    color: #555;
}

.log.success { color: var(--success-color); }
.log.error { color: var(--error-color); }
.log.info { color: var(--info-color); }
.log.question { color: var(--prompt-color); }

.step-indicator {
    padding-left: 0.5rem;
}
.step-indicator.step-done {
    color: var(--success-color);
}
.step-indicator.step-current {
    color: var(--prompt-color);
    font-weight: bold;
}
.step-indicator.step-pending {
    color: #666;
}

table {
    border-collapse: collapse;
    width: 100%;
    margin: 1rem 0;
}
th, td {
    border: 1px solid #444;
    padding: 0.5rem;
    text-align: left;
}
th {
    background-color: #222;
}
pre {
    white-space: pre-wrap;
    word-wrap: break-word;
}

#crash-screen {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100vh;
    padding: 2rem;
}
#crash-screen h1 {
    color: var(--error-color);
    margin-bottom: 1rem;
}
#crash-screen p {
    color: var(--text-color);
}

@media (max-width: 799px) {
    .console {
        display: none;
    }
    #crash-screen {
        display: flex;
    }
} 