:root {
    --bg: #000000;
    --text: #ffffff;
    --border: #ffffff;
    --width: 60%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.5;
    min-height: 100vh;
}

/* ===== CABEÇALHO ===== */
.header {
    padding: 1rem;
    text-align: center;
    width: var(--width);
    margin: 0 auto;
}

/* ===== ABAS PRINCIPAIS ===== */
.tabs {
    display: flex;
    width: var(--width);
    margin: 0 auto;
    border-bottom: 1px solid var(--border);
    background-color: var(--bg);
}

.tab {
    flex: 1;
    background-color: var(--bg);
    border: 1px solid var(--border);
    border-bottom: none;
    border-right: none;
    color: var(--text);
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    text-align: center;
}

.tab:last-child {
    border-right: 1px solid var(--border);
}

.tab:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.tab.active {
    background-color: var(--bg);
    border-bottom: 1px solid var(--border);
}

/* ===== CONTEÚDO ===== */
.content {
    width: var(--width);
    margin: 0 auto;
    padding: 1.5rem 0;
    min-height: calc(100vh - 150px);
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
}

.tab-content {
    display: none;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

.tab-content.active {
    display: block;
}

.tab-content h2, .tab-content h3 {
    margin-bottom: 1rem;
}

/* ===== SUB-ABAS (Juntas) ===== */
.sub-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1rem;
}

.sub-tab {
    flex: 1;
    background-color: var(--bg);
    border: 1px solid var(--border);
    border-bottom: none;
    border-right: none;
    color: var(--text);
    padding: 0.3rem 0.8rem;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    text-align: center;
}

.sub-tab:last-child {
    border-right: 1px solid var(--border);
}

.sub-tab:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.sub-tab.active {
    background-color: var(--bg);
    border-bottom: 1px solid var(--border);
}

.sub-tab-content {
    display: none;
    padding: 0.5rem;
}

.sub-tab-content.active {
    display: block;
}

/* ===== RODAPÉ ===== */
.footer {
    padding: 1rem;
    text-align: center;
    border-top: 1px solid var(--border);
    width: var(--width);
    margin: 0 auto;
    font-size: 0.9rem;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
    :root {
        --width: 90%;
    }

    .tab, .sub-tab {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
    }
}

.logo {
    max-width: 70px;
    height: auto;
    display: block;
    margin: 0 auto;
}
