/* css/terminal.css */

.terminal-window {
    background-color: #1e1e1e;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid #444;
    overflow: hidden;
    font-family: 'SF Mono', 'Consolas', 'Menlo', monospace;
}

.terminal-header {
    background-color: #333;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.terminal-header-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
}

.terminal-header-button.close { background-color: #ff5f56; }
.terminal-header-button.minimize { background-color: #ffbd2e; }
.terminal-header-button.maximize { background-color: #27c93f; }

.terminal-body {
    padding: 20px;
    height: 60vh;
    max-height: 500px;
    overflow-y: auto;
    color: #f0f0f0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.terminal-body .terminal-line {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-all;
    color: #ccc;
    animation: fadeIn 0.3s ease;
}
.terminal-body .terminal-line:first-of-type {
    color: #6a9ce2; /* Prompt color */
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.terminal-success-message {
    margin-top: 20px;
    padding: 12px 15px;
    background-color: rgba(39, 201, 63, 0.15);
    border: 1px solid rgba(39, 201, 63, 0.4);
    border-radius: 5px;
    color: #9dffad;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    animation: fadeIn 0.5s ease 0.2s backwards;
}

.terminal-success-message i {
    color: #27c93f;
    font-size: 1.2rem;
}
