body {
    background-color: #000; /* Black background color */
    color: #AFAFAF; /* Grey text color */
    font-family: "Consolas", "Courier New", monospace;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.powershell-window {
    background-color: #000; /* Black background color */
    padding: 10px;
    margin: 0; /* Reset margin for mobile devices */
    width: 100%; /* Full width */
    height: 100vh; /* Full height of the viewport */
    box-sizing: border-box; /* Include padding and border in the width and height */
    overflow: auto;
}

.title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2D2D2D; /* Grey background color for the title bar */
    padding: 5px 10px;
    color: white;
    font-size: 0.9rem;
}

.controls {
    display: flex;
    gap: 5px;
}

.controls span {
    background-color: #555; /* Simple button color */
    width: 15px;
    height: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.controls .close {
    background-color: #f00;
}

#terminalContent {
    white-space: pre-wrap; /* Keep spaces and line breaks */
    word-wrap: break-word; /* Allow long lines to wrap */
}

#promptContent {
    white-space: pre-wrap; /* Preserve spaces and line breaks */
    word-wrap: break-word; /* Allow long lines to wrap */
    color: #AFAFAF; /* Same grey text color */
    font-family: "Consolas", "Courier New", monospace; /* Same monospace font */
    margin: 0; /* Reset margin */
    padding: 0; /* Reset padding */
    font-size: small;
}


/* Cursor styles */
.cursor {
    display: inline-block;
    width: 10px;
    background-color: #FFFFFF;
    margin-left: 5px;
    animation: blink 1s steps(1) infinite;
}

/* Blinking keyframes */
@keyframes blink {
    50% {
        background-color: transparent;
    }
}

@media (max-width: 600px) {
    .powershell-window {
        padding: 5px;
        height: calc(100vh - 10px); /* Adjust height for smaller devices */
    }

    .title-bar {
        font-size: 0.8rem; /* Smaller font size for mobile */
    }

    .controls span {
        width: 10px;
        height: 10px; /* Smaller control buttons for mobile */
    }
}