.terminal-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 600px;
    max-width: 90vw;
    z-index: 1000;
    font-family: 'Fira Mono', monospace;
}

@media (max-width: 992px) {
    .terminal-container {
        width: 90vw;
        right: 5vw;
        bottom: 10px;
    }
}

.terminal {
    background-color: #252627;
    border: 1px solid #323232;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    background-color: #292a2d;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #323232;
}

.terminal-title {
    color: #f8f8ff;
    font-size: 14px;
    font-weight: 500;
}

.terminal-controls {
    display: flex;
    gap: 8px;
}

.terminal-control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #252627;
}

.terminal-control.close {
    background-color: #ff5f56;
}

.terminal-control.close:hover {
    background-color: #ff3b30;
}

.terminal-control.minimize {
    background-color: #ffbd2e;
}

.terminal-control.minimize:hover {
    background-color: #ff9f0a;
}

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

.terminal-control.maximize:hover {
    background-color: #00c130;
}

.terminal-body {
    padding: 16px;
    min-height: 300px;
    max-height: 400px;
    display: flex;
    flex-direction: column;
}

.terminal-output {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 12px;
}

.terminal-output::-webkit-scrollbar {
    width: 8px;
}

.terminal-output::-webkit-scrollbar-track {
    background: #252627;
}

.terminal-output::-webkit-scrollbar-thumb {
    background: #323232;
    border-radius: 4px;
}

.terminal-line {
    margin-bottom: 4px;
    color: #f8f8ff;
    font-size: 14px;
    line-height: 1.4;
}

.terminal-prompt {
    color: #33D17A;
    margin-right: 8px;
}

.terminal-text {
    color: #f8f8ff;
}

.terminal-response {
    color: rgba(248, 248, 255, 0.85);
    margin-bottom: 12px;
    margin-left: 20px;
    font-size: 14px;
    line-height: 1.6;
    white-space: pre-line;
}

.terminal-response a {
    color: #80AADD;
    text-decoration: none;
}

.terminal-response a:hover {
    text-decoration: underline;
}

.terminal-response strong {
    color: #f8f8ff;
    font-weight: 600;
}

.terminal-response .command {
    color: #FFB300;
    font-weight: 500;
}

.terminal-input-line {
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(50, 50, 50, 0.5);
    padding-top: 8px;
}

.terminal-input {
    background: transparent;
    border: none;
    color: #f8f8ff;
    font-family: 'Fira Mono', monospace;
    font-size: 14px;
    outline: none;
    flex: 1;
    caret-color: #33D17A;
}