:root {
    --cor-fundo: #f0f0f0;
    --cor-texto: #333333;
    --cor-caixa: #ffffff;
    --cor-sombra: #cccccc;
    --cor-primaria: #1c64e2;
    --cor-separador-inativo: #e0e0e0;
}

[data-theme='dark'] {
    --cor-fundo: #121212;
    --cor-texto: #e0e0e0;
    --cor-caixa: #1e1e1e;
    --cor-sombra: #000000;
    --cor-primaria: #1c64e2;
    --cor-separador-inativo: #2c2c2c;
}

body {
    background-color: var(--cor-fundo);
    color: var(--cor-texto);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    transition: background-color 0.3s, color 0.3s;
}

.logo-container {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 100;
}

.logo-container img {
    max-width: 60px;
    height: auto;
}

.container {
    max-width: 800px;
    margin: 220px auto 40px;
    padding: 0;
    background-color: var(--cor-caixa);
    border-radius: 8px;
    box-shadow: 0 4px 8px var(--cor-sombra);
    transition: background-color 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

#seletor-tema {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 15px;
    border-radius: 20px;
    border: 1px solid var(--cor-texto);
    background-color: var(--cor-caixa);
    color: var(--cor-texto);
    cursor: pointer;
    font-size: 14px;
    z-index: 100;
}

.tab-navigation { display: flex; border-bottom: 1px solid var(--cor-sombra); }
.tab-button { padding: 15px 20px; cursor: pointer; border: none; background-color: transparent; color: var(--cor-texto); font-size: 16px; transition: background-color 0.3s, border-bottom 0.3s; border-bottom: 3px solid transparent; }
.tab-button.active { font-weight: bold; color: var(--cor-primaria); border-bottom: 3px solid var(--cor-primaria); }
.tab-button:not(.active):hover { background-color: var(--cor-separador-inativo); }
.content-tab { padding: 30px; display: none; }
.content-tab.active { display: block; }
h1, h2 { color: var(--cor-primaria); }

.contact-list { list-style: none; padding: 0; }
.contact-list li { margin-bottom: 15px; }
.contact-list a { color: var(--cor-primaria); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

#terminal {
    background-color: #1a1a1a;
    color: #f0f0f0;
    font-family: 'Courier New', Courier, monospace;
    padding: 20px;
    height: 400px;
    overflow-y: scroll;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
#terminal-output { white-space: pre-wrap; } 
#terminal-output .prompt-line { color: #87d7ff; }
#terminal-output .command-line { color: #f0f0f0; }
#terminal-output .response-line { color: #90ee90; }
.terminal-input-line { display: flex; align-items: center; }
.terminal-prompt { color: #87d7ff; margin-right: 8px; }
#terminal-input {
    background: transparent;
    border: none;
    color: #f0f0f0;
    font-family: inherit;
    font-size: inherit;
    width: 100%;
    outline: none;
}