/* ==========================================================================
   ECHO://OS MASTER STYLESHEET - MOBILE APP ARCHITECTURE (ENHANCED COLOR)
   ========================================================================== */

:root {
    /* PRIMARY PALETTE */
    --neon-primary: #00ff9d;      /* Matrix Green */
    --neon-primary-glow: rgba(0, 255, 157, 0.4);
    
    --neon-secondary: #ff2d55;    /* Cyber Pink/Red */
    --neon-secondary-glow: rgba(255, 45, 85, 0.4);
    
    --neon-accent: #00e5ff;       /* Electric Cyan */
    --neon-accent-glow: rgba(0, 229, 255, 0.4);
    
    --text-gold: #ffcc00;         /* Warning Gold */
    --text-gold-glow: rgba(255, 204, 0, 0.3);

    /* DEPTH PALETTE */
    --bg-deep: #020406;           /* Absolute Void */
    --bg-app: #0a0c10;            /* App Base */
    --bg-surface: #14181f;        /* Card Surface */
    --bg-surface-alt: #1c222b;    /* Hover Surface */
    
    --border-main: rgba(0, 255, 157, 0.15);
    --border-bright: rgba(0, 255, 157, 0.4);

    /* SIZING */
    --app-width: 450px;
    --header-height: 65px;
    --nav-height: 75px;
    --base-scale: clamp(10px, 0.7vw + 7px, 13px);
}

/* 1. RESET & GLOBAL APP STYLES */
*{
    margin:0;
    padding:0;
    box-sizing:border-box; 
    -webkit-tap-highlight-color: transparent;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Accessibility: Visible Focus States */
:focus-visible {
    outline: 2px solid var(--neon-accent);
    outline-offset: 4px;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--neon-primary);
    color: #000;
    padding: 10px 20px;
    z-index: 10000009;
    font-weight: bold;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

a { text-decoration: none; }

html {
    height: 100%;
}

body {
    background: #000;
    color: #e0e0e0;
    font-family: 'JetBrains Mono', 'Share Tech Mono', monospace;
    line-height: 1.4;
    overflow: hidden;
    height: 100vh;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    font-size: 0.8rem;
}

/* THE APP CANVAS */
.app-container {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--app-width);
    background: var(--bg-app);
    display: flex;
    flex-direction: row; /* Sidebar + Main Content */
    box-shadow: 0 0 100px rgba(0, 0, 0, 1), 0 0 40px var(--neon-primary-glow);
    border-left: 1px solid var(--border-main);
    border-right: 1px solid var(--border-main);
    overflow: hidden;
}

/* SIDEBAR (IDE ACTIVITY BAR) */
.app-nav {
    width: 55px;
    height: 100%;
    background: var(--bg-surface);
    border-right: 1px solid var(--border-bright);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    z-index: 10000006;
    flex-shrink: 0;
}

.nav-logo {
    width: 55px;
    height: 50px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.7rem;
    color: var(--neon-primary);
    letter-spacing: -1px;
    text-shadow: 0 0 10px var(--neon-primary-glow);
    flex-shrink: 0;
}

.nav-scroll-group {
    flex: 1;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-scroll-group::-webkit-scrollbar {
    width: 2px;
}

.nav-scroll-group::-webkit-scrollbar-thumb {
    background: var(--border-bright);
}

.nav-footer {
    width: 100%;
    border-top: 1px solid var(--border-main);
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.2);
}

