.nutri-calc {
    max-width: 500px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.tabs {
    display: flex;
    margin-bottom: 20px;
}

.tab-link {
    flex: 1;
    padding: 10px;
    cursor: pointer;
    border: none;
    background: #eee;
    font-weight: bold;
    transition: 0.3s;
}

.tab-link.active {
    background: #4CAF50;
    color: #fff;
}

.tab-content {
    display: none;
}

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

label {
    display: block;
    margin: 10px 0;
}

input[type=number] {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

button {
    padding: 10px 15px;
    background: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background: #45a049;
}

.resultado {
    margin-top: 15px;
    padding: 10px;
    background: #f1f1f1;
    border-radius: 5px;
    font-weight: bold;
    color: #333;
}
