.simulador-investimentos {
    /*max-width: 600px;*/
    margin: 30px auto;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.simulador-investimentos h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
}

.simulador-form .form-group {
    margin-bottom: 20px;
}

.simulador-form label {
    display: block;
    margin-bottom: 8px;
    color: #34495e;
    font-weight: 600;
}

.simulador-form input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.simulador-form input:focus {
    outline: none;
    border-color: #3498db;
}

.btn-simular {
    width: 100%;
    padding: 15px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-simular:hover {
    background: #2980b9;
}

.resultados-simulacao {
    max-width: 1200px;
    margin: 30px auto;
    padding: 30px;
}

.resumo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.card h3 {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.valor-destaque {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.valor-destaque.rendimento {
    color: #f39c12;
}

.valor-destaque.final {
    color: #2ecc71;
}

.grafico-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.tabela-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow-x: auto;
}

.tabela-evolucao {
    width: 100%;
    border-collapse: collapse;
}

.tabela-evolucao th {
    background: #34495e;
    color: white;
    padding: 15px;
    text-align: left;
}

.tabela-evolucao td {
    padding: 12px 15px;
    border-bottom: 1px solid #ecf0f1;
}

.tabela-evolucao tr:hover {
    background: #f8f9fa;
}

.acoes {
    text-align: center;
    margin-top: 30px;
}

.btn-voltar {
    display: inline-block;
    padding: 15px 40px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-voltar:hover {
    background: #2980b9;
}

@media (max-width: 768px) {
    .resumo-cards {
        grid-template-columns: 1fr;
    }
}