.nav-item {
    width: 100%;
    height: 55px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #4a5568;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item i { font-size: 1.2rem; }
.nav-item span { display: none; } /* Icons only */

.nav-item:hover {
    color: var(--neon-secondary);
    text-shadow: 0 0 10px var(--neon-secondary-glow);
}

.nav-item.active {
    color: var(--neon-primary);
    border-left: 2px solid var(--neon-primary);
    text-shadow: 0 0 15px var(--neon-primary-glow);
}

/* CONTENT AREA */
.main-content {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background: radial-gradient(circle at center, #0f131a 0%, #05070a 100%);
}
.main-content::-webkit-scrollbar { display: none; }

/* BREADCRUMB (GLASS STYLE) */
.breadcrumb-nav {
    padding: 6px 15px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 10000008; /* Higher than main content */
}
.breadcrumb-back {
    color: var(--neon-primary);
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    transition: all 0.2s ease;
}
.breadcrumb-back:active {
    background: rgba(0, 255, 157, 0.1);
    transform: scale(0.9);
}
.breadcrumb-content { display: flex; gap: 10px; flex: 1; justify-content: center; }
.breadcrumb-item { color: #555; }
.breadcrumb-item a { color: #555; text-decoration: none; }
.breadcrumb-item.active { color: var(--neon-accent); text-shadow: 0 0 8px var(--neon-accent-glow); }

/* MAIN AREA WRAPPER */
.app-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* APP STATUS BAR */
.app-status-bar {
    height: 25px;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.6rem;
    color: var(--text-dim);
    background: rgba(0,0,0,0.4);
    z-index: 10000002;
    letter-spacing: 1px;
}

.status-right { display: flex; gap: 8px; align-items: center; }
.battery { 
    width: 15px; height: 8px; border: 1px solid rgba(255,255,255,0.2); position: relative; 
    border-radius: 1px;
}
.battery::after { 
    content: ""; position: absolute; width: 75%; height: 100%; 
    background: var(--neon-primary); top: 0; left: 0; 
    box-shadow: 0 0 5px var(--neon-primary);
}

/* APP FOOTER (BOTTOM BAR) */
.app-footer {
    height: 50px;
    display: flex;
    flex-direction: column; /* Stack title and preview */
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    background: linear-gradient(to top, var(--bg-surface), var(--bg-app));
    border-top: 1px solid var(--border-main);
    z-index: 10000001;
    margin-top: auto; /* Push to bottom of app-main */
    position: relative;
    overflow: hidden;
}

.app-title {
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 3px;
    color: var(--neon-primary);
    text-shadow: 0 0 10px var(--neon-primary-glow);
    transition: all 0.3s ease;
}

.footer-status-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 18px;
    background: rgba(0, 255, 157, 0.05);
    display: flex;
    align-items: center;
    padding: 0 15px;
    font-size: 0.5rem;
    color: var(--neon-primary);
    font-family: monospace;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.2s ease;
    border-top: 1px solid rgba(0, 255, 157, 0.1);
}

.footer-status-bar.active {
    opacity: 1;
    transform: translateY(0);
}

.status-prefix {
    color: var(--text-gold);
    margin-right: 8px;
    font-weight: bold;
}

.status-url {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0.8;
}

/* 2. COMPONENTS (HIGH-CONTRAST) */
.terminal-card {
    background: linear-gradient(145deg, var(--bg-surface), #0f1218);
    border: 1px solid var(--border-main);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
    box-shadow: 4px 4px 15px rgba(0,0,0,0.3);
    text-align: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    user-select: none;
    overflow: hidden; /* NO OVERFLOW */
    width: 100%;
}

.terminal-card:hover {
    border-color: var(--neon-primary);
    box-shadow: 0 0 15px var(--neon-primary-glow);
}

.terminal-card:active {
    transform: scale(0.98);
    filter: brightness(1.2);
}

.card-header {
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(0, 255, 157, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-size: 0.65rem;
}
.card-title { 
    color: var(--text-gold); 
    font-size: 0.65rem; 
    letter-spacing: 0.5px;
    line-height: 1.2;
    display: block;
    word-break: break-word;
}

h2 {
    font-size: 0.7rem;
    color: var(--neon-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 20px 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 900;
}

/* 2x2 GRID OPTIMIZATION */
.grid-2x2 .terminal-card {
    padding: 10px 6px;
}

.grid-2x2 .card-header {
    flex-direction: column;
    gap: 4px;
    padding-bottom: 6px;
    min-height: 45px;
}

.grid-2x2 .terminal-btn, .grid-2x2 .matrix-btn {
    font-size: 0.55rem;
    padding: 6px 4px;
    letter-spacing: 0;
}

.grid-2x2 p {
    font-size: 0.6rem !important;
}

.grid-2x2 .terminal-list {
    font-size: 0.55rem !important;
}
h2::before { content: "//"; color: var(--neon-secondary); }
h2::after { content: "//"; color: var(--neon-secondary); flex: none; height: auto; background: none; }

.matrix-btn, .terminal-btn {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--neon-primary);
    background: rgba(0, 255, 157, 0.02);
    color: var(--neon-primary);
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 0.7rem;
    box-shadow: inset 0 0 10px rgba(0, 255, 157, 0.05);
    display: inline-block;
    cursor: pointer;
}

.matrix-btn:hover, .terminal-btn:hover {
    background: var(--neon-primary);
    color: #000;
    box-shadow: 0 0 20px var(--neon-primary-glow);
}

/* ABOUT SECTION LAYOUT */
.desc-with-logo {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin-bottom: 15px;
}

.desc-with-logo p {
    font-size: 0.75rem;
    text-align: center;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
}

.grid-2x2 {
    grid-template-columns: 1fr 1fr !important;
}

.skill-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 4px;
}

.skill-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.skill-bar-container {
    flex: 0 1 150px;
    height: 3px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
}

/* SKILLS (COLOR CODED) */
.skill-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--neon-accent);
}
.skill-percentage { color: var(--neon-accent); font-weight: 900; font-size: 0.65rem; }
.skill-bar-fill {
    background: linear-gradient(to right, var(--neon-accent), var(--neon-primary));
    height: 100%;
    width: 0; /* Start at 0 for animation */
    border-radius: 2px;
    box-shadow: 0 0 10px var(--neon-primary-glow);
    animation: fillBar 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* SECTION DIVIDERS */
.section-divider {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 30px 0;
    opacity: 0.3;
    align-items: center;
}

.divider-line {
    height: 1px;
    width: 80%;
    background: linear-gradient(to right, transparent, var(--neon-primary), transparent);
}

.cyber-hr {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-bright), transparent);
    margin: 30px 0;
    position: relative;
}

.cyber-hr::after {
    content: "[SECTION_BREAK]";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-app);
    padding: 0 8px;
    font-size: 0.45rem;
    color: var(--neon-primary);
    letter-spacing: 2px;
}

