@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&display=swap");

* {
    box-sizing: border-box;
}

body {
    font-family: "IBM Plex Mono", monospace;
    background: #000;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

#display {
    font-family: "IBM Plex Mono", monospace;
    line-height: 1;
    white-space: pre;
    color: #fff;

    width: 100%;
    height: 100%;
}

.output-container {
    overflow: hidden;
    width: 100%;
    max-height: none;
}

.terminal-border {
    border: 2px solid #fff;
}

.cursor-blink::after {
    content: "▋";
    animation: blink 1s infinite;
}

@keyframes blink {
    0%,
    49% {
        opacity: 1;
    }
    50%,
    100% {
        opacity: 0;
    }
}

input[type="file"]::file-selector-button,
select,
button {
    background: #000;
    color: #fff;
    border: 1px solid #fff;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-family: "IBM Plex Mono", monospace;
    transition: all 0.2s;
}

input[type="file"]::file-selector-button:hover,
select:hover,
button:hover:not(:disabled) {
    background: #fff;
    color: #000;
}

select {
    width: 100%;
}

input[type="file"]:disabled::file-selector-button,
select:disabled,
button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
