/* ===============================================
   TERMINAL DYNAMICS - PROJECT PHOENIX
   =============================================== */

   .terminal-container {
    background: rgba(4, 5, 8, 0.7) !important;
    border: 1px solid var(--glass-border-cyan) !important;
    font-family: 'Fira Code', 'Courier New', Courier, monospace;
    font-size: 0.95rem;
    color: var(--cyan-glow);
    padding: 0 !important;
    height: 550px;
    display: flex;
    flex-direction: column;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 229, 255, 0.1) !important;
    position: relative;
    overflow: hidden;
}

.terminal-container::after {
    content: " ";
    display: block;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 4px, 3px 100%;
}

.terminal-header {
    background: rgba(0, 229, 255, 0.05);
    padding: 8px 20px;
    border-bottom: 1px solid var(--glass-border-cyan);
    font-size: 0.8rem;
    color: #a0a0b0;
    display: flex;
    justify-content: space-between;
}

.terminal-header::after {
    content: "PID: 7800X3D";
    color: var(--text-muted);
}

.terminal-body {
    padding: 20px;
    flex-grow: 1;
    overflow-y: auto;
    position: relative;
    z-index: 3;
}
.terminal-body::-webkit-scrollbar { width: 5px; }
.terminal-body::-webkit-scrollbar-thumb { background: rgba(0, 229, 255, 0.3); border-radius: 5px; }

.terminal-line {
    margin-bottom: 6px;
    line-height: 1.5;
    text-shadow: 0 0 5px rgba(0, 229, 255, 0.4);
    opacity: 0.9;
}

.terminal-line.directory { 
    color: #ffffff; 
    font-weight: 500; 
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.4);
}
.terminal-line.file { 
    color: var(--text-muted); 
    text-shadow: none;
}
.terminal-line.highlight { 
    color: var(--red-glow); 
    text-shadow: 0 0 8px rgba(230, 29, 43, 0.6); 
    font-weight: bold;
}
.terminal-line.success {
    color: #4CAF50;
    text-shadow: 0 0 5px rgba(76, 175, 80, 0.6);
}

.terminal-input-line {
    padding: 15px 20px;
    border-top: 1px solid rgba(0, 229, 255, 0.15);
    background: rgba(0, 0, 0, 0.3);
    z-index: 3;
    position: relative;
}

.prompt {
    color: var(--cyan-glow);
    margin-right: 8px;
    font-weight: bold;
}

.cursor {
    display: inline-block;
    width: 10px;
    height: 1.1em;
    background: var(--cyan-glow);
    vertical-align: text-bottom;
    animation: blink 1s step-end infinite;
    box-shadow: 0 0 8px var(--cyan-glow);
}

@keyframes blink { 
    0%, 100% { opacity: 1; }
    50% { opacity: 0; } 
}

#terminal-input {
    background: transparent;
    border: none;
    color: var(--cyan-glow);
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    outline: none;
    width: calc(100% - 30px);
    text-shadow: 0 0 5px rgba(0, 229, 255, 0.5);
}