@keyframes fillBar {
    from { width: 0; }
    to { width: var(--fill-to); }
}

/* HERO (VIBRANT) */
.hero {
    padding: 30px 15px;
    background: radial-gradient(circle at center, rgba(0, 229, 255, 0.08), transparent 70%);
    text-align: center;
}
.hero-hud {
    border: 1px solid var(--border-main);
    background: rgba(20, 24, 31, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: 1.1rem;
}

.text-neon {
    font-size: 0.6rem;
}

/* 3. EFFECTS */
.scanner {
    background: linear-gradient(to bottom, transparent, var(--neon-primary), transparent);
    height: 3px;
    opacity: 0.15;
}

.crt::before {
    background: repeating-linear-gradient(0deg, rgba(0, 255, 157, 0.02) 0px, transparent 1px);
    opacity: 0.5;
}

/* PRICING ENHANCEMENT */
.pricing-card {
    border: 1px solid var(--text-gold);
    background: rgba(255, 204, 0, 0.02);
    text-align: center;
}
.pricing-card .card-title { color: var(--text-gold); }

/* FORMS */
.terminal-input {
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    border-color: rgba(255,255,255,0.1);
    text-align: center;
}
.terminal-input:focus {
    border-color: var(--neon-primary);
    outline: none;
    box-shadow: 0 0 10px var(--neon-primary-glow);
}

/* FILE TREE (SKILL TREE) */
.file-tree {
    text-align: left;
    margin-bottom: 20px;
    font-size: 0.7rem;
}
.tree-root {
    color: var(--text-gold);
    font-weight: bold;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.tree-branch {
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    margin-left: 10px;
}
.tree-node {
    padding: 4px 0 4px 15px;
    position: relative;
}
.tree-node::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 10px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}
.tree-branch.last {
    border-left: none;
}
.tree-branch.last::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 50%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

/* EXPLORER INTERFACE */
.explorer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 10px;
}

