body {
    background-color: #000;
    color: #0F0;
    font-family: "FiraCode Nerd Font", monospace;
    font-size: 16px;
    line-height: 1.4;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

#iterm-window {
    background-color: #1a1a1a; /* Dark background for the window */
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.3); /* Green glow shadow */
    width: 80%; /* Adjust as needed */
    max-width: 900px; /* Max width for larger screens */
    height: 70vh; /* Adjust as needed */
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Hide overflow from terminal content */
    position: absolute; /* Allow dragging */
    top: 15%; /* Initial position */
    left: 10%; /* Initial position */
}

#title-bar {
    background-color: #333;
    padding: 8px 10px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    cursor: grab; /* Indicate draggable */
}

.buttons {
    display: flex;
    gap: 6px;
    margin-right: 10px; /* Space between buttons and title */
}

.button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #000;
}

.red-button {
    background-color: #ff5f56;
}

.yellow-button {
    background-color: #ffbd2e;
}

.green-button {
    background-color: #27c93f;
}

#window-title {
    color: #b0b0b0; /* Light gray for the title */
    font-size: 0.9em;
    flex-grow: 1; /* Push title to center if needed */
    text-align: center;
    margin-right: 60px; /* Offset for buttons on the left */
}

#terminal {
    padding: 20px;
    flex-grow: 1; /* Allow terminal to take remaining height */
    overflow-y: auto;
    box-sizing: border-box;
    white-space: pre-wrap; /* Ensure text wraps within the terminal */
}

#output {
    /* white-space: pre-wrap; - moved to #terminal */
}

.prompt {
    color: #0F0;
}

.prompt-user {
    color: #00BFFF; /* Deep Sky Blue */
}

.prompt-path {
    color: #32CD32; /* Lime Green */
}

.command-text {
    color: #00FFFF; /* Cyan */
}

.success {
    color: #00FF00; /* Bright Green */
}

.error {
    color: #FF0000; /* Red */
}

.keyword {
    color: #FFA500; /* Orange */
}

.symbol {
    color: #FF00FF; /* Magenta */
}

#cursor {
    display: inline-block;
    width: 10px;
    height: 16px;
    background-color: #0F0;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        background-color: transparent;
    }
}

.command {
    color: #0F0;
    font-weight: bold;
}

.response {
    color: #FFF;
}