 

#terminal, #terminal * {
    letter-spacing: 0 !important;
    word-spacing: 0 !important;
    text-align: left !important;
}
/* Terminal Styling */
#home-center {
    /* Stretch across the page even when parent uses align-items:center */
    align-self: stretch;
    width: 100%;
}

/* Ensure centered title despite theme h1 being flex */
#home-title {
    display: block; /* override theme h1 { display:flex } */
    text-align: center;
    width: 100%;
}

#terminal-container {
    /* Center block with comfortable side spacing */
    margin: 2em auto;
    /* Horizontal padding moved to children so header/body edges align */
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    background: #1e1e1e;
    width: 100%;
    max-width: 1100px;
    box-sizing: border-box;
}

#terminal-header {
    background: #323232;
    /* Match terminal inner padding so edges line up */
    padding: 10px clamp(12px, 4vw, 32px);
    display: flex;
    align-items: center;
    border-bottom: 1px solid #444;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
    margin-right: 15px;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.terminal-button.red {
    background: #ff5f56;
}

.terminal-button.yellow {
    background: #ffbd2e;
}

.terminal-button.green {
    background: #27c93f;
}

.terminal-title {
    flex: 1;
    text-align: center;
    color: #999;
    font-size: 0.9em;
    font-family: 'Source Code Pro', monospace;
}

#terminal {
    background: #1e1e1e !important;
    /* Match header padding for perfect alignment */
    padding: 10px clamp(12px, 4vw, 32px);
    width: 100%;
    box-sizing: border-box;
    font-family: 'Source Code Pro', 'Courier New', monospace !important;
    font-size: 14px;
    line-height: 1.4;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* jQuery Terminal overrides */
.terminal, .cmd {
    font-family: 'Source Code Pro', 'Courier New', monospace !important;
    font-size: 14px !important;
    /* Improve text input behavior */
    user-select: text;
    -webkit-user-select: text;
    cursor: text;
}

.terminal {
    --color: #f0f0f0;
    --background: #1e1e1e;
    --link-color: #3391ff;
}

.terminal-output {
    color: #f0f0f0;
}

.terminal .terminal-output .terminal-highlight {
    color: #4fc1ff;
    font-weight: bold;
}

.terminal .terminal-output .terminal-category {
    color: #98d982;
    font-weight: bold;
    display: block;
    margin: 10px 0 5px 0;
}

.terminal .terminal-output .terminal-cert {
    color: #ffd700;
    display: block;
    margin: 10px 0;
}

.terminal .terminal-output .terminal-link {
    color: #3391ff;
    text-decoration: underline;
}

.terminal .terminal-output .terminal-link:hover {
    color: #66b3ff;
}

/* Cursor styling */
.cmd .cursor {
    background: #f0f0f0;
    animation: terminal-blink 1s infinite;
}

.cmd .cursor.blink {
    -webkit-animation: terminal-blink 1s infinite;
    animation: terminal-blink 1s infinite;
}

@keyframes terminal-blink {
    0% { background: #f0f0f0; }
    50% { background: transparent; }
    100% { background: #f0f0f0; }
}

/* Prompt styling */
.terminal .cmd .prompt {
    color: #98d982;
}

/* Command styling */
.terminal .cmd {
    color: #f0f0f0;
}

 

/* Terminal scrollbar */
.terminal::-webkit-scrollbar {
    width: 10px;
}

.terminal::-webkit-scrollbar-track {
    background: #1e1e1e;
}

.terminal::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 5px;
}

.terminal::-webkit-scrollbar-thumb:hover {
    background: #777;
}

/* Responsive design */

/* Dark theme compatibility */
.dark-theme #terminal-container {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* Animation removed (was for mobile workaround) */

/* Hide terminal on very small screens if needed */
@media (max-width: 480px) {
    #terminal-header .terminal-title {
        font-size: 0.8em;
    }
}


 