.explorer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 5px;
    border-radius: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.explorer-item:active {
    background: rgba(0, 255, 157, 0.05);
    border-color: var(--border-main);
    transform: scale(0.95);
}

.explorer-icon {
    font-size: 1.8rem;
    color: var(--text-gold);
    filter: drop-shadow(0 0 5px rgba(255, 204, 0, 0.2));
}

.explorer-icon.file {
    color: var(--neon-accent);
}

.explorer-label {
    font-size: 0.55rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    word-break: break-all;
}

/* 4. SYSTEM STATUS BAR (FOOTER FEEDBACK) */
.footer-status-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: rgba(0, 255, 157, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    padding: 0 15px;
    font-size: 0.55rem;
    color: var(--neon-primary);
    font-family: 'JetBrains Mono', monospace;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid var(--neon-primary);
    z-index: 10000008;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-status-bar.active {
    opacity: 1;
    transform: translateY(0);
}

.status-prefix {
    color: var(--text-gold);
    margin-right: 10px;
    font-weight: 900;
}

.status-content {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 5. ACCESSIBILITY MODES */
body.acc-high-contrast {
    --neon-primary: #00ff00;
    --neon-accent: #00ffff;
    --text-gold: #ffff00;
    --bg-app: #000;
    --bg-surface: #000;
    --border-main: #fff;
    --border-bright: #fff;
}
body.acc-high-contrast .terminal-card { border-width: 2px; }

body.acc-large-text { font-size: 1.1rem; }
body.acc-large-text .app-title { font-size: 1rem; }
body.acc-large-text h2 { font-size: 1rem; }
body.acc-large-text .nav-logo { font-size: 1.2rem; }

body.acc-reduce-motion * {
    animation: none !important;
    transition: none !important;
}

body.acc-dyslexia {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    letter-spacing: 0.05em !important;
    word-spacing: 0.1em !important;
    line-height: 1.6 !important;
}
body.acc-dyslexia * {
    font-family: inherit !important;
}

body.acc-light-mode {
    --bg-deep: #ffffff;
    --bg-app: #f0f0f0;
    --bg-surface: #ffffff;
    --bg-surface-alt: #e0e0e0;
    color: #111;
    --neon-primary: #008855;
    --neon-primary-glow: rgba(0, 136, 85, 0.2);
    --neon-secondary: #cc0022;
    --neon-secondary-glow: rgba(204, 0, 34, 0.2);
    --neon-accent: #0088cc;
    --neon-accent-glow: rgba(0, 136, 204, 0.2);
    --text-gold: #aa7700;
    --border-main: rgba(0, 0, 0, 0.2);
    --border-bright: rgba(0, 0, 0, 0.4);
}
body.acc-light-mode .hero-hud,
body.acc-light-mode .terminal-card,
body.acc-light-mode .project-card,
body.acc-light-mode .acc-modal {
    background: #fff;
    box-shadow: 4px 4px 15px rgba(0,0,0,0.1);
}
body.acc-light-mode .explorer-label {
    color: #333;
}
body.acc-light-mode .terminal-input {
    background: #fff;
    color: #000;
    border: 1px solid #ccc;
}
body.acc-light-mode .breadcrumb-item { color: #555; }
body.acc-light-mode .breadcrumb-item.active { color: var(--neon-accent); text-shadow: none; }
body.acc-light-mode .breadcrumb-back { color: var(--neon-primary); }

/* ACCESSIBILITY MODAL */
.acc-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 350px;
    background: var(--bg-surface);
    border: 2px solid var(--neon-primary);
    border-radius: 16px;
    z-index: 10000010;
    padding: 20px;
    box-shadow: 0 0 50px rgba(0,0,0,1), 0 0 20px var(--neon-primary-glow);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.acc-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.acc-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    z-index: 10000009;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.acc-overlay.active {
    opacity: 1;
    visibility: visible;
}

.acc-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid var(--border-main);
    cursor: pointer;
}

.acc-option:last-child { border-bottom: none; }

.acc-toggle {
    width: 40px;
    height: 20px;
    background: #333;
    border-radius: 10px;
    position: relative;
    transition: background 0.3s ease;
}

.acc-toggle::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.acc-option.active .acc-toggle { background: var(--neon-primary); }
.acc-option.active .acc-toggle::after { transform: translateX(20px); }

.profile-logo {
    border: 2px solid var(--neon-accent);
    box-shadow: 0 0 20px var(--neon-accent-glow);
    margin: 0 auto;
}

/* SERVICES GRID */
.service-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.service-card p {
    font-size: 0.75rem;
    line-height: 1.5;
    color: #b0b0b0;
    text-align: center;
}

.terminal-list {
    list-style: none;
    text-align: center;
    margin: 10px 0;
    font-size: 0.7rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.terminal-list li {
    padding-left: 0;
    position: relative;
}

.terminal-list li::before {
    content: "";
    display: none;
}

/* PROJECTS */
.project-card {
    background: var(--bg-surface);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-main);
    margin-bottom: 20px;
}
.project-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    opacity: 0.6;
    border-bottom: 1px solid var(--border-main);
}
.project-content {
    padding: 15px;
}
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.tag {
    font-size: 0.55rem;
    padding: 2px 8px;
    background: rgba(0, 255, 157, 0.05);
    border: 1px solid var(--border-main);
    color: var(--neon-primary);
    border-radius: 4px;
}

/* FORMS & CONNECT */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.form-group label {
    font-size: 0.65rem;
    color: var(--text-gold);
    text-transform: uppercase;
}
.terminal-input {
    width: 100%;
    padding: 10px;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border-main);
    border-radius: 6px;
    color: #fff;
    font-family: inherit;
    font-size: 0.75rem;
}
.terminal-input:focus {
    outline: none;
    border-color: var(--neon-primary);
    box-shadow: 0 0 10px var(--neon-primary-glow);
}
textarea.terminal-input {
    min-height: 80px;
    resize: vertical;
}
/* LANGUAGE DROPDOWN (BREADCRUMB) */
.breadcrumb-lang {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 5px;
}

.lang-toggle {
    background: none;
    border: 1px solid rgba(0, 255, 157, 0.2);
    color: var(--neon-primary);
    font-size: 0.45rem;
    padding: 1px 6px;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    text-transform: uppercase;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.lang-toggle:hover {
    border-color: var(--neon-primary);
    box-shadow: 0 0 8px var(--neon-primary-glow);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background: var(--bg-surface);
    border: 1px solid var(--neon-primary);
    border-radius: 8px;
    padding: 5px;
    display: none;
    flex-direction: column;
    gap: 2px;
    z-index: 10000007;
    min-width: 140px;
    max-height: 250px;
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.lang-dropdown.active {
    display: flex;
}

.lang-opt {
    background: none;
    border: none;
    color: #888;
    font-size: 0.5rem;
    padding: 8px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.lang-opt:hover {
    background: rgba(0, 255, 157, 0.05);
    color: var(--neon-primary);
}

.lang-opt.active {
    color: var(--neon-primary);
    background: rgba(0, 255, 157, 0.1);
}



