body {
    background-color: #0d1117;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    font-family: 'Consolas', 'Monaco', monospace;
}

/* Custom Scrollbar */
.terminal-body::-webkit-scrollbar {
    width: 8px;
}

.terminal-body::-webkit-scrollbar-track {
    background: #161b22;
}

.terminal-body::-webkit-scrollbar-thumb {
    background: #30363d;
    border-radius: 4px;
}

.terminal-body::-webkit-scrollbar-thumb:hover {
    background: #48bb78;
}

.terminal-window {
    width: 850px;
    max-width: 95%;
    height: 500px;
    background-color: #161b22;
    border-radius: 8px;
    border: 1px solid #30363d;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    background-color: #21262d;
    padding: 10px;
    display: flex;
    align-items: center;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red {
    background-color: #ff5f56;
}

.yellow {
    background-color: #ffbd2e;
}

.green {
    background-color: #27c93f;
}

.title {
    color: #8b949e;
    font-size: 13px;
    flex-grow: 1;
    text-align: center;
}

.terminal-body {
    padding: 15px;
    color: #c9d1d9;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.5;
}

.command-line {
    display: flex;
    align-items: center;
}

.prompt {
    color: #ff7b72;
    font-weight: bold;
}

.directory {
    color: #58a6ff;
}

/* Input & Autocomplete Overlay */
.input-wrapper {
    position: relative;
    flex-grow: 1;
    margin-left: 8px;
    display: flex;
}

#terminal-input {
    background: transparent;
    border: none;
    outline: none;
    color: #f0f6fc;
    font-family: inherit;
    font-size: inherit;
    width: 100%;
    position: relative;
    z-index: 2;
}

.ghost-text {
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.2);
    /* Faded suggestion text */
    pointer-events: none;
    z-index: 1;
}

.output-line {
    margin-bottom: 5px;
    white-space: pre-wrap;
}

.error-text {
    color: #f85149;
}

.white {
    color: #ffffff;
    font-weight: bold;
}

.link {
    color: #58a6ff;
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

/* Greyed out footer */
.github-footer {
    margin-top: 20px;
}

.github-footer a {
    color: #484f58;
    /* Dim grey */
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.github-footer a:hover {
    color: #8b949e;
}

.locked {
    color: #f85149;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
}

.thanks-text {
    color: #f0f6fc;
    font-family: 'Consolas', 'Monaco', monospace;
    border-left: 3px solid #48bb78;
    padding-left: 10px;
    margin: 10px 0;
    font-size: 0.9em;
}