.terminal-window {
    /*width: 360px;*/
    height: 400px;
    max-width: 100%;
    background: #0d0d0d;
    border-radius: 0.375em;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    font-family: 'Fira Code', 'Cascadia Code', 'SF Mono', 'Consolas', monospace;
}

.terminal-header {
    background: #2d2d2d;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.btn-red {
    background: #ff5f56;
}

.btn-yellow {
    background: #ffbd2e;
}

.btn-green {
    background: #27c93f;
}

.terminal-title {
    color: #999;
    font-size: 13px;
    margin-left: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.terminal-body {
    padding: 10px;
    min-height: 356px;
    max-height: 356px;
    overflow-y: auto;
    font-size: 11px;
    line-height: 1.5;
}

.terminal-body::-webkit-scrollbar {
    width: 6px;
}

.terminal-body::-webkit-scrollbar-track {
    background: #0d0d0d;
}

.terminal-body::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

.line {
    white-space: pre-wrap;
    word-break: break-all;
}

.prompt {
    color: #27c93f;
}

.command {
    color: #e0e0e0;
}

.output-text {
    color: #b0b0b0;
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 12px;
    background: #27c93f;
    animation: blink 1s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.progress-bar-container {
    color: #b0b0b0;
}

/* Color highlights */
.line .success {
    color: #27c93f;
}

.line .warning {
    color: #ffbd2e;
}

.line .error {
    color: #ff5f56;
}

.line .info {
    color: #42a5f5;
}

.line .highlight {
    color: #ff79c6;
}

.blinking {
    /* 0.6s is the duration of one full cycle (fade out + fade in) */
    /* ease-in-out makes the transition smooth/gradual */
    animation: gradual-blink 1s ease-in-out infinite;

    /* Styling to make it look nice */
    font-family: sans-serif;
    font-weight: bold;
}

@keyframes gradual-blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@media (max-width:440px) {
    .terminal-title {
        font-size: 11px;
    }

    .terminal-body {
        font-size: 10px;
    }
}