/* Reset básico */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: linear-gradient(135deg, #1e1e2e 0%, #2a2a40 100%);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Fira Code', monospace;
    overflow: hidden;
}

/* A Janela do Terminal */
.terminal-window {
    width: 800px;
    height: 500px;
    background-color: #16161e;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #333;
}

/* Barra Superior (Header) */
.terminal-header {
    background-color: #1a1b26;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
}

.buttons {
    display: flex;
    gap: 8px;
}

.btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red { background-color: #ff5f56; }
.yellow { background-color: #ffbd2e; }
.green { background-color: #27c93f; }

.title {
    flex-grow: 1;
    text-align: center;
    color: #a9b1d6;
    font-size: 14px;
    margin-right: 50px;
}

/* Corpo do Terminal */
.terminal-body {
    flex-grow: 1;
    padding: 20px;
    color: #c0caf5;
    font-size: 14px;
    overflow-y: auto;
    cursor: text;
}

/* Scrollbar estilizada */
.terminal-body::-webkit-scrollbar {
    width: 8px;
}
.terminal-body::-webkit-scrollbar-thumb {
    background: #414868; 
    border-radius: 4px;
}

/* Texto e Input */
pre {
    white-space: pre-wrap;
    margin-bottom: 5px;
    line-height: 1.5;
    color: #c0caf5; /* Cor padrão do texto */
}

.input-line {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.prompt {
    color: #ffffff;
    margin-right: 10px;
}

#command-input {
    background: transparent;
    border: none;
    color: #c0caf5;
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    flex-grow: 1;
    outline: none;
}

/* --- RESPONSIVIDADE --- */

/* Para Tablets e Telas menores que 850px */
@media (max-width: 850px) {
    .terminal-window {
        width: 90%;
        height: 80vh;
    }
}

/* Para Celulares (max-width 600px) */
@media (max-width: 600px) {
    body {
        align-items: flex-start;
        padding-top: 20px;
        background: #16161e;
    }

    .terminal-window {
        width: 100%;
        height: 100vh;
        border-radius: 0;
        border: none;
        box-shadow: none;
    }

    .terminal-header {
        display: none;
    }
    
    .terminal-body {
        padding: 10px;
        font-size: 12px;
    }
    
    #command-input {
        font-size: 16px;
    }
}

/* Estilos de Texto do Currículo - Cores do Terminal */

/* Cabeçalhos de seção (--- XP ---) - Amarelo/Laranja */
.header {
    color: #e0af68;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 5px;
}

/* Comandos na lista de help - Ciano */
.cmd {
    color: #5bf838;
    font-weight: bold;
}

/* Destaque (Nome da empresa/projeto) - Roxo/Magenta */
.highlight {
    color: #bb9af7;
    font-weight: bold;
}

/* Links - Azul */
a {
    color: #7aa2f7;
    text-decoration: none;
    border-bottom: 1px dashed #7aa2f7;
    transition: all 0.2s ease;
}

a:hover {
    background-color: #7aa2f7;
    color: #1a1b26;
    border-bottom: 1px solid #7aa2f7;
}

/* Texto normal - Branco azulado */
.normal {
    color: #c0caf5;
}

/* Verde para sucesso/confirmação */
.success {
    color: #9ece6a;
}

/* Vermelho para erros */
.error {
    color: #f7768e;
}

/* Texto do prompt - Verde mais forte */
.prompt-text {
    color: #73daca;
}

#output {
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

pre {
    cursor: text;
    user-select: text;
}

/* Quando o mouse estiver sobre texto selecionável */
#output:hover {
    cursor: text;
}

/* Estilo para os números dos projetos */
.project-number {
    color: #7dcfff;
    font-weight: bold;
}

/* Estilo para as descrições */
.desc {
    color: #a9b1d6;
    font-style: italic;
}