.terminal-window {
    background-color: #1e1e1e;
    border: 2px solid #333;
    border-radius: 8px;
    overflow: hidden;
    width: 90%;
    max-width: 1000px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    margin: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: width 0.5s ease, height 0.5s ease, margin 0.5s ease,
        border-radius 0.5s ease, top 0.5s ease, left 0.5s ease,
        opacity 0.5s ease, visibility 0.5s ease;
}

.terminal-window.maximized {
    width: 100%;
    height: 100vh;
    margin: 0;
    border-radius: 0;
    position: fixed;
    top: 0;
    left: 0;
    max-width: none;
}

.terminal-window.minimized {
    width: 200px;
    height: 40px;
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
}

.minimized-icon {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.minimized-icon.hidden {
    display: none;
}

.terminal-header {
    background-color: #333;
    padding: 8px;
    display: flex;
}

.terminal-header.no-click .button{
    cursor: default;
}

.terminal-footer {
    background-color: #333;
    padding: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.yahaha {
    font-size: 0.5em;
    color: #333;
    cursor: pointer;
    display: inline-block;
    padding: 0;
    margin: 0;
    line-height: 1;
    vertical-align: baseline;
}

.back-button,
.list-files-button {
    color: #ffd700;
    text-align: left;
    text-decoration: underline;
    cursor: pointer;
}

.back-button.disabled {
    color: #1e1e1e;
    cursor: not-allowed;
}

.button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    cursor: pointer;
}

.close {
    background-color: #ff5f56;
}

.minimize {
    background-color: #ffbd2e;
}

.maximize {
    background-color: #27c93f;
}

.terminal-content {
    padding: 16px;
    color: #fff;
    line-height: 1.4;
    max-height: 80vh;
    overflow-y: auto;
    flex-grow: 1;
}

.terminal-window.maximized .terminal-content {
    max-height: calc(100% - 80px);
}

.ls-output {
    display: flex;
    flex-direction: column;
}

.file-item,
.folder-item {
    display: flex;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #333;
    justify-content: space-between;
}

.file-item:hover,
.folder-item:hover {
    background-color: #333;
    cursor: pointer;
}

.file-name {
    color: #27c93f; /* Green color for files */
    font-size: 14px;
    text-align: 'left';
}

.file-date {
    color: white;
    font-size: 14px;
    text-align: right;
}

.folder-name {
    color: #4e8bf5; /* Blue color for folders */
    font-size: 14px;
}

.command {
    color: #ffd700; /* Yellow color for commands */
    font-size: 14px;
}

.hidden-input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    resize: none;
}

.error {
    color: #d700ff; /* Error message color */
    font-size: 14px;
}

.small-terminal {
    max-width: 600px; /* Adjust the width for the smaller terminal */
}
